GNU bug report logs - #61400
Different filling for verbatim macros

Previous Next

Package: auctex;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Fri, 10 Feb 2023 08:53:01 UTC

Severity: normal

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #68 received at 61400 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Arash Esbati <arash <at> gnu.org>
Cc: 61400 <at> debbugs.gnu.org, Tassilo Horn <tsdh <at> gnu.org>
Subject: Re: bug#61400: Different filling for verbatim macros
Date: Thu, 16 Feb 2023 17:55:32 +0900
[Message part 1 (text/plain, inline)]
Hi Arash,

>>>>> Arash Esbati <arash <at> gnu.org> writes:
> What I don't understand it why the code does:

>   (when (string= delimiter TeX-grop)
>     (setq delimiter (concat delimiter TeX-grcl)))

> which is "^{}"; I would have expected "^}" only because using \verb{foo{
> is just asking for trouble and not officially supported IIRC.

That's what I was wondering too.

> Even with delimiter being "^}", this form:

>   (skip-chars-forward (concat "^" delimiter))

> means stop before the first "}" which is not far enough in case we have
> balanced braces in the argument (and only such are allowed).  So I
> suggest we change this part of the code like this:
[...]
> Then we only need to solve the fontification issue ;-)  WDYT?

Thanks, I included your suggestion. See the attachment.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine

[0001-Fill-verb-like-macros-appropriately-bug-61400.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 156 days ago.

Previous Next


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