GNU bug report logs - #2804
23.0.90; M-n in read-file-name doesn't respect insert-default-directory

Previous Next

Package: emacs;

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

Date: Fri, 27 Mar 2009 22:05:06 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 2804 in the body.
You can then email your comments to 2804 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#2804; Package emacs. (Fri, 27 Mar 2009 22:05:06 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>. (Fri, 27 Mar 2009 22:05:06 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; M-n in read-file-name doesn't respect insert-default-directory
Date: Fri, 27 Mar 2009 14:57:43 -0700
emacs-Q
 
(read-file-name "aaa: " nil "foobar.el")
 
Use `M-n' to retrieve the multiple default values. The default
directory is removed from the minibuffer, even if
`insert-default-directory' is non-nil.  This retrieval should keep the
directory in the minibuffer, if `insert-default-directory' is non-nil.
 

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)'
 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t
 
Major mode: Dired by name
 
Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
 
Recent input:
M-: ( r e a d - d <backspace> f i l e - a m e <backspace> 
<backspace> <backspace> n a m e SPC " f f f : SPC " 
S-SPC n i l SPC " f o o b a r . e l " ) <return> M-n 
M-n M-n M-n M-n M-n M-n M-n M-n C-g C-g <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <send-emacs-bug-report>
 
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
Quit





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

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 28 Mar 2009 00:30:03 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> jurta.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 2804 <at> debbugs.gnu.org
Subject: Re: bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
Date: Sat, 28 Mar 2009 02:17:07 +0200
> (read-file-name "aaa: " nil "foobar.el")
>
> Use `M-n' to retrieve the multiple default values. The default
> directory is removed from the minibuffer, even if
> `insert-default-directory' is non-nil.  This retrieval should keep the
> directory in the minibuffer, if `insert-default-directory' is non-nil.

This doesn't look like a bug, rather a feature request, because it works
(and worked in Emacs 22.1) exactly as described in the docstring of
`insert-default-directory', i.e. that non-nil means inserting the
default directory as the initial contents of the minibuffer.
It doesn't say it should prepend the default directory to default
values. And I don't think this would be a good thing to do.

-- 
Juri Linkov
http://www.jurta.org/emacs/




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2804; Package emacs. (Sat, 28 Mar 2009 05:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 28 Mar 2009 05:45:04 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Juri Linkov'" <juri <at> jurta.org>
Cc: <2804 <at> debbugs.gnu.org>
Subject: RE: bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
Date: Fri, 27 Mar 2009 22:39:43 -0700
> From: Juri Linkov Sent: Friday, March 27, 2009 5:17 PM
> > (read-file-name "aaa: " nil "foobar.el")
> >
> > Use `M-n' to retrieve the multiple default values. The default
> > directory is removed from the minibuffer, even if
> > `insert-default-directory' is non-nil.  This retrieval 
> > should keep the directory in the minibuffer, if
> > `insert-default-directory' is non-nil.
> 
> This doesn't look like a bug, rather a feature request, 
> because it works
> (and worked in Emacs 22.1) exactly as described in the docstring of
> `insert-default-directory', i.e. that non-nil means inserting the
> default directory as the initial contents of the minibuffer.
> It doesn't say it should prepend the default directory to default
> values. And I don't think this would be a good thing to do.

I guess you're right. I withdraw the request.





Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Sat, 28 Mar 2009 14:40:06 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sat, 28 Mar 2009 14:40:06 GMT) Full text and rfc822 format available.

Message #20 received at 2804-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 2804-done <at> debbugs.gnu.org
Subject: Re: bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
Date: Sat, 28 Mar 2009 10:31:15 -0400
> I guess you're right. I withdraw the request.

When you do that, please send the reply to <bugnb>-done@..., as I'm
doing in this email, thank you,


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 26 Apr 2009 14:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 58 days ago.

Previous Next


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