Re: [PATCH] Delete some Emacs 24 compat code

2022-08-11 Thread Bastien
Ihor Radchenko writes: > Sounds reasonable, though we might emphasize a bit more that it is > relevant to the latest Org from ELPA/git. > > We have > >If, for one reason or another, you want to install Org on top of this > pre-packaged version, you can use the Emacs package system or

Re: [PATCH] ob-tangle.el: fix ‘:comments noweb’ double linking

2022-08-11 Thread Hraban Luyat
On 8/11/22 12:26 AM, Ihor Radchenko wrote: > Hraban Luyat writes: > >>> Is there any problem with the following? >>> >>> (alist-get :tangle params) >> >> This bit of code was moved, I didn't write it. The original code uses a >> variable `src-tfile' which isn't available here, so I reuse

Re: [PERFORMANCE] Why some org code is so deep invoked?

2022-08-11 Thread Ihor Radchenko
"Christopher M. Miles" writes: > When I profiling Org Agenda generation, I found that org code is deeply > invoked in Emacs profiler report. > > My Question: > > - What reason caused this situation? > - Can Org Mode optimize those deeply invoked code? Could you please clarify what exactly is yo

[PERFORMANCE] Why some org code is so deep invoked?

2022-08-11 Thread Christopher M. Miles
When I profiling Org Agenda generation, I found that org code is deeply invoked in Emacs profiler report. My Question: - What reason caused this situation? - Can Org Mode optimize those deeply invoked code? I have option ~org-agenda-start-with-clockreport-mode~ enabled. And have lot files in

Re: how to beamer export overlay figure?

2022-08-11 Thread Max Nikulin
On 10/08/2022 23:39, edgar wrote: #+latex: \includegraphics<2->[height=0.5\regheight]{example-image-a} That is: replacing the =#+latex:= line with a =[[file:figure.png]]= which allows for overlays with Beamer. I already tried some stuff, but I think that it would only be noise to add it here.

Re: how to beamer export overlay figure?

2022-08-11 Thread edgar
On 2022-08-11 14:06, Fraga, Eric wrote: On Thursday, 11 Aug 2022 at 13:05, ed...@openmail.cc wrote: (the <2-> is within the square brackets). Ooops. Sorry about that. Didn't look closely enough at the LaTeX created. My bad. In that case, I'm out of suggestions other than to put the <2-> on

Re: [PATCH] Re: Adding target and custom id links doesn't ask for description

2022-08-11 Thread Max Nikulin
On 10/08/2022 19:30, Carlos Pita wrote: I suggest to set description to nil and thus ask the user in such scenario. I'm fine with that. Alternatively the default may be the target or custom id (that is, the same that is in the link part), again letting the user change it. Thanks! Ca

Re: [PATCH] ob-tangle.el: fix ‘:comments noweb’ double linking

2022-08-11 Thread Max Nikulin
On 11/08/2022 03:54, Hraban Luyat wrote: On 8/3/22 11:55 AM, Max Nikulin wrote: Do you mean to rewrite (when bare (if x y bare)) to this? (and bare x y) If that's what you meant, I think it would evaluate differently if bare = truthy and x = falsy, right? Form 1 evaluates to `bar

