From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Slickedit features in Emacs?
Date: 21 May 2003 16:30:11 -0400 [thread overview]
Message-ID: <5lllx0m4a4.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: 87e77d96.0305211059.3e15858a@posting.google.com
>>>>> "Henrik" == Henrik Jönsson <henrik.jonsson@se.transport.bombardier.com> writes:
> * Autocompletion of expressions. When the user write "if " it expands
> automatically into a full if template. Can this be done with
> skeletons?
Others have already replied. While we're here. What do people think of
extending `define-skeleton' with some options to put the skeleton in
an abbrev table ? Something like
(define-skeleton my-skeleton-c-if
"Insert a c if statement"
:abbrev ("ifx" c-mode-abbrev-table)
nil
"if (" > _ ")" \n
"{" > \n \n "}" >)
> * "Intellisense".
Depends on the language.
I use it everyday in elisp. I've used it in CommonLisp as well where
it also worked very nicely (by querying an inferior CL process).
It also works for LaTeX if you use AUCTeX.
I know it supposedly also works well in Java with JDE (which also works by
querying an inferior process).
For non-OO languages, I expect that completion based on a TAGS table should
work nicely.
> I know that semantic can do something like this, but
> does it work for everyday use? Has anyone tried it?
I've never really used it, so I wouldn't know.
> * Dynamic Tagging. Go to the function declaration etc. I haven't used
> tags that much.
IIRC, recent version of `etags' can efficiently refresh a TAGS file,
such that you can do something like (add-hook 'after-save-hook
'etags-refresh) and have your tags table updated whenever you save.
But I can't remember the details and I wouldn't be surprised if some
elisp snippet is still missing.
Stefan
next prev parent reply other threads:[~2003-05-21 20:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-21 18:59 Slickedit features in Emacs? Henrik Jönsson
2003-05-21 19:08 ` Phillip Lord
2003-05-21 19:29 ` Benjamin Rutt
2003-05-22 7:07 ` Henrik Jönsson
2003-05-22 12:38 ` Bruce Ashfield
2003-05-22 14:14 ` Stefan Monnier
2003-05-22 17:12 ` Peter Lee
2003-05-22 19:42 ` Mark Mynsted
2003-05-22 20:04 ` Peter Lee
2003-05-22 20:23 ` Kai Großjohann
2003-05-22 20:52 ` Mark Mynsted
2003-05-22 21:03 ` Stefan Monnier
2003-05-23 13:38 ` Mark Mynsted
2003-05-23 15:44 ` Peter Lee
2003-05-21 19:34 ` Peter Lee
2003-05-21 19:38 ` Burton Samograd
2003-05-21 20:30 ` Stefan Monnier [this message]
2003-05-22 13:56 ` Benjamin Rutt
2003-05-21 20:53 ` Ole Laursen
2003-05-22 15:31 ` Kai Großjohann
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=5lllx0m4a4.fsf@rum.cs.yale.edu \
--to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
/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).