<<< Date Index >>>     <<< Thread Index >>>

Re: ":source ~/.muttrc" command weirdly moves message around in



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday, June 15 at 11:29 PM, quoth Russell Hoover:
>On Sun 06/15/08 at 11:15 PM -0400, Russell Hoover <rj@xxxxxxxxx> wrote:
>
>> Absolutely.  Though I'm partial to the plus-sign, so I used that
>> instead of "=".
>
>> folder-hook   '(<|+cv|+dm)$'    'set index_format="whatever"'
>                    ^   ^
>
>Looks like I'm better off with the equal-sign (instead of those
>pluses) after all.  The pluses caused a "repetition-operator
>operand invalid" error message.

;)

Remember, you're dealing with a regular expression here, not just a 
folder name - the plus-sign has significance to regular expressions. I 
haven't checked the dev archives, but I'd wager a pretty strong guess 
that that's the reason that mutt provides both symbols as a shortcut 
for $folder, while most other shortcut characters don't have 
alternates.

~Kyle
- -- 
Computers are useless. They can only give you answers.
                                                       -- Pablo Picasso
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkhV38AACgkQBkIOoMqOI17lNQCePMkOaha4M+HD3uakOKQoFcap
jmwAn1CYL9LUOzG7oor0WbnGIfTirHvq
=KlYY
-----END PGP SIGNATURE-----