unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: happy@vole.com (mr.sparkle)
Subject: Re: emacs diary/calendar insert day (i-d)
Date: 13 Nov 2002 00:11:58 -0500	[thread overview]
Message-ID: <m2n0oe9hpd.fsf@localhost.localdomain> (raw)
In-Reply-To: 85k7jkuikr.fsf@emr.cs.iit.edu

On 11 Nov 2002, reingold@emr.cs.iit.edu wrote:
>>>>>> "EMR" == Edward M Reingold <reingold@emr.cs.iit.edu> writes:
> 
>      JS=> I hope the future versions of diary functions will take
>      care of local
>     JS=> variables blocks.
> 
>     EMR> Yes, that really is a bug.  I will try to see that it gets
>     EMR> fixed soon.  --
> 
> Can somebody test this in Emacs 21 (which I don't use yet):
> 
> (defun make-diary-entry (string &optional nonmarking file) "Insert a
>   diary entry STRING which may be NONMARKING in FILE.  If omitted,
>   NONMARKING defaults to nil and FILE defaults to diary-file."
>   (find-file-other-window (substitute-in-file-name (if file file
>   diary-file))) (widen) (goto-char (point-max)) (if (let
>   ((case-fold-search t)) (search-backward "Local Variables:" (max (-
>   (point-max) 3000) (point-min)) t)) (progn (beginning-of-line)
>   (insert "\n") (previous-line 1))) (insert (if (bolp) "" "\n") (if
>   nonmarking diary-nonmarking-symbol "") string " "))

This wouldn't evaluate for me

  reply	other threads:[~2002-11-13  5:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05  0:57 emacs diary/calendar insert day (i-d) mr.sparkle
2002-11-05 18:36 ` Matthias Meulien
2002-11-05 18:52   ` Alan Shutko
2002-11-09 19:46     ` Janusz S. Bień
     [not found]     ` <mailman.1036861638.12745.help-gnu-emacs@gnu.org>
2002-11-10  1:53       ` Alan Shutko
2002-11-10 10:26       ` Matthias Meulien
2002-11-11 10:11         ` Janusz S. Bień
     [not found]         ` <mailman.1036999692.28763.help-gnu-emacs@gnu.org>
2002-11-11 15:08           ` Edward M. Reingold
2002-11-11 17:23             ` Edward M. Reingold
2002-11-13  5:11               ` mr.sparkle [this message]
2002-11-07 18:25 ` Edward M. Reingold
2002-11-07 23:38   ` mr.sparkle

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=m2n0oe9hpd.fsf@localhost.localdomain \
    --to=happy@vole.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).