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

Re: Problems with save-hook



* DervishD <raul@xxxxxxxxxxxx> [2004-02-24 14:18 +0100]:
>     This must be a nonsense, but my save-hook's don't work. I have
> this in my rcfile:
> 
>     save-hook ~A =Saved
>     save-hook '~f an@xxxxxxxxxxx' =Gobox
>     save-hook '~s Movement' =Gobox
> 
>     Only the first one works (I've tested changing the box it saves
> to.) the rest simply got ignored. I haven't a 'default_hook', because
> I want more control on matching and because I like it. I've tested
> with other expressions, like '^.*Movement.*$', etc... so it doesn't
> seems to be a problem with regex. How can I debug it?

~A _is_ a default hook. And IIRC then the first matching save-hook
terminates the search (unlike e.g. folder-hooks). Try reversing the
order of the hooks.

Nicolas