Re: Slightly OT

2023-04-02 Thread Henrik Frisk
> >> Check your org-ctrl-c-ctrl-c-hook >> >> >> >> I don't have it defined, but maybe you mean to do something else? >> Calling >> > org-set-tags gives the same result as dos C-c C-q. >> >> Then, `org-after-tags-change-hook'. >> >> More generally, you can M-x toggle-debug-on-error to see more detai

Re: [BUG] Agenda not sorting by priority THEN todo state (todo state ignored) [9.6.1 (9.6.1-??-fe92a3c @ /Users/polofsson/.emacs.d/.local/straight/build-28.2/org/)]

2023-04-02 Thread Samuel Wales
i was not intending to talk about that xkcd. there has been confusion about 2 definitions of priority, and your urgent will likely help. if the docs referred to priority cookies, your argument is good. i did not think every reference did incl code. On 4/2/23, Ihor Radchenko wrote: > Samuel Wa

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-02 Thread gnuric
Hi Ihor, Thanks for your reply and clarification on what Timothy meant. 1. Is there a general workaround that could be used as of now? 2. Is there something I can do to help with a :dir or similar option's development? I have some (very) basic knowledge of lisp. 3. If it helps, this behavior has

Re: Bug report for ox-icalendar: newlines should be CRLF

2023-04-02 Thread Jack Kamm
Ihor Radchenko writes: > Sorry for the late reply. > > Do I understand correctly that all the ical lines must use \r\n? [1] Following up here that I have pushed a fix for the EOL issue in ox-icalendar: https://list.orgmode.org/87355ikzwk.fsf@localhost/T/#m180c100587d3d88ab5787942271a546b5189199

[PATCH v2] Add compat.el support to Org (was: [POLL] Use compat.el in Org? (was: Useful package? Compat.el))

2023-04-02 Thread Ihor Radchenko
I am attaching a slightly tweaked version of the patch that will make less use of internet connection (use only when really, really necessary), fixes variable expansion to be done once instead of in every make sub-process, and adds some extra info messages. Max Nikulin writes: > Ihor, do added

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-04-02 Thread Ihor Radchenko
Max Nikulin writes: >> Does it mean that you are able to? > > I reproduced the issue with packages available in Debian and Ubuntu, > including -Q, so minimally affected by distribution-specific > configuration, but I have not tried to compile Emacs myself. I am > judging from changes in Emacs

Re: [PATCH] Add compat.el support to Org (was: [POLL] Use compat.el in Org? (was: Useful package? Compat.el))

2023-04-02 Thread Max Nikulin
On 01/04/2023 17:31, Ihor Radchenko wrote: See the attached patch set adding support of compat.el. Ihor, do added makefile rules follow best practices used by other Emacs packages in respect to dependencies? I do not like the idea of network queries on every make. In some cases I would prefe

Re: [RFC] ox-icalendar: Unscheduled tasks & repeating tasks

2023-04-02 Thread Ihor Radchenko
Jack Kamm writes: > Attached is the (I think) final version of the patch. I'll install it > soon, unless I hear otherwise. I have no further comments. Thanks! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: [PATCH] Add compat.el support to Org (was: [POLL] Use compat.el in Org? (was: Useful package? Compat.el))

2023-04-02 Thread Ihor Radchenko
Max Nikulin writes: > If dependencies may be satisfied by installing system packages then it > is easier to run Org from repository clone or to build new version of > elpa-org package. The patch provides EFLAGS variable that will allow supplying flags to emacs executable. One can just use ~EFL

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-04-02 Thread Max Nikulin
On 02/04/2023 15:35, Ihor Radchenko wrote: I was able to reproduce on Debian using virtual machine. To be precise, I am surprised that you are unable to reproduce the issue with older Emacs version compiled from source. Does it mean that you are able to? I reproduced the issue with packages

Re: [RFC] ox-icalendar: Unscheduled tasks & repeating tasks

2023-04-02 Thread Jack Kamm
Ihor Radchenko writes: > Looks reasonable, but I have one comment on the code. > We should not use user-defined hooks for things that must be executed. > Instead, we should better explicitly call the necessary functions. Thanks, I updated the patch to explicitly call the function. Also, I tweak

Re: [PATCH] Add compat.el support to Org (was: [POLL] Use compat.el in Org? (was: Useful package? Compat.el))

2023-04-02 Thread Max Nikulin
On 02/04/2023 15:52, Ihor Radchenko wrote: And it should not matter anyway. We only need compat when Org mode is not built-in, but installed by other means. Normally, users will simply install Org from ELPA where we do not need to worry about older versions of Compat. If dependencies may be sat

Re: [PATCH] [FR] Fontifying src-blocks with no language specified

2023-04-02 Thread Ihor Radchenko
Ihor Radchenko writes: > Attaching an updated version of the patch. > Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c2ffc6b60 Done. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org develo

Re: [PATCH] ox-odt: Prevent auto-formatting in export buffers

