what does the leading - mean in the attachment view?

2018-03-13 Thread Yubin Ruan
Hi,

Just out of curious: in the attachment view (of the compose view), there are
some attachments with a - before them:

---
- I1 /path/to/file1   [text/plain, 7 bit, us-ascii, 13]
- A1 /path/to/file2   [text/plain, 7 bit, us-ascii, 13]

what does that - mean?

Yubin


Re: Mailing list status

2018-03-13 Thread Fred Smith
On Tue, Mar 13, 2018 at 03:05:47PM -0700, Kevin J. McCarthy wrote:
> On Tue, Mar 13, 2018 at 02:39:47PM -0700, Kevin J. McCarthy wrote:
> > OSUOSL is making some adjustments to the lists right now (to fix the
> > errant http://mutt.org/mailman) links.  I think they have accidentally
> > goofed up the list ids and headers in the process.  I've let them know
> > about the problem - sorry for the confusion.
> 
> Replying to myself to check the headers.  Please pardon the noise.

well, FWIW, I just happened to have set procmail to use a header
that (so far) remains intact, so (again, so far) I'm golden:

# mutt-users
:0:
* ^TOmutt-users
| $FORMAIL -A"X-procmail: Mutt-Users" >>$HOME/Mail/mutt-users

# mutt-announce
:0:
* ^TOmutt-announce
| $FORMAIL -A"X-procmail: Mutt-Users" >>$HOME/Mail/mutt-users



-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --


Re: Mailing list status

2018-03-13 Thread Kevin J. McCarthy
On Tue, Mar 13, 2018 at 02:39:47PM -0700, Kevin J. McCarthy wrote:
> OSUOSL is making some adjustments to the lists right now (to fix the
> errant http://mutt.org/mailman) links.  I think they have accidentally
> goofed up the list ids and headers in the process.  I've let them know
> about the problem - sorry for the confusion.

Replying to myself to check the headers.  Please pardon the noise.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: Mailing list status

2018-03-13 Thread Alexander Dahl
Hei hei,

On Tue, Mar 13, 2018 at 01:18:21PM -0700, Will Yardley wrote:
> Is the osuosl.org domain going to show up in the headers sometimes as
> well? I'm seeing most stuff w/ mutt.org in the headers, but most recent
> message came via osuosl.org domain - maybe Mailman vhost settings need
> to be updated?

I already saw three different List-Id settings in the last two days now:

* mutt-users.mutt.org
* mutt-users.osuosl.org
* mutt-users.lists.mutt.org

I added all of those to my exim forward filter rules, but I would
appreciate if this could settle to some final value soon. ;-)

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured, 
the first thought forbidden, the first freedom denied, chains us all 
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6 ***


signature.asc
Description: PGP signature


Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread David Woodfall

On (13/03/18 09:58), Kevin J. McCarthy  put forth the proposition:

On Tue, Mar 13, 2018 at 02:20:19PM +, David Woodfall wrote:

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.


I think the mailbox may need to be reopened for mutt to reprocess the
headers, because they are stored in memory.

In version 1.8.0 and higher, the  function can be used to
save your place, and the value in $mark_macro_prefix to restore it:
 macro index ,r "a^'a"


That does sound like the way. I'll upgrade. Thanks.


Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread Kevin J. McCarthy
On Tue, Mar 13, 2018 at 02:20:19PM +, David Woodfall wrote:
> I have a couple of binds to change charset between UTF-8/ISO-8859-1.
> The problem is that I need to exit from the pager and then reopen the
> message to see the changes, so I added those commands to the macro,
> which works fine.
> 
> However, this doesn't work in the index, so is there a way to redraw
> the screen after a charset change? I don't see anything in the manual
> about it.

I think the mailbox may need to be reopened for mutt to reprocess the
headers, because they are stored in memory.

In version 1.8.0 and higher, the  function can be used to
save your place, and the value in $mark_macro_prefix to restore it:
  macro index ,r "a^'a"

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: Mailing list status

2018-03-13 Thread Pete Kelly
On Tue, Mar 13, 2018 at 06:29:10PM +1100, Erik Christiansen wrote:
> On 13.03.18 08:31, Cameron Simpson wrote:
> > On 12Mar2018 12:31, Kevin J. McCarthy  wrote:
> > > The new mailing list server uses GNU mailman.  There are likely a few
> > > things that need to be tweeked.  Please let me know about any issues.
> > 
> > I notice that the Sender: header now says {listname}-boun...@mutt.org
> > whereas before it said owner-{listname}@mutt.org. (Because my mail filing
> > rule no longer matched.)
> 
> Works flawlessly here, as at some point I'd switched procmail to look
> at List-Post: instead. (Perhaps there was some other change some years
> back, to prompt that.)
> 
> Many thanks Kevin, for keeping us afloat - and for building the ship.
> 
> Erik

Definitely a +1 from here.

Thanks for all that you do!

Pete


Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread David Woodfall

On (13/03/18 15:12), Dave Woodfall  put forth the 
proposition:

On (13/03/18 11:02), Jude DaShiell  put forth the 
proposition:

In ssh try tilde-r.
On Tue, 13 Mar 2018, David Woodfall wrote:


It doesn't do anything. I set EscapeChar ~ in ~/.ssh/config, but I
think my terminal must be grabbing it. Maybe there's a screen command
to do it?


Well C-l redraws the screen, but the characters don't change. I think
it's mutt that needs to redraw, not ssh or screen.


Date: Tue, 13 Mar 2018 10:55:18
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Re: Is it possible to redraw screen after doing a charset change?

On (13/03/18 10:38), Jude DaShiell  put forth 
the proposition:
Going assumption is you're running a g.u.i.  That being the 
case, try running xrefresh.

On Tue, 13 Mar 2018, David Woodfall wrote:


I'm using mutt over ssh on a headless server. No X.



Date: Tue, 13 Mar 2018 10:20:19
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Is it possible to redraw screen after doing a charset change?

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.




--






--



Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread David Woodfall

On (13/03/18 11:02), Jude DaShiell  put forth the 
proposition:

In ssh try tilde-r.
On Tue, 13 Mar 2018, David Woodfall wrote:


It doesn't do anything. I set EscapeChar ~ in ~/.ssh/config, but I
think my terminal must be grabbing it. Maybe there's a screen command
to do it?


Date: Tue, 13 Mar 2018 10:55:18
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Re: Is it possible to redraw screen after doing a charset change?

On (13/03/18 10:38), Jude DaShiell  put forth 
the proposition:
Going assumption is you're running a g.u.i.  That being the case, 
try running xrefresh.

On Tue, 13 Mar 2018, David Woodfall wrote:


I'm using mutt over ssh on a headless server. No X.



Date: Tue, 13 Mar 2018 10:20:19
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Is it possible to redraw screen after doing a charset change?

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.




--






--



Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread Jude DaShiell

In ssh try tilde-r.
On Tue, 13 Mar 2018, David Woodfall wrote:


Date: Tue, 13 Mar 2018 10:55:18
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Re: Is it possible to redraw screen after doing a charset change?

On (13/03/18 10:38), Jude DaShiell  put forth the 
proposition:
Going assumption is you're running a g.u.i.  That being the case, try 
running xrefresh.

On Tue, 13 Mar 2018, David Woodfall wrote:


I'm using mutt over ssh on a headless server. No X.



Date: Tue, 13 Mar 2018 10:20:19
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Is it possible to redraw screen after doing a charset change?

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.




--






--



Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread Jude DaShiell
Going assumption is you're running a g.u.i.  That being the case, try 
running xrefresh.

On Tue, 13 Mar 2018, David Woodfall wrote:


Date: Tue, 13 Mar 2018 10:20:19
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Is it possible to redraw screen after doing a charset change?

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.




--



Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread David Woodfall

On (13/03/18 10:38), Jude DaShiell  put forth the 
proposition:
Going assumption is you're running a g.u.i.  That being the case, try 
running xrefresh.

On Tue, 13 Mar 2018, David Woodfall wrote:


I'm using mutt over ssh on a headless server. No X.



Date: Tue, 13 Mar 2018 10:20:19
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Is it possible to redraw screen after doing a charset change?

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.




--



Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread David Woodfall

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.


Re: line editor keybindings

2018-03-13 Thread Christian Brabandt

On Di, 13 Mär 2018, Florian Lohoff wrote:

> On Tue, Mar 13, 2018 at 11:13:08AM +0100, Marco Dickert wrote:
> > On 2018-03-13 20:50:20, Erik Christiansen wrote:
> > > On 13.03.18 10:09, andreas.muel...@biologie.uni-osnabrueck.de wrote:
> > > >   can I switch the editor key bindings to the vi style ?
> > > There is better than that - you can use vim as the mutt editor, with
> > > this line in ~/.muttrc:
> > > 
> > > set editor=vim
> > 
> > You also may want to use a mutt-dedicated vim configuration, like I do:
> > 
> > 
> > set editor="/usr/bin/vim -c ~/.mutt/vimrc"
> > 
> 
> As an alternative:
> 
> au BufRead,BufNewFile /home/flo/tmp/mutt-* set noai tw=72 ft=mail spell
> 
> Obviously you need to change you path for your setup.

Even better:

Make sure to have a `:filetype plugin on` in your .vimrc
and then drop all your mutt related settings below 
~/.vim/ftplugin/mail.vim
(create non-existent directories).

Then you only need `:set editor=vim` because Vim already recognizes mutt 
mails as filetype=mail.

See also here:
https://www.256bit.org/~chrisbra/cms/vim_as_e-mail_editor.html


regards,
Christian
-- 
MS-DOS must die!


Re: line editor keybindings

2018-03-13 Thread Erik Christiansen
On 13.03.18 11:13, Marco Dickert wrote:
> On 2018-03-13 20:50:20, Erik Christiansen wrote:
> > On 13.03.18 10:09, andreas.muel...@biologie.uni-osnabrueck.de wrote:
> > >   can I switch the editor key bindings to the vi style ?
> > There is better than that - you can use vim as the mutt editor, with
> > this line in ~/.muttrc:
> > 
> > set editor=vim
> 
> You also may want to use a mutt-dedicated vim configuration, like I do:
> 
> 
> set editor="/usr/bin/vim -c ~/.mutt/vimrc"
> 

Yes, good point. It can alternatively be handled by a vim autocommand,
e.g.:

au BufNewFile,BufRead   ~/Desktop/mutt-*   call Set_for_mutt()

function! Set_for_mutt() 
setlocal textwidth=72 
setlocal formatoptions=qrjt

" Change subthread Subject:  
noremap  ^[gg/^Subject:^MWi [Was: ^OB
"
"Don't quote sig in email replies:
normal :g/^> -- $/,/^$/-1d^M/^$^M^L
endfunction

And for prompting for attachments if they're mentioned in the email,
install CheckAttach.vim & enable it by filetype:

" CheckAttach.vim is a filetype plugin.
filetype plugin on

Note: In ~/.muttrc , there's:

set tmpdir="~/Desktop"  # If not in ~/postponed after a crash, look here.

The autocommand's second field needs to match.

Separate .vimrc files slightly smaller, but raise the problem of
maintaining multiple copies, when common lines are edited. When
there's only one, the problem does not arise.

Erik


Re: line editor keybindings

2018-03-13 Thread Andreas.Mueller
  oh yes, I already have that setting..

  but I mean the "littel" line at the bottom of my mutt witch I can
  enter with the ':' char

  in my bash I switch to that behavior with

set -o vi

  some hints ?

- thanks! -


  greetings
  Andreas


On 13.03.18 20:50, Erik Christiansen wrote:
> On 13.03.18 10:09, andreas.muel...@biologie.uni-osnabrueck.de wrote:
> > 
> >   can I switch the editor key bindings to the vi style ?
> 
> There is better than that - you can use vim as the mutt editor, with
> this line in ~/.muttrc:
> 
> set editor=vim
> 
> On a *nix platform, it would be very poor to be unable to use your
> favourite editor everywhere.
> 
> Erik

-- 
Andreas Müller - Raum: 35/114b - Tel: 2875


Re: line editor keybindings

2018-03-13 Thread Florian Lohoff
On Tue, Mar 13, 2018 at 11:13:08AM +0100, Marco Dickert wrote:
> On 2018-03-13 20:50:20, Erik Christiansen wrote:
> > On 13.03.18 10:09, andreas.muel...@biologie.uni-osnabrueck.de wrote:
> > >   can I switch the editor key bindings to the vi style ?
> > There is better than that - you can use vim as the mutt editor, with
> > this line in ~/.muttrc:
> > 
> > set editor=vim
> 
> You also may want to use a mutt-dedicated vim configuration, like I do:
> 
> 
> set editor="/usr/bin/vim -c ~/.mutt/vimrc"
> 

As an alternative:

au BufRead,BufNewFile /home/flo/tmp/mutt-* set noai tw=72 ft=mail spell

Obviously you need to change you path for your setup.

Flo
-- 
Florian Lohoff f...@zz.de
 UTF-8 Test: The  ran after a , but the  ran away


signature.asc
Description: PGP signature


Re: line editor keybindings

2018-03-13 Thread Marco Dickert
On 2018-03-13 20:50:20, Erik Christiansen wrote:
> On 13.03.18 10:09, andreas.muel...@biologie.uni-osnabrueck.de wrote:
> >   can I switch the editor key bindings to the vi style ?
> There is better than that - you can use vim as the mutt editor, with
> this line in ~/.muttrc:
> 
> set editor=vim

You also may want to use a mutt-dedicated vim configuration, like I do:


set editor="/usr/bin/vim -c ~/.mutt/vimrc"


My ~/.mutt/vimrc looks like this:


syntax on
set background=dark
set showcmd
set showmatch
set tabstop=4
set sw=4
set expandtab
set ft=mail
set tw=80


-- 
Marco Dickert
ma...@misterunknown.de
https://misterunknown.de


smime.p7s
Description: S/MIME cryptographic signature


Re: line editor keybindings

2018-03-13 Thread Erik Christiansen
On 13.03.18 10:09, andreas.muel...@biologie.uni-osnabrueck.de wrote:
> 
>   can I switch the editor key bindings to the vi style ?

There is better than that - you can use vim as the mutt editor, with
this line in ~/.muttrc:

set editor=vim

On a *nix platform, it would be very poor to be unable to use your
favourite editor everywhere.

Erik


line editor keybindings

2018-03-13 Thread Andreas.Mueller
  Hi,

  can I switch the editor key bindings to the vi style ?

  greetings
  Andreas

-- 
Andreas Müller


Re: Mailing list status

2018-03-13 Thread Erik Christiansen
On 13.03.18 08:31, Cameron Simpson wrote:
> On 12Mar2018 12:31, Kevin J. McCarthy  wrote:
> > The new mailing list server uses GNU mailman.  There are likely a few
> > things that need to be tweeked.  Please let me know about any issues.
> 
> I notice that the Sender: header now says {listname}-boun...@mutt.org
> whereas before it said owner-{listname}@mutt.org. (Because my mail filing
> rule no longer matched.)

Works flawlessly here, as at some point I'd switched procmail to look
at List-Post: instead. (Perhaps there was some other change some years
back, to prompt that.)

Many thanks Kevin, for keeping us afloat - and for building the ship.

Erik