unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Theodor Thornhill <theo@thornhill.no>
Cc: eliz@gnu.org, 59788-done@debbugs.gnu.org
Subject: bug#59788: 29.0.60; [PATCH] Make treesit-end-of-defun handle  nil node
Date: Sun, 4 Dec 2022 22:22:41 -0800	[thread overview]
Message-ID: <E1259C55-1E54-4893-9264-17E3A7A807B2@ucsd.edu> (raw)
In-Reply-To: <87h6ydfsag.fsf@thornhill.no>


Theodor Thornhill <theo@thornhill.no> writes:

> On 3 December 2022 07:33:46 CET, Eli Zaretskii <eliz@gnu.org> wrote:
>>> Cc: casouri@gmail.com, eliz@gnu.org
>>> From: Theodor Thornhill <theo@thornhill.no>
>>> Date: Fri, 02 Dec 2022 21:45:59 +0100
>>> 
>>> However, I notice that treesit-beginning-of-defun returns t after it is
>>> done.  Is there a reason for end-of-defun not to return the same?
>>
>>The return value of end-of-defun is not documented, so it can be anything.
>
> Ok thanks, then I think this patch is ok now :)
>
> Theo

I think I applied a similar patch sent in another bug report, closing
this. Thanks as always :-)

Yuan





      parent reply	other threads:[~2022-12-05  6:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02 20:45 bug#59788: 29.0.60; [PATCH] Make treesit-end-of-defun handle nil node Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-03  6:33 ` Eli Zaretskii
2022-12-03  7:00   ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-05  6:22 ` Yuan Fu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1259C55-1E54-4893-9264-17E3A7A807B2@ucsd.edu \
    --to=bug-gnu-emacs@gnu.org \
    --cc=59788-done@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=theo@thornhill.no \
    --cc=yuf011@ucsd.edu \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).