Re: How to be warned about non-existent aliases?

2017-04-27 Thread Cameron Simpson

On 26Apr2017 15:07, Chris Green  wrote:

On Tue, Apr 25, 2017 at 02:34:56PM -0400, Ed Blackman wrote:

On Tue, Apr 25, 2017 at 11:16:05AM +0100, Chris Green wrote:
> Yes, it's a problem I have with mutt too.  For example I'm subscribed
> to a list called uk-rid...@the-hug.net which is aliased to uk-r, or is
> it ukr, or 

alias uk-riders uk-rid...@the-hug.net
# remembering is hard, aliases are cheap
alias uk-r uk-riders
alias ukr uk-riders
alias ukriders uk-riders


Yes, but I belong to 60 or more lists, it would get  bit wordy!


[~/rc/mutt(hg:default)]fleet*> wc aliases-auto
  18662   76167 1125266 aliases-auto

Mwahahaha!

Cheers,
Cameron Simpson 

George, discussing a patent and prior art:
"Look, this  publication has a date, the patent has a priority date,
can't you just compare them?"
Paul Sutcliffe:
"Not unless you're a lawyer."


Re: How to tell GUI MUAs to show message in a fixed font?

2017-04-27 Thread Darac Marjal

On Wed, Apr 26, 2017 at 08:54:45PM +, Grant Edwards wrote:

On 2017-04-26, Matthias Apitz  wrote:

El día miércoles, abril 26, 2017 a las 07:18:30p. m. +, Grant Edwards 
escribió:


> Why should a sender of txt mail be worried about how Gmail or any other
> MUA is rendering a txt mail? Isn't this the responsibility of the user
> of the other MUA to configure it (the font) correctly?

When I send an e-mail it is because I have a desire to convey some
sort of information to the recipient.  Sending an email that the user
will find illegible does not accomplish that goal.


Any normal text mail will be readable, even with non-fixed fonts;
perhaps what you want is


What I want is mainly to be able to include small tables of data.


(when I see, for example, your signature) give your text some
structure in the layout, like tables etc. which is not what text is
for. You should use any formatting language, like HTML or Latex or
groff.


OK, so how does one do that within mutt?


I would suggest that the most prudent approach is to use a lightweight
markup language (LML). LMLs tend to be designed such that, while they
CAN be rendered into a presentation form, the source code is also
(relatively) legible.

So, let's say I wanted to write something in bold. In HTML that could be
bold\textbf{bold}. But in markdown, it's simply **bold**. 


