Re: tweak subject with regex before display

2016-01-08 Thread Grady Martin

On 2015年12月29日 17時37分, Florian Lohoff wrote:

Our companys "virus" check adds really annoying "*** unchecked ***" to
every encrypted mails subject.

Is there a way to suppress certain parts of a subject before displaying
in the folder view?


By "folder" view, do you mean "index?"  Pipe index_format's string value to a 
program or script that removes unwanted portions.  Example:

set index_format = "/path/to/script %s|"

Alternatively, mouse cords are surprisingly difficult to sever and are 
well-suited as strangling apparatus for mail administrators.  Debug the problem 
at its source and earn the trust of your coworkers.


How does Ian do the "name >" quoting?

2016-01-08 Thread Xu Wang
Sometimes I observe that Ian quotes emails such as:

Michael> its own MTA. The one at Apptix is the obvious, but Apptix's
Michael> SMTP service is crypted and authenticated, and I haven't found
Michael> a way to make mutt log in as me.

Is this a setting in mutt or does he do that manually? What is the
name of that type of quoting?

Kind regards,

Xu


Re: How does Ian do the "name >" quoting?

2016-01-08 Thread Cameron Simpson

On 08Jan2016 23:34, Xu Wang  wrote:

Sometimes I observe that Ian quotes emails such as:

Michael> its own MTA. The one at Apptix is the obvious, but Apptix's
Michael> SMTP service is crypted and authenticated, and I haven't found
Michael> a way to make mutt log in as me.

Is this a setting in mutt or does he do that manually? What is the
name of that type of quoting?


You can't do it directly in mutt without some extra stuff; mutt has the 
$indent_string variable you can set to replace the standard ">" with a string.  
It is a format string, so you could embed %f and stuff in it. See the doco for 
this setting, which in turn directs you to the $index_format doco for what you 
can put in it.


I used to set it to "| " myself because I thought it looked better, but all 
these weirdnesses make it hard for receiving programs to recognise quoted 
material automatically, and I have abandoned the practice entirely.


My current practice is: leave this alone, and use format=flowed for my 
messages. This actually _requires_ the standard quote indent, and lets me write 
messages (like this one) which will reflow nicely to fit the reader's screen, 
yet look ok in a purely dumb pager like less because it is physically folded 
around 72 characters.


I'm a vim user, so if you also are I can assist in vim modes to aid 
format=flowed composition. I highly recommend it!


Cheers,
Cameron Simpson 


Re: How does Ian do the "name >" quoting?

2016-01-08 Thread Chris Bannister
On Fri, Jan 08, 2016 at 11:34:17PM -0500, Xu Wang wrote:
> Sometimes I observe that Ian quotes emails such as:
> 
> Michael> its own MTA. The one at Apptix is the obvious, but Apptix's
> Michael> SMTP service is crypted and authenticated, and I haven't found
> Michael> a way to make mutt log in as me.
> 
> Is this a setting in mutt or does he do that manually? What is the
> name of that type of quoting?

It is very annoying. Please don't consider it.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X