unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "KIRCHE Sébastien" <Sebastien.Kirche@sage.com>
Subject: Insert date from calendar
Date: Fri, 19 Sep 2003 11:00:19 +0200	[thread overview]
Message-ID: <614FB46EBD7AD111B8F000805FBBD1DD05CDF954@METZ-EXCHANGE> (raw)

Hi,
i have the following defun in my .emacs :

(defun my-insert-date ()  (interactive)  (insert (calendar-date-string
(calendar-current-date)))) 
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ébastien Kirche


----------------------------------------------------------------------------
------------------------------------------ Ce message et tous les fichiers
qui y sont attachés contiennent des informations confidentielles,
exclusivement destinées à la personne à laquelle elles sont adressées. Dans
l’hypothèse où ce message ne vous serait pas destiné, nous vous remercions
de le retourner immédiatement à son émetteur et de le supprimer. La
publication, la distribution, l’impression ou tout autre usage non autorisé
de ce message est strictement interdit. Les idées et opinions contenues dans
ce message sont celles de son auteur et ne représentent pas nécessairement
celles du Groupe Sage.

             reply	other threads:[~2003-09-19  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-19  9:00 KIRCHE Sébastien [this message]
     [not found] <mailman.415.1063961906.21628.help-gnu-emacs@gnu.org>
2003-09-19 10:16 ` Insert date from calendar Oliver Scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=614FB46EBD7AD111B8F000805FBBD1DD05CDF954@METZ-EXCHANGE \
    --to=sebastien.kirche@sage.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).