bug-auctex
[Top][All Lists]
Advanced

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

bug#61400: Different filling for verbatim macros


From: Arash Esbati
Subject: bug#61400: Different filling for verbatim macros
Date: Fri, 10 Feb 2023 10:47:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Tassilo Horn <tsdh@gnu.org> writes:

> Arash Esbati <arash@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





reply via email to

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