Re: [PATCH] Clarify that REST is not supported on the start TIME in a time-range timestamp.

2023-10-02 Thread Tom Alexander
Potentially related, org-mode is accepting this malformed timestamp from[1]: ``` <2016-02-14 Sun ++y> ``` The org-mode documentation[2] only includes REST with TIME, defining TIME as "H:MMREST". The above does not have any TIME but it accepts the timestamp anyway: ``` (timestamp :type active

[PATCH] Clarify that REST is not supported on the start TIME in a time-range timestamp.

2023-10-02 Thread Tom Alexander
If REST is included in the first TIME on a time-range timestamp then the entire timestamp becomes a single range-less timestamp. To test I used the following test document: ``` [1970-01-01 Thu 8:15-13:15foo] [1970-01-01 Thu 8:15foo-13:15] ``` The first line parses as a timerange from

[BUG] org-agenda column view error: wrong type markerp, nil [9.6.9 ( @ /path/to/org-9.6.9/)]

2023-10-02 Thread John Borwick
Hello! After updating org-mode, when I do the below: 1. Run a custom org-agenda =C-c a w= that has a column view format. (This works correctly) 2. Open a different buffer 3. Re-run org-agenda I get the error =Wrong type argument: markerp, nil=. Using the debugger, I found the error

Re: [PATCH] ob-maxima.el, etc. (was Re: [MAINTENANCE] On how much we can expose internals into defcustom)

2023-10-02 Thread Leo Butler
On Fri, Sep 22 2023, Ihor Radchenko wrote: > Leo Butler writes: > >>> What is the purpose of this `unwind-protect'? >>> In its current form, it does nothing because no UNWINDFORMS are >>> provided. >> >> I copied the forms from tests I had written for ob-octave, without >> thinking about why

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

2023-10-02 Thread Juan Manuel Macías
Ihor Radchenko writes: >> ┌ >> │ #+caption: Main caption >> │ #+begin_figure >> │ #+CAPTION: subcaption 1 >> │ #+ATTR_LaTeX: :float subfigure :placement {\textwidth} :center nil :width >> \textwidth >> │ [[file:/usr/share/texmf-dist/tex/latex/mwe/example-image-a.jpg]] >> ... >> I think this

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

2023-10-02 Thread Tom Alexander
Hmm thanks, that makes sense. I guess a post-processing step to merge adjacent paragraphs wouldn't work either since that wouldn't stitch together objects like the bold in this test document without re-parsing the entire paragraph: ``` foo *bar :end: baz* ``` oh well 路 -- Tom Alexander pgp:

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

2023-10-02 Thread Ihor Radchenko
Rens Oliemans writes: > Ihor Radchenko writes: > >> I cannot reproduce on the latest main. > > Me neither, it seems that commit 0d5951a9b02d9ce71af154612d0fa3a3381856ec > fixed the issue. Thanks for confirming! Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about

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

2023-10-02 Thread Rens Oliemans
Ihor Radchenko writes: > I cannot reproduce on the latest main. Me neither, it seems that commit 0d5951a9b02d9ce71af154612d0fa3a3381856ec fixed the issue. -- Rens

Re: [PATCH] org-id: implement arbitrary cross-file references

2023-10-02 Thread Ihor Radchenko
Ihor Radchenko writes: > Sergei Kosyrev writes: > >> Yes, I saw your comments, thank you for them. >> >> Since they imply a non-trivial reformulation, it would require another deep >> dive, which I cannot commit to right now. > > Thanks for the update! It has been a couple of months since the

[FR] Re: language-specific org-babel-noweb-wrap-start?

2023-10-02 Thread Ihor Radchenko
Edgar Lux writes: > I wish you a nice day, week, month... > I would like to know if there is a way to set =org-babel-noweb-wrap-start= > for a specific language. If I set that variable to a value, it will apply to > all of them. Thank you. > ... > What I would like is something like > >

Re: [BUG] short TeX & in-text code highlighting [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2023-10-02 Thread Ihor Radchenko
Edgar Lux writes: > I'm almost sure that this is known, but I don't want to assume. > > I get the text between ~ ~ with colouring as if it was in-text code > snippet. I found it interesting > > \(a ~b\) and \(\int_{\Omega}fv~\mathrm{d}\) Confirmed. It is one of the known edge cases with Org

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

2023-10-02 Thread Ihor Radchenko
Juan Manuel Macías writes: > An example of more "unexpected" (but very practical) uses is this one > with three subfigures and the subcaption package: > > ┌ > │ #+caption: Main caption > │ #+begin_figure > │ #+CAPTION: subcaption 1 > │ #+ATTR_LaTeX: :float subfigure :placement {\textwidth}

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

2023-10-02 Thread Ihor Radchenko
Jingcheng Xu writes: > 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

[BUG] short TeX & in-text code highlighting [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2023-10-02 Thread Edgar Lux
I'm almost sure that this is known, but I don't want to assume. I get the text between ~ ~ with colouring as if it was in-text code snippet. I found it interesting \(a ~b\) and \(\int_{\Omega}fv~\mathrm{d}\) Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo

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

2023-10-02 Thread Max Nikulin
On 27/09/2023 02:12, Juan Manuel Macías wrote: Max Nikulin writes: I just have checked that a dirty hack with a few lines of code for `org-export-filter-final-output-functions' allows to insert arbitrary text to the beginning of export result. Perhaps a more elegant solution exists, but I

Re: [BUG] Warning when creating preview

2023-10-02 Thread Edgar Lux
Nope, there is still something wrong with my config (see attachment). Haven't been able to reproduce consistently. -- Sent with https://mailfence.com Secure and private email log.gz Description: File Attachment: log.gz

language-specific org-babel-noweb-wrap-start?

2023-10-02 Thread Edgar Lux
Hi! I wish you a nice day, week, month... I would like to know if there is a way to set =org-babel-noweb-wrap-start= for a specific language. If I set that variable to a value, it will apply to all of them. Thank you. This is fine right now #+begin_src lang1 :noweb yes