From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: Jason L Tibbitts III <tibbs@math.uh.edu>
Cc: ding@gnus.org
Subject: Re: Message formatting without 'filladapt'
Date: Sat, 16 Jun 2018 01:59:48 +0200 [thread overview]
Message-ID: <lysh5nk3d7.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: <ufawouzbr1k.fsf@epithumia.math.uh.edu> (Jason L. Tibbitts, III's message of "Fri, 15 Jun 2018 17:53:11 -0500")
Jason L Tibbitts III <tibbs@math.uh.edu> writes:
> ES> Hello, I noticed, that message formatting stopped to work properly
> ES> with emacs-26.1. This seems to be caused by the removal of
> ES> 'filladapt' support from 'message-fill-paragraph'.
>
> I've had the same problem. Since I use supercite, that makes it worse
> because the filladapt integration was mildly important for refilling
> quoted text.
>
> I'm not at all sure what the best fix is. Sadly for now I'm just living
> with it.
fwiw, I use the old code with
---------
(defun ensc/message-fill-paragraph (&optional arg)
"Message specific function to fill a paragraph. This function is used
as the value of `fill-paragraph-function' in Message buffers and is
not meant to be called directly."
(interactive (list (if current-prefix-arg 'full)))
(if (if (boundp 'filladapt-mode) filladapt-mode)
nil
(if (message-point-in-header-p)
(message-fill-field)
(message-newline-and-reformat arg t))
t))
(add-hook 'message-setup-hook
(lambda() (setq fill-paragraph-function
'ensc/message-fill-paragraph)))
---------
Enrico
prev parent reply other threads:[~2018-06-15 23:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-11 13:49 Enrico Scholz
2018-06-15 22:53 ` Jason L Tibbitts III
2018-06-15 23:59 ` Enrico Scholz [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=lysh5nk3d7.fsf@ensc-virt.intern.sigma-chemnitz.de \
--to=enrico.scholz@sigma-chemnitz.de \
--cc=ding@gnus.org \
--cc=tibbs@math.uh.edu \
/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).