Re: [PATCH v3] Re: [BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-08-11 Thread Max Nikulin
On 11/08/2022 11:19, Ihor Radchenko wrote: Max Nikulin writes: I slightly dislike the "___xx" compared to "__" because it will create a proliferation of top-level folders as opposed to cramping the non-standard IDs into a single "__" folder. I believed that proliferation of folders is

Re: how to beamer export overlay figure?

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 13:05, ed...@openmail.cc wrote: > (the <2-> is within the square brackets). Ooops. Sorry about that. Didn't look closely enough at the LaTeX created. My bad. In that case, I'm out of suggestions other than to put the <2-> on the list entry itself (which I believe is

Re: how to beamer export overlay figure?

2022-08-11 Thread edgar
On 2022-08-11 09:51, Fraga, Eric wrote: #+attr_latex: :options <2-> [[file:figure.png]] Thanks. That creates \begin{center} \includegraphics[<2->,width=.9\linewidth]{example-image-a.png} \end{center} (the <2-> is within the square brackets). GNU Emacs 28.1, Org 9.4.6. I did M-: (

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Emmanuel Charpentier
Le jeudi 11 août 2022 à 12:32 +, Fraga, Eric a écrit : > On Thursday, 11 Aug 2022 at 13:51, Emmanuel Charpentier wrote: [ Snip... ] > > Why locally ? > > In case you have different configurations. Nice idea ! I was (still am) aiming at a "default configuration" I could slap on my .init.el.

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 14:39, Emmanuel Charpentier wrote: > What about emacs' "custom" interface ? Do you use it ? I do but generally only for user interface aspects, e.g. appearance and interaction, and not for document specific aspects like exporting and publishing. -- : Eric S Fraga, wit

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 13:51, Emmanuel Charpentier wrote: > Aaaarghhh... You're right. This works perfectly. Great! > Why locally ? In case you have different configurations. But if you are happy with this as a global value, just use setq instead. I tend to configure each (large) org docu

Re: [PATCH] Delete some Emacs 24 compat code

2022-08-11 Thread Ihor Radchenko
Bastien writes: > Ihor Radchenko writes: > >> Should we document this workflow in >> https://orgmode.org/worg/org-maintenance.html ? > > I slightly updated the page again, let me know if it's clear: > https://orgmode.org/worg/org-maintenance.html Thanks! LGTM! >> Maybe we can add this informat

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Emmanuel Charpentier
Le jeudi 11 août 2022 à 09:48 +, Fraga, Eric a écrit : > On Thursday, 11 Aug 2022 at 10:00, Emmanuel Charpentier wrote: > > Since about a week, exporting directly to Beamer ceased to work. > > See > > the attached Minimal.org file : > > Debugger entered--Lisp error: (wrong-type-argument sequenc

Re: [BUG] org-get-buffer-tags no longer strips text properties

2022-08-11 Thread Ihor Radchenko
Anders Johansson writes: > Hi, > Commit 819409 introduced a change where the text-properties of tags > collected from a buffer are no longer stripped, which means tags may be > fontified in unwanted ways in completing-read (this became especially ugly > using org-modern and code for right alignin

Re: [PATCH] Delete some Emacs 24 compat code

2022-08-11 Thread Bastien
Ihor Radchenko writes: > Should we document this workflow in > https://orgmode.org/worg/org-maintenance.html ? I slightly updated the page again, let me know if it's clear: https://orgmode.org/worg/org-maintenance.html >>> If you are running an unsupported >>> versions, either you should avoid

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 10:00, Emmanuel Charpentier wrote: > Since about a week, exporting directly to Beamer ceased to work. See > the attached Minimal.org file : > Debugger entered--Lisp error: (wrong-type-argument sequencep 108) org-latex-pdf-process should be a list of strings, not a strin

Re: how to beamer export overlay figure?

2022-08-11 Thread Fraga, Eric
On Wednesday, 10 Aug 2022 at 16:39, ed...@openmail.cc wrote: > That is: replacing the =#+latex:= line with a =[[file:figure.png]]= > which allows for overlays with Beamer. I already tried some stuff, but I > think that it would only be noise to add it here. Thanks! Try #+attr_latex: :options <2->

[BUG] org-get-buffer-tags no longer strips text properties

2022-08-11 Thread Anders Johansson
Hi, Commit 819409 introduced a change where the text-properties of tags collected from a buffer are no longer stripped, which means tags may be fontified in unwanted ways in completing-read (this became especially ugly using org-modern and code for right aligning tags with display properties). Som

[BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Emmanuel Charpentier
Dear list, Since about a week, exporting directly to Beamer ceased to work. See the attached Minimal.org file : - This file exports perfectly to a LaTeX file (via C-c C-e l b). - The resulting Minimal.tex exports perfectly to Minimal.pdf. - Trying to export directly to PDF via C-c C-e l P fa