[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inserting date and time at the cursor location
From: |
David Kastrup |
Subject: |
Re: inserting date and time at the cursor location |
Date: |
02 Oct 2002 17:37:27 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Jesper Harder <harder@myrealbox.com> writes:
> "Guy-Armand Kamendje" <kguy@gmx.at> writes:
>
> > Is there a way to let xemacs insert the current date and time at the
> > actual cursor location?
>
> (defun jh-insert-current-time ()
> (interactive)
> (insert (current-time-string)))
>
> Then do `M-x jh-insert-current-time' or bind it to some key sequence.
You could also use
C-u M-! date RET
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de
- inserting date and time at the cursor location, Guy-Armand Kamendje, 2002/10/02
- Re: inserting date and time at the cursor location, Jesper Harder, 2002/10/02
- Re: inserting date and time at the cursor location,
David Kastrup <=
- Re: inserting date and time at the cursor location, Clemens Fischer, 2002/10/02
- Re: inserting date and time at the cursor location, ftrw, 2002/10/03
- Re: inserting date and time at the cursor location, Reiner Steib, 2002/10/03
- Re: inserting date and time at the cursor location, Mario Lang, 2002/10/11
- Re: inserting date and time at the cursor location, A. Tsakiris, 2002/10/13
- Re: inserting date and time at the cursor location, kgold, 2002/10/02
- Re: inserting date and time at the cursor location, ken, 2002/10/04