Re: [PATCH] org-info-other-documents: Fix defcustom safe-local-variable property

2024-12-22 Thread Joseph Turner
Even better. Thank you! Joseph Ihor Radchenko writes: > Joseph Turner writes: > >> Minor fix. Thanks! > > Thanks! > I applied an alternative fix, addressing all the instances of the same > problem in Org code. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f2b6478de9 > > C

Re: How to handle both minor mode and major mode remapping a command?

2024-12-22 Thread Michael Heerdegen
Ihor Radchenko writes: > My main problem with the idea of kill-line-function is that I do not > fully understand how it can work in all cases. Specifically, imagine > what happens when visual-line-mode is activated _after_ Org mode is > activated. How can Org mode make sure that kill-visual-line

Re: [BUG] Texinfo: Error when exporting source block with no language

2024-12-22 Thread Ihor Radchenko
8dcc <8dcc@gmail.com> writes: > Hello, when trying to export the following Org file: > > #+begin_src > Hello, world. > #+end_src > > To texinfo using `org-texinfo-export-to-texinfo', I get the following > error: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil

Re: [PATCH] Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-22 Thread Ihor Radchenko
Leo Butler writes: > Please find attached the amended patch. All things considered, I think > this is the best option to fix the issue that has arisen. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a628d46712 Fixed. -- Ihor Radchenko // yantar92, O

Re: [PATCH] org-info-other-documents: Fix defcustom safe-local-variable property

2024-12-22 Thread Ihor Radchenko
Joseph Turner writes: > Minor fix. Thanks! Thanks! I applied an alternative fix, addressing all the instances of the same problem in Org code. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f2b6478de9 Canceled. (this patch) -- Ihor Radchenko // yantar92, Org mode maintainer,

Re: [Bug] Documentation error(s) for org-babel-tangle-default-file-mode

2024-12-22 Thread Ihor Radchenko
Aitenate writes: > I think there a couple of issues with the documentation for > org-babel-tangle-default-file-mode. It seemed easiest to describe using > a patch: Thanks! Applied, onto bugfix, after adding a proper commit message and a TINYCHANGE cookie. https://git.savannah.gnu.org/cgit/emac

Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2024-12-22 Thread Ihor Radchenko
"G. Branden Robinson" writes: >> Jeremy suggests that "C" may be an old alias for Courier, and if >> that's the case it should be changed to "\f[CR]". Would be great if >> Org people can confirm. > > That is good advice and it is what I recommend if you're writing in > "raw" roff. The context o

Re: error with cache

2024-12-22 Thread Ihor Radchenko
"Fraga, Eric" writes: > I use Emacs as my window manager (exwm). I don't often restart as my > system is up 24/7. Today, I had to restart and found Emacs hanging > during startup. I added a debug on quit directive so I could see why. > The backtrace looks like this: > ... > Debugger entered--L

Re: Performance of property drawers in Org cache

2024-12-22 Thread Ihor Radchenko
Michael Brand writes: > Now I would like to report issues with the performance of property > drawers in Org cache. The time it takes to open an Org file with a > useful amount of property drawers like in test_1.org has increased too > much for me to update from Org mode 9.5, see the table below.

Re: Problem installing Org using the Emacs packaging system

2024-12-22 Thread Alain . Cochard
Ihor Radchenko writes on Sun 22 Dec 2024 09:19: > May you please elaborate what you mean? The command from the manual is > indeed not working in Emacs 29. It just was a bit funny to me when you said "Maybe forgot to test on older Emacs", considering that 29.4 is the last version that one can d

Re: [PATCH v1] Handle image width specification in pixels correctly

2024-12-22 Thread Ihor Radchenko
Karthik Chikmagalur writes: > The attached patch restores the ability to specify preview image widths > using the "px" specification, such as > > #+attr_org: :width 300px > > This behavior was lost during the refactoring in > 50be048ad0cbe0e9150ca2351b894b041ae7cf49. Applied, onto main. https://

Re: Unexpected error using org-gnus-follow-link

2024-12-22 Thread Ihor Radchenko
Visuwesh writes: >> It does beg the question: should org fail more gracefully and/or give an >> error message in such a context? > > I quickly checked the usage of that defcustom and Org does not fall back > gracefully in other places too... Do you want to make a patch to that effect? -- Ihor

Re: [PATCH] org-protocol: Add void() to bookmarklets

2024-12-22 Thread Ihor Radchenko
Max Nikulin writes: > On 16/12/2024 23:01, Max Nikulin wrote: >> A patch updating org-protocol.el comments, docstrings, and the manual is >> attached. > > Should ORG-NEWS be updated as well? Yes, I think. In announcement section. This is one of the cases when we want people to consider changing

Re: [PATCH] org-protocol: Add void() to bookmarklets

