Re: [solved] Highlighted item in pager status bar setting

2013-04-17 Thread rj
On Wed 17 at 01:21 PM -0700, Gary Johnson wrote: > This highlighting is determined by the file > $VIMRUNTIME/syntax/muttrc.vim. Perhaps yours is old and contains some > bugs or does support the version of mutt you're using. Excellent point. I grabbed the latest muttrc.vim file (dated 2012-02-0

Re: Highlighted item in pager status bar setting

2013-04-17 Thread rj
On Wed 17 at 02:00 PM -0400, Paul Hoffman wrote: > I use vim and it knows I'm editing a file of type muttrc, which is nice. Likewise for myself on both counts. > My guess is that your editor is applying the wrong syntax hiliting rules. This very well could be the case, though I don't quite get

Re: Highlighted item in pager status bar setting

2013-04-17 Thread rj
On Wed 17 at 01:27 PM -0400, Paul Hoffman wrote: > Do you mean that when you open .muttrc in your editor, the two > characters "%>" are highlighted? Exactly. And this is not an artifact of any highlighting I may have accidentally applied. I've seen it several times before -- the highlighting

Highlighted item in pager status bar setting

2013-04-16 Thread rj
The "%>" in the pager_format setting below is highlighted in red in my .muttrc. I have a feeling mutt is trying to tell me something about my use of that escape sequence there by this, but I don't know what. # Format of the pager status bar: set pager_format="-%S- [%C/%m] %n%s%> %P

Re: writing macros correctly

2013-04-16 Thread rj
On Tue 16 at 06:25 PM -0600, "s. keeling" wrote: > Incoming from rj: > > On Tue 16 at 04:21 PM -0700, "Kevin J. McCarthy" wrote: > > > > I may also be able to get rid of the '+10' setting as, which s. keeling > > pointed out, seems t

Re: writing macros correctly

2013-04-16 Thread rj
On Tue 16 at 04:21 PM -0700, "Kevin J. McCarthy" wrote: > The settings you change are not local to the macro. So when you turn > off include, it will stay off even after you finish replying. If you > have other macros where you want it on, you'll have to turn it back on > for each of those. I

Re: writing macros correctly

2013-04-16 Thread rj
On Tue 16 at 04:43 PM -0600, "s. keeling" wrote: > Why are you doing this? In mutt, I hit "r", and emacs fires up with > the contents of the email I'm replying to. What are you doing that > improves or differs from that, and why are you needing to stuff a > macro to do it? For reply with quot

Re: writing macros correctly

2013-04-16 Thread rj
On Tue 16 at 12:15 PM -0700, "Kevin J. McCarthy" wrote: > rj wrote: > > macro index,pager p "set editor='vim +10'" > > "list-reply with quoting" > > macro index,pager _R "set editor='vim +10'" > >

Re: [SOLVED] writing macros correctly

2013-04-16 Thread rj
On Tue 16 at 09:00 AM +0100, James Griffin wrote: > RJ, Kevin's macro here is the usual way macros are written, as opposed > to using control sequences as you've done. It's a lot clearer when > looking at it. And it's best to write the macro using explicit com

Re: [off-topic] Re: [not-quite-SOLVED] "set include=yes" bypasses Compose Menu

2013-04-15 Thread rj
On Mon 15 at 12:19 PM -0600, "s. keeling" wrote: > . . . Why do you need to explicitly set editor=vim? Or, are you just > doing that to get the "+10" functionality? That's correct. Though I set up that macro quite awhile ago I think if I could have made it more elegant, i.e., with fewer comm

Re: [SOLVED] "set include=yes" bypasses Compose Menu

