Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
Subject: Re: pgg-sign(encrypt)-region works but sign tag is ignored
Date: Tue, 12 Dec 2006 17:05:18 +0100	[thread overview]
Message-ID: <87fyblnlq9.fsf@mat.ucm.es> (raw)
In-Reply-To: <b4mac214xs6.fsf@jpl.org>

>>>>> "Katsumi" == Katsumi Yamaoka <yamaoka@jpl.org> 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 

      reply	other threads:[~2006-12-12 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 11:34 Uwe Brauer
2006-12-06  1:29 ` Katsumi Yamaoka
2006-12-12 16:05   ` Uwe Brauer [this message]

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=87fyblnlq9.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    /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).