Re: [PATCH] Add support for changing X-Label

2013-03-13 Thread Cameron Simpson
On 12Mar2013 16:05, Jiri Denemark  wrote:
| Sure, but that's for composing new emails. This patch is targeted at
| changing the header for emails already present in one's mailbox. Of
| course, once could edit that email and change the header but that's far
| from convenient and creating a mutt macro to, e.g., set X-Label to "foo"
| or clear X-Label would need a lot of typing.

Write a script that prompts for a label, then patches a message
file with the new label. Extra points for offering any existing
label as a default.

Then write a macro to set editor to that script, then edit-message,
then restore the old editor.

Cumbersome, but feasible.
-- 
Cameron Simpson 

library, n., a place with a large number of people, a slightly larger number
of books, and a very small number of photocopiers, of which at any
given time at least 50% will be out of order.


Re: [PATCH] Add support for changing X-Label

2013-03-13 Thread David Champion
* On 13 Mar 2013, Cameron Simpson wrote: 
> 
> Write a script that prompts for a label, then patches a message
> file with the new label. Extra points for offering any existing
> label as a default.

But of course, the patches already exist and work, so doing this is not
necessary.  My patch even lets you tab-complete against any existing
label.

-- 
David Champion • d...@bikeshed.us


Re: [PATCH] Add support for changing X-Label

2013-03-13 Thread Cameron Simpson
On 13Mar2013 21:55, David Champion  wrote:
| * On 13 Mar 2013, Cameron Simpson wrote: 
| > Write a script that prompts for a label, then patches a message
| > file with the new label. Extra points for offering any existing
| > label as a default.
| 
| But of course, the patches already exist and work, so doing this is not
| necessary.  My patch even lets you tab-complete against any existing
| label.

Sounds nice.
-- 
Cameron Simpson 

I must really get a thinner pencil. I can't manage this one a bit. It writes
all manner of things I don't intend.
- rhe...@csugrad.cs.vt.edu (Bolo Mk XXXIX)