[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Abbrevs for the most frequent elisp symbols
From: |
Drew Adams |
Subject: |
RE: Abbrevs for the most frequent elisp symbols |
Date: |
Mon, 29 Dec 2014 07:28:14 -0800 (PST) |
> There are the dynamic abbrevs facilities, M-\ and C-M-\.
And the little-known but there-forever and useful `dynamic-completion-mode,
from built-in library `completions.el'. (The file Commentary is the doc.)
The keys for it are, by default, `C-RET' and `M-RET'.
> They search through the open buffers looking for completion candidates.
> They're included by default in hippie-expand's completers. Personally,
> I prefer that style of completion to abbrev.
The use is different, but yes, very useful.
> You could use a similar strategy with normal abbrev though. Load up
> a set of Elisp files that are typical of your personal usage. You
> could then use the code in dabbrev-expand or dabbrev-completion to find
> the completions you want. You could wrap that in a bit of Elisp and run
> it once to generate a table, then decide on the abbrevs manually or by
> taking a prefix.
Yes.
> Martin mentions that the Emacs sources themselves contain some code
> that's frowned upon these days. That's true, there are many old
> parts of Emacs. The parts that are new are a good guide though. There
> are some peculiarities even there though, Emacs code doesn't use certain
> features to avoid loading them when Emacs starts, easymenu for
> example.
+1.
Message not available
Re: Abbrevs for the most frequent elisp symbols, Marcin Borkowski, 2014/12/29
Re: Abbrevs for the most frequent elisp symbols, Emanuel Berg, 2014/12/28
Re: Abbrevs for the most frequent elisp symbols, Stefan Monnier, 2014/12/29
Re: Abbrevs for the most frequent elisp symbols, Marcin Borkowski, 2014/12/29
Re: Abbrevs for the most frequent elisp symbols, Stefan Monnier, 2014/12/29
Re: Abbrevs for the most frequent elisp symbols, Tom, 2014/12/29