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


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Arash Esbati <arash <at> gnu.org>
Cc: 61400 <at> debbugs.gnu.org
Subject: bug#61400: Different filling for verbatim macros
Date: Fri, 10 Feb 2023 11:03:27 +0100
Arash Esbati <arash <at> gnu.org> writes:

> thanks for pushing me into that again.  I did already but I missed
> what's happening in that function directly in the first form:
>
>   (fill-move-to-break-point linebeg)
>
> It moves the point to different positions.  In the example above, put
> point after \path{bar} and do:
>
>   M-: (fill-move-to-break-point (line-beginning-position)) RET
>
> and the point before and.  Now go after \verb|bar| and do the same, no
> is point after and.  Can you reproduce this?

Yes, I can.  BTW, only the last sentence is broken correctly, all others
are wrapped around at a too early position.

Hm, (fill-nobreak-p) returns nil only on the \ of the \verb|bar| but
returns non-nil on each \ of the other verbatim macros.  (I can't look
any further now so it's your turn again. ;-))

Bye,
Tassilo




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.