Gnus development mailing list
 help / color / mirror / Atom feed
From: Colin Walters <walters@cis.ohio-state.edu>
Subject: Re: [ANNOUNCE] NNDiary, a diary backend for Gnus.
Date: Wed, 08 Aug 2001 21:15:30 -0400	[thread overview]
Message-ID: <87vgjydoel.church.of.emacs@space-ghost.verbum.org> (raw)
In-Reply-To: <muxbslq1qev.fsf@uzeb.lrde.epita.fr> (Didier Verna's message of "Wed, 08 Aug 2001 18:12:56 +0200")

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

Didier Verna <didier@lrde.epita.fr> writes:

>         Since many people asked me in private to get nndiary, and
> for that, offered me to collect the bug reports while I'm on holiday
> ;-), I've decided to release it now anyway. As I said, it's already
> pretty usable and might even be more than in beta state (which it
> claims to be in).
>
>         Don't worry about bug reports and comments while I'm on
> holiday, I'll catch up with all my mail traffic when I'm back
> anyway, so I'll see everything.

Ok, seems cool.  Here's a patch necessary to make it run on GNU Emacs:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nndiary.el patch --]
[-- Type: text/x-patch, Size: 2023 bytes --]

cd ~/lisp/
diff -u /home/walters/lisp/nndiary.el\~ /home/walters/lisp/nndiary.el
--- /home/walters/lisp/nndiary.el~	Wed Aug  8 13:55:57 2001
+++ /home/walters/lisp/nndiary.el	Wed Aug  8 21:08:48 2001
@@ -197,6 +197,13 @@
 (require 'gnus-start)
 (require 'gnus-sum)
 
+;; Compatibility Functions  =================================================
+
+(if (fboundp 'signal-error)
+    (defun nndiary-error (&rest args)
+      (apply #'signal-error 'nndiary args))
+  (defun nndiary-error (&rest args)
+    (apply #'error args)))
 
 ;; Backend behavior customization ===========================================
 
@@ -1258,12 +1265,12 @@
   ;; within the specified bounds.
   ;; Signals are caught by `nndiary-schedule'.
   (if (not (string-match "^[ \t]*[0-9]+[ \t]*$" str))
-      (signal-error 'nndiary "not an integer value")
+      (nndiary-error "not an integer value")
     ;; else
     (let ((val (string-to-int str)))
       (and (or (< val min)
 	       (and max (> val max)))
-	   (signal-error 'nndiary "value out of range"))
+	   (nndiary-error "value out of range"))
       val)))
 
 (defun nndiary-parse-schedule-value (str min-or-values max)
@@ -1280,7 +1287,7 @@
 			(match-string 1 str))))
 	  (if (and val (setq val (assoc val min-or-values)))
 	      (list (cadr val))
-	    (signal-error 'nndiary "invalid syntax")))
+	    (nndiary-error "invalid syntax")))
       ;; min-or-values is min
       (mapcar
        (lambda (val)
@@ -1300,7 +1307,7 @@
 		     (t
 		      (cons end beg)))))
 	    (t
-	     (signal-error 'nndiary "invalid syntax")))
+	     (nndiary-error "invalid syntax")))
 	   ))
        (split-string str ",")))
     ))
@@ -1315,7 +1322,7 @@
   (let ((header (format "^X-Diary-%s: \\(.*\\)$" head)))
     (goto-char (point-min))
     (if (not (re-search-forward header nil t))
-	(signal-error 'nndiary "header missing")
+	(nndiary-error "header missing")
       ;; else
       (nndiary-parse-schedule-value (match-string 1) min-or-values max))
     ))

Diff finished at Wed Aug  8 21:14:42

  reply	other threads:[~2001-08-09  1:15 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-08 16:12 Didier Verna
2001-08-09  1:15 ` Colin Walters [this message]
2001-09-04  9:06   ` Didier Verna
2001-08-09  7:20 ` Jody Klymak
2001-08-09 11:14   ` Kai Großjohann
2001-08-09 15:14     ` Jody Klymak
2001-09-04  9:06   ` Didier Verna
2001-08-09 18:51 ` Jody Klymak
2001-08-10 19:10   ` Dan Nicolaescu
2001-08-10 19:14     ` Karl Kleinpaste
2001-08-10 21:07       ` Dan Nicolaescu
2001-08-10 21:49       ` Kai Großjohann
2001-08-10 22:12       ` Kai Großjohann
2001-08-10 22:25         ` Jody Klymak
2001-08-10 22:31           ` Jody Klymak
2001-08-11  0:04           ` Kai Großjohann
2001-08-11  0:27             ` Jody Klymak
2001-08-11 12:13               ` Kai Großjohann
2001-08-11 18:10                 ` Jody Klymak
2001-08-11 20:04                   ` Jody Klymak
2001-08-11 20:54                     ` Kai Großjohann
2001-09-04  8:13                       ` Didier Verna
2001-09-04 12:29                         ` Kai Großjohann
2001-09-04 15:49                           ` Paul Jarc
2001-09-04  8:09                   ` Didier Verna
2001-08-11 18:51                 ` Amos Gouaux
2001-09-04  8:03               ` Didier Verna
2001-08-11 18:50             ` Amos Gouaux
2001-08-11 20:52               ` Kai Großjohann
2001-08-10 22:50         ` Dan Nicolaescu
2001-08-13 18:29         ` Dan Nicolaescu
2001-09-04  9:06     ` Didier Verna
2001-09-04  9:06   ` Didier Verna
2001-09-04 12:25     ` Kai Großjohann
2001-09-04 15:15     ` Jody Klymak
2001-09-04 16:37       ` Kai Großjohann
2001-08-24 19:55 ` [ANNOUNCE] NNDiary to diary Jody Klymak

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

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

  git send-email \
    --in-reply-to=87vgjydoel.church.of.emacs@space-ghost.verbum.org \
    --to=walters@cis.ohio-state.edu \
    /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 NNTP newsgroup(s).