From patchwork Mon Nov 20 12:26:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rostislav Svoboda X-Patchwork-Id: 56654 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5E86127BBEA; Mon, 20 Nov 2023 12:28:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6E4A027BBE2 for ; Mon, 20 Nov 2023 12:28:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r53Nt-00007C-P5; Mon, 20 Nov 2023 07:28:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r53Nh-0008QO-01 for guix-patches@gnu.org; Mon, 20 Nov 2023 07:28:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r53Ng-0007Mo-KG for guix-patches@gnu.org; Mon, 20 Nov 2023 07:28:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r53Ni-0005TR-JI for guix-patches@gnu.org; Mon, 20 Nov 2023 07:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67272] [PATCH] gnu: Add emacs-zop-to-char. Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Nov 2023 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67272 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: Katherine Cox-Buday , 67272@debbugs.gnu.org, Andrew Tropin Received: via spool by 67272-submit@debbugs.gnu.org id=B67272.170048325721002 (code B ref 67272); Mon, 20 Nov 2023 12:28:02 +0000 Received: (at 67272) by debbugs.gnu.org; 20 Nov 2023 12:27:37 +0000 Received: from localhost ([127.0.0.1]:52679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r53NI-0005Sg-Se for submit@debbugs.gnu.org; Mon, 20 Nov 2023 07:27:37 -0500 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:60714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r53NG-0005SN-Ib for 67272@debbugs.gnu.org; Mon, 20 Nov 2023 07:27:35 -0500 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50a6ff9881fso6257047e87.1 for <67272@debbugs.gnu.org>; Mon, 20 Nov 2023 04:27:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700483246; x=1701088046; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XAyEMRtKA3rD5ornp2+z62KYryl6gxVFSgn2usH8SII=; b=GwTshF/qSZEZy3oAfqgSK3idoln9wY5qn9GMwR1EZyku+zm5m4F1xJdUsUwjKGXanp 7vUM8I3cYY9/16H2XsEk2GWLf5TKjbAD1J8khqSpyuHG4orUE2zPY31pnX+GsRyaJGH3 ZYqTxPm7u4n9gFDiXKrgQGlJz1Z95Bt2C5BASlrw5m9jf4LfOpVCLnvl1mpvV/nDB8BY wrMp54HTI2LZ3P7bTncZMn6LCaUu6LZc2IejaI+kx8SI90XKPcuEoA6MpOhEPWFwazQH C2DNWECnfDxKokwsHXu9rJFn2/6iFeAaJq7JQtFOEECm2pIz7Nl6t6lyOe89TeQHqWy2 dhVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700483246; x=1701088046; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XAyEMRtKA3rD5ornp2+z62KYryl6gxVFSgn2usH8SII=; b=Uqq1M/tggZBTf6xjs+yQeHbecpfK0nTqI3LIl7nmXzsV6SlPjyzPoJOY6F4YwCsusD UBI3SVzynUJLkBEJm2d/ctjjBK91dk0oKuNooRIAFdJeQz32fIn3pQWSnRW5OdCK4Nme fw8GAjylYegasYjY6GTR40ZszunJARbFpGStm/5ftjKMfxyKQRGFg2aCQ4o8JuaecO5o GK8u8f6lkPG0+zag9ImFsoRRXH6mykD49p3lZ0YuT7CoTJO6xEWwUpZblYIt7p8cLXXV vpBUC4nsHrupxN1IZz91jluvIG7gy3bT8YQ6euWy5cgvlrTKe+qAQYQz3lRd/pRpuilD 9y2w== X-Gm-Message-State: AOJu0YxbdSX4VlYTS2PebDKuPDI4GVnkCky0lEBrBld6hcWTcoIyq/Dn c3e15oYTnQjXysYZWcEJZKiFP1cxGrmk5a2ox4w= X-Google-Smtp-Source: AGHT+IFLm5B7NPxlf24ij+0xg0te2VhT0hYGvHFB2ZqANKTxba106slMPr/wxXhURik/mMGJSMEOPs001DHbgfy4gno= X-Received: by 2002:a05:6512:3d2a:b0:507:ae8b:a573 with SMTP id d42-20020a0565123d2a00b00507ae8ba573mr7164072lfv.51.1700483245409; Mon, 20 Nov 2023 04:27:25 -0800 (PST) MIME-Version: 1.0 References: <2df45375c81294c826f647095bf447a8a01dfb6c.camel@gmail.com> <6407fb50dbcea9653a69fcb74ab811da1411c686.camel@gmail.com> In-Reply-To: <6407fb50dbcea9653a69fcb74ab811da1411c686.camel@gmail.com> From: Rostislav Svoboda Date: Mon, 20 Nov 2023 13:26:48 +0100 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello, > > + (description "A visual zap-to-char command for Emacs.") > "The description of a package should at least be a meaningful English sentence." The original zap-to-char doesn't provide much. The enhancement - our zop-to-char doesn't improve the situation either. The same goes for zap-up-to-char and zop-up-to-char. So asking me to come up with one is... sigh, anyway here you go. > > + (synopsis "A visual zap-to-char command for Emacs") > The synopsis shouldn't start with an article, here "A". Fixed. Sorryyyyyyyy. > You may want to use guix lint to double-check this. I did and... hmm looks like it's time to visit the ophthalmologist again. I reworked the patch and I'm resending it in the attachment. Cheers From 96f67003b0e7b6abc193105c38e18bc94818e4c8 Mon Sep 17 00:00:00 2001 Message-ID: <96f67003b0e7b6abc193105c38e18bc94818e4c8.1700482998.git.Rostislav.Svoboda@gmail.com> From: Rostislav Svoboda Date: Sun, 19 Nov 2023 10:50:57 +0100 Subject: [PATCH] gnu: Add emacs-zop-to-char. * gnu/packages/emacs-xyz.scm (emacs-zop-to-char): New variable. Change-Id: I7722fd0d8b6425ea0d16af9ab2d36396ead6e309 --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2b096fcb24..1b5a977e15 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -38763,6 +38763,31 @@ (define-public emacs-totp variations, including non-standard base32 encodings.") (license license:gpl3+)))) +(define-public emacs-zop-to-char + (let ((commit "00152aa666354b27e56e20565f186b363afa0dce") + (revision "0")) + (package + (name "emacs-zop-to-char") + (version (git-version "1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thierryvolpiatto/zop-to-char") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1s4adi9hyhxn7ynx195mgg10h817hxdmlzlp09633bj0llr1mjn3")))) + (build-system emacs-build-system) + (home-page "https://github.com/thierryvolpiatto/zop-to-char") + (synopsis "Visual @code{zap-to-char}-related commands for Emacs") + (description + "Visually enhanced versions of @code{zap-to-char} and +@code{zap-to-up-char}. Precise character-level navigation and editing across the +buffer, facilitating efficient deletion, replacement, and jumping to specific +locations.") + (license license:gpl3+)))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar base-commit: 71b92466430acb8c91841522dc0eb7d766af4388 prerequisite-patch-id: fffccc797bda74d3b25e987538ff5b916e0e976f prerequisite-patch-id: 79914a97779bed9904a1d80e56fa0339eccaf329 -- 2.41.0