[Top][All Lists]

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

Re: Problems with syntax-ppss: Was [... Apply `comment-depth' text prope

From: Alan Mackenzie
Subject: Re: Problems with syntax-ppss: Was [... Apply `comment-depth' text properties when calling `back_comment'.]
Date: Thu, 10 Mar 2016 19:08:24 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Stefan.

On Thu, Mar 10, 2016 at 12:34:13PM -0500, Stefan Monnier wrote:
> > Would you please tell me where you've sent it.

> In one of the messages of this long thread.
> Here it is again.

OK, thanks.

> > Then I can try to break it, thus assissting you in any
> > necessary debugging.

> Please do.  I expected a fair bit of breakage but haven't seen any yet,
> so it's still in a very "primitive/naive" shape.

Visit xdisp.c.  Run the following function.  It breaks:

(defun test-break-0 ()
  (goto-char (point-min))
  (or (forward-comment 2)
      (error "(forward-comment 2) failed"))
  (or (forward-comment -2)
      (error "(forward-comment -2) failed"))
  (message "(forward-comment -2) succeeded"))

Alan Mackenzie (Nuremberg, Germany).

reply via email to

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