GNU bug report logs -
#744
nroff-mode auto-fill-mode not on directives
Previous Next
Reported by: Kevin Ryde <user42 <at> zip.com.au>
Date: Tue, 19 Aug 2008 22:40:04 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:
#744: nroff-mode auto-fill-mode not on directives
It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.
--
744: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=744
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> In nroff-mode it'd be good if auto-fill-mode didn't fill when you're
> entering a long directive line
Thanks. I've checked your patch in.
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
In nroff-mode it'd be good if auto-fill-mode didn't fill when you're
entering a long directive line like
.IP some long line going past your normal fill width ...
Almost always *roff directives have to be a single line. I struck the
problem with a groff .URL with a long url doubled-up to both display
literally and be clickable in -Thtml.
I've been using the regexp below, which suppresses auto-fill on .IP and
the like, but continues to auto-fill the comment directives (no change)
.\" traditional
.\# groff extension
''' another traditional, apparently
And of course non-directive lines ("." or "'") are still auto-filled
(either ordinary text, or comments starting \" and \#).
2008-08-18 Kevin Ryde <user42 <at> zip.com.au>
* textmodes/nroff-mode.el (nroff-mode): Set auto-fill-inhibit-regexp
so as not to auto-fill on directive lines, other than comment
directives.
[nroff-mode.el.auto-fill.diff (text/x-diff, attachment)]
[Message part 6 (text/plain, inline)]
--
The Copenhagen Interpretation elucidated for the layman:
You can't be sure until you see for yourself.
This bug report was last modified 16 years and 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.