emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: emacs-wiki and abbrev mode


From: J. David Boyd
Subject: [emacs-wiki-discuss] Re: emacs-wiki and abbrev mode
Date: Wed, 21 Sep 2005 16:42:53 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Charlie Martin <address@hidden> writes:

> ... or really, mostly, abbrev mode.
>
> I keep wanting to have abbrevs that expand out to, say, date-time
> stamps.  I can do this on my mac with the rather brilliant Texpander,
> where for example I have it set up so that typing 'ttime' inserts
> 12:13:25 ... and then 12:13:35 ... and then 12:13:42 ... and so on.
>
>
> So here's my question: is there a way to get abbrev mode, or hooks in
> emacs-wiki or muse-mode or some such, to act like an abbrev but
> execute a fragment of lisp code instead of just replacing one string
> with another?

Not what you are asking for, but you could just assign a lisp function to
insert a date-time stamp to a keystroke that planner/emacs-wiki doesn't use...

Dave in Largo, FL





reply via email to

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