all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Daniel Martín" <mardani29@yahoo.es>, "Yuan Fu" <casouri@gmail.com>
Cc: Dmitry Gutov <dmitry@gutov.dev>, 64283@debbugs.gnu.org
Subject: bug#64283: 29.0.91; js-mode's mark-defun does not work correctly when functions have a comment on top
Date: Sun, 25 Jun 2023 18:05:07 +0300	[thread overview]
Message-ID: <83leg7y44c.fsf@gnu.org> (raw)
In-Reply-To: <m1a5wnd5mj.fsf@yahoo.es> (bug-gnu-emacs@gnu.org)

> Date: Sun, 25 Jun 2023 15:38:12 +0200
> From:  Daniel Martín via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Daniel Martín via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
> 
> > This is a regression from Emacs 28.2.
> >
> 
> This is the first commit where this bug happens:
> 
> commit 4489450f37deafb013b1f0fc00c89f0973fda14a
> Author: Yuan Fu <casouri@gmail.com>
> Date:   Thu Nov 10 15:00:29 2022 -0800
> 
>     In end-of-defun, terminate early if no further defun exists
>     
>     Before this change, end-of-defun calls end-of-defun-function even if
>     point is not necessarily at the beginning of a defun (contrary to what
>     end-of-defun-function's docstring claims).  Now it terminates early
>     and doesn't call end-of-defun-function.
>     
>     * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Update docstring
>     clarifying the return value.
>     (end-of-defun): Terminate early if beginning-of-defun-raw returns nil.

Yuan, could you please look into this?





  reply	other threads:[~2023-06-25 15:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m1o7l3d74m.fsf.ref@yahoo.es>
2023-06-25 13:05 ` bug#64283: 29.0.91; js-mode's mark-defun does not work correctly when functions have a comment on top Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-25 13:38   ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-25 15:05     ` Eli Zaretskii [this message]
2023-06-25 20:49       ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-27  1:42         ` Yuan Fu
2023-06-27 11:01           ` Eli Zaretskii
2023-06-28 20:11             ` Yuan Fu
2023-06-29  5:41               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83leg7y44c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64283@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=dmitry@gutov.dev \
    --cc=mardani29@yahoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.