all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
Cc: ding <ding@gnus.org>, emacs-devel@gnu.org
Subject: Re: Patch: Show signature state in encrypted messages using pgg
Date: Sun, 12 Nov 2006 12:05:19 +0100	[thread overview]
Message-ID: <m2odrddixc.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <59350f81-0e9a-4619-b46c-6e8bd1562c6d@well-done.deisui.org> (Daiki Ueno's message of "Sun\, 12 Nov 2006 09\:28\:23 +0900")

Daiki Ueno <ueno@unixuser.org> wrote:

>>>>>> In <m2d57tmz7w.fsf@kenny.sha-bang.de> 
>>>>>>	Sascha Wilde <wilde@sha-bang.de> wrote:
>> Daiki Ueno <ueno@unixuser.org> wrote:

>> > Is there still any chance for such a feature enhancement to get into the
>> > release?  Anyway,
>
>> No, I don't think so, but I think that:
>> 1. There is a chance to get it into gnus CVS
>
> If so, you should make a patch to the Gnus trunk, I think.

This might me right.  I tend to make my changes in the sources of CVS
Emacs as that's what I'm using as my productive working environment.

I'll port my changes to CVS gnus if that helps.

> You are appearantly missing that Gnus set
> application/x-gnus-pgp-encrypted for traditional inline PGP messages.  I
> agree these messages are "quite non standard".

Yes, I missed that indeed.  Thanks for pointing it out to me, now I
know how to test it and indeed with my proposed change to
mm-uu-pgp-encrypted-extract-1 it works well.

>> Anyway how about something along the lines of 
>
>> ;;; untested:
>> (progn
>>   (mml2015-clean-buffer)
>>   (funcall (mml2015-clear-decrypt-function))
>>   (eq t
>>       (compare-strings "OK" nil nil
>> 		       (mm-handle-multipart-ctl-parameter mm-security-handle
>> 							  'gnus-info)
>> 		       nil 2)))
>
>> this should fix it.
>
> At least XEmacs 21.4 does not have compare-strings.

Sure?

(version)
"GNU Emacs 21.4.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-03-17 on trouble, modified by Debian"
(compare-strings "OK" nil nil "OK, Signer" nil 2)
t

On the other hand: is backwards compatibility still an issue for gnus
development anyway, with Emacs 22 being released soon?

> BTW, why do you tend to spread your kludge here and there?  Why not
> use some other parameters such as 'gnus-details instead?

'gnus-details contains the important information already, but

1. The information on the signature (if any) is buried between many
   lines of verbose information.

2. The information in 'gnus-details is not visible by default, the
   user has to show it by pressing the [[PGP Encrypted Part:OK]]
   button.

The reason for my patch is, that I think, that the Information if and
by whom an encrypted message is signed is _very_ important, and should
be always visible.

Btw: mml2015-mailcrypt-decrypt does return the same as
mml2015-pgg-decrypt does with my patch (and I used it as an example
for the exact format of the returned string).

cheers
sascha
-- 
Sascha Wilde
"Gimme about 10 seconds to think for a minute..."

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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10 22:30 Patch: Show signature state in encrypted messages using pgg Sascha Wilde
2006-11-10 22:31 ` Sascha Wilde
2006-11-11  2:19   ` Daiki Ueno
2006-11-11 21:48     ` Sascha Wilde
2006-11-12  0:28       ` Daiki Ueno
2006-11-12 11:05         ` Sascha Wilde [this message]
2006-11-12 11:09           ` David Kastrup
2006-11-12 11:47             ` Sascha Wilde
2006-11-12 12:31               ` Daiki Ueno
2006-11-12 14:22                 ` Sascha Wilde
2006-11-12 14:42                   ` Daiki Ueno
2006-11-12 15:01                     ` Sascha Wilde
2006-11-12 13:26           ` Reiner Steib

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=m2odrddixc.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.