emacs-devel
[Top][All Lists]
Advanced

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

Re: beginning-of-defun-comments bug [was: Re: 26.0.90: mark-defun proble


From: Eli Zaretskii
Subject: Re: beginning-of-defun-comments bug [was: Re: 26.0.90: mark-defun problem in c-mode]
Date: Sat, 30 Dec 2017 14:53:27 +0200

> Date: Sat, 30 Dec 2017 12:01:36 +0000
> Cc: address@hidden, zhang cc <address@hidden>,
>   Noam Postavsky <address@hidden>
> From: Alan Mackenzie <address@hidden>
> 
> > I see the error, with point anywhere in the body of the second function.
> > Critical seems to be there being no blank line between the functions.
> 
> > I think there's a bug in beginning-of-defun-comments, which I'm in the
> > middle of edebugging.  It moves point into the first function.
> 
> beginning-of-defun-comments has a bug.  On doing M-x
> beginning-of-defun-comments from the inside of a function, when there's
> no blank lines between it and the previous function, point ends up
> inside that previous function, not at the comments which may separate
> them.
> 
> Perhaps this bug should be fixed before the next Emacs-26 pretest.

How old is this problem?  It looks like it's new in Emacs 26?  If so,
we should try fixing it on the release branch.




reply via email to

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