Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org, xemacs-patches@xemacs.org
Subject: Re: [COMMIT PATCH PACKAGES(ecrypto)] Sync with Gnus
Date: Tue, 16 Dec 2003 08:51:28 +0900	[thread overview]
Message-ID: <b9y7k0xbpxb.fsf@jpl.org> (raw)
In-Reply-To: <iluznduual9.fsf@latte.josefsson.org>

Hi,

>>>>> In <iluznduual9.fsf@latte.josefsson.org>
>>>>>	Simon Josefsson <jas@extundo.com> wrote:

> 2003-12-15  Simon Josefsson  <jas@extundo.com>

> 	* sha1-el.el (autoload): Ignore errors for
> 	executable-find. (XEmacs ecrypto does not require sh-script where
> 	executable.el is located.)
> 	(sha1-use-external): Likewise.

[...]

> -(defcustom sha1-use-external (executable-find (car sha1-program))
> +(defcustom sha1-use-external (ignore-errors
> +			       (executable-find (car sha1-program)))

I noticed that change requires cl at the run-time (in FSFmacs).
It is because arguments in defcustom forms aren't expanded or
byte-compiled.  It is better to replace ignore-errors with
condition-case.

I'm using the following hook in order to put the CanLock header
even to mails:

(add-hook 'message-header-hook 'canlock-insert-header t)

When I send a mail, it causes an error as follows:

Debugger entered--Lisp error: (void-function ignore-errors)
  (ignore-errors (executable-find (car sha1-program)))
  eval((ignore-errors (executable-find (car sha1-program))))
  custom-initialize-reset(sha1-use-external (ignore-errors (executable-find (car sha1-program))))
  custom-declare-variable(sha1-use-external (ignore-errors (executable-find (car sha1-program))) ("/usr/local/share/emacs/21.3.50/site-lisp/gnus/sha1-el.elc" . -1394) :type boolean :group sha1)
  sha1-binary("...")
  canlock-sha1("...")
  canlock-make-cancel-key("<Message-ID>" "Turtle Power!")
  canlock-insert-header()
  run-hooks(message-header-hook)
  message-send-mail(nil)
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



       reply	other threads:[~2003-12-15 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <iluad5uvprm.fsf@latte.josefsson.org>
     [not found] ` <iluznduual9.fsf@latte.josefsson.org>
2003-12-15 23:51   ` Katsumi Yamaoka [this message]
2003-12-16  1:00     ` Simon Josefsson

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=b9y7k0xbpxb.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=xemacs-patches@xemacs.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.
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).