emacs-devel
[Top][All Lists]
Advanced

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

Re: Multiple bugs in lisp-mode M-q on paragraphs within #|..|# comments


From: Bob Rogers
Subject: Re: Multiple bugs in lisp-mode M-q on paragraphs within #|..|# comments
Date: Sun, 25 Mar 2007 19:05:11 -0400

   From: Stefan Monnier <address@hidden>
   Date: Sun, 25 Mar 2007 15:53:43 -0400

   >    I found three such bugs.  To reproduce:

   Yes, the current code has several limitations in this rest.
   Could you describe how each case behaves when compared to the behavior in
   Emacs-21.4?

           Stefan

Sorry; I don't have 21.4 available to test.  Here is a comparison of
what happens in Emacs 21.3 and CVS Emacs:

   1.  Move point anywhere on the line that says "More testing" and type
M-q.

   21.3:  The paragraph is joined up into a single line.

   CVS:  Nothing happens.  (Typing M-q on the next line DTRT.)

   2.  Move to any of the paragraphs in the second #|..| comment (though
only the one numbered 4 needs filling), and type M-q.

   21.3:  The paragraphs are filled.  Only the fourth one needs it; when
filled, the "and" moves from the second line to the first.

   CVS:  "Search failed" error.

   3.  Add a ";" comment line at the end of the file, move point to
anywhere in the *second* line of the paragraph numbered 4, and type M-q.

   21.3:  The paragraph is filled, as before.

   CVS:  Not only is this paragraph not filled, but nearly all of the
comment text is duplicated several times!

   4.  Move the point to the line before the paragraph numbered 1, and
type M-q.

   21.3:  The text is not changed, but the buffer-modified flag is set.

   CVS:  Instead of filling, this line is deleted, and an "Invalid
search bound (wrong side of point)" error is signalled.

                                        -- Bob




reply via email to

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