2013-04-14 Thread rj
On Mon 15 at 12:04 AM -0400, rj wrote: > That would mean that although this line cures the problem, something else > is causing it. What was causing it was this key binding: bind index,pager { reply# Restored to 'r' in macro below. combined with this macro: macr

Re: "set include=yes" bypasses Compose Menu

2013-04-14 Thread rj
#x27; send-hook '~Chfha-members' 'my_hdr From: rj ' # send-hook '(~Czsh-users| ~Cmutt-users| ~Cvex)' 'set crypt_autosign; my_hdr From: rj ' Usually the last one is not commented-out. When it is, I get the problem I described. The key is to comment-out eith

"set include=yes" bypasses Compose Menu

2013-04-13 Thread rj
I'm finding that if I set set include=yes when I finish writing a reply in vim, the message gets sent *instantly* upon my hitting the command to exit the editor. The Compose Menu doesn't appear at all. If I unset include=yes, I no longer have that problem, but then of course I get the

"new mail" notification at startup (when there isn't any)

2011-12-18 Thread rj
I recently set up my mutt to work via IMAP, and now I notice that for the first five seconds after I open mutt, I get the "2 boxes w/new mail" (or, sometimes, "1 boxes w/new mail) notification in the index status bar. Then it disappears. This occurs when there is no new mail in any of my mailbox

Re: add USER mail into mutt mailboxes list

2011-12-15 Thread rj
On Fri 16 at 09:43 AM +1100, Cameron Simpson wrote: > On 15Dec2011 22:00, stardiviner wrote: > | I use mailboxes like this: > | > | mailboxes =/var/mail/chris > | mailboxes =Python > | mailboxes =Python/python > | mailboxes =Python/comp-lang-py > | mailboxes =Python/Django >

Re: hook to save all msgs in folder A to folder B?

2011-12-15 Thread rj
On Thu 15 at 03:19 PM -0500, rj wrote: > Btw, you can shorten the above to: > macro index,pagers S s=Spam.spam\n Correction: that should be: macro index,pager S s=Spam.spam\n pgpiUEqgbbFO3.pgp Description: PGP signature

Re: hook to save all msgs in folder A to folder B?

2011-12-15 Thread rj
On Thu 15 at 06:32 AM -0500, Patrice Levesque wrote: > macro index S s=Spam.spam\n > macro pager S s=Spam.spam\n Thank you! This does the trick. I asked in terms of a hook because I assumed there was one of those "percent-sign-whatever" sequences that would work per folder, but may

Re: hook to save all msgs in folder A to folder B?

2011-12-15 Thread rj
On Thu 15 at 06:32 AM -0500, Patrice Levesque wrote: > macro index S s=Spam.spam\n > macro pager S s=Spam.spam\n Thank you! That did the trick. I asked in terms of hooks because I thought there might be one of those percent sequences that worked on folders or some such. Btw, you c

Re: hook to save all msgs in folder A to folder B?

2011-12-14 Thread rj
On Thu 15 at 01:37 AM -0500, rj wrote: > Let's say I want to save to folder "Spam.spam" all the messages that have > landed in folder "Spam.unsure" no matter who they're from or to. Or most, or even some of the messages. > What would a hook to do this loo

hook to save all msgs in folder A to folder B?

2011-12-14 Thread rj
I am in folder "Spam.unsure" looking at messages that have landed there. Let's say I want to save to folder "Spam.spam" all the messages that have landed in folder "Spam.unsure" no matter who they're from or to. What would a hook to do this look like? -- Think-tank cops & undercover cops

Sudden move to IMAP, now no index-display of number-of-lines per msg

2011-12-11 Thread rj
I've been running mutt on a remote ISP via ssh for several years with a fully configured muttrc. All of the ISP's servers were recently attacked through its shell, and now the admin has separated its mail server from everything else. All mail access is now via IMAP. This has broken several thing

Re: forwarding mail

2009-04-22 Thread rj
On Sat 03/28/09 at 09:50 AM +0100, Sander Smeenk wrote: > macro index f ":set mime_forward=no\n" > macro pager f ":set mime_forward=no\n" > macro index F ":set mime_forward=yes\n:set > mime_forward_decode=no\n" > macro pager F ":set mime_forward=yes\n:set > mime_forward_decode=no\n" If I'm no

Re: re-casting previous question

2009-04-12 Thread rj
On Sun 04/12/09 at 11:01 PM -0700, George Davidovich wrote: > Your question is not a mutt question, As it's the first time I've tried installing mutt (on any system), I assumed it was a mutt question. I know now that it's an OS issue, not a mutt issue. You and the list have my mea culpa. pg

Re: re-casting previous question

2009-04-12 Thread rj
Also just to add that I'm working on FreeBSD 7.1: --> uname -a FreeBSD shell.vex.net 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 pgpWGZufgklAq.pgp Description: PGP signature

re-casting previous question

2009-04-12 Thread rj
Maybe I should re-phrase my previous question to ask what does the warning "Makefile:120: *** missing separator. Stop." actually mean, how should I interpret it and what should I do about it? Thanks for any pointers. pgpyV5d3hiip6.pgp Description: PGP signature

Makefile:120: *** missing separator. Stop.

2009-04-12 Thread rj
As a user on a FreeBSD system (without root access) I'd like to try to install (in my home dir, for now) mutt-1.5.19. I want to have it use S-Lang 2.1.4. Fisrt off, is this even possible for me to do without root access? (This is also the first time I've ever tried to build / compile / install m

Keeping all headers on edited messages piped thru procmail?

2009-01-01 Thread rj
When I edit a message, the edited version of it appears as a separate, new message in mutt's index, but without a "Lines:" header. So I pipe it through procmail where I have this in my procmailrc: # # Generate a "Lines:" header (needed for

Re: Can I make one send-hook command out of these two?

2008-12-13 Thread rj
On Fri 12/12/08 at 02:54 PM -0500, rj wrote: > send-hook '(~C @mutt\.org| ~C @sunsite)' 'my_hdr From: rj ' > send-hook '(~C @mutt\.org| ~C @sunsite)' 'set crypt_autosign' > > Can I put the 'set crypt_autosign' somewhere in the top

Re: red background warning in .muttrc

2008-12-12 Thread rj
On Fri 12/12/08 at 02:56 PM -0600, Kyle Wheeler wrote: > If you can find any more bugs in the highlighting, please let me know > (though you can just send them straight to me; they don't have much to do > with mutt itself, and would, if anything, be more appropriate to the > vim-dev list). Yes,

Re: red background warning in .muttrc

2008-12-12 Thread rj
Also, in this "bind" .muttrc command, "tag-subthread" is red-highlighted, & I'm not sure why: bind index -tag-subthread # Tag the current subthread. All my other "bind" commands have the empty char to the right of the command-name in red highlight, if I have a comment to the right

red background warning in .muttrc

2008-12-12 Thread rj
The following color definition in my .muttrc does what I want it to, but the ">15k" part of "~z>15k" is highlighted with a bright red background, which I believe is indicating to me that the way I have it written isn't quite correct. I tried various quotings and spacings but couldn't get rid of th

Can I make one send-hook command out of these two?

2008-12-12 Thread rj
send-hook '(~C @mutt\.org| ~C @sunsite)' 'my_hdr From: rj ' send-hook '(~C @mutt\.org| ~C @sunsite)' 'set crypt_autosign' Can I put the 'set crypt_autosign' somewhere in the top send-hook? I tried doing it several ways, but don't know if it&

can sign from PGP menu but not from S/MIME menu

2008-12-07 Thread rj
When I try to "(s)ign" an outgoing message from the S/MIME menu ("S" from within the Compose Menu), I'm getting this warning: "Can't sign: No key specified. Use Sign As." And when I try to "sign (a)s" from the S/MIME menu, I get this warning: "/.index: No such file or directory (errno = 2)" . By