[Top][All Lists]

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

Re: fortran-fill-paragraph fails

From: Stefan Monnier
Subject: Re: fortran-fill-paragraph fails
Date: Fri, 29 Dec 2006 16:06:57 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

>> >         (commark
>> >          (comment-string-strip (buffer-substring comstart comin) nil t))
>> >         (comment-re
>> > !        (if (string-match comment-start-skip (concat "\0" commark "a"))
>> >              (concat "[ \t]*" (regexp-quote commark)
>> >                      ;; Make sure we only match comments that use
>> >                      ;; the exact same comment marker.
>> Please add a clear comment explaining the reason for this "\0".

> I must admit that this patch goes much beyond my knowledge of elisp
> hacking. Also, I cannot find anything in the elisp manual explaining
> the meaning of "\0" in this context. If there is a general idea for
> this, I'd much appreciate if it was documented in the elisp manual,
> too. (Or did I look at the wrong spot?)

There's nothing specific to elisp there, and the \0 is just some
arbitrary char: a space would have probably worked just as well.


reply via email to

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