GNU bug report logs -
#65470
29.1.50; js-ts-mode: regex pattern can cause incorrect parenthesis matching
Previous Next
Reported by: Augustin Chéneau (BTuin) <btuin <at> mailo.com>
Date: Wed, 23 Aug 2023 11:16:01 UTC
Severity: normal
Tags: patch
Found in version 29.1.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>
>>>> On Aug 24, 2023, at 11:59 PM, Jostein Kjønigsen <jostein <at> secure.kjonigsen.net> wrote:
>>>>
>>>>
>>>>
>>>>> On 24 Aug 2023, at 21:47, Theodor Thornhill <theo <at> thornhill.no> wrote:
>>>>
>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>>
>>>>>
>>>>> Would someone please add syntax-propertize-function in modes that need
>>>>> it? I think this should be done on the emacs-29 branch.
>>>>>
>>>>> TIA
>>>>
>>>> I'll add it to my list, but if someone will grab it that's fine, as I'm
>>>> a little short on time the next couple of weeks :-(
>>>>
>>>> Theo
>>>
>>> I’ve just been forced over to a Mac at work, and I can’t (yet) for the life of me figure out how to build Emacs from source on this platform. It seems Emacs is not picking up libraries I’ve installed using homebrew?
>>>
>>> If anyone can help me get past this roadblock, I might be able to get a patch going. (It’s a ARM-based Mac, if that matters.)
>>
>> It’s been quite a while since I needed to setup this, so I don’t quite remember. But setting LD_LIBRARY_PATH (Homebrew’s path) and PKG_CONFIG_PATH (/usr/local/lib/pkgconfig) should help the build process and Emacs find the libraries.
>>
>> Yuan
>
> I figured it out in the end. For anyone suffering a similar problem:
>
> I had all packages I needed installed, but not pkg-config, leading configure not being able to locate any of them.
>
> Installing pkg-config too and running “make bootstrap” got me a working build.
>
> With that out of the way, I’ll see if I can come up with some patches for the typescript ts-modes sometime the next week.
Good to hear that! Exiles you are at it, could you also have a look at JSX? I think the latest tree-sitter grammar breaks some queries.
Yuan
This bug report was last modified 1 year and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.