all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12576: 24.2.50; Shouldn't `find-file-use-dired' control completion candidates too?
@ 2012-10-04 16:48 Drew Adams
  2012-10-04 17:07 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2012-10-04 16:48 UTC (permalink / raw)
  To: 12576

I might be missing something, and would be glad to learn, but shouldn't
`find-file' exclude directories from being completion candidates when
`find-file-use-dired' is nil?  Currently, we offer dirs as candidates,
and when you choose one raise an error.  That seems odd.

emacs -Q

M-x set-variable find-file-use-dired nil

C-x C-f  ; Choose a directory - error raised.

In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-10-02 on DANI-PC
Bzr revision: 110346 cyd@gnu.org-20121002152147-6a46skux2i4t0n2c
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
 -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
 -I../../libs/tiff-3.8.2-1/include
 -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
 -I../../libs/gnutls-3.0.16/include
 -I../../libs/libiconv-1.14-2-mingw32-dev/include'
 






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

* bug#12576: 24.2.50; Shouldn't `find-file-use-dired' control completion candidates too?
  2012-10-04 16:48 bug#12576: 24.2.50; Shouldn't `find-file-use-dired' control completion candidates too? Drew Adams
@ 2012-10-04 17:07 ` Stefan Monnier
  2012-10-04 17:17   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2012-10-04 17:07 UTC (permalink / raw)
  To: Drew Adams; +Cc: 12576

> I might be missing something, and would be glad to learn, but shouldn't
> `find-file' exclude directories from being completion candidates when
> `find-file-use-dired' is nil?

But you might very well complete to a directory as a step towards
complete to one of the files in that directory.


        Stefan





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

* bug#12576: 24.2.50; Shouldn't `find-file-use-dired' control completion candidates too?
  2012-10-04 17:07 ` Stefan Monnier
@ 2012-10-04 17:17   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2012-10-04 17:17 UTC (permalink / raw)
  To: 'Stefan Monnier'; +Cc: 12576

> But you might very well complete to a directory as a step towards
> complete to one of the files in that directory.

Bon sang mais c'est bien sur !

I'll close the bug.  Thx.






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

end of thread, other threads:[~2012-10-04 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04 16:48 bug#12576: 24.2.50; Shouldn't `find-file-use-dired' control completion candidates too? Drew Adams
2012-10-04 17:07 ` Stefan Monnier
2012-10-04 17:17   ` Drew Adams

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.