Subject: Re: bug#78703: beginning-of-defun and friends still wrong in typescript-ts-mode

From: Daniel Colascione <[email-masked]>
Date: Wed, 11 Jun 2025 07:15:27 -0700

Eli Zaretskii <[email-masked]> 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.