Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Attachments and security menu (was: Entering passphrase twice when sending PGP signed message)
Date: Thu, 13 Oct 2005 21:48:07 +0200	[thread overview]
Message-ID: <v9k6ghurk8.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m33cdqo8an.fsf@defun.localdomain>

[ Following up to an old thread:
  http://thread.gmane.org/m365jukh3s.fsf%40defun.localdomain ]

On Sat, Oct 18 2003, Jesper Harder wrote:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> Jesper Harder <harder@myrealbox.com> writes:
>>
>>>     +---------------------------------+
>>>     | Sign                (C-c RET s) |
>>>     | Encrypt             (C-c RET c) |
>>>     | Sign Part           (C-c RET S) |
>>>     | Encrypt Part        (C-c RET C) |
>>>     | Encrypt/Sign Off  (C-c RET C-n) |
>>>     | Change Security Method     +-----------------------+
>>>     +----------------------------|  [x] PGP/MIME         |
>>>                                  |  [ ] Traditional PGP  |
>>>                                  |  [ ] S/MIME           |
>>>                                  +-----------------------+
>>
>> Beautiful.  Did you check it in?
>
> No.  I thought it would be better to wait for No Gnus to make user
> visible changes like that.

I have installed a new menu based on Jesper's suggestion:

	* mml-sec.el (mml-secure-method): New internal variable.
	(mml-secure-sign, mml-secure-encrypt, mml-secure-message-sign)
	(mml-secure-message-sign-encrypt, mml-secure-message-encrypt): New
	functions using mml-secure-method.

	* mml.el (mml-mode-map): Add key bindings for those functions.
	(mml-menu): Simplify security menu entries.
	(mml-attach-file, mml-attach-buffer, mml-attach-external): Goto
	end of message if point is the headers of the message.

	* message.el (message-in-body-p): New function.

As inserting parts inside message headers makes no sense, I've changed
those functions to go to the end of the message before inserting.
Inserting attachments at the end seems preferable to the top of the
message, because some broken MUAs are not able to deal with inline
parts following attachments.

I was quite unsure about the key bindings and some implementation
details.  Maybe we should also provide an interactive function and key
bindings to change the current method (mml-secure-method).

Comments?  Suggestions?  I don't use encryption/signing often; please
tell me if this change breaks something or if it is inconvenient.

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




  parent reply	other threads:[~2005-10-13 19:48 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13 13:27 Entering passphrase twice when sending PGP signed message Hrvoje Niksic
2003-09-13 21:24 ` Simon Josefsson
2003-09-13 23:20   ` Hrvoje Niksic
2003-09-14  0:41     ` Simon Josefsson
2003-09-14  1:22       ` Hrvoje Niksic
2003-09-14 12:05         ` Simon Josefsson
2003-09-14 15:06           ` Hrvoje Niksic
2003-09-14 15:18             ` Simon Josefsson
2003-09-14 17:17               ` Hrvoje Niksic
2003-09-14 21:48                 ` Simon Josefsson
2003-09-14 23:03                   ` Jesper Harder
2003-09-14 23:15                     ` Simon Josefsson
2003-09-15  0:52                       ` Jesper Harder
2003-09-15 11:18                         ` Simon Josefsson
2003-10-17 18:03                         ` Lars Magne Ingebrigtsen
2003-10-17 21:44                           ` Simon Josefsson
2003-10-17 22:39                             ` Lars Magne Ingebrigtsen
2003-10-18  0:04                               ` Simon Josefsson
2003-10-18 15:49                           ` Jesper Harder
2003-10-18 16:26                             ` Lars Magne Ingebrigtsen
2005-10-13 19:48                             ` Reiner Steib [this message]
2006-04-26 20:30                               ` Attachments and security menu Reiner Steib
2003-09-14 21:02   ` Entering passphrase twice when sending PGP signed message Matthias Andree
2003-09-14 21:38     ` Simon Josefsson
2003-09-14 23:12       ` Matthias Andree
2003-09-14 23:49         ` Simon Josefsson
2003-09-15  0:10           ` Matthias Andree
2003-09-13 23:30 ` Jesper Harder
2003-09-14  1:17   ` Hrvoje Niksic
2003-09-14  1:45     ` Jesper Harder

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=v9k6ghurk8.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).