unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Short to long form expansion?
Date: Fri, 24 Feb 2006 14:04:15 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICKEPNDCAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87u0aq13nw.fsf-monnier+gnu.emacs.help@gnu.org>

    > Is there a mode that allows completion of words by taking a
    > short form, and comparing it with text in the buffer to
    > deduce a longer form?  e.g. in a buffer with complete_text
    > some-variable-name c_t M-RET -> complete_text
    > s-v-n M-RET -> some-variable-name Anything like that?
    > I use pabbrev-mode which helps alot with code editing,
    > but this little extra would be icing on the cake.

    I use dabbrev for that, with the following patch...

You might also be interested in `icicles.el', which enhances `dabbrev.el' by
providing `dabbrev-completion' (bound to `M-C-/') with cycling of completion
candidates (in addition to completion). It also lets you complete using a
regexp and provides some other features.
http://www.emacswiki.org/cgi-bin/emacs/icicles.el

  parent reply	other threads:[~2006-02-24 22:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-21 19:27 Short to long form expansion? Christopher Campbell
2006-02-23 15:44 ` Stefan Monnier
2006-02-23 22:08   ` Christopher Campbell
2006-02-24 22:04   ` Drew Adams [this message]
2006-02-23 22:07 ` Kevin Rodgers
     [not found] ` <mailman.39.1140848322.5016.help-gnu-emacs@gnu.org>
2006-02-27 18:37   ` Christopher Campbell

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=DNEMKBNJBGPAOPIJOOICKEPNDCAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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.
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).