GNU bug report logs - #38289
27.0.50; C-c C-w not working if signature from gnus-posting-styles applies

Previous Next

Packages: gnus, emacs;

Reported by: Amin Bandali <bandali <at> gnu.org>

Date: Wed, 20 Nov 2019 06:45:02 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 38289 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: Amin Bandali <bandali <at> gnu.org>, 38289 <at> debbugs.gnu.org
Subject: Re: bug#38289: 27.0.50; C-c C-w not working if signature from
 gnus-posting-styles applies
Date: Fri, 22 Nov 2019 13:38:24 +0100
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> How about a Gnus-specific minor-mode to run in message buffers that are
> expected to be tied to Gnus? Like gnus-message-minor-mode, whatever. The
> minor mode could do two things:

That does sound cleaner than the current Gnus/Message integration, which
is based inserting some text in the buffer, and then locally setting a
bunch of Message variables to disable the default action.

But I'm not sure how it would look in practice.

> 1. Hook into header completion, so that completing a mail address in
> any of the To/From/Cc/Bcc fields would run the whole message through
> gnus-posting-styles again, possibly re-writing other parts of the draft
> message.

Hm...  I'm not sure I see how that would work.  The posting styles just
insert a bunch of stuff and can eval whatever.

> The beautiful future I'm imagining is that an nnimap server queries its
> remote server for "special use" mailboxes, so that it knows which of its
> groups is \Drafts, which is \Sent, etc. Now we save the message as a
> draft, and the minor mode first checks with the X-Gnus-Server: "can you
> handle drafts?" The server can! Or it can't, and the message goes into
> nndraft. Or the message is sent, and if there's no Gcc, the minor mode
> asks the server, "Can you archive this somewhere?" And hey, maybe the
> server can.
>
> All this confined to a minor-mode, of course.

It sounds a bit abstract -- would it ignore nndrafts if the IMAP server
has \Drafts?  (Auto-saving over nnimap isn't recommended, really.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.