* Switching smtpmail-debug-info
@ 2010-12-28 16:28 Cecil Westerhof
2010-12-29 10:54 ` Štěpán Němec
0 siblings, 1 reply; 2+ messages in thread
From: Cecil Westerhof @ 2010-12-28 16:28 UTC (permalink / raw)
To: info-gnus-english
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")))
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Switching smtpmail-debug-info
2010-12-28 16:28 Switching smtpmail-debug-info Cecil Westerhof
@ 2010-12-29 10:54 ` Štěpán Němec
0 siblings, 0 replies; 2+ messages in thread
From: Štěpán Němec @ 2010-12-29 10:54 UTC (permalink / raw)
To: Cecil Westerhof; +Cc: info-gnus-english
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-29 10:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-28 16:28 Switching smtpmail-debug-info Cecil Westerhof
2010-12-29 10:54 ` Štěpán Němec
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).