all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
@ 2023-05-31 20:00 Drew Adams
  2023-06-01  5:44 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2023-05-31 20:00 UTC (permalink / raw)
  To: 63815

Just as for `help-mode-map', please consider binding `M-n' to
`clone-buffer in `Info-mode-map'.

In GNU Emacs 29.0.91 (build 2, x86_64-w64-mingw32) of 2023-05-14 built
 on AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.2965)

Configured using:
 'configure --with-modules --without-dbus --with-native-compilation
 --without-compress-install --with-tree-sitter CFLAGS=-O2'

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB

(NATIVE_COMP present but libgccjit not available)

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252






^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-05-31 20:00 bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer' Drew Adams
@ 2023-06-01  5:44 ` Eli Zaretskii
  2023-06-01 13:25   ` Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2023-06-01  5:44 UTC (permalink / raw)
  To: Drew Adams; +Cc: 63815

> From: Drew Adams <drew.adams@oracle.com>
> Date: Wed, 31 May 2023 20:00:11 +0000
> 
> Just as for `help-mode-map', please consider binding `M-n' to
> `clone-buffer in `Info-mode-map'.

M-n is already bound to clone-buffer in Info, since at least Emacs 23.
Doesn't it work for you?  What does "C-h c M-n" say in Info?





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-01  5:44 ` Eli Zaretskii
@ 2023-06-01 13:25   ` Drew Adams
  2023-06-01 16:08     ` Juri Linkov
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2023-06-01 13:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 63815@debbugs.gnu.org

> M-n is already bound to clone-buffer in Info, since at least Emacs 23.
> Doesn't it work for you?  What does "C-h c M-n" say in Info?

I'm sorry.  I wrote it backward, in both the Subject line and the report text.

I should have requested that we bind M-n in help-mode-map to clone-buffer, just as we bind M-n in Info-mode-map to clone-buffer.

Apologies.  Would you please retitle the bug, assuming that you don't close it immediately?  Thx.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-01 13:25   ` Drew Adams
@ 2023-06-01 16:08     ` Juri Linkov
  2023-06-01 16:44       ` Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: Juri Linkov @ 2023-06-01 16:08 UTC (permalink / raw)
  To: Drew Adams; +Cc: Eli Zaretskii, 63815@debbugs.gnu.org

>> M-n is already bound to clone-buffer in Info, since at least Emacs 23.
>> Doesn't it work for you?  What does "C-h c M-n" say in Info?
>
> I'm sorry.  I wrote it backward, in both the Subject line and the report text.
>
> I should have requested that we bind M-n in help-mode-map to
> clone-buffer, just as we bind M-n in Info-mode-map to clone-buffer.

In Emacs 29 you can use 'clone-buffer' in the Help buffer
bound to 'C-x x n'.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-01 16:08     ` Juri Linkov
@ 2023-06-01 16:44       ` Drew Adams
  2023-06-02  6:49         ` Juri Linkov
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2023-06-01 16:44 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Eli Zaretskii, 63815@debbugs.gnu.org

> > I should have requested that we bind M-n in help-mode-map to
> > clone-buffer, just as we bind M-n in Info-mode-map to clone-buffer.
> 
> In Emacs 29 you can use 'clone-buffer' in the Help buffer
> bound to 'C-x x n'.

I see.  Why not (also) `M-n', like elsewhere?
Why not treat *Help* like *info* and *Man __*?





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-01 16:44       ` Drew Adams
@ 2023-06-02  6:49         ` Juri Linkov
  2023-06-02 13:23           ` Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: Juri Linkov @ 2023-06-02  6:49 UTC (permalink / raw)
  To: Drew Adams; +Cc: Eli Zaretskii, 63815@debbugs.gnu.org

>> > I should have requested that we bind M-n in help-mode-map to
>> > clone-buffer, just as we bind M-n in Info-mode-map to clone-buffer.
>>
>> In Emacs 29 you can use 'clone-buffer' in the Help buffer
>> bound to 'C-x x n'.
>
> I see.  Why not (also) `M-n', like elsewhere?
> Why not treat *Help* like *info* and *Man __*?

