Re: send-hook my_hdr unknown variable
- To: mutt-users@xxxxxxxx
- Subject: Re: send-hook my_hdr unknown variable
- From: Javier Rojas <jerojasro@xxxxxxxxx>
- Date: Mon, 8 Oct 2007 00:20:28 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=L608CfNbuZl+ZP3c3Tpp8kCe38ciOo22yTpKj3CPYVU=; b=Np4yBR2zI+hMQq1CGveAy3OEgjxmyLppeKCJPpRgnZJt7bVaE88JOCeyKjq1XTNvadhBRPH8SCwoXzCIQcbCwUBob5XiNaWnIoAGrCYUJeIGt/35dr8CiHi8Scm/VxdEnpEYIKfIxX1ygBonj61a1P7N17TS3GEy/QE7g+YSe9U=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=N3lVq5JFKBFLhJVKF4Aa06fCjLLaafS49SCevYYs0s89GOQUnLBs7Auxd9p2aNUUsP9DVWYkX+Ch/ajuCm9O2R8DZvDLOOaSIF835h5iVmTifaA2XBlabpjaSITbTH/cITtYfFpnq6ct+VGrUWbnuT9YIbuE/6h+xUokISzBBhA=
- In-reply-to: <20071008051529.GA14639@xxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20071008051529.GA14639@xxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-09)
On Sun, Oct 07, 2007 at 11:15:29PM -0600, Joseph wrote:
> Is there a limit how many variable I can assign to a hook?
> I have below:
>
> send-hook . 'unmy_hdr From:'
> send-hook '~t ^xxxx@xxxxxxxxx' 'set signature=~/.mutt/signature-personal'
> 'my_hdr From: Joseph <xxxxx@xxxxxxxxxxxx>
>
> The signature part is working but my_hdr gives me "unknown variable"
> when I try to compose a message.
first of all, you are missing the ending ' on the second hook
second, the hook only accepts one string. If you need it to do all that,
you should put both commands in one string (that's what I remember, or
maybe you'll have to define 2 hooks)
Greets,
--
Javier Rojas
GPG Key ID: 0xA1C57061
Attachment:
pgpDTJqr1LJni.pgp
Description: PGP signature