List Info

Thread: Minibuffer default values list




Minibuffer default values list
country flaguser name
Ukraine
2007-10-21 19:22:15
I installed a new feature (with updates in NEWS and Info
manuals) since
Richard approved it twice before the previous release but
that was postponed
due to feature freeze.

It allows specifying a list of default values in the DEFAULT
argument of
minibuffer functions.  This list of default values is
accessible by typing
M-n in the minibuffer; each M-n inserts the next value.

The first use of this feature is the shell command guessing
in dired-x.
It now puts a list of available commands to the default list
(accessible
via M-n after typing `!' in the dired buffer) instead of
temporarily
pushing it to the history list.

Now I propose to improve dired-x to read a list of commands
from the mailcap
mechanism, and later to move this code to dired.el.  An
alternative would be
to start implementing this in dired.el (provide a list of
mailcap commands
available via M-n), but then after loading dired-x users
will get less
useful list of commands in ! (since this is not implemented
in dired-x).

-- 
Juri Linkov
http://www.jurta.org/emac
s/


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Minibuffer default values list
country flaguser name
United States
2007-10-23 02:12:33
Thanks for implementing this feature.

    Now I propose to improve dired-x to read a list of
commands from the mailcap
    mechanism, and later to move this code to dired.el.  An
alternative would be
    to start implementing this in dired.el (provide a list
of mailcap commands
    available via M-n), but then after loading dired-x users
will get less
    useful list of commands in ! (since this is not
implemented in dired-x).

You could put this code in both.  dired-x is not used by
most users,
so having it only in dired-x is not very useful.


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )