From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: inserting date and time at the cursor location Date: Wed, 02 Oct 2002 17:30:14 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3d9aee7f$0$15412$3b214f66@aconews.univie.ac.at> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033707714 18011 127.0.0.1 (4 Oct 2002 05:01:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2002 05:01:54 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17xKb1-0004gJ-00 for ; Fri, 04 Oct 2002 07:01:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xKbO-0008Hn-00; Fri, 04 Oct 2002 01:02:14 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!news.tele.dk!not-for-mail Original-Newsgroups: comp.emacs.xemacs,gnu.emacs.help,gnu.emacs.gnus X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2214 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2214 "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.