emacs-pretest-bug
[Top][All Lists]
Advanced

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

poor behaviour of lisp-fill-paragraph


From: Dave Love
Subject: poor behaviour of lisp-fill-paragraph
Date: Tue, 06 Jan 2004 14:37:27 +0000
User-agent: Gnus/5.1005 (Gnus v5.10.5) Emacs/21.2 (gnu/linux)

Consider in Lisp mode this sort of text that I often produce:

  a                                     ; x
  ;; b c
  ;; d
  
M-q on the second or third line produces

  a                                     ; x b c d

not what I think it should:

  a                                     ; x
  ;; b c d

I thought this had been fixed post-21.2, but apparently not.  I can't
remember the logic in my old code which got it right, but I guess it's
just a question of narrowing to a region introduced only by the prefix
around point:  "^\\s-*\\(\\s<+\\)" or similar.




reply via email to

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