BUG - wrapping lines in muttrc
Hi, I think I may have found a possible bug in the way .muttrc is parsed. I ran into this while setting up a folder-hook option. If \ is the last character on a line that's commented out, mutt seems to read the line instead of ignoring it. Here are my test cases: Test Case 1 - = #folder-hook .\ folder-hook (mutt-users|debian-.*|vim) \ push delete-pattern~r6wenter = Result - The folder-hook does not work. Test Case 2 - = #folder-hook .\Space folder-hook (mutt-users|debian-.*|vim) \ push delete-pattern~r6wenter = Result - The folder-hook is enabled. Could somebody please reproduce this and verify that it is indeed the case? If it is verified I will file a bug report. Thanks, Andy
Re: BUG - wrapping lines in muttrc
--gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Andy Saxena [EMAIL PROTECTED], 2002-08-04 13:40 -0400: Hi, =20 I think I may have found a possible bug in the way .muttrc is parsed. I ran into this while setting up a folder-hook option. =20 If \ is the last character on a line that's commented out, mutt seems to read the line instead of ignoring it. =20 Here are my test cases: Test Case 1 - =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #folder-hook .\ folder-hook (mutt-users|debian-.*|vim) \ push delete-pattern~r6wenter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Result - The folder-hook does not work. Shouldn't it be folder-hook . \ ^ Test Case 2 - =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #folder-hook .\Space folder-hook (mutt-users|debian-.*|vim) \ push delete-pattern~r6wenter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Result - The folder-hook is enabled. =20 Could somebody please reproduce this and verify that it is indeed the case? If it is verified I will file a bug report. I don't see the bug :) -Andre --gj572EiMnwbLXET9 Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9TWfZWkhBtALlJZ0RAv52AJ4l/icuyIt8YamVWWhQinHg7FSPRwCfVETH vQUcOQoOcPCo3iFuQyHBBE4= =Fvqs -END PGP SIGNATURE- --gj572EiMnwbLXET9--
Re: BUG - wrapping lines in muttrc
On Sun 04-Aug-2002 at 01:39:21 -0400, Andy Saxena wrote: I think I may have found a possible bug in the way .muttrc is parsed. I ran into this while setting up a folder-hook option. If \ is the last character on a line that's commented out, mutt seems to read the line instead of ignoring it. The \ at the end of the line continues the comment: # this is a comment that \ continues over multiple \ lines. I was caught by this, vim syntax highlighting isn't 100% with such obscure stuff. -- Bruno