unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; Minibuffer for M-x dired broken
@ 2008-05-01  5:43 Sven Joachim
  2008-05-01  6:28 ` Sven Joachim
  0 siblings, 1 reply; 9+ messages in thread
From: Sven Joachim @ 2008-05-01  5:43 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise


Start Emacs somewhere, e.g. in your home directory, and type C-x d
/usr.  The original part of the filename is not greyed out as it's
supposed to be with file-name-shadow-mode enabled, and if you press RET,
you get an error message:

Reading directory: no such file or directory, /home/sven/usr

Finding files with C-x C-f works correctly, though.


In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-04-30 on debian, modified by Debian
 (emacs-snapshot package, version 1:20080430-2)
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' '--disable-font-backend' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  display-time-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<up> <up> <up> <up> <up> <up> <up> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<up> <up> <up> <up> <return> <down> <down> <down> <down> 
SPC d <down> SPC d <down> <down> <down> SPC <down> 
<down> <down> <down> <up> SPC SPC SPC SPC SPC SPC > 
d <down> <down> <down> <down> <down> <down> SPC SPC 
<down> SPC SPC C-g <down> SPC q g <up> <up> <up> <up> 
<up> <up> <up> <up> SPC q SPC <down> SPC <down> SPC 
<down> SPC SPC <down> SPC <down> SPC <down> SPC <down> 
SPC <down> SPC F <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <up> <end> <backspace> 
<return> <return> <return> <up> <up> W h i c h SPC 
M T A SPC d u SPC <backspace> <backspace> o SPC y o 
u SPC u s e SPC o n SPC y o u r SPC s y s t e n <backspace> 
m SPC a n d SPC h o w SPC i t SPC i s SPC c o n <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> i s SPC i t SPC 
c o n f i g u r e d ? <down> <delete> <delete> <delete> 
<down> <down> <down> <down> <delete> <return> <return> 
<return> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<delete> <down> <delete> <down> <down> <down> <down> 
C-x C-s C-x 4 d . e m <tab> <backspace> <backspace> 
<backspace> ~ <return> g C-x d ~ <tab> <tab> / <return> 
C-x d <backspace> <return> <help-echo> M-x s e r b 
<backspace> v e r - s t <tab> <return> C-x 1 <f7> <down> 
<down> <down> <down> <down> <down> <up> <return> M-x 
r e p o r t - e m <tab> b u g <return>

Recent messages:
Fetching headers for gmane.linux.debian.user...done
Scoring...done
Generating summary...done
Auto-saving...done
Local Ispell dictionary set to english
Mark set [2 times]
Auto-saving...done
Wrote /home/sven/News/drafts/drafts/65
Restarting server
Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.




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

* Re: 23.0.60; Minibuffer for M-x dired broken
  2008-05-01  5:43 23.0.60; Minibuffer for M-x dired broken Sven Joachim
@ 2008-05-01  6:28 ` Sven Joachim
  2008-05-02 17:20   ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Sven Joachim @ 2008-05-01  6:28 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise

On 2008-05-01 07:43 +0200, Sven Joachim wrote:

> Start Emacs somewhere, e.g. in your home directory, and type C-x d
> /usr.  The original part of the filename is not greyed out as it's
> supposed to be with file-name-shadow-mode enabled, and if you press RET,
> you get an error message:
>
> Reading directory: no such file or directory, /home/sven/usr
>
> Finding files with C-x C-f works correctly, though.

Reverting the following change fixes the problem:

,----
| 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
| 
| [...]
| 	* dired.el (dired-read-dir-and-switches): Replace last change with
| 	a new approach that mixes read-file-name and read-directory-name.
`----

Sven




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

* Re: 23.0.60; Minibuffer for M-x dired broken
  2008-05-01  6:28 ` Sven Joachim
@ 2008-05-02 17:20   ` Stefan Monnier
  2008-05-02 19:45     ` Sven Joachim
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2008-05-02 17:20 UTC (permalink / raw)
  To: Sven Joachim; +Cc: emacs-pretest-bug, rfrancoise

>> Start Emacs somewhere, e.g. in your home directory, and type C-x d
>> /usr.  The original part of the filename is not greyed out as it's
>> supposed to be with file-name-shadow-mode enabled, and if you press RET,
>> you get an error message:
>> 
>> Reading directory: no such file or directory, /home/sven/usr

Thanks, should be fixed now,


        Stefan




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

* Re: 23.0.60; Minibuffer for M-x dired broken
  2008-05-02 17:20   ` Stefan Monnier
@ 2008-05-02 19:45     ` Sven Joachim
  2008-05-03  1:25       ` Stefan Monnier
  2008-05-13  5:18       ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Sven Joachim @ 2008-05-02 19:45 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 153, emacs-pretest-bug, 173-done, rfrancoise

On 2008-05-02 19:20 +0200, Stefan Monnier wrote:

>>> Start Emacs somewhere, e.g. in your home directory, and type C-x d
>>> /usr.  The original part of the filename is not greyed out as it's
>>> supposed to be with file-name-shadow-mode enabled, and if you press RET,
>>> you get an error message:
>>> 
>>> Reading directory: no such file or directory, /home/sven/usr
>
> Thanks, should be fixed now,

Yes, thank you (closing bug #173).  BTW, I just discovered your comments
on bug #153.  They missed me because

a) you did not CC me, and I am not subscribed to the Emacs bug tracker;

b) I did not even know that I submitted a bug report (it was just a
   question sent to emacs-devel, and you seem to have resent it to
   submit@emacsbugs.donarmstrong.com).

I do quite like the latest completion code, but can imagine that other
people might find it a bit confusing.  Also, if a directory has no
non-trivial subdirectories, C-x d TAB completes to . and .., which is
probably less useful than immediately listing all possible file name
completions.

Sven




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

* Re: 23.0.60; Minibuffer for M-x dired broken
  2008-05-02 19:45     ` Sven Joachim
