Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]

2022-06-14 Thread Ihor Radchenko
"Justin Abrahms" writes: > I saw this error when opening emacs.org via (counsel-find-file > INITIAL-INPUT INITIAL-DIRECTORY) > > Slightly different error now (same style, different element), but I didn't > get a backtrace. > >

Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]

2022-06-14 Thread Justin Abrahms
All of that is correct, yes. On Mon, Jun 13, 2022, at 11:59 PM, Ihor Radchenko wrote: > "Justin Abrahms" writes: > > > I saw this error when opening emacs.org via (counsel-find-file > > INITIAL-INPUT INITIAL-DIRECTORY) > > > > Slightly different error now (same style, different element), but

Re: Indenting a blank definition list item leaves point at beginning of line

2022-06-14 Thread Ihor Radchenko
JD Smith writes: > Org 9.5.4 (point at `X’): > > - foo :: bar X [M-Ret] > - X :: [M-right] > > leaves point at beginning of line: > > - foo :: bar > X - :: > > If you add content first, point stays put. Duplicate of https://orgmode.org/list/878rq6hstt.fsf@localhost

Re: [BUG] Mention #+PRINT_BIBLIOGRAPHY in the Org manual

2022-06-14 Thread Marvin Gülker
Am Montag, dem 13. Juni 2022 schrieb Rudolf Adamkovič: > It all makes no sense without printing the bibliography, right? In a footnote citation style, it can make sense, and it is common in German judicial articles. We do not need separate bibliographies there, because we instead do

Formatting in citation locator

2022-06-14 Thread Marvin Gülker
Dear list, is it possible to apply formatting within the citation locator? It is sometimes useful to me. For example, when I want to cite a dissenting opinion contained in a judgment of the German Constitutonal Court, it is helpful to highlight that the cited location is a dissenting opinion and

Re: [BUG] org-copy-subtree in a file with local variables marks buffer as modified [9.5.3 (release_9.5.3-6-gef41f3 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-06-14 Thread Ignacio Casso
>> - (delete-and-extract-region (point) (point-max))) >> + (undo-boundary) > >> + (setq buffer-undo-list >> + (seq-drop-while 'identity buffer-undo-list))) > > This looks fragile and can be disasterous when buffer-undo-list is > large.

Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]

2022-06-14 Thread Justin Abrahms
I saw this error when opening emacs.org via (counsel-find-file INITIAL-INPUT INITIAL-DIRECTORY) Slightly different error now (same style, different element), but I didn't get a backtrace. https://gist.github.com/justinabrahms/4bc97379cb8d8e317ca98a1f09524a5c On Mon, Jun 13, 2022, at 10:03

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Robert Pluim
> On Tue, 14 Jun 2022 13:12:54 +0300, Daniel Fleischer > said: Daniel> Robert Pluim [2022-06-14 Tue 11:28] wrote: >> A couple of places in org main quoted symbols in defcustom types, but >> the type itself is already quoted, so thatʼs not necessary. Daniel> Is it

Re: [BUG] Info JS does not work [9.5.3 (release_9.5.3-467-g2bd34e @ /Users/salutis/src/org-mode/lisp/)]

2022-06-14 Thread Bastien
Hi Ihor, Ihor Radchenko writes: > Great! Will it be linked at orgmode.org? Good idea, I just added a link to orgmode.org front page. > Org contribute page is lacking > links to all the repositories (which someone already complained about). > Addition link at the frontpage might also make

Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]

2022-06-14 Thread Ihor Radchenko
"Justin Abrahms" writes: > All of that is correct, yes. Which means that you are trying to use Org functions before Org is loaded. A cursory look across your config yields: (add-hook 'find-file-hook #'vulpea-project-update-tag) wich is likely the cause. Will the warning disappear when you

Re: Org default is Left-to-right

2022-06-14 Thread Daniel Fleischer
Ihor Radchenko [2022-06-14 Tue 13:17] wrote: > The Emacs devs reply was that 'right-to-left global setting is preferred > for such users while nil being preferred setting for other users and it > should not be something Org decides. > > Hence, I just applied a patch removing Org setting >

Re: [BUG] org-capture autoload bug? [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)]

2022-06-14 Thread Ignacio Casso
>> Subject: [PATCH] use `set-default-toplevel-value' in `defcustom' setters >^Use > >> * lisp/ob-lilypond.el (org-babel-lilypond-commands): use >^Use >> `set-default-toplevel-value' instead of `set' or `set-default' in >>

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Daniel Fleischer
Robert Pluim [2022-06-14 Tue 11:28] wrote: > A couple of places in org main quoted symbols in defcustom types, but > the type itself is already quoted, so thatʼs not necessary. Is it harmful though? > - (const :tag "Overlays" 'overlays) > - (const :tag "Text properties"

Re: [BUG] org-capture autoload bug? [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)]

2022-06-14 Thread Ihor Radchenko
Ignacio Casso writes: >> Please don't use ditto. (what does it even mean?) > > It means the same thing again. I saw it in the message of the Emacs > commit I referenced earlier in this thread, so I assumed it was standard > practice. I have replaced it with "The same". But if the problem is that

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Ihor Radchenko
Daniel Fleischer writes: > Thanks for the patch, merged. BTW, should it be a TINYCHANGE? Best, Ihor

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Robert Pluim
> On Tue, 14 Jun 2022 22:19:23 +0800, Ihor Radchenko > said: Ihor> Robert Pluim writes: >>> On Tue, 14 Jun 2022 22:04:10 +0800, Ihor Radchenko said: >> Ihor> Daniel Fleischer writes: >> >> Thanks for the patch, merged. >> Ihor> BTW, should it be a

Orgmode plain list bullet : change automatically with list depth

2022-06-14 Thread DEBRY . Edouard
When making a plain list in orgmode, I would like to change of bullet autmatically depending on the list depth. Currently, I use this to prettify bullets : (font-lock-add-keywords 'org-mode '(("^ *\\([-]\\) " (0 (prog1

you to copy .org-id-locations from one machine to another

2022-06-14 Thread Uwe Brauer
Hi My .org-id-locations file contain relative path like this ("~/ALLES/HGs/HG-Org/answer.org" "5dc7a5e5-aebd-432a-8156-c69d9c0e4740" "ce79da39-8158-4df2-aca0-c2697bda168a" "70b317ce-2786-45d0-a72e-99d5fad8") I copied a particular directory from one machine to another so the ID concide,

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

2022-06-14 Thread Ryan Scott
Awesome! Thanks again for all the help. It's been a crash course in org internals and the contribution process. Well prepared for next time to go much smoother. Cheers, -ryan On Tue, Jun 14, 2022 at 6:47 AM Ihor Radchenko wrote: > Ryan Scott writes: > > > I put together a clean setup in

Re: Old user needs help

2022-06-14 Thread Ihor Radchenko
Peter Gragert writes: > For example I have a juni2022.org file and would like that that org-file is > opened automatically on a click on the emacs desktop short-cut icon. > (years ago something in init.el (load-file "..." )if I remember correctly You can put (find-file "...") near the end of

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

2022-06-14 Thread Ryan Scott
I put together a clean setup in docker for running the tests and believe I've gotten to the source of the problem. However I've thought that a few times now. This version of the patch has all tests passing. The problem was in org-results-to-file and the attach dir detection. It both had problems

[PATCH] Escape single left quotes in docstrings

2022-06-14 Thread Robert Pluim
The emacs-29 byte compiler now complains about unescaped single left quote. Patch attached. Robert -- >From d86ba4e5522a33f6960207327f6a84b58caa3d04 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 14 Jun 2022 11:29:12 +0200 Subject: [PATCH] Escape single left quotes in docstrings *

[PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Robert Pluim
A couple of places in org main quoted symbols in defcustom types, but the type itself is already quoted, so thatʼs not necessary. Thanks Robert -- >From 3163652a7eecbf84c767c6740822e00cf842e607 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Mon, 13 Jun 2022 16:15:10 +0200 Subject: [PATCH]

Re: [PATCH] New remote resource download policy

2022-06-14 Thread Robert Pluim
> On Sun, 12 Jun 2022 22:43:07 +0800, Timothy said: Timothy> Hi All, Timothy> As was raised in the `#+include: URL' thread Timothy> (), currently Org will Timothy> automatically download files without confirmation in various

Re: [Patch] ob-tangle.el: New value 'ascii' for the header argument ':comments'

2022-06-14 Thread Juan Manuel Macías
Ihor Radchenko writes: > I think that the existing code can be improved. Relying on the > undocumented behavior of (org-back-to-heading) is not ideal. Not to > mention code blocks before first headline. > > It would be great if you rewrite the existing code to suite both the > defaults and the

Re: [BUG] Cursor is moved after changing list bullets

2022-06-14 Thread Ihor Radchenko
Daniel Fleischer writes: > Hi, there is a regression introduced in: > > ed6f8dc67 org-list: Do not move point and change space when > promoting/demoting items > > When calling `org-cycle-list-bullet' (e.g. using S-right or S-left) the > cursor moves to the beginning of the text

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Ihor Radchenko
Robert Pluim writes: >> On Tue, 14 Jun 2022 22:04:10 +0800, Ihor Radchenko >> said: > > Ihor> Daniel Fleischer writes: > >> Thanks for the patch, merged. > > Ihor> BTW, should it be a TINYCHANGE? > > What's a TINYCHANGE? See

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Ihor Radchenko
Robert Pluim writes: > >> What's a TINYCHANGE? > > Ihor> See https://orgmode.org/worg/org-contribute.html#first-patch > Ihor> We need to put this word at the end of commit messages for > contributors > Ihor> without FSF copyright assignment. > > The first patch I sent last week

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-14 Thread Sébastien Miquel
Hi, Ihor Radchenko writes: We actually have 2 options here: 1. Change the docstring 2. Change the template Can moving [PACKAGES] up break the existing configs? It might. I am inclined to change the docstring instead. Thanks for having a look at this. It makes more sense for a package in

Re: [Patch] ob-tangle.el: New value 'ascii' for the header argument ':comments'

2022-06-14 Thread Ihor Radchenko
Juan Manuel Macías writes: > On the other hand, I have a curiosity. I understand that the behavior of > the `:comments org' option should be left intact to ensure backwards > compatibility. But I've always wondered if there is any use case where > this value, as it behaves, might be practical. I

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Daniel Fleischer
Thanks for the patch, merged. Daniel Fleischer

More Worg build workflow

2022-06-14 Thread Tim Cross
apologies if these questions about worg are becoming a little tiresome - still just trying to work out how things all work and more importantly, what level of comfort the community has with change. i As I'm digging more and more into understanding worg, I'm finding things which I think need to

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

2022-06-14 Thread Ihor Radchenko
Ryan Scott writes: > I put together a clean setup in docker for running the tests and believe > I've gotten to the source of the problem. > However I've thought that a few times now. Would you be interested to share it? It might be helpful for other people trying to develop on Windows. > This

Re: [PATCH] Don't quote symbols in defcustom types

2022-06-14 Thread Robert Pluim
> On Tue, 14 Jun 2022 22:04:10 +0800, Ihor Radchenko > said: Ihor> Daniel Fleischer writes: >> Thanks for the patch, merged. Ihor> BTW, should it be a TINYCHANGE? What's a TINYCHANGE? Robert --

[BUG] Cursor is moved after changing list bullets

2022-06-14 Thread Daniel Fleischer
Hi, there is a regression introduced in: ed6f8dc67 org-list: Do not move point and change space when promoting/demoting items When calling `org-cycle-list-bullet' (e.g. using S-right or S-left) the cursor moves to the beginning of the text after changing the bullet type. It

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-14 Thread Ihor Radchenko
Sébastien Miquel writes: > The attached patch puts DEFAULT-PACKAGES before PACKAGES in > org-format-latex-header, as per org-latex-packages-alist's and > org-latex-classes' documentations. > ... > -\[PACKAGES] > \[DEFAULT-PACKAGES] > +\[PACKAGES] Thanks! We actually have 2 options here: 1.

Re: [BUG] Cursor is moved after changing list bullets

2022-06-14 Thread Daniel Fleischer
Ihor Radchenko [2022-06-14 Tue 21:30] wrote: > I am unable to reproduce using any of the supported Emacs versions. > Could you please provide more concrete steps? Or better a test. Create a file called `list.org` with the following: * Test - Hello. - hi. - bye. Then call:

Re: [BUG] org-copy-subtree in a file with local variables marks buffer as modified [9.5.3 (release_9.5.3-6-gef41f3 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-06-14 Thread Ihor Radchenko
Ignacio Casso writes: >>> + (setq buffer-undo-list >>> + (seq-drop-while 'identity buffer-undo-list))) >> >> This looks fragile and can be disasterous when buffer-undo-list is >> large. > > I agree that it is very fragile, but could you explain why is it also >

Re: Orgmode plain list bullet : change automatically with list depth

2022-06-14 Thread Ihor Radchenko
DEBRY.Edouard writes: > But it breaks the org file. What do you mean by "breaks the org file"?

Re: More Worg build workflow

2022-06-14 Thread Ihor Radchenko
Tim Cross writes: > Based on only a few hours going through worg and Org mode's support for > generating static web content, there are 3 very broad goals I would like > to achieve > > 1. Improve worg's presentation layer to > ... > 2. Make it easier for users to contribute new content, updates

Re: [PATCH] #+begin_example lang used in manual and worg (was: [DISCUSSION] Refactoring fontification system)

2022-06-14 Thread Max Nikulin
On 10/06/2022 09:06, Ihor Radchenko wrote: Max Nikulin writes: Side note: I can not say that #+begin_example with language is widely used, but one case may be found in org-manual.org and a dozen in worg. Which should probably be fixed. LANG parameter is ignored on export anyway. See the