all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Theodor Thornhill <theo@thornhill.no>
Cc: 60654-done@debbugs.gnu.org, Mickey Petersen <mickey@masteringemacs.org>
Subject: bug#60654: 30.0.50; tree-sitter: `transpose-sexps-function'  uses a lambda in a defvar
Date: Mon, 9 Jan 2023 12:35:20 -0800	[thread overview]
Message-ID: <8C84ACB5-828B-4B62-9DAB-378C6D447426@gmail.com> (raw)
In-Reply-To: <87tu11jod0.fsf@masteringemacs.org>


Theodor Thornhill <theo@thornhill.no> writes:

> Mickey Petersen <mickey@masteringemacs.org> writes:
>
>> Theodor Thornhill <theo@thornhill.no> writes:
>>
>>> Theodor Thornhill <theo@thornhill.no> writes:
>>>
>>>> On 9 January 2023 04:39:34 CET, Yuan Fu <casouri@gmail.com> wrote:
>>>>>
>>>>>Mickey Petersen <mickey@masteringemacs.org> writes:
>>>>>
>>>>>> The defvar `transpose-sexps-function' holds on to a lambda function.
>>>>>> Would it be possible to make it an actual function? Its purpose is
>>>>>> rather important as it is the default transposition function that was
>>>>>> moved out of `transpose-sexps'. Being able to reliably access it when
>>>>>> `transpose-sexps-function' is overriden is useful.
>>>>>
>>>>>CC’d Theo.
>>>>>
>>>>>Yuan
>>>>
>>>> Thanks yuan.
>>>>
>>>> Yeah I'll make this change and call the new function transpose-sexps-default-function.
>>>>
>>>> Apologies for any inconvenience :)
>>>>
>>>> Theo
>>>
>>>
>>> How about this, Mickey.  Is this something you can work with?
>>>
>>
>> Looks perfect. Nice one, Theo.
>>
>> Kind regards,
>>
>> Mickey.
>>
>
> Great! Yuan, can you install for me?
>
> Theo

Sure, I applied it to trunk.

Yuan





      parent reply	other threads:[~2023-01-09 20:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-08 10:46 bug#60654: 30.0.50; tree-sitter: `transpose-sexps-function' uses a lambda in a defvar Mickey Petersen
2023-01-09  3:39 ` Yuan Fu
2023-01-09  6:23   ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-09  6:57     ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-09  8:47       ` Mickey Petersen
2023-01-09 12:20         ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-09 20:35 ` Yuan Fu [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

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

  git send-email \
    --in-reply-to=8C84ACB5-828B-4B62-9DAB-378C6D447426@gmail.com \
    --to=casouri@gmail.com \
    --cc=60654-done@debbugs.gnu.org \
    --cc=mickey@masteringemacs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.