Re: [BUG] unexpected behaviour on sub-list

2024-07-11 Thread Ihor Radchenko
Phil writes: > I'm reporting this bug on Org mode version 9.7.6. > It was in already in 9.5. > > - here is a list > with a sub list > > - like here ; > > and then text (<- this will be deleted) > x > > 1) Trying to insert an other item above, > by suppressing the

Re: figures not exported properly by ox-latex

2024-07-11 Thread mahmood sheikh
it might've been fixed for figures as its been a while, but shouldnt latex environments with #+caption: and #+name: above them be exported as figures? because currently the user has to write \begin{figure} and \end{figure} explicitly which would work but may not be as practical for other ox backend

Re: figures not exported properly by ox-latex

2024-07-11 Thread Ihor Radchenko
mahmood sheikh writes: > it might've been fixed for figures as its been a while, but shouldnt latex > environments with #+caption: and #+name: above them be exported as figures? > because currently the user has to write \begin{figure} and \end{figure} > explicitly which would work but may not be

Re: figures not exported properly by ox-latex

2024-07-11 Thread Karthik Chikmagalur
> it might've been fixed for figures as its been a while, but shouldnt > latex environments with #+caption: and #+name: above them be exported > as figures? because currently the user has to write \begin{figure} and > \end{figure} explicitly which would work This is not the case. The LaTeX output

Re: figures not exported properly by ox-latex

2024-07-11 Thread mahmood sheikh
this is an example of what i mean: #+begin_src org #+name: fig-switching-circuit-kmap-1 #+caption: karnaugh table of \(p\) \begin{tikzpicture} \karnaughmap[function=, defaultmap=8, omitzeros=false, omitidx, variables=xyz]{01101001} \end{tikzpicture} #+end_src i vaguely recall org mode a

Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options))

2024-07-11 Thread Ihor Radchenko
Daniel Clemente writes: > I see it's trying to decrypt things (therefore it asks for the > password). It shouldn't, since I didn't modify any encrypted section. > I said „it asked me for an encryption password“ because the GPG prompt > confusingly uses the word „encryption“ („Passphrase for symme

Re: [BUG] org--plot/sensible-tick-num when range is a power of 10

2024-07-11 Thread Ihor Radchenko
Brice Waegenire writes: > I've found a bug in =org--plot/sensible-tick-num=, when a plot has a > range of a power of 10 (1, 10, 100, ...). > > To reproduce, run =org-plot/gnuplot= on the following plot: > #+plot: type:radar min:0 max:10 > | Metric | Value | > |-+---| > | alpha |

Re: multipage html output

2024-07-11 Thread Ihor Radchenko
Orm Finnendahl writes: > If org-export-as returns just one string, then it will reparse the > parse tree each time it needs to generate an output string. But as you > say below, you rather think org-export-as returns a list of strings > for the multipage case. Got it now. >> What I have in mind

Re: figures not exported properly by ox-latex

2024-07-11 Thread mahmood sheikh
im fairly certain that at the time i sent this email, ox-latex was failing to insert \label and \caption too after images in latex exports (like ox-html to html exports). but perhaps someone made a change that fixed that. the fact that ox-latex even inserts \caption and \label tells me that it was

Re: [BUG] List: org-shiftright brake list by indentation. Patch. [9.6.28 ( @ /home/u/.emacs.d/elpa/org-9.6.28/)]

2024-07-11 Thread Ihor Radchenko
[ Adding Org mailing list back to CC to keep the conversation public ] Vitaliy Chepelev writes: > I made much better patch for my org-9.6.28/org-list.el, now indentation > is working and list don't breaks: May you please explain in more details what is better in the proposed patch compared to

Re: Q: Attachments and IDs?

2024-07-11 Thread Ihor Radchenko
David Masterson writes: > It's taking awhile to get through my hard head, but I think I'm > beginning to understand the directory structure of attachments. > > org-attach-id-dir/IDx/attachment-file > > I don't understand the value of IDx. I would think that "attachment:" > could simply referenc

Re: Capture, template expansion and keyword for link type

2024-07-11 Thread Ihor Radchenko
Sébastien Gendre writes: > I was reading the Org-mode manual, at section "10.1.3.2 Template > expansion": > https://orgmode.org/manual/Template-expansion.html > > And I was a little bit confused by the "%:keyword". The manual say: > "Specific information for certain link types, see below." > > Wh

Re: Capture from Firefox to Org-mode

