unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Re: Diary
Date: Mon, 15 Oct 2007 20:06:12 +0200	[thread overview]
Message-ID: <87ejfwz20b.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <87r6jwfjmc.fsf@gmail.com> (Sean Sieger's message of "Mon, 15 Oct 2007 12:06:03 -0400")

Sean Sieger <sean.sieger@gmail.com> writes:

>    The shell utility `calendar' is not in modern GNU/Linux.
>
> sean@6dfpj71:~$ which calendar
> /usr/bin/calendar
>
> or do I not get what you are saying?

Not all modern distributions install the BSD calendar program by
default, so a sentence like "the file format is essentially the same as
that used by the external utility `calendar'" may mislead users.  But
since all the syntax is explained in the emacs manual, too, I don't see
a problem with that.

Maybe it would be a good idea to move that sentence after the example.

--8<---------------cut here---------------start------------->8---
Index: doc/emacs/calendar.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/emacs/calendar.texi,v
retrieving revision 1.3
diff -u -r1.3 calendar.texi
--- doc/emacs/calendar.texi	16 Sep 2007 02:29:50 -0000	1.3
+++ doc/emacs/calendar.texi	15 Oct 2007 18:04:47 -0000
@@ -990,8 +990,7 @@
 
   The name of the diary file is specified by the variable
 @code{diary-file}; @file{~/diary} is the default.  A sample diary file
-is (note that the file format is essentially the same as that used by
-the external shell utility @samp{calendar}):
+is:
 
 @example
 12/22/1988  Twentieth wedding anniversary!!
@@ -1011,6 +1010,10 @@
 This example uses extra spaces to align the event descriptions of most
 of the entries.  Such formatting is purely a matter of taste.
 
+  The file format is essentially the same as that used by the external
+shell utility @samp{calendar}.  If you've used that before, you'll feel
+right at home.
+
   Although you probably will start by creating a diary manually, Emacs
 provides a number of commands to let you view, add, and change diary
 entries.
Index: doc/emacs/ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/doc/emacs/ChangeLog,v
retrieving revision 1.18
diff -u -r1.18 ChangeLog
--- doc/emacs/ChangeLog	15 Oct 2007 02:07:51 -0000	1.18
+++ doc/emacs/ChangeLog	15 Oct 2007 18:04:50 -0000
@@ -1,3 +1,8 @@
+2007-10-15  Tassilo Horn  <tassilo@member.fsf.org>
+
+	* calendar.texi (Diary): Move hint to external calendar program behind
+	the example.
+
 2007-10-13  Eric S. Raymond  <esr@snark.thyrsus.com>
 
 	* files.texi: Capitalize node names according to convention.
--8<---------------cut here---------------end--------------->8---

If someone with write access thinks it's a good idea, feel free to
install the patch.

Bye,
Tassilo

  reply	other threads:[~2007-10-15 18:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 13:24 Diary Leo
2007-10-15 16:06 ` Diary Sean Sieger
2007-10-15 18:06   ` Tassilo Horn [this message]
2007-10-16  4:10     ` Diary Richard Stallman
2007-10-16  9:21       ` Diary Leo
2007-10-17 17:58 ` Diary Alfred M. Szmidt
2007-10-17 18:58   ` Diary Leo
2007-10-18  2:31     ` Diary Miles Bader
2007-10-19 16:47     ` Diary Alfred M. Szmidt

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=87ejfwz20b.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).