* Make dabbrev-expand work like Bash file-name completion?
@ 2007-06-30 8:50 Enselic
2007-06-30 11:05 ` Johan Bockgård
0 siblings, 1 reply; 3+ messages in thread
From: Enselic @ 2007-06-30 8:50 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
Mx dabbrev-expand RET does exactly what I want, with one exception. It
does not make completions like bash does.
If I have
some_func_foo
some_func_bar
some_func_another
in a buffer, and do
some_fu M-/
it will complete to
some_func_another
instead of
some_func_
I would like a second M-/ to put some_func_foo, some_func_bar,
some_func_another in *Completions*, and then doing f M-/ would expand
to
some_func_foo
just like bash.
Does anyone know of elisp that accomplishes this?
Thank you,
- Martin Nordholts
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Make dabbrev-expand work like Bash file-name completion?
2007-06-30 8:50 Make dabbrev-expand work like Bash file-name completion? Enselic
@ 2007-06-30 11:05 ` Johan Bockgård
2007-06-30 11:43 ` Enselic
0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2007-06-30 11:05 UTC (permalink / raw)
To: help-gnu-emacs
Enselic <enselic@gmail.com> writes:
> I would like a second M-/ to put some_func_foo, some_func_bar,
> some_func_another in *Completions*
Use C-M-/
--
Johan Bockgård
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Make dabbrev-expand work like Bash file-name completion?
2007-06-30 11:05 ` Johan Bockgård
@ 2007-06-30 11:43 ` Enselic
0 siblings, 0 replies; 3+ messages in thread
From: Enselic @ 2007-06-30 11:43 UTC (permalink / raw)
To: help-gnu-emacs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 317 bytes --]
On 30 Juni, 13:05, bojohan+n...@dd.chalmers.se (Johan Bockgård) wrote:
> Enselic <ense...@gmail.com> writes:
> > I would like a second M-/ to put some_func_foo, some_func_bar,
> > some_func_another in *Completions*
>
> Use C-M-/
>
> --
> Johan Bockgård
Wow, that was an easy solution. Thanks!
- Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-30 11:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-30 8:50 Make dabbrev-expand work like Bash file-name completion? Enselic
2007-06-30 11:05 ` Johan Bockgård
2007-06-30 11:43 ` Enselic
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.