[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting wl-smtp variables in a defun?
- To: wl-en@ml.gentei.org
- Subject: Re: Setting wl-smtp variables in a defun?
- From: Erik Hetzner <egh@e6h.org>
- Date: Tue, 25 Sep 2012 08:14:03 -0700
- Cc: Peter Davis <pfd@pfdstudio.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:reply-to:mime-version:content-type; bh=HNOdxUySooLsPRVkYDICPyjxu4rMonAGSw7DbTBKXzI=; b=RvYXcPGnfLi5me2dhtTp7SKOsYSWsNoKwdBHgQTV0uZp1ENn0VvSi0wclXWlSo1xs6 5/eO22XMu6fABl53PmaZhe7cFZ+t0jNUP5pueeaZGKV3Xko+03JWYCkDZpy6SjNBPsJv VaGSENK4ZXlB/tgvQool8ar+g546N2N7Ek9bHNoVBj1HBvRhRav7WRdJBCfSWiKbAqM3 8o35H+72BwPl3cFaChWsC2eLa0dbh2kIu5iBA6HaToI50TrA/Q+mDV/tuYcdtmAt67lZ B4dzcLvz6SDtMwrD489ydQmgKWeFPI6F5M6mp6c9eYm9x4MrKpUhiHiuHUQA1HoOulWH yHIQ==
- In-reply-to: <CAE-e6g=5NpJU8_m05SUBisgFbTO=Xz=sdJ2Wg3ZRV7we5vO4mA@mail.gmail.com>
- List-help: <mailto:wl-en-ctl@ml.gentei.org?body=help>
- List-id: wl-en.ml.gentei.org
- List-owner: <mailto:wl-en-admin@ml.gentei.org>
- List-post: <mailto:wl-en@ml.gentei.org>
- List-software: fml [fml 4.0 STABLE (20040215/4.0.4_BETA)]
- List-unsubscribe: <mailto:wl-en-ctl@ml.gentei.org?body=unsubscribe>
- References: <CAE-e6g=5NpJU8_m05SUBisgFbTO=Xz=sdJ2Wg3ZRV7we5vO4mA@mail.gmail.com>
- Reply-to: Erik Hetzner <egh@e6h.org>
- Sender: Erik Hetzner <ehetzner@gmail.com>
- User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
At Tue, 25 Sep 2012 09:30:40 -0400,
Peter Davis wrote:
>
> Please excuse my use of GMail. I'm still trying to get two MUAs (Mutt and
> WL) configured on two different systems (Mac Pro at home, MacBook which
> must use different SMTP servers depending on location), so this is the only
> way I *know* the message will get sent. I thought I wrote about this
> yesterday, but I don't see my message anywhere.
>
> I've used emacs for years, but I'm pretty much of a n00b at lisp. I'm
> trying to simplify switch SMTP servers when I move my MacBook around by
> defining two functions: wl-at-work and wl-at-home. They both look sort of
> like this:
>
> […]
Hi Peter,
You have too many parens:
(defun wl-at-work ()
"Set SMTP server to ISC internal one"
(interactive)
(setq wl-smtp-posting-server "smtp.mycompanyinternal.com")
...
)
best, Erik
Sent from my free software system <http://fsf.org/>.