Karthik Chikmagalur <karthikchikmaga...@gmail.com> writes: >> When inserting a note using org-add-note, a "\\" is added at the end >> of the first line. For me this is not useful (since exports to HTML >> and PDF already include a line break), and it also looks awkward >> when copying and pasting elsewhere. Is there a way to prevent these >> "\\" from being added automatically? >> >> - [2025-08-18 lu. 23:30] \\ >> Example > > This is currently hard coded in org-store-log-note and can't be avoided > without hacks. I don't see any hooks that you can use to remove the \\ > when storing the note, so the only way might be to advise this function. > > I asked about this previously: > https://list.orgmode.org/87zg019lp1....@gmail.com
I think the appropriate questions are: 1. why is \\ being added there? 2. why would you want to remove it? Since it is hardcoded in org-store-log-note, I would guess that it is necessary to protect the next line from being wrapped into the current line by (say) Latex on export. The \\ is only put in if you are adding a note. -- David Masterson