From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1316 Path: news.gmane.org!not-for-mail From: Mario Lang Newsgroups: gmane.emacs.gnus.user Subject: Re: inserting date and time at the cursor location Date: Fri, 11 Oct 2002 12:14:23 GMT Organization: delYsid CyberMedia Message-ID: <87fzvd18ax.fsf__35786.1518314623$1138668115$gmane$org@lexx.delysid.org> References: <3d9aee7f$0$15412$3b214f66@aconews.univie.ac.at> <65wkkzdz.fsf@ID-23066.news.dfncis.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668115 10778 80.91.229.2 (31 Jan 2006 00:41:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:41:55 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:58 2006 Original-Path: quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!mango.news.easynet.net!easynet.net!feed.news.nacamar.de!newsrouter.chello.at!news.chello.at.POSTED!53ab2750!not-for-mail Original-Followup-To: comp.emacs Original-Newsgroups: comp.emacs.xemacs,gnu.emacs.help,gnu.emacs.gnus X-Face: #{U(u[E+u(XLt(Fzy^$\*@|~Op>;RH\Ff0gJmj>d/,E`SdhiT|GvS"x8J)&RXP@_r8o\;W+ "n|c..jN7_r:3AZZXUylgIc.w_TGBCWNS8.^Fo<]Mwl-[(xVfz(>#*]HT7Kjm.0<"2J]npj?_ig&%X 5Un,^Rie4K9b'j?l^Utlpa7>~0%GF0%[Dyt=f)oD:K4s81Hs9'GH0\kP+3hNtF-D Clemens Fischer writes: > David Kastrup 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