[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: skeleton-complete.el

From: William Xu
Subject: Re: skeleton-complete.el
Date: Wed, 17 Apr 2013 10:38:48 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

"Bao Haojun" <address@hidden> writes:

> Dear fellow Emacsians,
> I'd like you to try my elisp package: skeleton-complete.el, which works
> by regexp rewriting and text matching. It is greatly inspired by
> hippie-expand and ecomplete.el and anything.el. With it you can type a
> minimum and complete with the existing texts in your buffers.
> For e.g., I can type =hex= (here the `=' character is for org-mode
> mark-up, meaning verbatim) and press =M-g <return>= and get
> `hippie-expand'; or I can type =p:,= and press =M-s <return>= to get
> =package: skeleton-complete.el,= (which appeared already in the 3rd line
> of this article).
> In the first case, =hex= is rewritten as a regexp =h.*e.*x= and it
> matched the *identifier* =hippie-expand=. In the second case, =p:,= is
> rewritten as a regexp of a different flavor: =p.*?:.*?,= and it matched
> the *string* in the 3rd line.
> The code is at [[]], there
> is a more detailed description at
> [[]]. And it is also
> being discussed at [[]].
> Any suggestions/improvements are very welcome!

Sounds useful.  Would be great if you can integrate it into
auto-complete[1] mode, where the completion list will pop up and disappear
automatically without typing extra key to trigger.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]