all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
@ 2009-03-06 21:26 Drew Adams
  2016-04-27 17:53 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Drew Adams @ 2009-03-06 21:26 UTC (permalink / raw)
  To: emacs-pretest-bug

The prompt text is part of the minibuffer, but it is not part of the
user's input.  It is good that you can select text from the prompt if
you need to.  But positioning and simple selection commands in the
input area should generally act on the user input only.
 
In particular, `C-x h' should select (mark) all of the user input, but
only the input.  The prompt should not be included in the selection.
 
If a user really needs to select both the input and the prompt,
exceptionally, s?he can do that in other (less direct) ways.  Just as
`C-a' does not move point to the prompt beginning (but you can do so
indirectly, using `C-b'), so `C-x h' should similarly limit its action
to the editing (input) area.
 
Using the prompt as text is a secondary concern; it is not the first
effect that users should see when they try to use simple editing
commands.
 

In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600)
 of 2009-02-01 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
 







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

* bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
  2009-03-06 21:26 bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt Drew Adams
@ 2016-04-27 17:53 ` Lars Ingebrigtsen
  2016-04-27 17:58   ` Drew Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-27 17:53 UTC (permalink / raw)
  To: Drew Adams; +Cc: 2589

"Drew Adams" <drew.adams@oracle.com> writes:

> The prompt text is part of the minibuffer, but it is not part of the
> user's input.  It is good that you can select text from the prompt if
> you need to.  But positioning and simple selection commands in the
> input area should generally act on the user input only.
>
> In particular, `C-x h' should select (mark) all of the user input, but
> only the input.  The prompt should not be included in the selection.

This is now fixed on the trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
  2016-04-27 17:53 ` Lars Ingebrigtsen
@ 2016-04-27 17:58   ` Drew Adams
  2016-04-27 18:19     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Drew Adams @ 2016-04-27 17:58 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 2589

> > The prompt text is part of the minibuffer, but it is not part of the
> > user's input.  It is good that you can select text from the prompt if
> > you need to.  But positioning and simple selection commands in the
> > input area should generally act on the user input only.
> >
> > In particular, `C-x h' should select (mark) all of the user input, but
> > only the input.  The prompt should not be included in the selection.
> 
> This is now fixed on the trunk.

Are you sure?  I don't have the trunk available, but in my latest
Emacs 25 build, which is this, it is not fixed.

In GNU Emacs 25.1.50.1 (i686-pc-mingw32)
 of 2015-12-10
Repository revision: 6148555ee5a3d0139ae517803718b3e0357933c7
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --prefix=/c/Devel/emacs/snapshot/trunk --enable-checking=yes
 --enable-check-lisp-object-type --without-compress-install 'CFLAGS=-Og
 -ggdb3' LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''

emacs -Q
M-x
C-x h
C-e
C-y

The prompt text is selected by C-x h.  The bug report says:

  In particular, `C-x h' should select (mark) all of the user input, but
  only the input.  The prompt should not be included in the selection.





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

* bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
  2016-04-27 17:58   ` Drew Adams
@ 2016-04-27 18:19     ` Lars Ingebrigtsen
  2016-04-27 18:23       ` Drew Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-27 18:19 UTC (permalink / raw)
  To: Drew Adams; +Cc: 2589

Drew Adams <drew.adams@oracle.com> writes:

>> This is now fixed on the trunk.
>
> Are you sure?  I don't have the trunk available, but in my latest
> Emacs 25 build, which is this, it is not fixed.

Yes, I just checked it in a few minutes ago.  >"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
  2016-04-27 18:19     ` Lars Ingebrigtsen
@ 2016-04-27 18:23       ` Drew Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2016-04-27 18:23 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 2589

> >> This is now fixed on the trunk.
> >
> > Are you sure?  I don't have the trunk available, but in my latest
> > Emacs 25 build, which is this, it is not fixed.
> 
> Yes, I just checked it in a few minutes ago.  >"?

Great. Thanks.





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

end of thread, other threads:[~2016-04-27 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06 21:26 bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt Drew Adams
2016-04-27 17:53 ` Lars Ingebrigtsen
2016-04-27 17:58   ` Drew Adams
2016-04-27 18:19     ` Lars Ingebrigtsen
2016-04-27 18:23       ` Drew Adams

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.