unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 59788@debbugs.gnu.org, casouri@gmail.com
Subject: bug#59788: 29.0.60; [PATCH] Make treesit-end-of-defun handle nil node
Date: Sat, 03 Dec 2022 08:00:17 +0100	[thread overview]
Message-ID: <EA8065E7-270C-4790-B202-2C40B4B4CB83@thornhill.no> (raw)
In-Reply-To: <83tu2ddmid.fsf@gnu.org>



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





  reply	other threads:[~2022-12-03  7:00 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 [this message]
2022-12-05  6:22 ` Yuan Fu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=EA8065E7-270C-4790-B202-2C40B4B4CB83@thornhill.no \
    --to=bug-gnu-emacs@gnu.org \
    --cc=59788@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=theo@thornhill.no \
    /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).