Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: Supersede asks for password for canlock...
Date: Fri, 09 Aug 2002 22:30:24 +0200	[thread overview]
Message-ID: <ilud6srixlr.fsf@latte.josefsson.org> (raw)
In-Reply-To: <27znvvrfay.fsf@chef.local>

Jan Exner <exner@gmx.net> writes:

> I recently upgraded from Emacs 20.7/gnus 5.8.8 to Emacs 21.2/Oort gnus
> 0.06.

Good, please keep transition problem reports coming.  Upgrading to
Oort should be smooth, but I'm sure it isn't well tested.

> Today, for the first time since, I tried to supersede an article and
> gnus or emacs asked me for "Password for Canlock:". I have no clue
> what that password might be, and those I tried ("" and my own) did not
> work.

This happens if you try to supersede an article with a Cancel-Lock
header and you don't have a local cancel lock password configured.

The cancel lock password is generated when you post, and then saved in
your ~/.emacs.  So there are two reasons why you didn't have a cancel
lock password: 1) you didn't post the article 2) saving the
cancel-lock password failed.

As it happens, it was 3) the cancel-lock code uses a separate variable
when verifying messages that would have been set correctly if you
restarted Emacs, but not if you tried to supersede an article in the
same Emacs session as the one where you ran Oort for the first time.

The following has been committed.

--- message.el.~6.241.~	2002-07-26 20:04:07.000000000 +0200
+++ message.el	2002-08-09 22:22:01.000000000 +0200
@@ -3135,7 +3135,8 @@
 This is the value of `canlock-password', if that option is non-nil.
 Otherwise, generate and save a value for `canlock-password' first."
   (unless canlock-password
-    (customize-save-variable 'canlock-password (message-canlock-generate)))
+    (customize-save-variable 'canlock-password (message-canlock-generate))
+    (setq canlock-password-for-verify canlock-password))
   canlock-password)
 
 (defun message-insert-canlock ()


  parent reply	other threads:[~2002-08-09 20:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <27znvvrfay.fsf@chef.local>
2002-08-09 20:00 ` Vasily Korytov
2002-08-09 20:30 ` Simon Josefsson [this message]
2002-08-13 18:37   ` Jan Exner
     [not found]   ` <d8vg6eppyu.fsf@chef.local>
2002-08-13 18:47     ` Jesper Harder

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=ilud6srixlr.fsf@latte.josefsson.org \
    --to=jas@extundo.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 NNTP newsgroup(s).