From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8370 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.user Subject: Re: pgg-sign(encrypt)-region works but sign tag is ignored Date: Tue, 12 Dec 2006 17:05:18 +0100 Message-ID: <87fyblnlq9.fsf@mat.ucm.es> References: <871wne8tk0.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165941796 16438 80.91.229.10 (12 Dec 2006 16:43:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 16:43:16 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Dec 12 17:43:15 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuAim-0007fG-Eq for gegu-info-gnus-english@m.gmane.org; Tue, 12 Dec 2006 17:43:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuAim-0008BZ-1v for gegu-info-gnus-english@m.gmane.org; Tue, 12 Dec 2006 11:43:12 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.arcor.de!213.239.142.2.MISMATCH!feeder.xsnews.nl!border1.nntp.ams.giganews.com!nntp.giganews.com!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 56 Original-NNTP-Posting-Host: maportatil10.quim.ucm.es Original-X-Trace: quimby.gnus.org 1165939520 14749 147.96.7.218 (12 Dec 2006 16:05:20 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 12 Dec 2006 16:05:20 +0000 (UTC) X-Hashcash: 1:20:061212:gnu.emacs.gnus::h2IqnMB4uEDbDj1f:0001yM/ User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.18 (linux) Cancel-Lock: sha1:skVy0h5DaKtfdL1FGDRTzsfNsXo= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78553 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8370 Archived-At: >>>>> "Katsumi" == Katsumi Yamaoka writes: >>>>> In <871wne8tk0.fsf@mat.ucm.es> Uwe Brauer wrote: Katsumi> Please do some tests. For every Elisp form, copy it to the Katsumi> *scratch* buffer and type `C-j' at the rightmost position of the Katsumi> last line. ok Katsumi> 1. Check whether the `with-syntax-table' macro, which Katsumi> `mml-parse' uses, works. Katsumi> (let ((table (copy-syntax-table emacs-lisp-mode-syntax-table))) Katsumi> (modify-syntax-entry ?= " " table) Katsumi> (with-temp-buffer Katsumi> (with-syntax-table table Katsumi> (insert "foo=bar") Katsumi> (goto-char (point-min)) Katsumi> (forward-sexp 1) Katsumi> (eolp)))) Katsumi> It should return nil. There is still a known bug in XEmacs it works Katsumi> 2. Check whether the `mml-parse' function parses a MML tag. Katsumi> (with-temp-buffer Katsumi> (insert "<#secure method=pgpmime mode=sign>\n") Katsumi> (goto-char (point-min)) Katsumi> (require 'mml) Katsumi> (mml-parse)) Katsumi> It should return: Katsumi> ((part (sign . "pgpmime") (tag-location . 1) (contents . ""))) It does Katsumi> If the `with-syntax-table' macro doesn't work, you will not Katsumi> get this. Katsumi> 3. Check whether a MML function generates a signed message. Katsumi> (with-temp-buffer Katsumi> (mml-generate-mime-1 '(part (sign . "pgpmime") Katsumi> (tag-location . 1) Katsumi> (contents . "testing.\n"))) Katsumi> (buffer-string)) Katsumi> It should return a signed message. It does and right now *everything* seems to work :) I am really puzzled. Thanks for all your help and sorry for this. I don't know what is up. :( Uwe