From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: dabbrev-expand for the minibuffer
Date: Wed, 27 Feb 2008 23:22:55 +0000 [thread overview]
Message-ID: <m37igqc7cg.fsf@cam.ac.uk> (raw)
In-Reply-To: 87bq62qb35.fsf@jurta.org
On 2008-02-27 22:49 +0000, Juri Linkov wrote:
>>> I am not sure what is the proper way to integrate this functionality,
>>> it would be great if someone that knows dabbrev could either add
>>> something similar to this code, or do it in a better way and provide it
>>> by default.
>>
>> It looks like the best way to integrate this is with hippie-expand,
>> probably not dabbrev-expand. Just a thought.
>
> It would be easier to implement this in hippie-expand because it has all
> necessary infrastructure. This could be implemented like an existing
> method `try-expand-dabbrev-from-kill' added to `hippie-expand-try-functions-list',
> but using `minibuffer-history' instead of `kill-ring'.
>
> OTOH, dabbrev.el has the TODO item "Check the kill-ring when everything
> else fails." Implementing this means practically copying code from
> hippie-exp.el to dabbrev.el. I'm not sure if two identical packages
> is the goal?
The TODO even suggests it is for hippie-exp.
BTW, it may be better rebind M-/ to hippie-expand with
hippie-expand-try-functions-list set to a proper value so that the
change is transparent to end users.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the best OS -- http://www.fedoraproject.org/
next prev parent reply other threads:[~2008-02-27 23:22 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-23 22:59 dabbrev-expand for the minibuffer Dan Nicolaescu
2008-02-24 9:26 ` Leo
2008-02-27 22:49 ` Juri Linkov
2008-02-27 23:22 ` Leo [this message]
2008-02-27 23:54 ` Miles Bader
2008-02-28 0:08 ` Jason Rumney
2008-02-28 0:35 ` Miles Bader
2008-02-28 8:21 ` Jason Rumney
2008-02-28 8:29 ` Leo
2008-02-28 16:41 ` Richard Stallman
2008-02-28 21:14 ` Leo
2008-02-29 19:54 ` Richard Stallman
2008-02-24 17:35 ` Juri Linkov
2008-02-25 8:13 ` Bastien
2008-02-27 0:18 ` Johan Bockgård
2008-02-27 1:06 ` Dan Nicolaescu
2008-02-27 11:28 ` Johan Bockgård
2008-02-27 14:38 ` Dan Nicolaescu
2008-02-27 15:04 ` Johan Bockgård
2008-02-27 15:30 ` Dan Nicolaescu
-- strict thread matches above, loose matches on Subject: below --
2008-03-01 13:31 Richard Stallman
2008-07-21 15:55 ` Drew Adams
2008-07-21 16:47 ` Lennart Borgman (gmail)
2008-07-21 16:48 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37igqc7cg.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.