2024-07-11 Thread Ihor Radchenko
Sébastien Gendre writes: > How to capture data from a web page to Org-mode ? > > * What I need > > I want to be able to capture different kind of information : > > - Article, to read later > > - Book, with all its metadata (title, author, subject, etc) > > - Magazin, to buy later (title, editor,

Re: Capture, template expansion and keyword for link type

2024-07-11 Thread Max Nikulin
On 11/07/2024 13:59, Sébastien Gendre wrote: I was reading the Org-mode manual, at section "10.1.3.2 Template expansion": https://orgmode.org/manual/Template-expansion.html And I was a little bit confused by the "%:keyword". The manual say: "Specific information for certain link types, see below

Re: [ANN] tchanges.el: Collaborate with word processor (docx) users using 'track changes'

2024-07-11 Thread Ihor Radchenko
James Thomas writes: > The import part in my package is merely a frill. > >> but with an added feature to automatically display diffs. What about comments? Are they stored into Org mode file or separately? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: Capture from Firefox to Org-mode

2024-07-11 Thread Max Nikulin
On 09/07/2024 23:45, Morgan Willcock wrote: Just to mention another option, I use this one: https://addons.mozilla.org/en-US/firefox/addon/linkremark/ In its current state it does not extract metadata specific to books or events. Dublin Core or other similar metadata are on TODO list, but wit

Re: [BUG] List: org-shiftright brake list by indentation. Patch. [9.6.28 ( @ /home/u/.emacs.d/elpa/org-9.6.28/)]

2024-07-11 Thread Ihor Radchenko
Vitaliy Chepelev writes: > Hi, In the first version I disabled indentation completely, > but this breaks sub-list items, as I found out later. In > the second version I disabled calculation of bullet lengths > ( 1. 1) = 2 (- +) = 1, all = 1 now, this works for text > formatted with fill-parag

Re: Q: Attachments and IDs?

2024-07-11 Thread Daniel Fleischer
You can override the ID generation and the ID-to-path function to create an attachment hierarchy of your liking, e.g. ATTACH-DIR/year/month-day/*files* Checkout `org-attach-id-to-path-function-list' and `org-id-new'. Daniel

Re: Capture, template expansion and keyword for link type

2024-07-11 Thread Sébastien Gendre
Max Nikulin writes: > See the "Link type, Available keywords" table in this section. > `org-capture' may be executed in various Emacs buffers and available > keywords may depend on major mode. Is it necessary to call "org-store-link" before calling "org-capture" to extracet the informations used

Re: Capture, template expansion and keyword for link type

2024-07-11 Thread Sébastien Gendre
Thank you for your reply. I have write more, after the quotes below. Ihor Radchenko writes: > 1. If there is %a placeholder in the template, org-capture stores link >to the location from where you called org-capture > > 2. If there is no placeholder, the last stored link is used But how th

Re: Capture from Firefox to Org-mode

2024-07-11 Thread Sébastien Gendre
Thank you for your replies. I wrote more after the quotes below. Ihor Radchenko writes: > I wrote https://github.com/yantar92/org-capture-ref to do exactly > this. Is it meant to be used with org-ref ? I didn't plan to build a bibliography with bibtex (at least for now). I just plan to built

Re: Capture from Firefox to Org-mode

2024-07-11 Thread Sébastien Gendre
Thank you for the suggestions, I will take a look. Chris Keschnat writes: > Sébastien Gendre writes: > > Hi, > I'm not actively using this but I had it configured and just tested that > it works. It might not answer you're questions directly, but I hope it helps. > >> How to capture data from a

Re: Capture from Firefox to Org-mode

2024-07-11 Thread Sébastien Gendre
Morgan Willcock writes: > Just to mention another option, I use this one: > > https://addons.mozilla.org/en-US/firefox/addon/linkremark/ > > I took the easy option and just use the default "integration" which uses > the clipboard, but I think org-protocol is supported as well. A very nice sugge

Re: Capture from Firefox to Org-mode

2024-07-11 Thread Sébastien Gendre
Thank you for your reply. I write wore after the quotes below. Max Nikulin writes: > On 09/07/2024 23:45, Morgan Willcock wrote: >> Just to mention another option, I use this one: >> https://addons.mozilla.org/en-US/firefox/addon/linkremark/ > > In its current state it does not extract metadat

Re: [ANN] tchanges.el: Collaborate with word processor (docx) users using 'track changes'

2024-07-11 Thread James Thomas
Ihor Radchenko wrote: > James Thomas: > >> The import part in my package is merely a frill. >> >>> but with an added feature to automatically display diffs. > > What about comments? Are they stored into Org mode file or separately? They're loaded on import and view/edit/add-able before re-exporti

in 28, massive slowness in capture, folding, and org-show-context

2024-07-11 Thread Samuel Wales
* NAKA capture, folding, and org-show-context slow in 28 folding and unfolding in a large .org is slow. *** results for capture capture takes many seconds usually before the capture buffer comes up. idk if these results are useful. here are results for capturing one regular and one with s

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2024-07-11 Thread Jakob Schöttl
Thanks for the reproducer! I committed a fix onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=58c5c5882 Hi Ihor, do you know anything on the merge progress of your fix into emacs? I just tested with GNU Emacs 29.4 with --no-init-file and the minimal example still does