viewmail-info
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VM] vm-pcrisis


From: Jay Borkenhagen
Subject: Re: [VM] vm-pcrisis
Date: Wed, 5 Dec 2012 14:23:18 -0500

Thanks, Uday!  I guess I did not suspect that I had some typos of that
kind because I did not receive any error messages.

As for the overly-elaborate strings: I agree with you wholeheartedly.
I was using them only to help me stick closer to the texinfo manual.
If you would like me to take a shot at simplifying/correcting the
texinfo, I would gladly do so as my contribution to the cause.

One thing that isn't quite working as I used to have or as is
documented in the texinfo is the prompting.  Per the texinfo:

  One thing to bear in mind is that when you are prompted, there will
  be auto-completion available -- you'll only need to type enough to
  uniquely identify a profile (you won't even need to hit TAB).

I find that I do need to hit tab now to get the auto-completion.  If
my two profiles are "work" and "braeburn", I would like to be able to
type "w RET" and have vm-pcrisis behave as if I had entered the entire
"work RET".  But now "w RET" leaves 'Action "w" does not exist!' in
the minibuffer.


                                        Jay B.


Uday Reddy writes:
 > Hi Jay, when I corrected the two typos in your customization (changing
 > `vmpc-action-alist' to `vmpc-actions-alist', and `vmpc-replies-alist' to
 > `vmpc-reply-alist'), it ran perfectly fine as you were wanting.
 > 
 > By the way, I recommend using standard symbols, e.g., always-true, instead
 > of elaborate strings like "condition that's always true".  The more fancy
 > you make these names, the more chance of typos there will be.  And, they
 > don't have to be strings either.  I don't know why Rob Hodges was so fond of
 > strings.  Symbols work perfectly fine.
 > 
 > Cheers,
 > Uday
 > 
 > 
 > 
 > > (require 'vm-pcrisis)
 > > 
 > > (setq vmpc-conditions 
 > >       '(
 > >         ("condition that's always true"
 > >     't
 > >     )))
 > > 
 > > (setq vmpc-actions
 > >       '(
 > >    ("work"
 > >     (vmpc-substitute-header "From" "Jay Borkenhagen <address@hidden>")
 > >     (vmpc-substitute-header "Reply-To" "Jay Borkenhagen <address@hidden>")
 > >     )
 > > 
 > >    ("braeburn"
 > >     (vmpc-substitute-header "From" "Jay Borkenhagen <address@hidden>")
 > >     (vmpc-substitute-header "Reply-To" "Jay Borkenhagen <address@hidden>")
 > >     )
 > > 
 > >    ("prompt for a profile"
 > >     (vmpc-prompt-for-profile)
 > >     )
 > >    )
 > >       )
 > > 
 > > 
 > > (setq vmpc-action-alist 
 > >       '(
 > >    ("condition that's always true" "prompt for a profile")
 > >    )
 > >       )
 > > 
 > > (setq vmpc-newmail-alist 
 > >       '(
 > >    ("condition that's always true" "prompt for a profile")
 > >    )
 > >       )
 > > 
 > > (setq vmpc-replies-alist 
 > >       '(
 > >    ("condition that's always true" "prompt for a profile")
 > >    )
 > >       )
 > > 
 > > ;;; END pcrisis stuff
 > > ;;;;;;;;;;;;;;;;;;;;;
 > > 
 > > 
 > > 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]