2023-04-02 Thread Ihor Radchenko
Ihor Radchenko writes: > See the attached patch where I applied the idea across Org, where it > made sense. Note that I did not alter `org-odt--export-wrap' because > `save-buffer' there is applied only when XML files are opened as buffers > in Emacs, presumably manually. Interactive `save-buffer

Re: [PATCH 0/4] Structure editing when region is active

2023-04-02 Thread Ihor Radchenko
Philipp Kiefer writes: > There is a bug here, where moving a region of several headings down, > then up will snag another heading onto the bottom of the region. See the > screencast for illustration. To reproduce, in the sample file use Alt-h > twich to select the headings 'Select 1' and 'Sele

Re: Bug: code block not evaluated during export when placed in SETUPFILE [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-04-02 Thread Ihor Radchenko
Ihor Radchenko writes: > #+SETUPFILE is only parsed for export settings. It is not actually > included. I admit that the wording may be confusing. > > To actually include the document, use #+INCLUDE. > > I tried to clarify the manual section in the attached patch. Applied, onto main. https://gi

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-02 Thread Ihor Radchenko
gnu...@pm.me writes: > I was wondering if anyone had any new ideas on this question (or an > explanation on what Timothy meant by a :dir parameter). Timothy meant that we can introduce a new #+INCLUDE option :dir that will define custom path used to resolve relative paths inside links in the inc

Re: org-capture and fast selection of tags

2023-04-02 Thread Ihor Radchenko
Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at

Re: Make org-mode multi line shell session work sensibly

2023-04-02 Thread Ihor Radchenko
Fixed. Samuel Loury writes: > The symptom is the following: When I try to run a code block with noop > lines, like comment, the output gets broken > > --8<---cut here---start->8--- > #+BEGIN_SRC sh :results output :exports both :session > c66d4791-003d-42af-a

Re: Noweb Function's body without evaluation

2023-04-02 Thread Ihor Radchenko
suarezmigu...@icloud.com writes: > I use heavily org-mode for Literate DevOps, so I have a lot of shell commands > that connect through SSH and do some things later, for example: > > #+name: initSSH > #+begin_src shell :var connection=“admin@somehost" > ssh -t miguel@host "sudo -u someuser ssh -t

Re: [BUG] Agenda not sorting by priority THEN todo state (todo state ignored) [9.6.1 (9.6.1-??-fe92a3c @ /Users/polofsson/.emacs.d/.local/straight/build-28.2/org/)]

2023-04-02 Thread Ihor Radchenko
Samuel Wales writes: > it is all ok with me, but not everybody has personal test cases for > sorting sequence, and soembvody might get bitten by a subtle change > like this which pop up every once in a while. What you are describing is https://xkcd.com/1172/ We have no obligation to preserve bac

Re: [BUG] updates.orgmode.org returns 502 Bad Gateway

2023-04-02 Thread Ihor Radchenko
Ihor Radchenko writes: > em...@s.ptr.dev writes: > >> Hi all, I'm trying to find the RSS feed for org-mode, which I expect to >> live in updates.orgmode.org (as mentioned in the first line of [1]). >> Unfortunately, the nginx server is misconfigured (or something) and >> returns a "502 Bad Gatewa

Re: [BUG] org-element-cache error using org-store-link file [9.6.1 (9.6.1-g44e1cb @ c:/users/scott/.emacs.d/straight/build/org/)]

2023-04-02 Thread Ihor Radchenko
Scott Otterson writes: > When I run org-store-link inside a .bib file, I get the cache error below. > ... > ■ Warning (org-element-cache): org-element--cache: Org parser error in > energy.bib::761517. Resetting. > The error was: (error "rx ‘**’ range error") This indicates that one of your cu

Re: [PATCH] Add compat.el support to Org (was: [POLL] Use compat.el in Org? (was: Useful package? Compat.el))

2023-04-02 Thread Ihor Radchenko
Max Nikulin writes: > On 01/04/2023 18:38, Daniel Mendler wrote: >> From my side, the change looks good. The current Compat version 29.1.4.x >> is stable with no known issues. > > Debian Bookworm and Ubuntu 23.04 (currently frozen testing and beta > accordingly) have elpa-compat-29.1.3.4 and 29

Re: [RFC] ox-icalendar: Unscheduled tasks & repeating tasks

2023-04-02 Thread Ihor Radchenko
Jack Kamm writes: >> We likely want (according to 34.10.1 Basic Concepts of Coding Systems): > > I attach a new patch, which takes the approach of converting to > utf-8-dos in `org-icalendar-after-save-hook', instead of converting > newlines in `org-icalendar-fold-string'. > > I think this way is

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-04-02 Thread Ihor Radchenko
Max Nikulin writes: >> I was able to reproduce on Debian using virtual machine. > > To be precise, I am surprised that you are unable to reproduce the issue > with older Emacs version compiled from source. Does it mean that you are able to? I only tried on Gentoo, because my Debian-foo is not g