GNU bug report logs -
#61400
Different filling for verbatim macros
Previous Next
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
Tassilo Horn <tsdh <at> gnu.org> writes:
> Arash Esbati <arash <at> gnu.org> writes:
>
>> \begin{document}
>>
>> Now we can write some text foo and \path{bar}
>>
>> Now we can write some text foo and \path|bar|
>>
>> Now we can write some text foo and \Verb|bar|
>>
>> Now we can write some text foo and \Verb{bar}
>>
>> Now we can write some text foo and \verb|bar|
>>
>> \end{document}
>
> The different break point is already suggested when evaluating
>
> (LaTeX-fill-move-to-break-point (line-beginning-position))
>
> at the end of each line. So that function is where to start edebugging.
Hi Tassilo,
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?
Best, Arash
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.