bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#744: marked as done (nroff-mode auto-fill-mode not on directives)


From: Emacs bug Tracking System
Subject: bug#744: marked as done (nroff-mode auto-fill-mode not on directives)
Date: Wed, 20 Aug 2008 15:30:04 -0700

Your message dated Wed, 20 Aug 2008 18:25:01 -0400
with message-id <address@hidden>
and subject line Re: nroff-mode auto-fill-mode not on directives
has caused the Emacs bug report #744,
regarding nroff-mode auto-fill-mode not on directives
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
744: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=744
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: nroff-mode auto-fill-mode not on directives Date: Wed, 20 Aug 2008 08:30:41 +1000 User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2 (gnu/linux)
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  <address@hidden>

        * textmodes/nroff-mode.el (nroff-mode): Set auto-fill-inhibit-regexp
        so as not to auto-fill on directive lines, other than comment
        directives.

Attachment: nroff-mode.el.auto-fill.diff
Description: Text Data

-- 
The Copenhagen Interpretation elucidated for the layman:
  You can't be sure until you see for yourself.

--- End Message ---
--- Begin Message --- Subject: Re: nroff-mode auto-fill-mode not on directives Date: Wed, 20 Aug 2008 18:25:01 -0400
> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]