From: "Štěpán Němec" <stepnem@gmail.com>
To: Cecil Westerhof <Cecil@decebal.nl>
Cc: info-gnus-english@gnu.org
Subject: Re: Switching smtpmail-debug-info
Date: Wed, 29 Dec 2010 11:54:12 +0100 [thread overview]
Message-ID: <8762ucq27f.fsf@gmail.com> (raw)
In-Reply-To: <87ipydx3nx.fsf@Compaq.site> (Cecil Westerhof's message of "Tue, 28 Dec 2010 17:28:34 +0100")
Cecil Westerhof <Cecil@decebal.nl> writes:
> Sometimes I want to see the info about the communication with the
> SMTP-server. But I find it not very handy to remember the variable to
> set or reset. That is why I made the folowing function:
> (defun dcbl-switch-smtp-debug-info ()
> (interactive)
> (if smtpmail-debug-info
> (progn
> (setq smtpmail-debug-info nil)
> (message "disabled smtp-debug-info"))
> (setq smtpmail-debug-info t)
> (message "enabled smtp-debug-info")))
a.k.a.
(defun dcbl-switch-smtp-debug-info ()
(interactive)
(setq smtpmail-debug-info (not smtpmail-debug-info))
(message "%sabled smtp-debug-info" (if smtpmail-debug-info "en" "dis")))
Štěpán
prev parent reply other threads:[~2010-12-29 10:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 16:28 Cecil Westerhof
2010-12-29 10:54 ` Štěpán Němec [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762ucq27f.fsf@gmail.com \
--to=stepnem@gmail.com \
--cc=Cecil@decebal.nl \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).