Gnus development mailing list
 help / color / mirror / Atom feed
* SOLVED: W s on PGP clearsigned messages
@ 2003-06-10 10:03 Matthias Andree
  2003-06-11 15:58 ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Matthias Andree @ 2003-06-10 10:03 UTC (permalink / raw)


Hi,

I've solved my "can't verify traditionally clearsigned PGP messages" I
reported some weeks ago, this feature requires gnus-article-emulate-mime
to be t.

I had set this to nil ages ago...

<ducks & runs>

-- 
Matthias Andree



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SOLVED: W s on PGP clearsigned messages
  2003-06-10 10:03 SOLVED: W s on PGP clearsigned messages Matthias Andree
@ 2003-06-11 15:58 ` Reiner Steib
  2003-06-12  8:05   ` Matthias Andree
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2003-06-11 15:58 UTC (permalink / raw)


On Tue, Jun 10 2003, Matthias Andree wrote:

> I've solved my "can't verify traditionally clearsigned PGP messages" I
> reported some weeks ago, this feature requires gnus-article-emulate-mime
> to be t.

I guess we should try to make `W s' work for this case too (or at
least document that `gnus-article-emulate-mime' affects "traditionally
clearsigned PGP messages", too).

Would it make sense, to let-bind `gnus-article-emulate-mime' in
`gnus-summary-force-verify-and-decrypt'?

(defun gnus-summary-force-verify-and-decrypt ()
  "Display buttons for signed/encrypted parts and verify/decrypt them."
  (interactive)
  (let ((mm-verify-option 'known)
	(mm-decrypt-option 'known)
	(gnus-article-emulate-mime t) ;; <== added
	(gnus-buttonized-mime-types (append (list "multipart/signed"
						  "multipart/encrypted")
					    gnus-buttonized-mime-types)))
    (gnus-summary-select-article nil 'force)))

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SOLVED: W s on PGP clearsigned messages
  2003-06-11 15:58 ` Reiner Steib
@ 2003-06-12  8:05   ` Matthias Andree
  2003-06-12 10:25     ` Reiner Steib
  2003-06-12 10:40     ` Kai Großjohann
  0 siblings, 2 replies; 7+ messages in thread
From: Matthias Andree @ 2003-06-12  8:05 UTC (permalink / raw)


Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:

> Would it make sense, to let-bind `gnus-article-emulate-mime' in
> `gnus-summary-force-verify-and-decrypt'?
>
> (defun gnus-summary-force-verify-and-decrypt ()
>   "Display buttons for signed/encrypted parts and verify/decrypt them."
>   (interactive)
>   (let ((mm-verify-option 'known)
> 	(mm-decrypt-option 'known)
> 	(gnus-article-emulate-mime t) ;; <== added
> 	(gnus-buttonized-mime-types (append (list "multipart/signed"
> 						  "multipart/encrypted")
> 					    gnus-buttonized-mime-types)))
>     (gnus-summary-select-article nil 'force)))

Not knowing ELisp good enough, is this a local variable assignment? If
not, gnus-article-emulate-mime should return to the previous value after
exit from this gnus-summary-force-verify-and-decrypt function.

-- 
Matthias Andree



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SOLVED: W s on PGP clearsigned messages
  2003-06-12  8:05   ` Matthias Andree
@ 2003-06-12 10:25     ` Reiner Steib
  2003-06-12 13:51       ` Matthias Andree
  2003-06-12 10:40     ` Kai Großjohann
  1 sibling, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2003-06-12 10:25 UTC (permalink / raw)


On Thu, Jun 12 2003, Matthias Andree wrote:

> Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
>
>> Would it make sense, to let-bind `gnus-article-emulate-mime' in
>> `gnus-summary-force-verify-and-decrypt'?
[...]
>>   (let ((mm-verify-option 'known)
>> 	(mm-decrypt-option 'known)
>> 	(gnus-article-emulate-mime t) ;; <== added
[...]
> Not knowing ELisp good enough, is this a local variable assignment? 

Yes, it is local.

Does it work for you?  I.e. set `gnus-article-emulate-mime' to nil,
evaluate the above code (press `C-x C-e' after the last parenthesis)
and test, if `W s' works as expected.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SOLVED: W s on PGP clearsigned messages
  2003-06-12  8:05   ` Matthias Andree
  2003-06-12 10:25     ` Reiner Steib
@ 2003-06-12 10:40     ` Kai Großjohann
  1 sibling, 0 replies; 7+ messages in thread
From: Kai Großjohann @ 2003-06-12 10:40 UTC (permalink / raw)


Matthias Andree <ma@dt.e-technik.uni-dortmund.de> writes:

> Not knowing ELisp good enough, is this a local variable assignment?

Emacs Lisp does not have local variables as you know them.

(let ((x 3)) (foo) (bar)) means to temporarily set x to 3, then
execute (foo) and (bar), and then let x revert to whatever it was before.
-- 
This line is not blank.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SOLVED: W s on PGP clearsigned messages
  2003-06-12 10:25     ` Reiner Steib
@ 2003-06-12 13:51       ` Matthias Andree
  2003-06-15 19:07         ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Matthias Andree @ 2003-06-12 13:51 UTC (permalink / raw)


Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:

>>> Would it make sense, to let-bind `gnus-article-emulate-mime' in
>>> `gnus-summary-force-verify-and-decrypt'?
> [...]
>>>   (let ((mm-verify-option 'known)
>>> 	(mm-decrypt-option 'known)
>>> 	(gnus-article-emulate-mime t) ;; <== added
>
> Does it work for you?  I.e. set `gnus-article-emulate-mime' to nil,
> evaluate the above code (press `C-x C-e' after the last parenthesis)
> and test, if `W s' works as expected.

Works for me (I pasted the stuff into eval-expression though.)

-- 
Matthias Andree



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SOLVED: W s on PGP clearsigned messages
  2003-06-12 13:51       ` Matthias Andree
@ 2003-06-15 19:07         ` Reiner Steib
  0 siblings, 0 replies; 7+ messages in thread
From: Reiner Steib @ 2003-06-15 19:07 UTC (permalink / raw)


On Thu, Jun 12 2003, Matthias Andree wrote:

> Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
>
>>>> Would it make sense, to let-bind `gnus-article-emulate-mime' in
>>>> `gnus-summary-force-verify-and-decrypt'?
[...]
> Works for me (I pasted the stuff into eval-expression though.)

Committed.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-06-15 19:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-10 10:03 SOLVED: W s on PGP clearsigned messages Matthias Andree
2003-06-11 15:58 ` Reiner Steib
2003-06-12  8:05   ` Matthias Andree
2003-06-12 10:25     ` Reiner Steib
2003-06-12 13:51       ` Matthias Andree
2003-06-15 19:07         ` Reiner Steib
2003-06-12 10:40     ` Kai Großjohann

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).