From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca,
Roland.Winkler@physik.uni-erlangen.de
Subject: Re: fortran-fill-paragraph fails
Date: Sat, 30 Dec 2006 20:45:33 -0500 [thread overview]
Message-ID: <E1H0plV-0004xK-Pl@fencepost.gnu.org> (raw)
In-Reply-To: <87ejqhwnhu.fsf@lrde.org> (michael@cadilhac.name)
Suppose commark is `C', we will have :
(string-match "^C" (concat "\0" commark "a")) -> nil
(string-match "C" (concat "\0" commark "a")) -> 1
(string-match "^ ?C" (concat "\0" commark "a")) -> nil
Why are these results correct? What is the overall explanation for
the job this code is trying to do?
I find I can't understand these comments
;; `commark' is surrounded with arbitrary text (`\0' and `a')
;; to make sure it can be used as an optimization of
;; `comment-start-skip' in the middle of a line. For example,
;; `commark' can't be used with the "@c" in TeXinfo (hence
;; the `a') or with the "C" at BOL in Fortran (hence the `\0').
As far as I know, COMMARK (which is how it should be written) refers
to some text copied out of the buffer. What does it mean to say
whether that that text "can't be used with the `@c' in Texinfo"?
Is there anyone that actually understands that comment
and could rewrite it more clearly?
next prev parent reply other threads:[~2006-12-31 1:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m3r6uq778w.fsf@tfkp07.physik.uni-erlangen.de>
2006-12-24 0:15 ` fortran-fill-paragraph fails Michaël Cadilhac
2006-12-24 1:35 ` Roland Winkler
2006-12-24 20:26 ` Michaël Cadilhac
2006-12-25 23:00 ` Stefan Monnier
2006-12-27 17:12 ` Roland Winkler
2006-12-29 21:06 ` Stefan Monnier
2006-12-29 22:43 ` Michaël Cadilhac
2006-12-30 6:24 ` Richard Stallman
2006-12-30 12:56 ` Michaël Cadilhac
2006-12-31 1:45 ` Richard Stallman [this message]
2007-01-02 23:22 ` Stefan Monnier
2007-01-03 21:11 ` Richard Stallman
2007-01-07 20:12 ` Stefan Monnier
2006-12-30 16:04 ` Roland Winkler
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=E1H0plV-0004xK-Pl@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=Roland.Winkler@physik.uni-erlangen.de \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.