emacs-devel
[Top][All Lists]
Advanced

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

nroff-mode groff \# comments (patch)


From: Kevin Ryde
Subject: nroff-mode groff \# comments (patch)
Date: Thu, 24 May 2007 09:37:12 +1000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.99 (gnu/linux)

In groff \# introduces a comment, through to newline, like the normal
troff \" but eating the newline as well, or something like that.  You
can lots for instance in om.tmac (/usr/share/groff/1.18.1/tmac/om.tmac)
which comes with groff.  (Remember to M-x nroff-mode.)

2007-05-24  Kevin Ryde  <address@hidden>

        * textmodes/nroff-mode.el: Groff \# comments.
        (nroff-mode-syntax-table): \# comment intro, plain # as punct per
        global table.
        (nroff-font-lock-keywords): Add # as a single char escape.
        (nroff-mode): In comment-start-skip, match \#.

Attachment: nroff-mode.el.groff.diff
Description: Text Data


reply via email to

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