unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
@ 2009-03-27 21:57 ` Drew Adams
  2009-03-28  0:17   ` Juri Linkov
  2009-03-28 14:40   ` bug#2804: marked as done (23.0.90; M-n in read-file-name doesn't respect insert-default-directory) Emacs bug Tracking System
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2009-03-27 21:57 UTC (permalink / raw)
  To: emacs-pretest-bug

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







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

* bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
  2009-03-27 21:57 ` bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory Drew Adams
@ 2009-03-28  0:17   ` Juri Linkov
  2009-03-28  5:39     ` Drew Adams
  2009-03-28 14:40   ` bug#2804: marked as done (23.0.90; M-n in read-file-name doesn't respect insert-default-directory) Emacs bug Tracking System
  1 sibling, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2009-03-28  0:17 UTC (permalink / raw)
  To: Drew Adams; +Cc: 2804

> (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/






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

* bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
  2009-03-28  0:17   ` Juri Linkov
@ 2009-03-28  5:39     ` Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2009-03-28  5:39 UTC (permalink / raw)
  To: 'Juri Linkov'; +Cc: 2804

> 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.







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

* bug#2804: marked as done (23.0.90; M-n in read-file-name doesn't  respect insert-default-directory)
  2009-03-27 21:57 ` bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory Drew Adams
  2009-03-28  0:17   ` Juri Linkov
@ 2009-03-28 14:40   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-03-28 14:40 UTC (permalink / raw)
  To: Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]


Your message dated Sat, 28 Mar 2009 10:31:15 -0400
with message-id <jwvbprl7m9i.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
has caused the Emacs bug report #2804,
regarding 23.0.90; M-n in read-file-name doesn't respect insert-default-directory
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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2804: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2804
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4380 bytes --]

From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@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
Message-ID: <009601c9af27$0f0040f0$0200a8c0@us.oracle.com>

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




[-- Attachment #3: Type: message/rfc822, Size: 1995 bytes --]

From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Drew Adams <drew.adams@oracle.com>
Cc: 2804-done@emacsbugs.donarmstrong.com
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
Message-ID: <jwvbprl7m9i.fsf-monnier+emacsbugreports@gnu.org>

> 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


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

end of thread, other threads:[~2009-03-28 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <jwvbprl7m9i.fsf-monnier+emacsbugreports@gnu.org>
2009-03-27 21:57 ` bug#2804: 23.0.90; M-n in read-file-name doesn't respect insert-default-directory Drew Adams
2009-03-28  0:17   ` Juri Linkov
2009-03-28  5:39     ` Drew Adams
2009-03-28 14:40   ` bug#2804: marked as done (23.0.90; M-n in read-file-name doesn't respect insert-default-directory) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).