unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using w32's find file dialog from the keyboard
@ 2006-08-11 13:40 Mathias Dahl
  2006-08-11 14:59 ` Drew Adams
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Mathias Dahl @ 2006-08-11 13:40 UTC (permalink / raw)


Is there a way to open the file selector on w32 using the keyboard? As
it is now, the only way to open it is by using the File menu. I am
currently running on GNU/Linux so I cannot check what the function
name called is.

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

* RE: Using w32's find file dialog from the keyboard
  2006-08-11 13:40 Using w32's find file dialog from the keyboard Mathias Dahl
@ 2006-08-11 14:59 ` Drew Adams
  2006-08-11 15:49 ` B. T. Raven
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Drew Adams @ 2006-08-11 14:59 UTC (permalink / raw)


    Is there a way to open the file selector on w32 using the keyboard? As
    it is now, the only way to open it is by using the File menu. I am
    currently running on GNU/Linux so I cannot check what the function
    name called is.

One way is to use tmm (or icicle-menu) to access the File menu item from the
keyboard. It takes only a few keystrokes to access the "File > Open File..."
item.

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

* Re: Using w32's find file dialog from the keyboard
  2006-08-11 13:40 Using w32's find file dialog from the keyboard Mathias Dahl
  2006-08-11 14:59 ` Drew Adams
@ 2006-08-11 15:49 ` B. T. Raven
  2006-08-12  0:11   ` Mathias Dahl
  2006-08-11 16:15 ` Eli Zaretskii
       [not found] ` <mailman.5087.1155312944.9609.help-gnu-emacs@gnu.org>
  3 siblings, 1 reply; 7+ messages in thread
From: B. T. Raven @ 2006-08-11 15:49 UTC (permalink / raw)



"Mathias Dahl" <mathias.dahl@gmail.com> wrote in message
news:m2u04jjsq3.fsf@gmail.com...
> Is there a way to open the file selector on w32 using the keyboard? As
> it is now, the only way to open it is by using the File menu. I am
> currently running on GNU/Linux so I cannot check what the function
> name called is.

I used to want this but now I am convinced that C-x d and then emacs
screen navigation is faster. Once the directory buffer opens you can use <
and > for browsing to subdirs or C-v, M-v, and of course the
semi-miraculous C-r and C-s. After you're on the right line a bare e will
open (visit) the file. I am curious to know what other useful
functionality might be obtained from using the w32 file selection window.

Ed.

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

* Re: Using w32's find file dialog from the keyboard
  2006-08-11 13:40 Using w32's find file dialog from the keyboard Mathias Dahl
  2006-08-11 14:59 ` Drew Adams
  2006-08-11 15:49 ` B. T. Raven
@ 2006-08-11 16:15 ` Eli Zaretskii
  2006-08-11 23:42   ` Reiner Steib
       [not found] ` <mailman.5087.1155312944.9609.help-gnu-emacs@gnu.org>
  3 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2006-08-11 16:15 UTC (permalink / raw)


> From: Mathias Dahl <mathias.dahl@gmail.com>
> Date: Fri, 11 Aug 2006 15:40:36 +0200
> 
> Is there a way to open the file selector on w32 using the keyboard?

I know of three ways:

 . Type F10, which will activate the menu bar, then select the File
   menu and "Open File" item with arrow keys and RET.

 . Set the variable w32-pass-alt-to-system to a non-nil value, then
   pressing Alt will activate the menu; the rest is like in the
   previous method.

 . Cheat:

    (let (last-nonmenu-event)
      (call-interactively 'find-file))

> As it is now, the only way to open it is by using the File menu.

Out of curiosity: why would you wish to open the file selector so
badly?

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

* Re: Using w32's find file dialog from the keyboard
  2006-08-11 16:15 ` Eli Zaretskii
@ 2006-08-11 23:42   ` Reiner Steib
  0 siblings, 0 replies; 7+ messages in thread
From: Reiner Steib @ 2006-08-11 23:42 UTC (permalink / raw)


On Fri, Aug 11 2006, Eli Zaretskii wrote:

>  . Cheat:
>
>     (let (last-nonmenu-event)
>       (call-interactively 'find-file))
[...]
> Out of curiosity: why would you wish to open the file selector so
> badly?

I don't want it (using GNU/Linux with `use-file-dialog' set to nil),
but such an option has also been requested in the German newsgroup[1]
by several people.  IIRC, a similar workaround as your "cheat" was
suggested there.  Maybe an additional value `always' could be
introduced for `use-file-dialog'.  (After the release.)

Bye, Reiner.

[1] de.comp.editoren, e.g. by Michael Schierl in
    <news:44295274$0$17575$9b4e6d93@newsread2.arcor-online.net>
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: Using w32's find file dialog from the keyboard
  2006-08-11 15:49 ` B. T. Raven
@ 2006-08-12  0:11   ` Mathias Dahl
  0 siblings, 0 replies; 7+ messages in thread
From: Mathias Dahl @ 2006-08-12  0:11 UTC (permalink / raw)


"B. T. Raven" <ecinmn@alcisp.com> writes:

> I used to want this but now I am convinced that C-x d and then emacs
> screen navigation is faster.

Sorry for being so brief. This is for a friend, I am already convinced
of what I like the best :)

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

* Re: Using w32's find file dialog from the keyboard
       [not found] ` <mailman.5087.1155312944.9609.help-gnu-emacs@gnu.org>
@ 2006-08-12  0:14   ` Mathias Dahl
  0 siblings, 0 replies; 7+ messages in thread
From: Mathias Dahl @ 2006-08-12  0:14 UTC (permalink / raw)


Eli Zaretskii <eliz@gnu.org> writes:

>  . Cheat:
>
>     (let (last-nonmenu-event)
>       (call-interactively 'find-file))

This sounds like the solution my friend wanted. I guess I could just
make that a command and bind it to some key, right?

> Out of curiosity: why would you wish to open the file selector so
> badly?

I don't :) This is for a friend that decided to give Emacs a second
try. I guess he want to make the switch gradually (I suggested he use
CUA-mode to begin with because he was put off too much by Emacs
"non-Windows-standard" bindings).

Thanks!

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

end of thread, other threads:[~2006-08-12  0:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11 13:40 Using w32's find file dialog from the keyboard Mathias Dahl
2006-08-11 14:59 ` Drew Adams
2006-08-11 15:49 ` B. T. Raven
2006-08-12  0:11   ` Mathias Dahl
2006-08-11 16:15 ` Eli Zaretskii
2006-08-11 23:42   ` Reiner Steib
     [not found] ` <mailman.5087.1155312944.9609.help-gnu-emacs@gnu.org>
2006-08-12  0:14   ` Mathias Dahl

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