From: Tom <adatgyujto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Abbrevs for the most frequent elisp symbols
Date: Wed, 31 Dec 2014 09:50:11 +0000 (UTC) [thread overview]
Message-ID: <loom.20141231T104343-876@post.gmane.org> (raw)
In-Reply-To: jwvwq58akd0.fsf-monnier+gmane.emacs.help@gnu.org
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> If you use the `initials' completion style, "wcb" will match
> "with-current-buffer" (along with various others), so if we add a good
> sorting based on known usage frequency (as suggested by the OP), the
> cycling completion will behave very similarly to his abbrevs.
I wonder if it is possible to combine abbrevs with completion.
I feel the most convenient completion is abbrevs, because then you
don't have to press anything to complete, it just happens. But
if we use initials then there can be collisions.
What if we could use initial-abbrevs to type lisp symbols, but when
there is more possible completions for the abbrev (e.g. if there is an
other completion for wcb than with-current-buffer) then at
abbrev expansion it would pop up a completion menu like company, etc.
so right below the line) with the possible completions sorted by
frequency with the most frequent at the top.
This would be the most convenient solution, because then you could
just type initials and completions would pop up without pressing
anything, or if there is no collision then it would expand
immediately like any other abbrev.
next prev parent reply other threads:[~2014-12-31 9:50 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-19 19:58 Abbrevs for the most frequent elisp symbols Tom
2014-12-25 14:56 ` Andreas Röhler
2014-12-29 15:58 ` Tom
2014-12-29 18:41 ` Andreas Röhler
2014-12-30 10:19 ` Tom
2014-12-30 12:01 ` Artur Malabarba
2014-12-30 21:47 ` Stefan Monnier
2014-12-31 9:50 ` Tom [this message]
2014-12-31 21:46 ` Artur Malabarba
2015-01-01 0:16 ` Robert Thorpe
2014-12-30 14:12 ` Óscar Fuentes
[not found] ` <mailman.16706.1419519419.1147.help-gnu-emacs@gnu.org>
2014-12-29 4:55 ` Emanuel Berg
2014-12-29 11:18 ` Marcin Borkowski
2014-12-29 15:28 ` Drew Adams
[not found] <mailman.16504.1419019164.1147.help-gnu-emacs@gnu.org>
2014-12-29 4:21 ` Emanuel Berg
2014-12-29 11:24 ` Marcin Borkowski
[not found] ` <(message>
[not found] ` <from>
[not found] ` <Marcin>
[not found] ` <Borkowski>
[not found] ` <on>
[not found] ` <Mon>
[not found] ` <29>
[not found] ` <Dec>
[not found] ` <2014>
[not found] ` <12:24:20>
2014-12-29 13:09 ` Robert Thorpe
2014-12-29 15:28 ` Drew Adams
2014-12-29 16:28 ` Robert Thorpe
2014-12-29 13:26 ` Stefan Monnier
2014-12-29 13:40 ` Marcin Borkowski
2014-12-29 14:57 ` Stefan Monnier
2014-12-29 15:49 ` Tom
[not found] ` <mailman.16844.1419852282.1147.help-gnu-emacs@gnu.org>
2015-01-03 2:25 ` Emanuel Berg
2015-01-04 0:19 ` Artur Malabarba
[not found] ` <mailman.17204.1420330787.1147.help-gnu-emacs@gnu.org>
2015-01-05 21:16 ` Emanuel Berg
2015-01-08 20:53 ` Artur Malabarba
2015-01-03 2:31 ` Emanuel Berg
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20141231T104343-876@post.gmane.org \
--to=adatgyujto@gmail.com \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).