Re: [PATCH] Fix org-do-latex-and-related at buffer start

2025-02-22 Thread Ihor Radchenko
Ihor Radchenko writes: >> A minimal example to reproduce: >> 1. Open a scratch buffer >> 2. Insert text \(\Omega\) >> 3. Turn on org-mode > > I tried to follow the example, but I am unable to reproduce the problem. > May you please provide more detailed steps to reproduce and share the > informat

Re: [PATCH] Fix org-do-latex-and-related at buffer start

2024-12-22 Thread Ihor Radchenko
Shao-yu Tseng writes: > When org-mode is called at the start of a buffer that starts with a > latex fragment, it produces an error "Beginning of buffer" caused by > attempt to call backward-char. > > A minimal example to reproduce: > 1. Open a scratch buffer > 2. Insert text \(\Omega\) > 3. Turn

[PATCH] Fix org-do-latex-and-related at buffer start

2024-11-25 Thread Shao-yu Tseng
When org-mode is called at the start of a buffer that starts with a latex fragment, it produces an error "Beginning of buffer" caused by attempt to call backward-char. A minimal example to reproduce: 1. Open a scratch buffer 2. Insert text \(\Omega\) 3. Turn on org-mode The observable effect of t