@ 2008-05-03  1:25       ` Stefan Monnier
  2008-05-13  5:18       ` Stefan Monnier
  1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2008-05-03  1:25 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 153, emacs-pretest-bug, 173-done, rfrancoise

> I do quite like the latest completion code,

Glad to hear it.

> but can imagine that other people might find it a bit confusing.

Time will tell.

> Also, if a directory has no non-trivial subdirectories, C-x d TAB
> completes to . and .., which is probably less useful than immediately
> listing all possible file name completions.

Good point,


        Stefan




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

* Re: 23.0.60; Minibuffer for M-x dired broken
  2008-05-02 19:45     ` Sven Joachim
  2008-05-03  1:25       ` Stefan Monnier
@ 2008-05-13  5:18       ` Stefan Monnier
  2008-05-13  6:44         ` Sven Joachim
       [not found]         ` <87ej86hfdp.fsf@gmx.de>
  1 sibling, 2 replies; 9+ messages in thread
From: Stefan Monnier @ 2008-05-13  5:18 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 153, emacs-pretest-bug, 173-done, rfrancoise

> people might find it a bit confusing.  Also, if a directory has no
> non-trivial subdirectories, C-x d TAB completes to . and .., which is
> probably less useful than immediately listing all possible file name
> completions.

I believe this is now fixed as well,


        Stefan




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

* Re: 23.0.60; Minibuffer for M-x dired broken
  2008-05-13  5:18       ` Stefan Monnier
@ 2008-05-13  6:44         ` Sven Joachim
       [not found]         ` <87ej86hfdp.fsf@gmx.de>
  1 sibling, 0 replies; 9+ messages in thread
From: Sven Joachim @ 2008-05-13  6:44 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 153, emacs-pretest-bug, rfrancoise

On 2008-05-13 07:18 +0200, Stefan Monnier wrote:

>> people might find it a bit confusing.  Also, if a directory has no
>> non-trivial subdirectories, C-x d TAB completes to . and .., which is
>> probably less useful than immediately listing all possible file name
>> completions.
>
> I believe this is now fixed as well,

Yes, thank you.  There is one remaining problem, however.  When I visit
directories with C-x d, the original minibuffer contents (the part that
is greyed out) end up in file-name-history, accumulating crufty entries
like "~/Mail/~/devel//usr/src/~/tmp" over time.  This phenomenon does
not show up with C-x C-f instead of C-x d.

Sven




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

* Re: 23.0.60; Minibuffer for M-x dired broken
       [not found]         ` <87ej86hfdp.fsf@gmx.de>
@ 2008-05-13  8:40           ` Stefan Monnier
  2008-05-13  9:01             ` Sven Joachim
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2008-05-13  8:40 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 153, emacs-pretest-bug, rfrancoise

>>> people might find it a bit confusing.  Also, if a directory has no
>>> non-trivial subdirectories, C-x d TAB completes to . and .., which is
>>> probably less useful than immediately listing all possible file name
>>> completions.
>> 
>> I believe this is now fixed as well,

> Yes, thank you.  There is one remaining problem, however.  When I visit
> directories with C-x d, the original minibuffer contents (the part that
> is greyed out) end up in file-name-history, accumulating crufty entries
> like "~/Mail/~/devel//usr/src/~/tmp" over time.  This phenomenon does
> not show up with C-x C-f instead of C-x d.

That should be fixed now as well.


        Stefan




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

* Re: 23.0.60; Minibuffer for M-x dired broken
  2008-05-13  8:40           ` Stefan Monnier
@ 2008-05-13  9:01             ` Sven Joachim
  0 siblings, 0 replies; 9+ messages in thread
From: Sven Joachim @ 2008-05-13  9:01 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 153, emacs-pretest-bug, rfrancoise

On 2008-05-13 10:40 +0200, Stefan Monnier wrote:

>> Yes, thank you.  There is one remaining problem, however.  When I visit
>> directories with C-x d, the original minibuffer contents (the part that
>> is greyed out) end up in file-name-history, accumulating crufty entries
>> like "~/Mail/~/devel//usr/src/~/tmp" over time.  This phenomenon does
>> not show up with C-x C-f instead of C-x d.
>
> That should be fixed now as well.

Indeed, works perfect now. :-)

Thank you,
          Sven




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

end of thread, other threads:[~2008-05-13  9:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01  5:43 23.0.60; Minibuffer for M-x dired broken Sven Joachim
2008-05-01  6:28 ` Sven Joachim
2008-05-02 17:20   ` Stefan Monnier
2008-05-02 19:45     ` Sven Joachim
2008-05-03  1:25       ` Stefan Monnier
2008-05-13  5:18       ` Stefan Monnier
2008-05-13  6:44         ` Sven Joachim
     [not found]         ` <87ej86hfdp.fsf@gmx.de>
2008-05-13  8:40           ` Stefan Monnier
2008-05-13  9:01             ` Sven Joachim

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