Re: org-persist

2021-10-20 Thread Ihor Radchenko
Colin Baxter  writes: > Thank you. I cloned org-mode afresh and got the same warning during > 'make' - I presume that too is now fixed. The warning should never appear now. I removed it completely. > > Note that org-persist is enabled by default together with > > org-element-cache.

Re: org-persist

2021-10-20 Thread Ihor Radchenko
Colin Baxter  writes: > After today's pull of org-mode I get the warning that org-persist cannot > read its index. This is an entirely new warning (as of today) and I > assume is the result of the recent commits in org-persist. > Please, can this be corrected. The warning is irritating,

Re: Clarification on org-startup-fold behavior vs. docs

2021-10-19 Thread Ihor Radchenko
John Hendy writes: > #+begin_example > (add-to-list 'load-path "~/.elisp/org/lisp/") > (add-to-list 'load-path "~/.elisp/org/contrib/lisp/") > (setq org-startup-folded "overview") > #+end_example The value should be a symbol, not a string: (setq org-startup-folded 'overview) customise

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Ihor Radchenko
András Simonyi writes: >> The processor relies on the external Citeproc Emacs library, which must be >> available prior to loading this library. > > Should we add something to this? If yes, what is missing in your opinion? I saw this comment, but I was not sure which library it referred to.

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Ihor Radchenko
András Simonyi writes: > ... An added benefit could be that the org-cite CSL > export processor has recently gained (admittedly rather experimental) > support for directly using org-bibtex bibliographies, although insert > and follow functionality is missing at the moment. By the way, do I

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Ihor Radchenko
Ypo writes: > I have a .bib file with references, and a .org file with annotations. Like: > ... > Could I write on the .bib file using the orgmode power? Something like > this could work as a .bib file, or is it a no-no? M-x org-bibtex (you need a special format for Org headings). org-bibtex

Re: [feature proposal] Headline caching via org-element-cache = up to 2.5x performance boost

2021-10-18 Thread Ihor Radchenko
Bastien writes: > with latest main, I cannot use S- (org-agenda-do-date-later) to > update the entry at point. > > Here is the backtrace I get: > > Debugger entered--Lisp error: (error "Cannot find time stamp") > error("Cannot find time stamp") Apparently 'org-marker property must always

Re: problem with columnview and the match option

2021-10-17 Thread Ihor Radchenko
Uwe Brauer writes: > ** All groups > #+BEGIN: columnview :hlines 2 :match "H1" :maxlevel 2 :skip-empty-rows t > :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) > %5Sheet(Sheet) %7ST1(Status){X/}" > | Status | Group | Exercise | Sheet | Status | >

Re: [BUG] org-toggle-headline inserts "TODO" regardless of local definitions [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)]

