Re: Cygwin mutt barfs on spaces in set variable?

2002-07-07 Thread Lee J. Moore

On Sun, 07 Jul 2002, [EMAIL PROTECTED] wrote:

 I am having a problem setting variables whose contents should contain (one
 or more) spaces. I don't know if it is something I am doing wrong or what is
 going on. Here is an example:
 folder-hook mutt set from=Gary Jones my@emailaddress
 to which mutt says Jones: unknown variable when I enter the folder. Is it
 me? Is there a solution?

Try:

folder-hook mutt set from='Gary Jones my@emailaddress'
-- 
Lee J. Moore
[EMAIL PROTECTED]

Benefit the community and reply to the list



msg29423/pgp0.pgp
Description: PGP signature


Re: Cygwin mutt barfs on spaces in set variable?

2002-07-07 Thread mutt

Lee J. Moore [EMAIL PROTECTED] wrote:
 On Sun, 07 Jul 2002, [EMAIL PROTECTED] wrote:
  Here is an example:
  folder-hook mutt set from=3DGary Jones my@emailaddress
 Try:
 
 folder-hook mutt set from=3D'Gary Jones my@emailaddress'

Coo, that works fine! TVM! Why is the other way not acceptable? That seems to
be the way that the example .muttrcs have.

___
The FREE service that prevents junk email http://www.mailshell.com



Re: Cygwin mutt barfs on spaces in set variable?

2002-07-07 Thread Vincent Lefevre

On Sun, Jul 07, 2002 at 11:16:19 -0700, [EMAIL PROTECTED] wrote:
 Lee J. Moore [EMAIL PROTECTED] wrote:
  On Sun, 07 Jul 2002, [EMAIL PROTECTED] wrote:
   Here is an example:
   folder-hook mutt set from=Gary Jones my@emailaddress
  Try:
  
  folder-hook mutt set from='Gary Jones my@emailaddress'
 
 Coo, that works fine! TVM! Why is the other way not acceptable? That seems to
 be the way that the example .muttrcs have.

Because I suppose that the outer quotes are removed when parsing the
string for the folder-hook command.

1st case: you get: set from=Gary Jones my@emailaddress
2nd case: you get: set from='Gary Jones my@emailaddress'

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: Cygwin mutt barfs on spaces in set variable?

2002-07-06 Thread Michael Tatge

[EMAIL PROTECTED] ([EMAIL PROTECTED]) muttered:
 I am having a problem setting variables whose contents should contain (one
 or more) spaces. I don't know if it is something I am doing wrong or what is
 going on. Here is an example:
 folder-hook mutt set from=Gary Jones my@emailaddress
 to which mutt says Jones: unknown variable when I enter the folder. Is it
 me? Is there a solution?

  6.3.55.  from

  Type: e-mail address
  Default: 

  When set, this variable contains a default from address.  It can
  be overridden using my_hdr (including from send-hooks) and
  $reverse_name.

  Defaults to the EMAIL environment variable's content.


set from=my@emailaddress
set realname=Gary Jones

folder-hook mutt 'my_hdr From: Gary Jones myother@emailaddress'

HTH,

Michael
-- 
I once witnessed a long-winded, month-long flamewar over the use of
mice vs. trackballs...It was very silly.
(By Matt Welsh)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key