unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Autocompletion of Emacs Lisp Symbols in Buffer
Date: Fri, 7 May 2010 20:03:08 -0700 (PDT)	[thread overview]
Message-ID: <bc6f41c1-5c1f-453b-b4a4-3112ea07fb0a@u20g2000pru.googlegroups.com> (raw)
In-Reply-To: mailman.9.1273238866.2075.help-gnu-emacs@gnu.org

On May 7, 2:45 am, Dirk80 <d...@dirkundsari.de> wrote:
> Thank you for your answers. This already helped me alot.
>
> Xah Lee-2 wrote:
>
> > it is already implemented. The command is lisp-complete-symbol, the
> > shortcut is Meta+Tab.
>
> The lisp-complete-symbol function is nearly what I want. I don't know why
> exactly, but I do not like the completion windows so much. I prefer the way
> dabbrev-expand is doing it. Without using a completion window and just
> rotating the possible completions when executing the command again.
>
> Is there also existing a function like lisp-expand-symbol? Or do I have to
> write it myself?
>
> Thank you.

Andreas mentioned hippie-expand, i haven't really used. There a few
other packages that do expansion. (see emacswiki.org )

might checkout this tutorial...

• How To Implement Keyword Completion in Emacs
  http://xahlee.org/emacs/elisp_keyword_completion.html

  Xah
∑ http://xahlee.org/

  parent reply	other threads:[~2010-05-08  3:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.26.1273152642.10435.help-gnu-emacs@gnu.org>
2010-05-06 17:05 ` Autocompletion of Emacs Lisp Symbols in Buffer Xah Lee
2010-05-06 19:41   ` Lennart Borgman
2010-05-07  9:45   ` Dirk80
     [not found]   ` <mailman.9.1273238866.2075.help-gnu-emacs@gnu.org>
2010-05-07 14:21     ` Andreas Politz
2010-05-08  3:03     ` Xah Lee [this message]
2010-05-07  2:47 ` Stefan Monnier
2010-05-06 13:30 Dirk80

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=bc6f41c1-5c1f-453b-b4a4-3112ea07fb0a@u20g2000pru.googlegroups.com \
    --to=xahlee@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).