GNU bug report logs - #2589
23.0.90; `C-x h' in minibuffer should not include prompt

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 7 Mar 2009 00:35:03 UTC

Severity: wishlist

Tags: fixed

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2589 in the body.
You can then email your comments to 2589 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2589; Package emacs. (Sat, 07 Mar 2009 00:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 07 Mar 2009 00:35:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <emacs-pretest-bug <at> gnu.org>
Subject: 23.0.90; `C-x h' in minibuffer should not include prompt
Date: Fri, 6 Mar 2009 13:26:19 -0800
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)'
 





Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Sat, 07 Mar 2009 04:05:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2589; Package emacs. (Wed, 27 Apr 2016 17:54:02 GMT) Full text and rfc822 format available.

Message #10 received at 2589 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 2589 <at> debbugs.gnu.org
Subject: Re: bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
Date: Wed, 27 Apr 2016 19:53:05 +0200
"Drew Adams" <drew.adams <at> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 27 Apr 2016 17:54:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 2589 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 27 Apr 2016 17:54:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2589; Package emacs. (Wed, 27 Apr 2016 17:59:03 GMT) Full text and rfc822 format available.

Message #17 received at 2589 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 2589 <at> debbugs.gnu.org
Subject: RE: bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
Date: Wed, 27 Apr 2016 10:58:50 -0700 (PDT)
> > 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2589; Package emacs. (Wed, 27 Apr 2016 18:20:02 GMT) Full text and rfc822 format available.

Message #20 received at 2589 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 2589 <at> debbugs.gnu.org
Subject: Re: bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
Date: Wed, 27 Apr 2016 20:19:32 +0200
Drew Adams <drew.adams <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2589; Package emacs. (Wed, 27 Apr 2016 18:24:02 GMT) Full text and rfc822 format available.

Message #23 received at 2589 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 2589 <at> debbugs.gnu.org
Subject: RE: bug#2589: 23.0.90; `C-x h' in minibuffer should not include prompt
Date: Wed, 27 Apr 2016 11:23:19 -0700 (PDT)
> >> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 26 May 2016 11:24:05 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:25 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.