From: Juri Linkov <juri@jurta.org>
To: Leo <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: dabbrev-expand for the minibuffer
Date: Thu, 28 Feb 2008 00:49:20 +0200 [thread overview]
Message-ID: <87bq62qb35.fsf@jurta.org> (raw)
In-Reply-To: <m3oda6hfii.fsf@cam.ac.uk> (Leo's message of "Sun, 24 Feb 2008 09:26:13 +0000")
>> 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?
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2008-02-27 22:49 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 [this message]
2008-02-27 23:22 ` Leo
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=87bq62qb35.fsf@jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.org \
--cc=sdl.web@gmail.com \
/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.