Actually, 'C-x x n' is the global keybinding.  Here is what Help says:

  C-x x n runs the command clone-buffer (found in global-map).

  It is bound to M-n and C-x x n.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-02  6:49         ` Juri Linkov
@ 2023-06-02 13:23           ` Drew Adams
  2023-06-02 16:05             ` Juri Linkov
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2023-06-02 13:23 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Eli Zaretskii, 63815@debbugs.gnu.org

> > I see.  Why not (also) `M-n', like elsewhere?
> > Why not treat *Help* like *info* and *Man __*?
> 
> Actually, 'C-x x n' is the global keybinding.  Here is what Help says:
> 
>   C-x x n runs the command clone-buffer (found in global-map).
> 
>   It is bound to M-n and C-x x n.

Is that `M-n' binding new for Emacs 30? I don't see it in the 29 pretest (emacs -Q).  Anyway, if an M-n binding has already been added then (great) please close this bug.  Thx.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-02 13:23           ` Drew Adams
@ 2023-06-02 16:05             ` Juri Linkov
  2023-06-02 18:37               ` Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: Juri Linkov @ 2023-06-02 16:05 UTC (permalink / raw)
  To: Drew Adams; +Cc: Eli Zaretskii, 63815@debbugs.gnu.org

>> > I see.  Why not (also) `M-n', like elsewhere?
>> > Why not treat *Help* like *info* and *Man __*?
>> 
>> Actually, 'C-x x n' is the global keybinding.  Here is what Help says:
>> 
>>   C-x x n runs the command clone-buffer (found in global-map).
>> 
>>   It is bound to M-n and C-x x n.
>
> Is that `M-n' binding new for Emacs 30?  I don't see it in the 29
> pretest (emacs -Q).  Anyway, if an M-n binding has already been added
> then (great) please close this bug.  Thx.

Sorry that the answer was unclear.  This Help buffer showed help
about the Info buffer.  So M-n exists only in Info mode.
But in Emacs 29 a new global binding 'C-x x n' was added
to make 'clone-buffer' available in all modes.
This makes 'M-n' in Info obsolete.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-02 16:05             ` Juri Linkov
@ 2023-06-02 18:37               ` Drew Adams
  2023-06-04 16:40                 ` Juri Linkov
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2023-06-02 18:37 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Eli Zaretskii, 63815@debbugs.gnu.org

> >> > I see.  Why not (also) `M-n', like elsewhere?
> >> > Why not treat *Help* like *info* and *Man __*?
> >>
> >> Actually, 'C-x x n' is the global keybinding.  Here is what Help says:
> >>
> >>   C-x x n runs the command clone-buffer (found in global-map).
> >>
> >>   It is bound to M-n and C-x x n.
> >
> > Is that `M-n' binding new for Emacs 30?  I don't see it in the 29
> > pretest (emacs -Q).  Anyway, if an M-n binding has already been added
> > then (great) please close this bug.  Thx.
> 
> Sorry that the answer was unclear.  This Help buffer showed help
> about the Info buffer.  So M-n exists only in Info mode.
> But in Emacs 29 a new global binding 'C-x x n' was added
> to make 'clone-buffer' available in all modes.
> This makes 'M-n' in Info obsolete.

Why would you say that (last sentence)?

That we have a global binding for the command
doesn't mean we shouldn't also have an easier,
(and long-standing) local binding for it.

The request of this bug is to add `M-n' for
`clone-buffer' to buffers in Help mode, in
addition to having it for buffers in Info mode.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-02 18:37               ` Drew Adams
@ 2023-06-04 16:40                 ` Juri Linkov
  2023-09-16 14:28                   ` Stefan Kangas
  0 siblings, 1 reply; 11+ messages in thread
From: Juri Linkov @ 2023-06-04 16:40 UTC (permalink / raw)
  To: Drew Adams; +Cc: Eli Zaretskii, 63815@debbugs.gnu.org

