From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?windows-1252?Q?KIRCHE_S=E9bastien?= Newsgroups: gmane.emacs.help Subject: Insert date from calendar Date: Fri, 19 Sep 2003 11:00:19 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <614FB46EBD7AD111B8F000805FBBD1DD05CDF954@METZ-EXCHANGE> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1063962102 31301 80.91.224.253 (19 Sep 2003 09:01:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2003 09:01:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 19 11:01:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0H92-0003u3-00 for ; Fri, 19 Sep 2003 11:01:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0H6M-0008C1-9F for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2003 04:58:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0H5e-000803-BD for help-gnu-emacs@gnu.org; Fri, 19 Sep 2003 04:58:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0H5L-0007Kd-0d for help-gnu-emacs@gnu.org; Fri, 19 Sep 2003 04:57:53 -0400 Original-Received: from [195.25.216.129] (helo=Mis.sage.fr) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0H5C-00070v-Sd for help-gnu-emacs@gnu.org; Fri, 19 Sep 2003 04:57:43 -0400 Original-Received: by MAILHOST with Internet Mail Service (5.5.2653.19) id ; Fri, 19 Sep 2003 11:00:35 +0200 Original-To: "Emacs-help (Messagerie)" X-Mailer: Internet Mail Service (5.5.2653.19) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12651 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12651 Hi, i have the following defun in my .emacs : (defun my-insert-date () (interactive) (insert (calendar-date-string (calendar-current-date))))=20 I would like to tune this to insert the date corresponding to where the cursor is currently in the calendar But i know very few lisp. Does someone can help ? Thanks, S=E9bastien Kirche ------------------------------------------------------------------------= ---- ------------------------------------------ Ce message et tous les = fichiers qui y sont attach=E9s contiennent des informations confidentielles, exclusivement destin=E9es =E0 la personne =E0 laquelle elles sont = adress=E9es. Dans l=92hypoth=E8se o=F9 ce message ne vous serait pas destin=E9, nous vous = remercions de le retourner imm=E9diatement =E0 son =E9metteur et de le supprimer. = La publication, la distribution, l=92impression ou tout autre usage non = autoris=E9 de ce message est strictement interdit. Les id=E9es et opinions = contenues dans ce message sont celles de son auteur et ne repr=E9sentent pas = n=E9cessairement celles du Groupe Sage.