2021-10-17 Thread Ihor Radchenko
autofrettage writes: > * DONE Apple > ** TODO Banana > > ...instead of these: > > * baz Apple > ** foo Banana Confirmed. Currently, checkbox to todo keyword mapping is hard-coded in org-list-to-subtree. We may use something like [ ] -> (car org-not-done-keywords); [-] -> (car

Re: archiving speed [was Re: Tips on maintaining history in Org Mode]

2021-10-17 Thread Ihor Radchenko
Samuel Wales writes: > i should clarify. bulk archiving slows down even with /nonexistent/ > (have not tried empty) archives. as part of normal and expected > operation, bulk creates the archive for the first entry, and then > subsequent entries are added. those get slower and slower. Hi. I

Re: from 0ef88e2d9 make generates error

2021-10-17 Thread Ihor Radchenko
Jeremie Juste writes: > Hello, > > I just tried make on 0ef88e2d9 and got the following error. > > org-version: 9.5 (release_9.5-142-g0ef88e) > makeinfo --no-split org.texi -o org.info > make[1]: makeinfo: No such file or directory > make[1]: *** [Makefile:72: org] Error 127 > make[1]: Leaving

Re: [feature proposal] Headline caching via org-element-cache = up to 2.5x performance boost

2021-10-17 Thread Ihor Radchenko
Bastien writes: > If you feel confident the change is mature enough for being merged > into the main branch, please go ahead, this will boost the feedback. Merged to main just now.

Re: [feature proposal] Headline caching via org-element-cache = up to 2.5x performance boost

2021-10-17 Thread Ihor Radchenko
Bastien writes: > If you feel confident the change is mature enough for being merged > into the main branch, please go ahead, this will boost the feedback. Merged to main just now.

Re: [PATCH] [BUG] Org 9.5: org-goto UI seems broken

2021-10-16 Thread Ihor Radchenko
Max Nikulin writes: > It seems, each case of `org-no-popups' may require specific code. I have > tried to take some code related to completion. It overrides > display-buffer-base-action, but something more is required for > pop-up-frames. I think you went too far. display-buffer-base-action

Re: resume an interrupted enumerated list or reset the counter

2021-10-14 Thread Ihor Radchenko
Uwe Brauer writes: > Hi > > Sometimes I have the following > > 1. first > > 2. Second > > 3. Third > #+begin_src > A=7 > #+end_src > > 1. > > > So enumerated list start with a fresh counter, is there a possibility > either to resume the list or to reset its counter? You need an indent: 1.

Re: [PATCH] [BUG] Org 9.5: org-goto UI seems broken

2021-10-14 Thread Ihor Radchenko
Marco Wahl writes: > Since org-goto in main is still broken I'll commit the fix for org-goto > which kicks out the use of the macro org-no-popups (but not the macro > itself since it's used elsewhere AFAICS.) > > Max, Ihor! If you see the necessity of refinement please keep going! I am

Re: Customization of IDs generation method

2021-10-13 Thread Ihor Radchenko
Ypo writes: > How would the "New option org-id-ts-format" work? > > I added to my init.el these lines with no result (sorry if I am > commiting heresy): > > (defcustom org-id-ts-format "%Y-%m-%d-T%H-%M-%S.%6N" >   "Timestamp format for IDs generated using `ts' `org-id-method'. > The format

Re: org-beamer empty titles

2021-10-13 Thread Ihor Radchenko
Joseph Vidal-Rosset writes: > Maybe. I'm using presently Prelude Emacs and in elpa I have org-20210920/ > > What can I do? I guess https://prelude.emacsredux.com/en/latest/support/ ELPA does have the right Org mode version: http://elpa.gnu.org/packages/org.html

Re: Best way to include METAPOST in ConTeXt exporter

2021-10-13 Thread Ihor Radchenko
Jason Ross writes: >> Or you can use "raw" results by default and format everything as you >> wish in your Org Babel module programatically. > > I'm not sure I understand this yet. Would this emit METAPOST code to the > Org buffer? Ideally, I'd like to emit METAPOST code if the backend is >

Re: Best way to include METAPOST in ConTeXt exporter

2021-10-13 Thread Ihor Radchenko
Jason Ross writes: > Here's a hook that modifies the source blocks to wrap their > output in #+BEGIN/END_METAPOST tags if the ConTeXt backend is used, > before Org Babel gets to them, but otherwise leaves them alone. > > I wonder if anyone has any better ideas of how to do this. I'm > modifying

Re: [PATCH] [BUG] Org 9.5: org-goto UI seems broken

2021-10-12 Thread Ihor Radchenko
Marco Wahl writes: > My feeling is that the "protection" is good intention but brings more > harm than good. I think it's not a good idea to enforce a certain > window setting. I guess the knowing user has an easier path to fine > tune the org-goto user interface when there is less

Re: org-beamer empty titles

2021-10-12 Thread Ihor Radchenko
Eric S Fraga writes: > I don't understand. Maybe somebody else on the list can test this? A blind shot: something to do with https://orgmode.org/list/87tumvdno3@gmail.com Hope it helps. Best, Ihor

Re: [BUG] Consecutive emphasis markers only work every other time [9.5 (9.5-??-cc2490a70 @ /home/joe/.emacs.d/.local/straight/build-27.1/org/)]

2021-10-10 Thread Ihor Radchenko
Joseph Peterson writes: > > > Steps to reproduce: > Enter org mode (I am on cc2490a7061955395c4f5a1a23a088044554a2f7) > Type *bold* *bold* *bold* > Notice that the second instance is not bolded while the first and third >

Re: How to retrieve ALL the information of an Org table ?

2021-10-09 Thread Ihor Radchenko
Emmanuel Charpentier writes: > Passing this table as an argument to source code loses the hlines : > #+begin_src emacs-lisp :exports results :results drawer :var foo=ttest > foo > #+end_src I think you are looking for ":hlines yes" header arg (the default is no) Best, Ihor

Re: Someone to help merging orgmode.org/contribute.html and orgmode.org/worg/org-contribute.html ?

2021-10-07 Thread Ihor Radchenko
Bastien writes: > Perhaps you can still carefully proofread > https://orgmode.org/worg/org-contribute.html and enhance it? Some comments: >> If you can reproduce a bug, reply to the original poster and add >> X-Woof-Bug: confirmed to your mail headers, and the bug will then be >> shown on

Fwd: Re: Emacs master: different (ugly) font in org-mode [Windows, macOS]

2021-10-06 Thread Ihor Radchenko
Start of forwarded message From: Ihor Radchenko To: Protesilaos Stavrou Cc: Stefan Kangas , Angelo Graziosi , Eli Zaretskii , emacs-de...@gnu.org, emacs-org-m...@gnu.org, Nicolas Goaziou Subject: Re: Emacs master: different (ugly) font in org

Re: [BUG] org-context called from link in org-agenda entry returns wrong values [9.5 (9.5-g0a86ad @ /home/.emacs.d/elpa/org-9.5/)]

2021-10-06 Thread Ihor Radchenko
Harald Judt writes: > Hi, > > I am using this function to copy links from the agenda to the clipboard: > > (defun my-copy-org-url () > (interactive) > (let* ((link-info (assoc :link (org-context))) > ... org-context is ancient. It relies on org-links being fontified using 'org-link

Re: [PATCH] [BUG] Org 9.5: org-goto UI seems broken

2021-10-05 Thread Ihor Radchenko
00:00 2001 Message-Id: <438c476066e897b1fc3d758fd48712c1846cd845.1633451289.git.yanta...@gmail.com> From: Ihor Radchenko Date: Tue, 5 Oct 2021 20:37:02 +0800 Subject: [PATCH] org-goto: Fix window broken arrangement after 399481bad * lisp/org-goto.el (org-goto-location): Make sure that

[PATCH] [BUG] Org 9.5: org-goto UI seems broken

2021-10-05 Thread Ihor Radchenko
Max Nikulin writes: > Regression is caused by > > commit 399481bad10845a77f210c9320ff1efee9a312c8 > Author: Ihor Radchenko > Date: Mon May 31 20:47:45 2021 +0800 > > Do not ignore user-defined display-buffer-alist in org-insert-link See the attached fix. The

Re: Best way to include METAPOST in ConTeXt exporter

2021-10-04 Thread Ihor Radchenko
Jason Ross writes: > I had considered using special blocks; they match my mental model the best. > However, they don't provide any support for syntax highlighting or opening > the block in a new major mode buffer. I'm not sure if it's worth giving up > language features in order to use the block

Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread Ihor Radchenko
Nicolas Goaziou writes: >> I think, "%5s" is enough, flag "0" does not anything useful for >> strings. > > Also, the fix belongs to `org-get-time-of-day', which is also > responsible for formatting the output. I doubt so. `org-get-time-of-day' is used to format ending time in time ranges. If

Re: invalid-function (date date) after update to 9.5

2021-10-04 Thread Ihor Radchenko
Florian Lindner writes: > Hello, > > after the upgrade to 9.5 (9.5-g0a86ad @ /home/florian/.emacs.d/elpa/org-9.5/) > on 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version > 1.16.0) of 2020-09-19 my agenda stopped working > > (org-agenda) -> any keyword (a, t or n) gives:

Re: Best way to include METAPOST in ConTeXt exporter

2021-10-04 Thread Ihor Radchenko
Jason Ross writes: > Hello, > > I'd like to include METAPOST figures in the ConTeXt exporter backend I'm > developing. However, I don't know of an idiomatic way to add captions and > references for the figures. You can use affiliated keywords: (defconst org-element-affiliated-keywords

Re: Unable to follow gnus links

2021-10-04 Thread Ihor Radchenko
Tom Ed White writes: > I was able to fix the problem for the time being by changing the > arguments to: > > (defun org-gnus-open (path _) > > The keystroke I use is C-c C-o, which runs org-open-at-point which is in > org.el. I understand. But it does not solve the potential problem for other

[PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread Ihor Radchenko
looks > like > 1 > 2. the old style is align ":" The attached patch should fix the issue. Please, test it though. I do not use time grid regularly. Best, Ihor >From df5c35bd84e1d343c52c605c2c77393fb11ad590 Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date:

Re: Org lint and named source blocks

2021-10-04 Thread Ihor Radchenko
Tom Gillespie writes: >> Should we allow syntax like #+KEYWORD:value to be correct or do we >> require a whitespace/space after colon all the time? > > The spec as written is ambiguous/silent on this issue. In my work on > laundry tokenizer and grammar I have found keyword syntax to be a >

Re: Org lint and named source blocks

2021-10-04 Thread Ihor Radchenko
Ihor Radchenko writes: > This one is tricky. The linter (org-lint-duplicate-name) expects that > NAME keyword must have space before value. However, the actual Org > parser (org-element--collect-affiliated-keywords) does not care about > space. My intuition says that the pars

Re: Manually/programmatically adding a state transition message

2021-10-03 Thread Ihor Radchenko
Trevoke writes: > If I understand correctly, this will prevent the addition of a note; I have > already found a way to do this. Please let me know if I am mistaken. > What I am looking for is a way to programmatically, without user input, > change the state and add an automatic note. No.

[PATCH] org-attach-use-inheritance inherits from sibling

2021-10-03 Thread Ihor Radchenko
all, I had to fix one of the tests, that apparently was only working because the bug existed. Please double check. Best, Ihor >From 199e64cf8264025cc78f79c3bdb278920685281f Mon Sep 17 00:00:00 2001 Message-Id: <199e64cf8264025cc78f79c3bdb278920685281f.1633271912.git.yanta.

Re: How is the return value of `org-babel-execute:FOO` interpreted?

2021-10-03 Thread Ihor Radchenko
Kodi Arfer writes: > It works, thank you. I should've looked at the changelog more closely. I > wonder why this change was made. It would be annoyingly redundant to put > `:results file` next to every `:file`. I already have code to change the > default value of `:results` when `:file` is

Re: How is the return value of `org-babel-execute:FOO` interpreted?

2021-10-03 Thread Ihor Radchenko
Ihor Radchenko writes: > Kodi Arfer writes: > >>> Are you sure that you have :file parameter in the source block you tried >>> to execute? >> >> Yes, this is my code block: >> >> #+begin_src hy :file g/foo.png >> (plt.scatter [1 2 3] [4

Re: [PATCH] Don't fill displayed equations

2021-10-03 Thread Ihor Radchenko
Max Nikulin writes: >> Making \[ \] available outside of a paragraph would be a massive >> breaking change. > > Is it really breaking? I can not estimate required amount of work to > implement it. However at the user side at first glance most of files > should remain valid and I could not

Re: How is the return value of `org-babel-execute:FOO` interpreted?

2021-10-03 Thread Ihor Radchenko
Kodi Arfer writes: >> Are you sure that you have :file parameter in the source block you tried >> to execute? > > Yes, this is my code block: > > #+begin_src hy :file g/foo.png > (plt.scatter [1 2 3] [4 5 -9]) > #+end_src What about #+begin_src hy :results file :file g/foo.png (plt.scatter [1

Re: Cannot clone org-mode's git repository

2021-10-03 Thread Ihor Radchenko
Colin Baxter writes: > Hello, > > I get a strange error when I try to clone org-mode: > > --8<---cut here---start->8--- > redknight@jetstar:~/git$ git clone > https://git.savannah.gnu.org/git/emacs/org-mode.git > Cloning into 'org-mode'... > fatal: unable to

Re: [PATCH] Don't fill displayed equations

2021-10-03 Thread Ihor Radchenko
Timothy writes: > Ihor Radchenko writes: > >> I personally would prefer modular function as a whole. For my taste, >> Org code has too much of (case (variant 1) (variant 2) …)-style >> functions (i.e. org-todo, org-cycle, org-ctrl-c-ctrl-c, org-store-link, >> etc

Re: How is the return value of `org-babel-execute:FOO` interpreted?

2021-10-03 Thread Ihor Radchenko
Kodi Arfer writes: > I have an `org-babel-execute` function for the Hy programming language that > seems to have partly broken when I upgraded Org (from 9.1.14 to 9.4.6). It > has code to write a plot to a file when a `:file` argument is given to the > code block. It returns `nil` in this

Re: org-capture-template with changing heading (including a TIMESTAMP)

2021-10-03 Thread Ihor Radchenko
Uwe Brauer writes: > I tried > > ("mg" "Ejercicios Annu21: hechos, solicitados y asignados" > table-line (file+function > "~/ALLES/HGs/tex/vorlesungen/HGAnnu/Ejercios-Alumnos-Grupos/2021/Ejercios-Teoria21.org" > "Ejercicios Annu21: hechos, solicitados y asignados" (clock)) >

Re: [PATCH] Don't fill displayed equations

2021-10-03 Thread Ihor Radchenko
Timothy writes: > Hi Ihor, > >> What about making org-fill-element modular? We may define separate fill >> functions for different elements and let the user override them >> individually if the user prefer so. It may be implemented similar to >> export functionality with customisable

Re: [PATCH] Fontification for inline src blocks

2021-10-03 Thread Ihor Radchenko
Timothy writes: > Ihor Radchenko writes: > >> Let me bump this thread again and mark it as a patch ;) > > Thanks for the bump. I'd like to get this working, but I don't know how best > to > deal with the "prettification" of {{{results(=value=)}}}, which

Re: [PATCH] Don't fill displayed equations

2021-10-03 Thread Ihor Radchenko
Timothy writes: > Hi Nicolas, > >> *snip lots of text* > > Thanks for going through my points in detail. I think I understand your > perspective much better now. At this point though, I’m not really sure what to > make of `\[ ... \]', I now feel like it’s sitting in some sort of markup limbo >

Re: Possible bug? Combine emphasis marker faces?

2021-10-03 Thread Ihor Radchenko
Protesilaos Stavrou writes: > Hello everyone, > > I have noticed that it is not possible to combine org-emphasis-alist > characters. When applying multiple types of emphasis, the face > corresponding to the outermost pair overrides its innermost counterparts. > > For example, */emphasise/* will

Re: Unable to follow gnus links

2021-10-03 Thread Ihor Radchenko
Tom Ed White writes: > Following gnus links in org fails with the message: > > funcall: Wrong number of arguments: ((t) (path _) "Follow the Gnus > message or folder link specified by PATH." (if (string-match > "\\`\\([^#]+\\)\\(#\\(.*\\)\\)?" path) nil (error "Error in Gnus link > %S" path))

Re: Org agenda width is one char-column too short

2021-10-03 Thread Ihor Radchenko
torys.ander...@gmail.com (Tory S. Anderson) writes: > As seen in the linked image, my agenda width is a single char too short so it > clips the last : of the tags. I always use truncate-lines-mode, so this is a > minor inconvenience but might be something easily fixed for new users? I > think

Re: [O] BUG: Capture task clocking doesn't stop due to narrowing

2021-10-03 Thread Ihor Radchenko
Bernt Hansen writes: > Hi, > > I ran into an issue this morning where my capture task continues > clocking on save. This occurs in both master and maint when not > clocking into a drawer. > > ECM follows. Confirmed

[PATCH] [O] Single opening star induces bold face if immediately preceeding inlinetask

2021-10-03 Thread Ihor Radchenko
the face goes back to normal. Thanks for your report. It took a while to process, but here is the fix. Best, Ihor >From ae325834b75944d81ad57087336ca6efa6e57480 Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Sun, 3 Oct 2021 15:48:23 +0800 Subject: [PATCH] org.el: Do not span e

[PATCH] Improve formatting and documentation inline source block [9.3 (release_9.3 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-10-03 Thread Ihor Radchenko
t-header-args. Best, Ihor >From 4f04548dc94549b9e50f6598636632e67715d9b8 Mon Sep 17 00:00:00 2001 Message-Id: <4f04548dc94549b9e50f6598636632e67715d9b8.1633245750.git.yanta...@gmail.com> From: Ihor Radchenko Date: Sun, 3 Oct 2021 15:20:18 +0800 Subject: [PATCH] orgmanual-org: Mention results export as

Re: [PATCH] Fontification for inline src blocks

2021-10-03 Thread Ihor Radchenko
Timothy writes: > Hi All, > > I've been using inline src blocks a fair bit more recently, and I've > thought it's a pity how bad they look as they are currently without > fontification. A little digging into Org internals and font-lock later > and we have this patch. I could speak about what's

Re: Changing the environment before calling source block?

2021-10-03 Thread Ihor Radchenko
"Loris Bennett" writes: > Hi, > > I have multiple versions of each of various languages such as Python > or R. On the command line I can select a version using the 'module'[1] > mechanism provided by Lmod[2]: > > My question is: How do I change the environment, ideally call 'module > load ...'

Re: org-capture-template with changing heading (including a TIMESTAMP)

2021-10-03 Thread Ihor Radchenko
Uwe Brauer writes: > ("mg" "Exercicios Annu21: asignados" > table-line (file+headline "~/somefile.org" "Exercicios Annu21: asignados") > > However in that file I also want a header of the form > > * Exercicios Annu21: asignados <2021-03-19 vie 09:48> > > That is a changing timestamp in the

Re: Inconsistent handling of multi-line properties

2021-10-02 Thread Ihor Radchenko
Hanno Perrey writes: > Hej, > > I have noticed that properties that stretch over multiple lines using > the :value+: syntax are ignored by org-element-property and therefore > also by e.g. org-export-get-node-property when exporting to ics via > ox-icalendar.el (see example below). I was

Re: Bug: org-map-entries calls file-exists-p when SCOPE is nil [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]

2021-10-02 Thread Ihor Radchenko
Rodrigo Morales writes: > #+BEGIN_EXAMPLE > Non-existent agenda file ~/foo.org. [R]emove from list or [A]bort? > #+END_EXAMPLE Confirmed

Re: Grabbing the link to a message on the archive

2021-10-02 Thread Ihor Radchenko
Max Nikulin writes: > Unfortunately I have no idea how to get Message-ID having a link to > particular message on lists.gnu.org without search by e.g. subject and > author. It can be parsed from the html. Something like below (it is my home-made parser, but I think the idea should be clear):

[PATCH] Bug: Indenting empty description list item leaves point at beginning of line [9.4.4]

2021-10-02 Thread Ihor Radchenko
1 Message-Id: <63870bec28e59732cbbdf8b2534f6ece96e2d5d8.1633171544.git.yanta...@gmail.com> From: Ihor Radchenko Date: Sat, 2 Oct 2021 18:32:34 +0800 Subject: [PATCH] org-list: Do not move point when promoting/demoting items * lisp/org-list.el (org-list-struct-apply-struct): Make sure the origin marker i

Re: Re : Re: Capture abort: Symbol’s function definition is void: turn-on-org-provide

2021-10-02 Thread Ihor Radchenko
Joseph Vidal-Rosset writes: > I got the following backtrace: Err... This looks strange. Can you try re-installing Org? Or otherwise go to org-capture.el, M-x eval-buffer, and try to get backtrace again (hopefully, it can become more readable then). Best, Ihor

Re: ox-bibtex incorrectly renders bibtex entries with slashes.

2021-10-02 Thread Ihor Radchenko
Vladimir Nikishkin writes: > Does anybody have a workaround for this? Note that ox-bibtex is not a part of Org now. Maybe you try using new org-cite syntax instead? It should support HTML natively. Best, Ihor

Re: Advice for new feature 'image block` for new `sketch-mode` package

2021-10-02 Thread Ihor Radchenko
dalanicolai writes: > As svg is just xml, for small sketches I would prefer to insert directly > the xml > into the org-buffer within an image block, in which I can quickly toggle > showing > the image using `C-c C-c` (or `org-toggle-inline-images`). Also, exporting > such > xml should work

Re: Manually/programmatically adding a state transition message

2021-10-02 Thread Ihor Radchenko
Trevoke writes: > I've looked at the code around adding a log-note and it looks like it might > be automatable but there's a lot of pieces I don't know in there, so if > there's a way to add just a state transition with a programmatically > provided note, I'll take that, please :) It may be

Re: [PATCH] Re: New source block results option for attaching file to node

2021-10-02 Thread Ihor Radchenko
Ryan Scott writes: >(default-directory > -(or (and dir (file-name-as-directory dir)) default-directory)) > +(or (and dir (if (eq dir 'attach) > +(org-attach-dir t) > + (file-name-as-directory dir))) > +

Re: Stable 9.5: invalid function (date date)

2021-10-02 Thread Ihor Radchenko
Jarmo Hurri writes: > Greetings. > > I just installed (stable) 9.5. from GNU ELPA, and tried to see what my > agenda for today looks like. The agenda is empty, and I got error > > Debugger entered--Lisp error: (invalid-function (date date)) > > with backtrace > > (date date)() >

Re: Elegant way to export org to Markdown ?

2021-10-02 Thread Ihor Radchenko
Jean-Christophe Helary writes: > Next (related) question: > > Why that ugly number in front of headers defined with in HTML ? I have little knowledge about HTML export... I blind guess is that you may disable org-export-with-section-numbers (see "14.1.5 Options for the exporters" section of

[PATCH] Bug: Unintended column added to table [9.4.6 (9.4.6-gab9f2a @ /home/user/.emacs.d/elpa/org-9.4.6/)]

2021-10-02 Thread Ihor Radchenko
Ihor Radchenko writes: > spect...@mail.com writes: > >> In a preexisting org table, hitting can add a new, unintended column >> >> Bug: After the 2nd iteration, org adds a unintended new column. Further >> iteration adds more columns. > > Confirmed > >

Re: Elegant way to export org to Markdown ?

2021-10-02 Thread Ihor Radchenko
Jean-Christophe Helary writes: > My follow-up question is, most of the ox-stuff seem to be installed by > default, as far as I can tell. Why is ox-md not ? Not most. The default export backends are: > org-export-backends is a variable defined in org.el. > > Value > (ascii html icalendar

Re: Elegant way to export org to Markdown ?

2021-10-01 Thread Ihor Radchenko
Jean-Christophe Helary writes: > I'm trying to work with SourceHut (sr.ht) and right now they only accept > Markdown syntax for their readme/wiki files. > > Since I work in Emacs/org-mode to write my documents (and try to stick to > that), I'd like to know if there is an elegant way to export

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
Bastien writes: > Ihor Radchenko writes: > >> Should I also merge main with bugfix every time? > > You should merge bugfix into main, yes (but not main into bugfix.) Thanks for the clarification. It indeed makes sense, but I was not sure if merging too frequently is ok or not. Best, Ihor

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
Also marking patch as applied

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
Bastien writes: > Hi Ihor, > > Ihor Radchenko writes: > >> The fix is attached. > > Looks good, feel free to apply in the bugfix branch. Done (fa315986a). Marking the bug as fixed. Should I also merge main with bugfix every time? Best, Ihor

Re: org-attach-use-inheritance inherits from sibling

2021-10-01 Thread Ihor Radchenko
Johan Tolö writes: > Hi, > I have set 'org-attach-use-inheritance' to t. If a heading has no > parents it seems to inherit from the first heading in the file > which has either the ID or DIR property set, ie from the first > sibling above it. I'm guessing this is not the expected behaviour?

Re: searching agenda from TRAMP

2021-10-01 Thread Ihor Radchenko
JARZz writes: >> Does opening org files manually take a lot of time for you? >> >> Are you using org-id? >> >> Can you track down the problematic function using M-x profiler-start / > > These are good questions. > I *do* use org-id. I started doing this more recently. I use a package called >

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
raph. Confirmed The fix is attached. Best, Ihor >From a4c864b7f983a135e8debbc32d8ef4ff3f2e89f4 Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Fri, 1 Oct 2021 17:47:02 +0800 Subject: [PATCH] org-do-emphasis-faces: Never treat closing marker as next opening marker * lisp/or

Re: Need absolute org-attach-id-dir to attach in buffers without filename

2021-10-01 Thread Ihor Radchenko
Nick Anderson writes: > I have an org-mode file that contains headings with attachments. When I > `org-mime-org-buffer-htmlize' I get an error, `"Need absolute > `org-attach-id-dir' to attach in buffers without filename"'. > `org-attach-id-dir' has the value `data/'. I get this error even when I

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-10-01 Thread Ihor Radchenko
Nicolas Goaziou writes: >> At this point, third-party code is likely to rely on the existing logic, >> so I do not see any reason to insist on changing org-table. > > If you think it is overall an improvement, feel free to discuss it. I'm > merely pointing out what was the initial intent, not

Re: searching agenda from TRAMP

2021-10-01 Thread Ihor Radchenko
JARZz writes: > I don't know what happens behind the scenes exactly, but it takes a good > minute or to load my agenda with all the files, and it can take 10-15 minutes > to search through them for a specific string. This problem also happens when > I used sshfs, which makes me believe more

Re: Visibility cycling with inline tasks 2

2021-10-01 Thread Ihor Radchenko
ternative patch. See the attached. Best, Ihor >From ec78cbc00b4e2abf201149b76ce41df87869627f Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Fri, 1 Oct 2021 14:03:47 +0800 Subject: [PATCH] org-inlinetask.el: Fix visibility cycling for inlinetasks * lisp/org-inlinetask.el (org-inl

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-09-30 Thread Ihor Radchenko
the attached) Best, Ihor >From 60365a164147dfc71f0047661c143b54064a459b Mon Sep 17 00:00:00 2001 Message-Id: <60365a164147dfc71f0047661c143b54064a459b.1633060596.git.yanta...@gmail.com> From: Ihor Radchenko Date: Fri, 1 Oct 2021 11:40:54 +0800 Subject: [PATCH] orgtbl-to-generic: Mention that :fmt is ignored for

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-09-30 Thread Ihor Radchenko
Ihor Radchenko writes: > The attached patch should fix the issue, though it may be more > reasonable to fix orgtbl-to-generic logic. Given Nicholas' reply, changing orgtbl-to-generic may not be a good idea and break other code using orgtbl-to-generic. Applied as ddee7b617 on bugfix Best

Re: [PATCH] Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home/david/.emacs.d/.local/straight/build-27.2/org-mode/)]

2021-09-30 Thread Ihor Radchenko
Sébastien Miquel writes: > I had done some testing, and some more recently. The patch only affects > latex-fragments and org entities to be edited which do not need to start > at a > beginning of line (latex-fragments, inline src blocks, footnote > definitions). Also looks fine for me. Best,

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-09-30 Thread Ihor Radchenko
Ihor >From 7033289d7e717eb841d550fbdbc0cc878b96cd32 Mon Sep 17 00:00:00 2001 Message-Id: <7033289d7e717eb841d550fbdbc0cc878b96cd32.1633005978.git.yanta...@gmail.com> From: Ihor Radchenko Date: Thu, 30 Sep 2021 20:40:37 +0800 Subject: [PATCH] ob-gnuplot: Honour :missing argument * lisp/ob-gnuplot.el (or

Re: The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-09-30 Thread Ihor Radchenko
tumashu writes: > Hello: > > > When I update to org 9.5, I find that the align of time like "7:00" has > been changed. > > I think the new style is not beautiful as old style. > > 1. New style look like not align to the first char, for the width of 9 looks > like > 1 > 2. the old style is

Re: [PATCH] org-manual.org: Some correction of Installation section

2021-09-30 Thread Ihor Radchenko
Max Nikulin writes: > - I am in doubts whether "emacs -Q -L ~/src/org-mode/lisp" way to try > version from git is important enough for the manual. I have added a > separate patch however to discuss such change. I feel that it should not be in the manual. However, it may be helpful addition

Re: Visibility cycling with inline tasks 2

2021-09-30 Thread Ihor Radchenko
Michael Dauer writes: > I wanted to help you with testing. But I could not find a branch dev in > that repo. I did not mean literally "dev" branch. The default branch there is my local patches I plan to merge to Org eventually. > Anyway, I'll wait for it to be populated into the main repo.

Re: Visibility cycling with inline tasks 2

2021-09-29 Thread Ihor Radchenko
Michael Dauer writes: > Hi, > > Was something wrong with my previous report or is nobody interested in > inline tasks? Your report is fine, but please note the following (https://orgmode.org/worg/org-mailing-list.html): >> What to do if you don't receive an answer >> If your email is

Re: org-no-popups overriding display-buffer-alist

2021-09-29 Thread Ihor Radchenko
"\"Joshua O'Connor\"" writes: > Hi, > > I was wondering what the reason is for Org to employ the tactic of > overriding the variable 'display-buffer-alist' in a few places, using > the 'org-no-popups' macro? > > It's my understanding that this variable is to be exclusively set by > users, and

Re: Capture abort: Symbol’s function definition is void: turn-on-org-provide

2021-09-23 Thread Ihor Radchenko
Joseph Vidal-Rosset writes: > But nowhere in this file have function " turn-on-org-provide" . :( > > A suggestion? Try to setting debug-on-error to 't and share backtrace of the error. Best, Ihor

Re: Org lint and named source blocks

2021-09-21 Thread Ihor Radchenko
Dominik Schrempf writes: > Running =org-lint= on an Org file containing > > #+NAME:Hello > #+BEGIN_SRC emacs-lisp :exports code > #+END_SRC > > I get the following error: > #+begin_quote > Debugger entered--Lisp error: (search-failed "^[ \11]*#\\+[A-Za-z]+: +Hello > *$") > #+end_quote

Re: Org lint and Haskell source code blocks

2021-09-21 Thread Ihor Radchenko
Dominik Schrempf writes: > Thank you, org-lint works just fine after applying your patch! The patch is applied to master as c9dc6603a. Best, Ihor

Re: Org lint and Haskell source code blocks

2021-09-21 Thread Ihor Radchenko
essage-Id: From: Ihor Radchenko Date: Tue, 21 Sep 2021 15:10:45 +0800 Subject: [PATCH] Fix org-babel-header-args:haskell not being an alist * lisp/ob-haskell.el (org-babel-header-args:haskell): The old value of the variable was not argument alist, as expected by Org babel code. Fixes https://orgmode

Re: BUG Visibility Cycling with inline tasks

2021-09-20 Thread Ihor Radchenko
Michael Dauer writes: > What I get after the first org-cycle is: > * Example > ** heading 1 > ** heading 2 > * ** TODO Test access with provided credentials > ** heading 3 > x > * ** END > ** heading 4 > x > I cannot reproduce on latest master and with Org

Re: BUG Visibility Cycling with inline tasks

2021-09-19 Thread Ihor Radchenko
Michael Dauer writes: > Stating collapsed, pressing TAB on the heading 2 already shows the issue. Could you describe what is the issue you observe and how it differs from your expectations? I do not see any problem with visibility on my side. Best, Ihor

Re: [feature proposal] Headline caching via org-element-cache = up to 2.5x performance boost

2021-09-19 Thread Ihor Radchenko
Timothy writes: > Ah, I’ve already got a few patches on Org that I’m preparing for sharing on > the > ML, so this may make it a bit harder for me. I’ll let you know how I find it > if > I do give it a go though. My repo is up-to-date with latest master. You should be able to merge without too

Re: [feature proposal] Headline caching via org-element-cache = up to 2.5x performance boost

2021-09-19 Thread Ihor Radchenko
Timothy writes: > p.s. I’m marking this as a patch on the tracker, since it is one :P This is not a real patch. I just separated changes I made in org-element.el. Other changes include cache support across Org code and tests. In total it looks roughly like: 12 files changed, 2584

  1   2   3   4   5   6   7   >