|
From: | Stefan Monnier |
Subject: | Re: Multiple bugs in lisp-mode M-q on paragraphs within #|..|# comments |
Date: | Tue, 27 Mar 2007 22:57:15 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
> I found three such bugs. To reproduce: Does the patch below help? Stefan *** newcomment.el 29 jan 2007 13:35:18 -0500 1.100 --- newcomment.el 27 mar 2007 22:56:20 -0400 *************** *** 391,397 **** pt (or limit (point-max)) nil nil (list nil nil nil (nth 3 s) nil nil nil nil) t))) ! (if (not (and (nth 8 s) (not (nth 3 s)))) (unless noerror (error "No comment")) ;; We found the comment. (let ((pos (point)) --- 391,399 ---- pt (or limit (point-max)) nil nil (list nil nil nil (nth 3 s) nil nil nil nil) t))) ! (if (or (not (and (nth 8 s) (not (nth 3 s)))) ! ;; Make sure the comment starts after PT. ! (< (nth 8 s) pt)) (unless noerror (error "No comment")) ;; We found the comment. (let ((pos (point))
[Prev in Thread] | Current Thread | [Next in Thread] |