GNU bug report logs - #59662
29.0.50; [PATCH] Add treesit--indent-defun

Previous Next

Package: emacs;

Reported by: Theodor Thornhill <theo <at> thornhill.no>

Date: Mon, 28 Nov 2022 19:33:01 UTC

Severity: wishlist

Tags: patch

Found in version 29.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #58 received at 59662 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Theodor Thornhill <theo <at> thornhill.no>
Cc: casouri <at> gmail.com, 59662 <at> debbugs.gnu.org
Subject: Re: bug#59662: 29.0.50; [PATCH] Add treesit--indent-defun
Date: Fri, 02 Dec 2022 20:52:17 +0200
> From: Theodor Thornhill <theo <at> thornhill.no>
> Cc: casouri <at> gmail.com, 59662 <at> debbugs.gnu.org
> Date: Fri, 02 Dec 2022 19:32:33 +0100
> 
> However - mark-defun signals an error on some constructs because of
> number-or-marker error:
> 
> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
>   treesit-end-of-defun()
>   c-ts-mode--end-of-defun()
>   end-of-defun()
>   mark-defun(1 nil)
>   mark-defun(1 23209)
>   funcall-interactively(mark-defun 1 23209)
>   call-interactively(mark-defun record nil)
>   command-execute(mark-defun record)
>   execute-extended-command(nil "mark-defun" nil)
>   funcall-interactively(execute-extended-command nil "mark-defun" nil)
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)
> 
> I'll file a separate bug report for this one, if that's ok?

Yes, please.




This bug report was last modified 2 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.