Function: gnus-summary-morse-message
gnus-summary-morse-message is an interactive and byte-compiled
function defined in gnus-sum.el.gz.
Signature
(gnus-summary-morse-message &optional ARG)
Documentation
Morse decode the current article.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-morse-message (&optional _arg)
"Morse decode the current article."
(interactive nil gnus-summary-mode)
(gnus-summary-select-article)
(let ((mail-header-separator ""))
(gnus-eval-in-buffer-window gnus-article-buffer
(save-excursion
(save-restriction
(widen)
(let ((pos (window-start))
(inhibit-read-only t))
(goto-char (point-min))
(when (message-goto-body)
(gnus-narrow-to-body))
(goto-char (point-min))
(while (search-forward "·" (point-max) t)
(replace-match "."))
(unmorse-region (point-min) (point-max))
(widen)
(set-window-start (get-buffer-window (current-buffer)) pos)))))))