A good LML would have a MIME type associated with it (I see that
markdown does, but reStructuredText doesn't, for example), so it can
either be viewed (as source) in the pager or rendered (as presentation
form) by a mailcap entry.



--
Grant Edwards   grant.b.edwardsYow! Should I get locked
 at   in the PRINCICAL'S
 gmail.comOFFICE today -- or have
  a VASECTOMY??



--
For more information, please reread.


signature.asc
Description: PGP signature


Re: How to be warned about non-existent aliases?

2017-04-27 Thread Antoine Amarilli
On Tue, Apr 25, 2017 at 10:42:17PM +1000, Erik Christiansen wrote:
> As I have edit_headers set, and always enter destinations in the editor,
> there is no possibility of tab-completion in mutt, for semi-manual
> checking. (Though I could scrape the aliases from .muttrc with a few
> lines of awk, to generate a private dictionary for vim, and then use
> spellchecking to flag bung aliases. Thus a quick hack is to hit zg on
> any good alias which fails spellchecking, to add it to the private OK
> spell-list.)

Thanks for this idea! (although it's slightly hacky again :)) I don't
spellcheck all messages though -- and there's also the issue of alias
typos which would happen to be an English word.

> Anyway, +1 for accepting the need for aliases for local destinations, as
> the price for fumble checking in mutt.

I think ideally this should be an option, so people who do write to
local destinations and don't use aliases (or don't mind the typos) are
not bothered.

Best,

-- 
Antoine Amarilli



signature.asc
Description: PGP signature


Re: How to tell GUI MUAs to show message in a fixed font?

2017-04-27 Thread Grant Edwards
On 2017-04-27, Darac Marjal  wrote:
>
>>OK, so how does one do that within mutt?
>
> I would suggest that the most prudent approach is to use a lightweight
> markup language (LML). LMLs tend to be designed such that, while they
> CAN be rendered into a presentation form, the source code is also
> (relatively) legible.
>
> So, let's say I wanted to write something in bold. In HTML that could be
>bold \textbf{bold}. But in markdown, it's simply **bold**. 

Yes, I've been using Tex/LaTeX for 25+ years, various roff flavors for
30+ years, as well as asciidoc, markdown, and re-strucutred text for
not-quite-as-many years.

> A good LML would have a MIME type associated with it (I see that
> markdown does, but reStructuredText doesn't, for example), so it can
> either be viewed (as source) in the pager or rendered (as presentation
> form) by a mailcap entry.

The question was how to do it _within_ _mutt_ instead of preparing an
HTML or PDF file externally and attaching it.

-- 
Grant Edwards   grant.b.edwardsYow! When this load is
  at   DONE I think I'll wash it
  gmail.comAGAIN ...



Error checking new mail in IMAP server

2017-04-27 Thread Luis Muñoz Fuente

Hello:
At first sorry about my English. It does not work the command dot to 
check new mail in IMAP folders. I use Mutt 1.5.24. What is the solution?

Thanks


Re: How to tell GUI MUAs to show message in a fixed font?

2017-04-27 Thread Patrick Shanahan
* Grant Edwards  [04-27-17 11:21]:
> On 2017-04-27, Darac Marjal  wrote:
> >
> >>OK, so how does one do that within mutt?
> >
> > I would suggest that the most prudent approach is to use a lightweight
> > markup language (LML). LMLs tend to be designed such that, while they
> > CAN be rendered into a presentation form, the source code is also
> > (relatively) legible.
> >
> > So, let's say I wanted to write something in bold. In HTML that could be
> >bold > \textbf{bold}. But in markdown, it's simply **bold**. 
> 
> Yes, I've been using Tex/LaTeX for 25+ years, various roff flavors for
> 30+ years, as well as asciidoc, markdown, and re-strucutred text for
> not-quite-as-many years.
> 
> > A good LML would have a MIME type associated with it (I see that
> > markdown does, but reStructuredText doesn't, for example), so it can
> > either be viewed (as source) in the pager or rendered (as presentation
> > form) by a mailcap entry.
> 
> The question was how to do it _within_ _mutt_ instead of preparing an
> HTML or PDF file externally and attaching it.

*attaching* it *is* the way "_winthin_ _mutt_".

mutt is a *text* application, not markup/markdown/html/css/  the way
you define text on *your* system is what you get, not what is sent or what
you send.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/gallery2  Registered Linux User #207535  
  
Photos: http://wahoo.no-ip.org/piwigo@ http://linuxcounter.net


Re: How to tell GUI MUAs to show message in a fixed font?

2017-04-27 Thread Grant Edwards
On 2017-04-27, Patrick Shanahan  wrote:
> * Grant Edwards  [04-27-17 11:21]:
>> On 2017-04-27, Darac Marjal  wrote:
>> >
>> >>OK, so how does one do that within mutt?
>> >
>> > I would suggest that the most prudent approach is to use a lightweight
>> > markup language (LML). LMLs tend to be designed such that, while they
>> > CAN be rendered into a presentation form, the source code is also
>> > (relatively) legible.

[...]

>> The question was how to do it _within_ _mutt_ instead of preparing an
>> HTML or PDF file externally and attaching it.
>
> *attaching* it *is* the way "_winthin_ _mutt_".

I was thinking more along the lines of this:

  https://github.com/Roguelazer/muttdown

But it would be cleaner if there was a way within mutt to run the
message body through such a filter to convert it into
multipart-alternative.

-- 
Grant Edwards   grant.b.edwardsYow! When you get your
  at   PH.D. will you get able to
  gmail.comwork at BURGER KING?



Re: How to be warned about non-existent aliases?

2017-04-27 Thread Ed Blackman
On Wed, Apr 26, 2017 at 03:07:28PM +0100, Chris Green wrote:
> On Tue, Apr 25, 2017 at 02:34:56PM -0400, Ed Blackman wrote:
> > alias uk-riders uk-rid...@the-hug.net
> > # remembering is hard, aliases are cheap
> > alias uk-r uk-riders
> > alias ukr uk-riders
> > alias ukriders uk-riders
> > 
> Yes, but I belong to 60 or more lists, it would get  bit wordy!

I don't generally add lots of alias variants when I subscribe to a new 
list.  But when I see "To: notanalias@$hostname", I immediately open my 
mailing list aliases file and add "alias notanalias whatImeant".  Over a 
small number of posts to the new list, I exhaust the "here's a new way 
to get the alias wrong" space and the aliases cover all the old ways, so 
I don't have to think about what it should be.

Sort of a variant on "put it back in the first place that you looked for 
it", except I put it in all the places!

-- 
Ed Blackman