>> >> > I see.  Why not (also) `M-n', like elsewhere?
>> >> > Why not treat *Help* like *info* and *Man __*?
>> >>
>> >> Actually, 'C-x x n' is the global keybinding.  Here is what Help says:
>> >>
>> >>   C-x x n runs the command clone-buffer (found in global-map).
>> >>
>> >>   It is bound to M-n and C-x x n.
>> >
>> > Is that `M-n' binding new for Emacs 30?  I don't see it in the 29
>> > pretest (emacs -Q).  Anyway, if an M-n binding has already been added
>> > then (great) please close this bug.  Thx.
>>
>> Sorry that the answer was unclear.  This Help buffer showed help
>> about the Info buffer.  So M-n exists only in Info mode.
>> But in Emacs 29 a new global binding 'C-x x n' was added
>> to make 'clone-buffer' available in all modes.
>> This makes 'M-n' in Info obsolete.
>
> Why would you say that (last sentence)?

Because the new universal keybinding is available in all buffers.
But I don't propose to remove 'M-n' in Info.

> That we have a global binding for the command
> doesn't mean we shouldn't also have an easier,
> (and long-standing) local binding for it.
>
> The request of this bug is to add `M-n' for
> `clone-buffer' to buffers in Help mode, in
> addition to having it for buffers in Info mode.

Sorry, I have no opinion about 'M-n' in Help.
I just pointed out there is a new global keybinding
'C-x x n' that can be used in Help now.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer'
  2023-06-04 16:40                 ` Juri Linkov
@ 2023-09-16 14:28                   ` Stefan Kangas
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Kangas @ 2023-09-16 14:28 UTC (permalink / raw)
  To: Juri Linkov, Drew Adams; +Cc: Eli Zaretskii, 63815

tags 63815 + wontfix
close 63815
thanks

Juri Linkov <juri@linkov.net> writes:

>>> >> Actually, 'C-x x n' is the global keybinding.  Here is what Help says:
>>> >>
>>> >>   C-x x n runs the command clone-buffer (found in global-map).
>>> >>
>>> >>   It is bound to M-n and C-x x n.
>>> >
>>> > Is that `M-n' binding new for Emacs 30?  I don't see it in the 29
>>> > pretest (emacs -Q).  Anyway, if an M-n binding has already been added
>>> > then (great) please close this bug.  Thx.
>>>
>>> Sorry that the answer was unclear.  This Help buffer showed help
>>> about the Info buffer.  So M-n exists only in Info mode.
>>> But in Emacs 29 a new global binding 'C-x x n' was added
>>> to make 'clone-buffer' available in all modes.
>>> This makes 'M-n' in Info obsolete.
>>
>> Why would you say that (last sentence)?
>
> Because the new universal keybinding is available in all buffers.
> But I don't propose to remove 'M-n' in Info.
>
>> That we have a global binding for the command
>> doesn't mean we shouldn't also have an easier,
>> (and long-standing) local binding for it.
>>
>> The request of this bug is to add `M-n' for
>> `clone-buffer' to buffers in Help mode, in
>> addition to having it for buffers in Info mode.
>
> Sorry, I have no opinion about 'M-n' in Help.
> I just pointed out there is a new global keybinding
> 'C-x x n' that can be used in Help now.

Right.  Let's not add yet another keybinding for this.

Users that want it can bind it themselves.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-16 14:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-31 20:00 bug#63815: 29.0.91; Bind `M-n' in `Info-mode-map' to `clone-buffer' Drew Adams
2023-06-01  5:44 ` Eli Zaretskii
2023-06-01 13:25   ` Drew Adams
2023-06-01 16:08     ` Juri Linkov
2023-06-01 16:44       ` Drew Adams
2023-06-02  6:49         ` Juri Linkov
2023-06-02 13:23           ` Drew Adams
2023-06-02 16:05             ` Juri Linkov
2023-06-02 18:37               ` Drew Adams
2023-06-04 16:40                 ` Juri Linkov
2023-09-16 14:28                   ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.