;; Dialup if gnus-offline-dialup-program is specified
(if (stringp gnus-offline-dialup-program)
(progn
- (message (gnus-offline-gettext 'connect-server-1))
+ (message "%s" (gnus-offline-gettext 'connect-server-1))
(apply 'call-process gnus-offline-dialup-program nil nil nil
gnus-offline-dialup-program-arguments)
(sleep-for 1)
- (message (gnus-offline-gettext 'connect-server-2)))))
+ (message "%s" (gnus-offline-gettext 'connect-server-2)))))
;;
;; Jobs before get new news , send mail and post news.
;; Set send mail/news functions to online functions.
(gnus-offline-set-online-sendmail-function)
(gnus-offline-set-online-post-news-function)
- (message (gnus-offline-gettext 'get-new-news-function-1))
+ (message "%s" (gnus-offline-gettext 'get-new-news-function-1))
;; fetch only news
(if (eq gnus-offline-articles-to-fetch 'news)
;;
(defun gnus-offline-hangup-line ()
"*Hangup line function."
- (message (gnus-offline-gettext 'hangup-line-1))
+ (message "%s" (gnus-offline-gettext 'hangup-line-1))
(if (stringp gnus-offline-hangup-program)
(apply 'start-process "hup" nil gnus-offline-hangup-program
gnus-offline-hangup-program-arguments))
- (message (gnus-offline-gettext 'hangup-line-2)))
+ (message "%s" (gnus-offline-gettext 'hangup-line-2)))
;;
;; Hang Up line routine whe using nnspool
;;
(ding nil 'drum)
(ding))
(gnus-group-save-newsrc)
- (message (gnus-offline-gettext 'after-jobs-done-1)))
+ (message "%s" (gnus-offline-gettext 'after-jobs-done-1)))
\f
;;
'((set-auto-ppp-menu-1
(progn
(setq gnus-offline-auto-ppp '(connect disconnect))
- (message (gnus-offline-gettext 'set-auto-ppp-1)))
+ (message "%s"
+ (gnus-offline-gettext 'set-auto-ppp-1)))
t)
(set-auto-ppp-menu-2
(progn
(setq gnus-offline-auto-ppp '(connect))
- (message (gnus-offline-gettext 'set-auto-ppp-2)))
+ (message "%s"
+ (gnus-offline-gettext 'set-auto-ppp-2)))
t)
(set-auto-ppp-menu-3
(progn
(setq gnus-offline-auto-ppp nil)
- (message (gnus-offline-gettext 'set-auto-ppp-3)))
+ (message "%s"
+ (gnus-offline-gettext 'set-auto-ppp-3)))
t)))))
(gnus-offline-popup menu title))
(t
(setq gnus-offline-auto-ppp nil)
(setq str
(gnus-offline-gettext 'set-auto-ppp-3))))))
- (message str)))))
+ (message "%s" str)))))
;;
;; Toggle offline/online to send mail.
;;
;; Sending mail under online environ.
(gnus-offline-set-online-sendmail-function)
(setq gnus-offline-mail-treat-environ 'online)
- (message (gnus-offline-gettext 'toggle-on/off-send-mail-1)))
+ (message "%s" (gnus-offline-gettext 'toggle-on/off-send-mail-1)))
;; Sending mail under offline environ.
(gnus-offline-set-offline-sendmail-function)
(setq gnus-offline-mail-treat-environ 'offline)
- (message (gnus-offline-gettext 'toggle-on/off-send-mail-2))))
+ (message "%s" (gnus-offline-gettext 'toggle-on/off-send-mail-2))))
;;
;; Toggle articles to fetch ... both -> mail -> news -> both
;;
(t
(setq gnus-offline-articles-to-fetch 'both
str (gnus-offline-gettext 'toggle-articles-to-fetch-4))))
- (message (format "%s %s" string str))))
+ (message "%s %s" string str)))
;;
;; Send mail and Post news using Miee or gnus-agent.
;;
(progn
(if (eq gnus-offline-mail-treat-environ 'offline)
(progn
- (message (gnus-offline-gettext 'empting-spool-1))
+ (message "%s" (gnus-offline-gettext 'empting-spool-1))
;; Using miee to send mail.
(mail-spool-send)
- (message (gnus-offline-gettext 'empting-spool-2))))
- (message (gnus-offline-gettext 'empting-spool-3))
+ (message "%s" (gnus-offline-gettext 'empting-spool-2))))
+ (message "%s" (gnus-offline-gettext 'empting-spool-3))
;; Using miee to post news.
(if (and (not (stringp msspool-news-server))
(not msspool-news-service))
(setq msspool-news-server (nth 1 gnus-select-method))
(setq msspool-news-service 119)))
(news-spool-post)
- (message (gnus-offline-gettext 'empting-spool-4)))
+ (message "%s" (gnus-offline-gettext 'empting-spool-4)))
;; Send queued message by gnus-agent
- (message (gnus-offline-gettext 'empting-spool-5))
+ (message "%s" (gnus-offline-gettext 'empting-spool-5))
(gnus-group-send-drafts)
- (message (gnus-offline-gettext 'empting-spool-6)))
+ (message "%s" (gnus-offline-gettext 'empting-spool-6)))
;;
(run-hooks 'gnus-offline-after-empting-spool-hook))
;;
nil)))
(if (< gnus-offline-interval-time 2)
(progn
- (message (gnus-offline-gettext 'interval-time-2))
+ (message "%s" (gnus-offline-gettext 'interval-time-2))
(setq gnus-offline-interval-time 0))
(message
(format (gnus-offline-gettext 'interval-time-3)