GNU bug report logs - #78703
beginning-of-defun and friends still wrong in typescript-ts-mode

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 5 Jun 2025 23:41:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Daniel Colascione <dancol <at> dancol.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: casouri <at> gmail.com, brownts <at> troybrown.dev, 78703 <at> debbugs.gnu.org
Subject: bug#78703: beginning-of-defun and friends still wrong in typescript-ts-mode
Date: Wed, 11 Jun 2025 07:15:27 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:
>> 
>> Users really prefer go-to-sibling behavior for beginning-of-defun?
>
> Turns out that way.
>
>> Says who?
>
> Users.

Do they?  Which ones?  What every user I've seen dislike more than any
default is inconsistency, especially gratuitous inconsistencies between
things that are logically the same and happen to have divergent
implementation details.  I find it impossible to believe that real
users, in code like this:

function foo() {
  blah;
  function bar() {
    ...
  }
  // [Snip four pages]
  for (let x of y) {
    [point]
  } 
}

When pressing C-M-a, want to go to the definition of bar, not the
definition foo.  It doesn't make any sense to me that anyone would want
to perform that operation.  If you're going to insist on bad defaults,
you're just going to drive more people to Doom and such.




This bug report was last modified 5 days ago.

Previous Next


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