2024-12-22 Thread Ihor Radchenko
Max Nikulin writes: > A patch updating org-protocol.el comments, docstrings, and the manual is > attached. Thanks! > -javascript:location.href='org-protocol://store-link?' + > - new URLSearchParams({url:location.href, title:document.title}); > +javascript:void(location.href='org-protocol:

Re: [BUG] Inconsistent org-babel tangle behaviour

2024-12-22 Thread Ihor Radchenko
Thibaut Meyer via "General discussions about Org-mode." writes: > setting a property in an org file like > > '#+PROPERTY: header-args:tangle "file.ext"' > > with a source block of the form: > (note no language is specified for the block) > > #+begin_src > <1: this block won't get tangled> > #

Re: [PATCH 2/2] tools.org: Update Orgro description

2024-12-22 Thread Ihor Radchenko
Aaron Madlon-Kay writes: > -A mobile Org Mode file viewer. > +A mobile Org Mode file viewer and editor. > (Android, iOS) > {{{end-link}}} > ** Organice Applied, after adding TINYCHANGE cookie. https://git.sr.ht/~bzg/orgweb/commit/9cc4f344c89b20d002d8b65dd968b5fd8e45fbc9 -- Ihor Radchenko //

Re: [PATCH 1/2] tools.org: Fix Logseq logo URL

2024-12-22 Thread Ihor Radchenko
Aaron Madlon-Kay writes: > {{{link(logseq.com)}}} > -[[https://pbs.twimg.com/profile_images/1284058782012563464/oQFKw8uM_400x400.png]] > +https://asset.logseq.com/static/img/logo.png Thanks! Applied, onto master, after adding TINYCHANGE cookie. https://git.sr.ht/~bzg/orgweb/commit/e48a26b520c69

Re: Workflow for planning and scheduling tasks with org mode

2024-12-22 Thread Christian Moe
(re-sending, forgot to copy to the list) Hi, Ashish, You may get more specific advice if you exxplain exactly in what way org-agenda seems to fail for you, i.e. what you expect to see and what happens. >From what you say, it sounds as if you have items in your file agenda.org that you expect to

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-22 Thread Tor-björn Claesson
Hi! Thanks all for the great discussion! Just so I understand: we are talking about simple cases of offering multiple actions (possibly on objects), and not more complex things such as the export menu, with async options etc? > Tentatively, I am thinking about the following: > > For a given Emac

Re: [BUG] Html making 'ltximg' directory in source folder, rather than out folder [9.7.11 (release_9.7.11 @ /home/pranshu/Documents/appsource/emacs/lisp/org/)]

2024-12-22 Thread Ihor Radchenko
Pranshu Sharma writes: > When doing: > (org-export-to-file 'html "~/new/path/thing.html") > and the file option has the path "~/other/path/file.org", the 'ltximg' > directory is made in "~/other/path/", which is not intutive, or useful > behaviour. > > > (the option 'tex' is set to 'dvisvgm') Co

Re: [BUG] ob-clojure doesn't handle namespaces properly

2024-12-22 Thread Ihor Radchenko
Rens Oliemans writes: > There are two bugs introduced in commit > 6efb073463481ee572eb3bb1155cc3b0d6987df6; > I Cced Daniel, the commit author. It persists on main. > > Since the bugs are intimately related to ob-clojure and the org mode source > blocks, I've just attached an org file that highl

Re: [BUG] ⛔ Warning (org-element-cache) [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-12-22 Thread Ihor Radchenko
Torben Knudsen writes: > Emacs : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, > cairo version 1.18.0) > of 2024-09-17, modified by Debian > Package: Org mode version 9.6.15 (release_9.6.15 @ > /usr/share/emacs/29.3/lisp/org/) Thanks for reporting! Have you tried the la

Re: Text preceding noweb references is duplicated

2024-12-22 Thread Ihor Radchenko
8dcc <8dcc@gmail.com> writes: > Paragraph zero... > #+begin_src scheme :tangle org-output.scm :noweb yes > (list <>) >... > After calling `org-babel-tangle', the contents of 'org-output.scm' are: > > (list (+ 1 2) > (list (+ 3 4) > (list (+ 5 6)) > > Notice how all line

Re: [BUG] "Invalid search bound (wrong side of point)" [9.6.15 (release_9.6.15 @ c:/Program Files/Emacs/emacs-29.4/share/emacs/29.4/lisp/org/)]

2024-12-22 Thread Ihor Radchenko
Ryan Hoffman writes: > This report was auto-generated. I have received the > following error a few times over the past few days, from different points in > different ORG files. > > The errors did not start immediately following a change in my Emacs version. > > Here are the *Warnings* buffer con

Re: [PATCH] Fix org-do-latex-and-related at buffer start

2024-12-22 Thread Ihor Radchenko
Shao-yu Tseng writes: > When org-mode is called at the start of a buffer that starts with a > latex fragment, it produces an error "Beginning of buffer" caused by > attempt to call backward-char. > > A minimal example to reproduce: > 1. Open a scratch buffer > 2. Insert text \(\Omega\) > 3. Turn

Re: Table width cookies become part of data table in R

2024-12-22 Thread Ihor Radchenko
Ihor Radchenko writes: > Tentatively, I am leaning towards restoring the old behavior for the > time being, until we can come up with something better. > > Patch attached. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c93ddd23bf -- Ihor Radchenko // yantar

Re: Problem installing Org using the Emacs packaging system

2024-12-22 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > > I suspect that it is some kind of bug in Emacs 29. It seems that the > > command is only properly working in Emacs 30. > ... > Thanks a lot for the feedback. I hope Emacs 29 (the current official > version, right?) is not too old already :-) May you please