[Bug] org-insert-link removes on one link from 2 added by org-store-link

2023-07-01 Thread Max Nikulin
When some heading has the CUSTOM_ID property 8< * title :PROPERTIES: :CUSTOM_ID: a-heading :END: >8 M-x org-store-link adds 2 entries: - [[*title][title]] - [[#a-heading][title]] however `org-insert-link' (C-c C-l) removes from the stored link only one of them. As a result

Re: org-insert-link completion by description (Re: what is the purpose of "This link has already been stored"?)

2023-07-01 Thread Samuel Wales
there is not supposed to be any connection between org refile or org goto with the code in org insert link. completion works to select ol paths for org refile and also for org refile when it is doing goto. i just want the same for links. On 7/1/23, Max Nikulin wrote: > On 02/07/2023 12:02, Samu

Re: org-insert-link completion by description (Re: what is the purpose of "This link has already been stored"?)

2023-07-01 Thread Max Nikulin
On 02/07/2023 12:02, Samuel Wales wrote: another window would not work for me but using completion as i do with e.g. refile goto would. Samuel, you claimed that completion by description does not work for `org-insert-link'. I expect that it is fixed in Org-9.6 since I do not see the issue wit

Org FAQ design (Re: [PATCH] org-faq.org: Inline comments)

2023-07-01 Thread Max Nikulin
On 01/07/2023 22:24, Ihor Radchenko wrote: Max Nikulin writes: FAQ is probably fine. We may add a CSS there that will fold the answers by default. When all entries are opened, it is possible to use search in browser. I am against the idea of hiding answers. However the table of contents, that

Re: org-insert-link completion by description (Re: what is the purpose of "This link has already been stored"?)

2023-07-01 Thread Samuel Wales
another window would not work for me but using completion as i do with e.g. refile goto would. On 7/1/23, Max Nikulin wrote: > On 01/07/2023 13:12, Max Nikulin wrote: >> On 01/07/2023 12:15, Samuel Wales wrote: >>> emacs -q 9.6.7, vaniila except for whatever -q loads, opens a links >>> window tha

Re: org-insert-link completion by description (Re: what is the purpose of "This link has already been stored"?)

2023-07-01 Thread Max Nikulin
On 01/07/2023 13:12, Max Nikulin wrote: On 01/07/2023 12:15, Samuel Wales wrote: emacs -q 9.6.7, vaniila except for whatever -q loads, opens a links window that shows descrtipition and truncated link. Ignore the links window and try to type first letter of a link description and TAB. ...and

Re: basic git

2023-07-01 Thread Max Nikulin
On 01/07/2023 05:15, Samuel Wales wrote: On 6/30/23, Max Nikulin wrote: Do you have history of last git commands, e.g. in an emacs eshell buffer? Please, post them. It is unclear what was the current branch before (a custom local one, "bugfix" or "main" tracking the upstream) and whether all

Re: batch breaks bugfix

2023-07-01 Thread Samuel Wales
i still use maint as a comparison against bugfix and main to make sure they didn't intro regressions. i even tested 8 for a long time so i could go back and check formatting changes etc. if maint gets it right tht might be a clue is all. On 7/1/23, Ihor Radchenko wrote: > Samuel Wales writes:

Re: exporting to PDF multi-lingual document

2023-07-01 Thread Dr. Arne Babenhauserheide
andrés ramírez writes: > Arne> I think you have to solve this on the LaTeX-side: including > packages that support the > Arne> required unicode. > Thanks. That helped. It ended like this: I’m glad to hear that! Thank you for posting your solution. > #+LATEX_HEADER: \usepackage{CJKutf8

Re: [BUG] incorrect org-mode dynamic blocks docs [9.5.4 (release_9.5.4-3-g6dc785 @ /usr/local/share/emacs/29.0.50/lisp/org/)]

2023-07-01 Thread Ihor Radchenko
[ Adding Org ML back to CC; Please use Reply-All or wide reply to include the mailing list in the discussion ] pva-outd...@yandex.ru writes: > Try the following: > > 1. Create "1.org" buffer (C-x b 1.org [RET]) and make it org-mode (M-x >org-mode [RET]). > ... >I believe it is the same

Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway, if DATERANGE is non-nil

2023-07-01 Thread Ilya Chernyshov
Hello! In the new patch I added :range-type timestamp property, adjusted interpreter, parser functions, added tests for the property. On Wed, Feb 22, 2023 at 11:21 AM Ihor Radchenko wrote: > I suggest introducing a new timestamp property :range-type. It can be > nil, timerange, or daterange.

Re: exporting to PDF multi-lingual document

2023-07-01 Thread andrés ramírez
Hi. Ihor. > "Ihor" == Ihor Radchenko writes: [...] Ihor> We discussed a similar issue previously in Ihor> https://list.orgmode.org/orgmode/87h6z7jq4o.fsf@localhost/ I have dowloaded de whole thread. And I got something that shows 'quotation marks' in place of Japanese characteres.

Re: exporting to PDF multi-lingual document

2023-07-01 Thread andrés ramírez
Hi. Arne. > "Arne" == Arne Babenhauserheide writes: [...] Arne> I think you have to solve this on the LaTeX-side: including packages that support the Arne> required unicode. [...] Thanks. That helped. It ended like this: --8<---cut here---start-

Re: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)]

2023-07-01 Thread Sébastien Miquel
Ihor Radchenko writes: + ;; Trim contents: `org-src--contents-for-write-back' may have + ;; added indentation at the beginning, which we remove. May you also mention that we remove the indentation to avoid adding spaces to latex fragments in the middle of a paragraph? On seco

Re: [PATCH] org-faq.org: Inline comments

2023-07-01 Thread Ihor Radchenko
Max Nikulin writes: >> FAQ is probably fine. We may add a CSS there that will fold the >> answers by default. > > When all entries are opened, it is possible to use search in browser. I > am against the idea of hiding answers. However the table of contents, > that is rather long and revealed on

Re: Add final hooks to S-/M-/S-M-cursor commands

2023-07-01 Thread Ihor Radchenko
Evgenii Klimov writes: > On July 1, 2023 11:40:07 AM GMT+01:00, Ihor Radchenko > wrote: >>Thanks for the patch! >>May you please squash it into one >> > > Don't you mind if I also add the final hook to `org-meta-return'? I > didn't do it right away because it requires a little bit of refactorin

Re: [RFC] Refactoring org-element API (was: [DISCUSSION] Refactoring fontification system)

2023-07-01 Thread Ihor Radchenko
Ihor Radchenko writes: > In order not to turn org-element into another org-agenda, I am proposing > to factor out Org syntax tree API into a separate file > org-element-ast.el and add a number of breaking changes how the syntax > tree is structured. Applied, onto main. -- Ihor Radchenko // yan

Re: [PATCH v5] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-07-01 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Ok, I update and re-generated the patch, also add new document and Org NEWS > entries. Thanks! See my comments below. > * lisp/org.el (org-fast-tag-selection): Filter out only maximum number > limited tags has fast selection bound when `org-use-fast-tag-selecti

Re: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)]

2023-07-01 Thread Ihor Radchenko
Sébastien Miquel writes: > Ihor Radchenko writes: >> But why do we need to avoid indenting empty lines? > > In the following link, Greg Minshal argues for preserving empty lines: > https://list.orgmode.org/725763.1632663...@apollo2.minshall.org/T/ Thanks for the reference! I can see that non-emp

Re: exporting to PDF multi-lingual document

2023-07-01 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: > I think you have to solve this on the LaTeX-side: including packages > that support the required unicode. Well. Org does provide support for non-English languages. For example, see org-latex-language-alist and org-latex-guess-babel-language. It would be nic

Re: [PATCH] org-faq.org: Inline comments

2023-07-01 Thread Ihor Radchenko
Max Nikulin writes: >> The proposed FAQ entry is overwhelming. It would work fine as a blog, > > A blog with a couple of posts a year has a little sense. Moreover it is > closer to a wiki article because it is supposed to be updated. That is > why I asked for an alternative location on Worg for

Re: Add final hooks to S-/M-/S-M-cursor commands

2023-07-01 Thread Ihor Radchenko
Evgenii Klimov writes: > `org-shiftup' and other S-cursor commands not only provide initial > hooks but also final hooks, while M-cursor and S-M-cursor commands > lack them. These patches add final hooks to all of these commands and > document both hooks in the docstring if they are not already p

[PATCH v5] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-07-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I improved the code a little. Can't figure out how to implement upper logic. >> Can you finish the last part? Thanks >> >> #+begin_src emacs-lisp >> (setq tbl (let* ((tags-grouped (org-tag-alist-to-groups fulltable)) >>... > > I tried

Re: batch breaks bugfix

2023-07-01 Thread Ihor Radchenko
Samuel Wales writes: > - bugfix and main sorting still not getting ts-down tsia-down right. > maint gets it right. maint is obsolete and no longer used. > - having said that it was a relief to have had this script for so many > years as i was able to be confident that the agenda was picking up

Re: [PATCH] org: fix symbol names and grammar in docstrings

2023-07-01 Thread Ihor Radchenko
gerard.vermeu...@posteo.net writes: > The docstrings of `org-outline-level' and `org-current-level' contain > the undefined symbol name `org-odd-levels'. > > The same lines of the docstrings contain also wording like > "Unlike to `org-current-level'" and "Unlike to `org-outline-level'" > where "

Re: [BUG] incorrect org-mode dynamic blocks docs [9.5.4 (release_9.5.4-3-g6dc785 @ /usr/local/share/emacs/29.0.50/lisp/org/)]

2023-07-01 Thread Ihor Radchenko
pva-outd...@yandex.ru writes: > 1. It seems that dynamic blocks can't have inner headlines (the > org-dblock-write:xxx should not produce them). Otherwise the block will > be parsed incorrectly (not mentioned in docs for org-mode). That's Org markup. Headings have the top priority - any "*...* "

Re: [BUG] manual should explain how to insert literal dollar sign

2023-07-01 Thread Ihor Radchenko
Paul Rubin writes: > Context: I wanted to mention in a document that a certain item cost > "$12.98+$.77 s/h".  Since the period after the second $ is punctuation, > the parsing heuristic interpreted that as LaTeX, giving math output in > the html export.  So I spent a while muddling around try