bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1123: marked as done (23.0.60; delete-minibuffer-contents does not


From: Emacs bug Tracking System
Subject: bug#1123: marked as done (23.0.60; delete-minibuffer-contents does not delete all input)
Date: Wed, 29 Oct 2008 14:40:04 -0700

Your message dated Wed, 29 Oct 2008 17:31:40 -0400
with message-id <87skqfrsub.fsf@cyd.mit.edu>
and subject line 23.0.60; delete-minibuffer-contents does not delete all input
has caused the Emacs bug report #1123,
regarding 23.0.60; delete-minibuffer-contents does not delete all input
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1123: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1123
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message --- Subject: 23.0.60; delete-minibuffer-contents does not delete all input Date: Wed, 8 Oct 2008 14:19:07 -0700
emacs -Q
 
(defun foo ()
  (interactive)
  (delete-minibuffer-contents))
 
(define-key minibuffer-local-map "\M-k" 'foo)
 
In directory c:/foo, say, do C-x C-f. You see:
 
Find file: c:/foo/
 
Type c:/bar, so you see:
Find file: c:/foo/c:/bar, with c:/foo/ greyed out.
 
M-k should erase the entire user input, leaving you with just
Find file: 
 
But it erases only the last part, leaving you with:
Find file: c:/foo/
 
This contradicts the doc string, which says:
 
 "Delete all user input in a minibuffer."
 

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-10-03 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 




--- End Message ---
--- Begin Message --- Subject: 23.0.60; delete-minibuffer-contents does not delete all input Date: Wed, 29 Oct 2008 17:31:40 -0400
> emacs -Q
> 
> (defun foo ()
>   (interactive)
>   (delete-minibuffer-contents))
> 
> (define-key minibuffer-local-map "\M-k" 'foo)
> 
> In directory c:/foo, say, do C-x C-f. You see:
> 
> Find file: c:/foo/
> 
> Type c:/bar, so you see:
> Find file: c:/foo/c:/bar, with c:/foo/ greyed out.
> 
> M-k should erase the entire user input, leaving you with just
> Find file: 

I've checked in a fix.  Good catch, thanks for spotting this.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]