From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1262 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.gnus.user Subject: Re: inserting date and time at the cursor location Date: 02 Oct 2002 17:37:27 +0200 Organization: T-Online Message-ID: References: <3d9aee7f$0$15412$3b214f66@aconews.univie.ac.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668035 10475 80.91.229.2 (31 Jan 2006 00:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:40:35 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:53 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.teledanmark.no!uninett.no!Norway.EU.net!uio.no!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: comp.emacs.xemacs,gnu.emacs.help,gnu.emacs.gnus Original-Sender: dak@tupik.goethe.zz Original-X-Trace: news.t-online.com 1033573050 03 6830 uec0buqSTEA5Jl 021002 15:37:30 Original-X-Complaints-To: abuse@t-online.com X-Sender: 520018396234-0001@t-dialin.net X-Face: 2FEFf>]>q>2iw=B6,xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i";/yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1402 Original-Lines: 19 X-Gnus-Article-Number: 1402 Tue Jan 17 17:28:53 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1262 Archived-At: Jesper Harder writes: > "Guy-Armand Kamendje" 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