unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, michael@cadilhac.name,
	Roland.Winkler@physik.uni-erlangen.de
Subject: Re: fortran-fill-paragraph fails
Date: Sun, 07 Jan 2007 15:12:10 -0500	[thread overview]
Message-ID: <jwv4pr2vbp7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1H2DOC-0003FP-2c@fencepost.gnu.org> (Richard Stallman's message of "Wed\, 03 Jan 2007 16\:11\:12 -0500")

>     So if the comment starter used is ";;;" the regexp can just be
>     something like ";;;[^;]".  But that's only for "typical" comment
>     markers.  For Texinfo's "@c" we can't just use "@c[^c]" because "@ca"
>     is not a comment starter.  And For Fortran we can't just use "C[^C]"
>     because the "C" is only a comment starter when it's at the beginning
>     of a line.

>     We heuristically try to discover whether it's a "typical" comment
>     starter by matching (concat "\0" comstart "a") against
>     comment-start-skip, which should correctly distinguish those two
>     special cases.

> Could you make the comments explain this?

Done,


        Stefan

  reply	other threads:[~2007-01-07 20:12 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
2007-01-02 23:22               ` Stefan Monnier
2007-01-03 21:11                 ` Richard Stallman
2007-01-07 20:12                   ` Stefan Monnier [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4pr2vbp7.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=Roland.Winkler@physik.uni-erlangen.de \
    --cc=emacs-devel@gnu.org \
    --cc=michael@cadilhac.name \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).