emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60654: closed (30.0.50; tree-sitter: `transpose-sexps-function' uses


From: GNU bug Tracking System
Subject: bug#60654: closed (30.0.50; tree-sitter: `transpose-sexps-function' uses a lambda in a defvar)
Date: Mon, 09 Jan 2023 20:36:02 +0000

Your message dated Mon, 9 Jan 2023 12:35:20 -0800
with message-id <8C84ACB5-828B-4B62-9DAB-378C6D447426@gmail.com>
and subject line Re: bug#60654: 30.0.50; tree-sitter: 
`transpose-sexps-function'  uses a lambda in a defvar
has caused the debbugs.gnu.org bug report #60654,
regarding 30.0.50; tree-sitter: `transpose-sexps-function' uses a lambda in a 
defvar
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60654: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60654
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; tree-sitter: `transpose-sexps-function' uses a lambda in a defvar Date: Sun, 08 Jan 2023 10:46:03 +0000
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.


In GNU Emacs 30.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version
 3.24.20, cairo version 1.16.0) of 2023-01-02 built on mickey-work
Repository revision: c209802f7b3721a1b95113290934a23fee88f678
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.3 LTS

Configured using:
 'configure --with-native-compilation --with-json --with-mailutils
 --without-compress-install --with-imagemagick CC=gcc-10'




--- End Message ---
--- Begin Message --- Subject: Re: 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
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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]