From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: auto-fill in message mode filling with prefix "> "
Date: Wed, 03 Jan 2018 21:53:26 +0100 [thread overview]
Message-ID: <86373mfyux.fsf@zoho.com> (raw)
In-Reply-To: 87shbmad15.fsf@127.0.0.1
Here [1] is how I do it.
Some of the stuff (lines 1-2) in the hook
in unrelated.
(defun gnus-article-fill-cited-article-keep-point ()
"Fill the article and restore point."
(interactive)
(save-excursion (gnus-article-fill-cited-article)) )
(defun gnus-article-show-filled-citation ()
"Fill the citation opened on a hidden-citation-button-press."
(interactive)
(let*((pos (point))
(button (get-char-property pos 'button)) )
(when button
(widget-button-press pos)
(gnus-article-fill-cited-article-keep-point) )))
;; (setq gnus-article-prepare-hook nil)
(defun gnus-article-prepare-hook-f ()
(gnus-with-article-buffer (gnus-article-wash-more))
(gnus-article-hide-signature nil 1)
(gnus-article-fill-cited-article) )
(add-hook 'gnus-article-prepare-hook #'gnus-article-prepare-hook-f)
[1] http://user.it.uu.se/~embe8573/emacs-init/gnus/article.el
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2018-01-03 20:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.6778.1515010834.27995.help-gnu-emacs@gnu.org>
2018-01-03 20:43 ` auto-fill in message mode filling with prefix "> " HASM
2018-01-03 20:53 ` Emanuel Berg [this message]
[not found] <mailman.6710.1514910241.27995.help-gnu-emacs@gnu.org>
2018-01-03 9:16 ` Gijs Hillenius
2018-01-03 17:07 ` Eric S Fraga
[not found] ` <mailman.6775.1514999293.27995.help-gnu-emacs@gnu.org>
2018-01-03 17:55 ` HASM
2018-01-03 19:26 ` Alan Mackenzie
2018-01-03 20:42 ` HASM
2018-01-03 22:23 ` Stefan Monnier
[not found] ` <mailman.6785.1515018235.27995.help-gnu-emacs@gnu.org>
2018-01-04 2:24 ` HASM
2018-01-04 18:41 ` Stefan Monnier
2018-01-02 16:23 Eric S Fraga
2018-01-02 16:34 ` Eric Abrahamsen
2018-01-02 16:43 ` Eli Zaretskii
2018-01-02 16:46 ` Eric Abrahamsen
2018-01-02 17:01 ` Eric S Fraga
2018-01-02 16:47 ` Eric S Fraga
[not found] ` <mailman.6713.1514911411.27995.help-gnu-emacs@gnu.org>
2018-01-02 18:38 ` HASM
2018-01-02 18:44 ` Eric S Fraga
[not found] ` <mailman.6724.1514918672.27995.help-gnu-emacs@gnu.org>
2018-01-03 1:29 ` HASM
2018-01-03 20:20 ` Robert Thorpe
2018-01-02 17:46 ` Narendra Joshi
2018-01-02 18:14 ` Eric S Fraga
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=86373mfyux.fsf@zoho.com \
--to=moasen@zoho.com \
--cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.