From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36643 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: message-options-get problem... Date: 12 Jun 2001 14:46:07 -0400 Organization: Mind your own business, you silly arthur king! Message-ID: <87zobdk040.fsf@mclinux.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172194 9637 80.91.224.250 (21 Oct 2002 03:49:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:49:54 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 23484 invoked from network); 12 Jun 2001 18:45:58 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 12 Jun 2001 18:45:58 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id UAA25597 for ding@gnus.org; Tue, 12 Jun 2001 20:45:54 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: lowell.missioncriticallinux.com Original-X-Trace: quimby.gnus.org 992371554 29655 208.51.139.16 (12 Jun 2001 18:45:54 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 12 Jun 2001 18:45:54 GMT X-Go-Away: or I shall taunt you a second time! X-PGP-KeyID: 6B21489A X-PGP-CertKey: 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A X-Request-PGP: finger:huber@db.debian.org Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Cuyahoga Valley) Original-Lines: 33 Xref: main.gmane.org gmane.emacs.gnus.general:36643 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36643 I wonder what's going on here. A friend of mine whom I regularly send encrypted email told me today my mail wasn't also signed. I think I've (finally) tracked down where the problem is happening. in mml2015-gpg-encrypt, there is this block: (or (message-options-get 'message-recipients) (message-options-set 'message-recipients (read-string "Recipients: "))) which is used to extract the recipients of the message, and passed along down the chain of calls ultimately to gpg. The problem is that message-options-get is returning an array with one *extra* item, an empty string. so (when testing, inserting (debug) at appropriate places), I noticed that mail addressed to myself would return the list ("huber@alum.wpi.edu" ""), which finally got translated into: gpg .... -r huber@alum.wpi.edu -r --sign ... ^^^^^^^^^ there is the problem...anyone have any ideas as to why message is returning a bogus empty string at the end of the list? I'll keep looking, but I thought someone else might have a hint. Thanks, -- Josh Huber