[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: key to yank text at point into minibuffer?
From: |
Juri Linkov |
Subject: |
Re: key to yank text at point into minibuffer? |
Date: |
Tue, 14 Feb 2006 03:45:57 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> Providing `M-.' lets you get the text at point even when the command's
> default value is something else. You can think of it as an extension to
> `M-n' in this respect.
Then why not use `M-n' directly, with every successive `M-n' inserting the
next symbol/URL/file name to the minibuffer? I have a simple patch that
does this for the grep prompt, but it was held due to the feature freeze.
However, to implement a replacement for ffap, it should be improved further
to allow extending the list of default values with more user-defined values.
I.e. instead of giving the list of default values as an argument of one of
the minibuffer functions, there should be a new buffer-local variable with
a user-defined function to get some text from the buffer and add it to
the list of default values.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: key to yank text at point into minibuffer?, (continued)
Re: key to yank text at point into minibuffer?, Kevin Rodgers, 2006/02/13
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/13
- Re: key to yank text at point into minibuffer?, Kevin Rodgers, 2006/02/13
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/13
- Re: key to yank text at point into minibuffer?, Kevin Rodgers, 2006/02/14
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/14
- Re: key to yank text at point into minibuffer?, Kevin Rodgers, 2006/02/16
- Re: key to yank text at point into minibuffer?, Juri Linkov, 2006/02/19
Re: key to yank text at point into minibuffer?,
Juri Linkov <=
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/14
- Re: key to yank text at point into minibuffer?, Juri Linkov, 2006/02/17
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/17
- Re: key to yank text at point into minibuffer?, Juri Linkov, 2006/02/19
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/19
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/20
- Re: key to yank text at point into minibuffer?, Juri Linkov, 2006/02/20
- RE: key to yank text at point into minibuffer?, Drew Adams, 2006/02/20
- Re: key to yank text at point into minibuffer?, Mathias Dahl, 2006/02/21
- Re: key to yank text at point into minibuffer?, Mathias Dahl, 2006/02/21