X-Loop: help-debbugs@HIDDEN Subject: bug#78391: 30.0.92; remapped command's docstring still claims to have menu invocation Resent-From: Jake <jforst.mailman@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 12:21:02 +0000 Resent-Message-ID: <handler.78391.B.17470524094573 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 78391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78391 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17470524094573 (code B ref -1); Mon, 12 May 2025 12:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2025 12:20:09 +0000 Received: from localhost ([127.0.0.1]:51096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uES8e-0001BU-Vi for submit <at> debbugs.gnu.org; Mon, 12 May 2025 08:20:09 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43142) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jforst.mailman@HIDDEN>) id 1uES8X-00016v-I9 for submit <at> debbugs.gnu.org; Mon, 12 May 2025 08:20:04 -0400 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 <jforst.mailman@HIDDEN>) id 1uES8P-0000aM-0N for bug-gnu-emacs@HIDDEN; Mon, 12 May 2025 08:19:53 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jforst.mailman@HIDDEN>) id 1uES8J-0002E8-KM for bug-gnu-emacs@HIDDEN; Mon, 12 May 2025 08:19:52 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3a206845eadso742136f8f.3 for <bug-gnu-emacs@HIDDEN>; Mon, 12 May 2025 05:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747052385; x=1747657185; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=V2Ct7dDs1y03us/ZwYsTNwSBn2vsyNlHmzfjuxoso6k=; b=lqqayfm2rTOmmjCKIJDgmSvlQYVioiLzDbENeNPtAt/nPt4CSFhu8Qe+bFI4VLciin +UqM9ga3zsm+FcIzwbVCmdRdE7/A27Ay/5J9R1vbxI82fl9oL2auyozqor11jhMcCO5Y T8dSBs4wQYdFdd3eU9TaXKGWz5djmzFb+TfIApxN8cyEkrWrrvrsuorTpjo3X0GHO+s4 oxKsfNiaAK0SQPFz7SOdse6SfnrO7dJfLMP2xfPa4XUeSe/lm827P9+FEEVk/qTv7eon dCq5lFHnang+mN4G/VKY6PC47L6/gmpN9E1RxzS/c8kPvIBVd3jDw4IHTTjNqYsoGpjc 6JQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747052385; x=1747657185; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=V2Ct7dDs1y03us/ZwYsTNwSBn2vsyNlHmzfjuxoso6k=; b=F1LKGIhM9HU7MJMvpItXp4Xp8SXlKlCpHHahu+4OjovC2cv1g1Rs5578fms9teO+tO Lduk8mzuQWlv29swLF2pJLhdthVwIG/RiXkBhQjiyu5aA/MmgWaHlZtS9mWsgDRZZfB2 wZMt/+DfY+JYRGdTcvIWToG9Mz+4d66GB5DYkXyTv9QhmPAVSpk1qowFZOxuY2nMg20b uR78ZWz501KhSLi3jFfGr3+MIsFu056e+FxsEimnPLCGd9a6T5WpYhf7MV7GH50sQAgT QCXGee6R6D1x5x8yPEecNlIiEc63wCcxBkdKQk7GJsp0n6QKCQt2TjQhbD/7NdtNUCqw TfkQ== X-Gm-Message-State: AOJu0YzfL9Wo311l9t/NPDJ+yMxX4xHb75+PEMu2XL9syyyl5EGh5N+n pbjUE5aHVxafi/xP8AbVO9TcQTa+NLxuopDC3EIZECiRM5tO9l/JBBSERgPonJoiH0ue17LVyGf 5xMO30j5rAlxUOr5gCpUWW226Ss33RHvi X-Gm-Gg: ASbGnctX/7SE7k3rBFMcJgoZTw4k1XueHZaYwqULQCr4CeNAilJxGuMPmtwATdoUn3R riRSHhpCzUe3ek4vu+uSFhgstIe/5SiFwOcz8wqSBlK1bZA23Gv1GZY8srVsyA/3NBW/SKhQbyG TMNOOpXfLrqvuw2+echYTrXJf9JgH+cJMc X-Google-Smtp-Source: AGHT+IExvJv7LWczMbWQ/0MH7J1a7hSfPMSI9b5G6J6G+3lppEU1VWREDhGGR8/CV0zx22FDFfPoj1VF/l7WhMVzP8g= X-Received: by 2002:a05:6000:2902:b0:3a0:aed9:e34 with SMTP id ffacd0b85a97d-3a1f64eecc6mr8762605f8f.48.1747052384602; Mon, 12 May 2025 05:19:44 -0700 (PDT) MIME-Version: 1.0 From: Jake <jforst.mailman@HIDDEN> Date: Mon, 12 May 2025 12:19:33 +0000 X-Gm-Features: AX0GCFvVkngAT6pEnt54SLJA3nt0wfxy21p8eGUdaPtUdJr44tq-1B2WiS5C_QY Message-ID: <CAJqVjv9qrS7r27v=m-WbeF+E4eL0S3wjdYEKN8hLj0G3=nOS9g@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000c9cf8c0634ef5412" Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=jforst.mailman@HIDDEN; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --000000000000c9cf8c0634ef5412 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello From emacs -Q, evaluate (keymap-global-set "<remap> <list-buffers>" #'ibuffer) then C-h f list-buffers RET The docstring includes: "Its keys are remapped to =E2=80=98ibuffer=E2=80=99. Without this remappin= g, it would be bound to C-x C-b. It can also be invoked from the menu: Buffers =E2=86=92 List All Buffers" It cannot be invoked from the menu as the menu item is also remapped. Thanks Jake In GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) Windowing system distributor 'The X.Org Foundation', version 11.0.12101015 System Description: Guix System Configured using: 'configure CONFIG_SHELL=3D/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.= 1.16/bin/bash SHELL=3D/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.1.16/bi= n/bash --prefix=3D/gnu/store/11m3qxg9dc02qm0hv4qsnwdppxic196c-emacs-next-30.0.92-= 0.881d593 --enable-fast-install --with-cairo --with-modules --with-native-compilation=3Daot --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /home/jake/.guix-profile/share/emacs/site-lisp:/gnu/store/11m3qxg9dc02qm0hv= 4qsnwdppxic196c-emacs-next-30.0.92-0.881d593/share/emacs/30.0.92/lisp value of $LANG: en_AU.utf8 locale-coding-system: utf-8-unix --000000000000c9cf8c0634ef5412 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello</div><div><br></div><div>From emacs -Q, evaluat= e</div><div>=C2=A0 (keymap-global-set "<remap> <list-buffers&= gt;" #'ibuffer)</div><div>then C-h f list-buffers RET</div><div><b= r></div><div>The docstring includes:</div><div><br></div><div>"Its key= s are remapped to =E2=80=98ibuffer=E2=80=99.=C2=A0 Without this remapping, = it would<br>be bound to C-x C-b.<br>It can also be invoked from the menu: B= uffers =E2=86=92 List All Buffers"</div><div><br></div><div>It cannot = be invoked from the menu as the menu item is also remapped.</div><div><br><= /div><div>Thanks</div><div>Jake</div><div><br><br>In GNU Emacs 30.0.92 (bui= ld 1, x86_64-pc-linux-gnu, GTK+ Version<br>3.24.43, cairo version 1.18.2)<b= r>Windowing system distributor 'The X.Org Foundation', version 11.0= .12101015<br>System Description: Guix System<br><br>Configured using:<br>= =C2=A0'configure<br>=C2=A0CONFIG_SHELL=3D/gnu/store/m0xdsa8cfq6mq1kxgxm= pmpg71la4f0b9-bash-minimal-5.1.16/bin/bash<br>=C2=A0SHELL=3D/gnu/store/m0xd= sa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.1.16/bin/bash<br>=C2=A0--prefix= =3D/gnu/store/11m3qxg9dc02qm0hv4qsnwdppxic196c-emacs-next-30.0.92-0.881d593= <br>=C2=A0--enable-fast-install --with-cairo --with-modules<br>=C2=A0--with= -native-compilation=3Daot --disable-build-details'<br><br>Configured fe= atures:<br>ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBU= ZZ JPEG<br>LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATI= VE_COMP<br>NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TI= FF<br>TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB<br= ><br>Important settings:<br>=C2=A0 value of $EMACSLOADPATH: /home/jake/.gui= x-profile/share/emacs/site-lisp:/gnu/store/11m3qxg9dc02qm0hv4qsnwdppxic196c= -emacs-next-30.0.92-0.881d593/share/emacs/30.0.92/lisp<br>=C2=A0 value of $= LANG: en_AU.utf8<br>=C2=A0 locale-coding-system: utf-8-unix<br><br></div></= div> --000000000000c9cf8c0634ef5412--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jake <jforst.mailman@HIDDEN> Subject: bug#78391: Acknowledgement (30.0.92; remapped command's docstring still claims to have menu invocation) Message-ID: <handler.78391.B.17470524094573.ack <at> debbugs.gnu.org> References: <CAJqVjv9qrS7r27v=m-WbeF+E4eL0S3wjdYEKN8hLj0G3=nOS9g@HIDDEN> X-Gnu-PR-Message: ack 78391 X-Gnu-PR-Package: emacs Reply-To: 78391 <at> debbugs.gnu.org Date: Mon, 12 May 2025 12:21:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 78391 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 78391: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78391 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#78391: 30.0.92; remapped command's docstring still claims to have menu invocation Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 12:43:01 +0000 Resent-Message-ID: <handler.78391.B78391.17470537389238 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jake <jforst.mailman@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Cc: 78391 <at> debbugs.gnu.org Received: via spool by 78391-submit <at> debbugs.gnu.org id=B78391.17470537389238 (code B ref 78391); Mon, 12 May 2025 12:43:01 +0000 Received: (at 78391) by debbugs.gnu.org; 12 May 2025 12:42:18 +0000 Received: from localhost ([127.0.0.1]:51208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uESU5-0002Ow-Lc for submit <at> debbugs.gnu.org; Mon, 12 May 2025 08:42:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54030) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uESU2-0002Od-FH for 78391 <at> debbugs.gnu.org; Mon, 12 May 2025 08:42:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uESTv-0004T0-7h; Mon, 12 May 2025 08:42:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=x8ixMcEUPOrSxudNSeQ4f/fC7zJfi97Qlulg1C81B4M=; b=NbLOld1VRKpTDpwd/xJ2 a7WOQgvsaQAkMhXOUq9oP41gcIbmnBwHnATWBF1/+o0jeAiGT+Pad5L/ONu/fKbLIQYztMsvKmYEG NiMKS+f4TWsz/oVhAmFOYy+3UpliR0FVewkBEtgBVEn0cuhyQ68lbqh5KU0fe0li99rlUYBRNnR28 odkr5C2KunRTJICkx5crsdJsBCj62vJcRXhYayvomFIF+xXlpUTU2NoBOpeN3PBM1qmV0Vsn70X2O RXPMiMuGB097UM+PofwdoKRRwnLcIZIkpw8/Ss7NV9KH5XDwcbwlybprHYnXLMZcvAqH/HQ+ZMh1k lIqPZJfzBKSp4Q==; Date: Mon, 12 May 2025 15:42:01 +0300 Message-Id: <86msbi6lwm.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CAJqVjv9qrS7r27v=m-WbeF+E4eL0S3wjdYEKN8hLj0G3=nOS9g@HIDDEN> (message from Jake on Mon, 12 May 2025 12:19:33 +0000) References: <CAJqVjv9qrS7r27v=m-WbeF+E4eL0S3wjdYEKN8hLj0G3=nOS9g@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Jake <jforst.mailman@HIDDEN> > Date: Mon, 12 May 2025 12:19:33 +0000 > > From emacs -Q, evaluate > (keymap-global-set "<remap> <list-buffers>" #'ibuffer) > then C-h f list-buffers RET > > The docstring includes: > > "Its keys are remapped to ‘ibuffer’. Without this remapping, it would > be bound to C-x C-b. > It can also be invoked from the menu: Buffers → List All Buffers" > > It cannot be invoked from the menu as the menu item is also remapped. Thanks. Does the patch below give good results? Stefan, any comments? diff --git a/lisp/help-fns.el b/lisp/help-fns.el index e7bbd25..aacdcc5 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -624,8 +624,11 @@ help-fns--key-bindings (let ((start (point))) (help-fns--insert-menu-bindings menus - (concat "It can " (and keys "also ") - "be invoked from the menu: ")) + (if remapped + (concat "Without the remapping, it could " + (and keys "also ") "be invoked from the menu: ") + (concat "It can " (and keys "also ") + "be invoked from the menu: "))) (fill-region-as-paragraph start (point)))) (ensure-empty-lines)))))))
X-Loop: help-debbugs@HIDDEN Subject: bug#78391: 30.0.92; remapped command's docstring still claims to have menu invocation Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 14:51:01 +0000 Resent-Message-ID: <handler.78391.B78391.174706144018849 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: Jake <jforst.mailman@HIDDEN>, 78391 <at> debbugs.gnu.org Received: via spool by 78391-submit <at> debbugs.gnu.org id=B78391.174706144018849 (code B ref 78391); Mon, 12 May 2025 14:51:01 +0000 Received: (at 78391) by debbugs.gnu.org; 12 May 2025 14:50:40 +0000 Received: from localhost ([127.0.0.1]:53943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uEUUK-0004tw-FH for submit <at> debbugs.gnu.org; Mon, 12 May 2025 10:50:40 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:38808) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1uEUUH-0004tX-H2 for 78391 <at> debbugs.gnu.org; Mon, 12 May 2025 10:50:38 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CCF95801FB; Mon, 12 May 2025 10:50:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1747061426; bh=0rp4sfOB/CZaoMTlYzszFHxTkoHf1AIDWVrChZt3g/o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SQncyA4ezwYLoHXGMmUqCK+Hoo+py/ShM6xj3vZg12LS9CdJV9MbtCRSyY+w14+up mHjaEz5EYW5AfWyYOCI7/Hk7oMWhRwMuDa1hGX1leA8Y45Tj6ly/mgnIcShZTS/3YW bSBw3CUp7hJVLiOrwBPliahjPJxJFolihlpwWYvupX/f7eEmQOMrj6pNNVg4FMPwoQ myF5WhaCGc9U+Dx10PBm394aukD51qnOeZ5No5goh53C4ynbGFqwuHkUQHhVpJTYdP ONOxoJv4LS5NuHcrvNHFLNpsBg0CRoiAttq3Irlp/SeGUgbl/MOVz7ljqv+BepUiMr mCM+sw8hjgcbg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D0DE1800C4; Mon, 12 May 2025 10:50:26 -0400 (EDT) Received: from pastel (104-195-232-56.cpe.teksavvy.com [104.195.232.56]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A48591203DB; Mon, 12 May 2025 10:50:26 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <86msbi6lwm.fsf@HIDDEN> Message-ID: <jwvjz6lyji3.fsf-monnier+emacs@HIDDEN> References: <CAJqVjv9qrS7r27v=m-WbeF+E4eL0S3wjdYEKN8hLj0G3=nOS9g@HIDDEN> <86msbi6lwm.fsf@HIDDEN> Date: Mon, 12 May 2025 10:50:26 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.089 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Thanks. Does the patch below give good results? > > Stefan, any comments? > > diff --git a/lisp/help-fns.el b/lisp/help-fns.el > index e7bbd25..aacdcc5 100644 > --- a/lisp/help-fns.el > +++ b/lisp/help-fns.el > @@ -624,8 +624,11 @@ help-fns--key-bindings > (let ((start (point))) > (help-fns--insert-menu-bindings > menus > - (concat "It can " (and keys "also ") > - "be invoked from the menu: ")) > + (if remapped > + (concat "Without the remapping, it could " > + (and keys "also ") "be invoked from the men= u: ") > + (concat "It can " (and keys "also ") > + "be invoked from the menu: "))) > (fill-region-as-paragraph start (point)))) > (ensure-empty-lines))))))) >=20=20 It gives a rather redundant text since the same "Without the remapping" is used just above for the key bindings. As a user I'd prefer it integrated into that previous sentence to end up with a text along the lines of: Its keys are remapped to =E2=80=98ibuffer=E2=80=99. Without this remapping, it would be bound to C-x C-b and to the menu entry Buffers =E2=86=92 List All Buffers - Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#78391: 30.0.92; remapped command's docstring still claims to have menu invocation Resent-From: Jake <jforst.mailman@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 12 May 2025 15:01:02 +0000 Resent-Message-ID: <handler.78391.B78391.174706204027868 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 78391 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> Received: via spool by 78391-submit <at> debbugs.gnu.org id=B78391.174706204027868 (code B ref 78391); Mon, 12 May 2025 15:01:02 +0000 Received: (at 78391) by debbugs.gnu.org; 12 May 2025 15:00:40 +0000 Received: from localhost ([127.0.0.1]:54020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uEUdz-0007E6-K0 for submit <at> debbugs.gnu.org; Mon, 12 May 2025 11:00:40 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:49269) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <jforst.mailman@HIDDEN>) id 1uEUdw-0006sd-G1 for 78391 <at> debbugs.gnu.org; Mon, 12 May 2025 11:00:37 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3a1b8e8b2b2so2308179f8f.2 for <78391 <at> debbugs.gnu.org>; Mon, 12 May 2025 08:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747062030; x=1747666830; 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=+mVXXfYSoLrZl2zoglYEyyS6EB+xat4/yCpSsTUzKGg=; b=SnFnBkyZqTtUijBNDL4EIrLMMa+J5kok8O1zgG7R4PoQjDEDo9RXJzBtd7qWBgiqXl Y78XFgGqagcVrVI+sPlkYNmN5PqpJMKmHL7gmGznB4t1Q9ooWSmCqdtOPNNa+u3rMEO3 Yg2klyuAJjkiKABDFDErJAbQVQODcTQhXAASDyoWX05PzCknN2NmCzoZAmduD+g/MaSs GLWVjNXf7qqSWLnEvErq0Hv1hH5AvoMsWhAApJiukrotWf2i52wtGvOG4+Mo3GSNcKoN zpEwDZpTpwMAq61XW+WPAxZlGxzHnbdqM0BzmeaR/wZcNcD/aR/xlPhnz6KRBpiwX/lc smKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747062030; x=1747666830; 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=+mVXXfYSoLrZl2zoglYEyyS6EB+xat4/yCpSsTUzKGg=; b=Dk/4fNe5JNObMAdsoyah0swFpxi1nLJfx6JAwwZ/lGt69EdyfgLccG+ivixDcpEa+N 2Mq19LDzqYm1GG03KI6SPcA5J/ADndIdhiGXr0yjFjD08BkxrONyQaapMqqo8Z2by3YI qZN5GvBthPCEYIgt7BgEQI1Fm3n+8lxjgkW9q2LqUDsjXAGC3+SfTH8O4CO6jPfr3er8 9QCKf7IzSCVkQodjw0295nuBAMLdc4vQWUHGapb3PfNI8aZFOhOxoiQLMtjlAj1KUIAg qNYq+heBW0O5yriftStKxIAAUYz3mn0zBIHWli5H/bgXLP8BvoIMlXZfJbKust00SgAT e9sA== X-Forwarded-Encrypted: i=1; AJvYcCVIurpj2zI+fTlAuzzG7VOMK9JgFqVTFei/7/I0TF4VE3GkCmRUxKsN+Qc+70zyo2knO+vhvw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzFbifydW/rIHZIYX3xoMgIc8bijvr1Ng2cmpJl2Bmalhx2EGq0 lsWLHLNwwiWS24FfWY9VCl6nO2Yf91uxqydc+SvBS4282Z0RseVGBobSJqOI38hpMcWfeAAcd21 6QqRaBFdVJnCdWAKo/kWmsNLqYgA= X-Gm-Gg: ASbGncuPEyEpLg7BATl9DfsEY+GJVMSt++Ax1FqCApXuDgw545q1+kUFR3aDOJcvTlI i4wFEnBxVUNsBltwgElDiSgbLE1JmHgRDAxlrzM7Do53VVlJRRO4FaDp13a1FWNK28bOdbFPF2r rFwUIq7og9/USqeFJlLiH7I3xwJTeFymqW X-Google-Smtp-Source: AGHT+IEPTewhL/EWHXbBdlAN1EMmV81MX/vOJ/eMOTilmF9bRJLw1EGL+FcskzVfFtIGqX2Fc15CdW8PGll/xLl4uTw= X-Received: by 2002:adf:f40f:0:b0:3a1:fe8f:9c68 with SMTP id ffacd0b85a97d-3a1fe8f9d22mr6093415f8f.16.1747062030059; Mon, 12 May 2025 08:00:30 -0700 (PDT) MIME-Version: 1.0 References: <CAJqVjv9qrS7r27v=m-WbeF+E4eL0S3wjdYEKN8hLj0G3=nOS9g@HIDDEN> <86msbi6lwm.fsf@HIDDEN> <jwvjz6lyji3.fsf-monnier+emacs@HIDDEN> In-Reply-To: <jwvjz6lyji3.fsf-monnier+emacs@HIDDEN> From: Jake <jforst.mailman@HIDDEN> Date: Tue, 13 May 2025 00:30:18 +0930 X-Gm-Features: AX0GCFvwpA3s9vBfU6vUxeCsofM-aCRaxtws65CClJvRYZpt4ECm-DkvfyB2SOc Message-ID: <CAJqVjv-6+EqWzFG_8DuzZ8_Rjqvj9FfhZTA8oByMOTiPstUMYQ@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000b3cccd0634f1930c" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000b3cccd0634f1930c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable How about: Its keys and menu entry are remapped to =E2=80=98ibuffer=E2=80=99. Without this remapping, it would be bound to C-x C-b and to the menu entry Buffers =E2=86=92 List All Buffers On Tue, 13 May 2025 at 12:20=E2=80=AFam, Stefan Monnier <monnier@HIDDEN= eal.ca> wrote: > > Thanks. Does the patch below give good results? > > > > Stefan, any comments? > > > > diff --git a/lisp/help-fns.el b/lisp/help-fns.el > > index e7bbd25..aacdcc5 100644 > > --- a/lisp/help-fns.el > > +++ b/lisp/help-fns.el > > @@ -624,8 +624,11 @@ help-fns--key-bindings > > (let ((start (point))) > > (help-fns--insert-menu-bindings > > menus > > - (concat "It can " (and keys "also ") > > - "be invoked from the menu: ")) > > + (if remapped > > + (concat "Without the remapping, it could " > > + (and keys "also ") "be invoked from the > menu: ") > > + (concat "It can " (and keys "also ") > > + "be invoked from the menu: "))) > > (fill-region-as-paragraph start (point)))) > > (ensure-empty-lines))))))) > > > > It gives a rather redundant text since the same "Without the remapping" > is used just above for the key bindings. As a user I'd prefer it > integrated into that previous sentence to end up with a text along the > lines of: > > Its keys are remapped to =E2=80=98ibuffer=E2=80=99. > Without this remapping, it would be bound to C-x C-b > and to the menu entry Buffers =E2=86=92 List All Buffers > > > - Stefan > > --000000000000b3cccd0634f1930c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">How about:</div><div dir=3D"auto"><br></div><div dir=3D"a= uto"><div><div style=3D"font-size:1rem;font-style:normal;font-weight:400;le= tter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;= word-spacing:1px;text-decoration:none;font-family:-apple-system,"helve= tica neue";background-color:rgba(0,0,0,0);border-color:rgb(117,117,117= );color:rgb(117,117,117)" dir=3D"auto">Its keys and menu entry are remapped= to =E2=80=98ibuffer=E2=80=99.<br>=C2=A0 =C2=A0 Without this remapping, it = would be bound to C-x C-b<br></div><span style=3D"font-family:-apple-system= ,"helvetica neue";font-size:16px;font-style:normal;font-weight:40= 0;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:nor= mal;word-spacing:1px;text-decoration:none;float:none;display:inline!importa= nt;background-color:rgba(0,0,0,0);border-color:rgb(49,49,49);color:rgb(49,4= 9,49)">=C2=A0 =C2=A0 and to the menu entry Buffers =E2=86=92 List All Buffe= rs</span></div><br></div><div><br><div class=3D"gmail_quote gmail_quote_con= tainer"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, 13 May 2025 at 12:20= =E2=80=AFam, Stefan Monnier <<a href=3D"mailto:monnier@HIDDEN"= >monnier@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef= t-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">> Tha= nks.=C2=A0 Does the patch below give good results?<br> ><br> > Stefan, any comments?<br> ><br> > diff --git a/lisp/help-fns.el b/lisp/help-fns.el<br> > index e7bbd25..aacdcc5 100644<br> > --- a/lisp/help-fns.el<br> > +++ b/lisp/help-fns.el<br> > @@ -624,8 +624,11 @@ help-fns--key-bindings<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (let ((start (p= oint)))<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (help-fn= s--insert-menu-bindings<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0me= nus<br> > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(concat= "It can " (and keys "also ")<br> > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"be invoked from the menu: "))<br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(if rem= apped<br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0(concat "Without the remapping, it could "<br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(and keys "also ") "be in= voked from the menu: ")<br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= (concat "It can " (and keys "also ")<br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0"be invoked from the menu: ")))<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (fill-re= gion-as-paragraph start (point))))<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (ensure-empty-lines)))= ))))<br> >=C2=A0 <br> <br> It gives a rather redundant text since the same "Without the remapping= "<br> is used just above for the key bindings.=C2=A0 As a user I'd prefer it<= br> integrated into that previous sentence to end up with a text along the<br> lines of:<br> <br> =C2=A0 =C2=A0 Its keys are remapped to =E2=80=98ibuffer=E2=80=99.<br> =C2=A0 =C2=A0 Without this remapping, it would be bound to C-x C-b<br> =C2=A0 =C2=A0 and to the menu entry Buffers =E2=86=92 List All Buffers<br> <br> <br> - Stefan<br> <br> </blockquote></div></div> --000000000000b3cccd0634f1930c--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.