[bug] org-priority-up on a line with a link puts the cookie in org-link face

2023-10-01 Thread Samuel Wales
i am on recent bugfix but this has been around forever. * [[https://forums.whatever][MCAS and Omalizumab]] when i raise the priority from none to [#A], often or always the cookie is in link face also. for unrelated reasons, i haven't set up an untainted reproducer, so this is a merely

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-10-01 Thread Liu Hui
Visuwesh 于2023年10月1日周日 22:28写道: > Do you think asking during the time of drop > would be a viable option too? I'm thinking of adding the defcustom > org-dnd-default-method with options such as > > . attach -- as implemented here > . open -- open file > . file-link -- insert file

[BUG] org-refile doesn't work when target is immediately above

2023-10-01 Thread Jingcheng Xu
with emacs -Q, and the following org file * heading * TODO task When the point is at the second *, running org-refile to "heading" doesn't do anything. If the point is at other places, e.g. end of the line, the third line, then org-refile works. In GNU Emacs

Re: Are 'placement' and 'float' "obsolete terms" in inline images exported to LaTeX?

2023-10-01 Thread Juan Manuel Macías
Juan Manuel Macías writes: > Since the header arg :float now supports any string in inline images[...] Sorry, I meant "the LaTeX attribute :float ..."

Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword

2023-10-01 Thread Juan Manuel Macías
Max Nikulin writes: > On 28/09/2023 22:36, AW wrote: >> >> The idea to have a LATEX_PRE_HEADER to insert `\DocumentMetadata{}` is >> exactly >> what you need right now, if you export from orgmode to current LaTeX. With >> `\DocumentMetadata{}` you can add most of the necessary xmp data -- and I

Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword

2023-10-01 Thread Max Nikulin
On 28/09/2023 19:31, Juan Manuel Macías wrote: Starting with \documentclass, the order is important in certain cases and not so important in others. And, anyway, you can always use a hook like \AtBegin... \AtEnd..., etc. I am judging from my past experience. Besides \usepackage{cmap} that was

Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword

2023-10-01 Thread Max Nikulin
On 28/09/2023 22:36, AW wrote: The idea to have a LATEX_PRE_HEADER to insert `\DocumentMetadata{}` is exactly what you need right now, if you export from orgmode to current LaTeX. With `\DocumentMetadata{}` you can add most of the necessary xmp data -- and I write most, because I'm using it on

Re: Lesser blocks allowing unescaped lines

2023-10-01 Thread Max Nikulin
On 30/09/2023 12:06, Tom Alexander wrote: The documentation for lesser blocks[1] states: Lines beginning with an asterisk or `#+` must be quoted by a comma (`,*`, `,#+`). However, the following test document parses as a lesser block despite containing a line starting with an unescaped #+:

Are 'placement' and 'float' "obsolete terms" in inline images exported to LaTeX?

2023-10-01 Thread Juan Manuel Macías
I don't know if this nomenclature issue that I'm going to raise is excessively formalist, but here it goes. Since the header arg :float now supports any string in inline images exported to latex (that is, ':float foo' is exported as the environment \begin{foo}…\end{foo}), the header arg

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-10-01 Thread Visuwesh
[வெள்ளி செப்டம்பர் 29, 2023] Liu Hui wrote: > Hi, > > 在 2023/9/27 16:29, Visuwesh 写道: > >> +*** Files and images can be attached by dropping onto Emacs >> + >> +Attachment method other than ~org-attach-method~ for dropped files can >> +be specified using ~org-dnd-default-attach-method~. > >>

Re: Extra paragraphs incorrectly spawning when ":end:" appears.

2023-10-01 Thread Ihor Radchenko
"Tom Alexander" writes: > This test document should have 1 paragraph but org-mode is parsing it as 2: > ``` > foo > :end: > baz > ``` > > which parses as: > ``` > (section > (paragraph "foo\n") > (paragraph ":end:\nbaz\n") > ) > ``` > > The paragraph documentation[1] states that: >> Empty