help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: inserting date and time at the cursor location


From: Mario Lang
Subject: Re: inserting date and time at the cursor location
Date: Fri, 11 Oct 2002 12:14:23 GMT
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

Clemens Fischer <ino@despammed.com> writes:

> David Kastrup <David.Kastrup@t-online.de> writes:
>
>> You could also use
>> C-u M-! date RET
>
> ok, how do i bind this to a key?

Using keyboard macros for instance:

C-x ( C-u M-! date RET C-x )

Now you can use C-x e to call the last kbd macro or

M-x edit-kbd-macro RET C-x e 

to see the whole macro, being able to edit it and give it a name
and keybinding.  Use C-c C-c to save.

-- 
CYa,
  Mario


reply via email to

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