Re: Concatenate properties

2022-05-06 Thread Ihor Radchenko
Tyler Grinn writes: > Thanks for the advice. I've added the caret symbol (:EXPORT_FILE_NAME^: > assignment-1) to mean 'concatenate' as opposed to + for 'joining'. If > this is something the community would want I will clean it up and send > in a patch. Hmm. I am not sure if it going to be a

Re: org-fold problems

2022-05-06 Thread Ihor Radchenko
Eric S Fraga writes: > I am seeing very strange and somewhat frustrating behaviour with the new > org-fold implementation. I have not been able to determine the exact > conditions leading to the problem but some subtrees cannot be revealed > by either org-cycle or org-fold-reveal and act as if

Re: [BUG] org-complex-heading-regexp should consider COMMENT keywords [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-05-06 Thread Ihor Radchenko
Ignacio Casso writes: >> Sounds reasonable. Could you prepare a patch? >> COMMENT should be inside a shy group and note that there might be an >> arbitrary number of space after COMMENT string. > > Here it is. Thanks! Could you also update the org-complex-heading-regexp-format docstring and

Re: org-fold documentation

2022-05-06 Thread Ihor Radchenko
Samuel Wales writes: > so one would not be able to load all of org then compile? Not using native-comp, AFAIK. Best, Ihor

Re: [PATCH] New LaTeX code export option: engraved

2022-05-06 Thread Ihor Radchenko
Timothy writes: Thanks for the updated patch! See some more comments below. > +The first two options provide basic syntax > +highlighting (listings), or none at all (verbatim). > ... > -Alternatively, > +There are two options for more comprehensive fontification. The > +first can be set with,

Re: [PATCH v4] org-encode-time compatibility and convenience helper

2022-05-06 Thread Ihor Radchenko
Max Nikulin writes: > On 04/05/2022 16:56, Ihor Radchenko wrote: >> Max Nikulin writes: >> >> 1 unexpected results: >> FAILED test-org-clock/clocktable/ranges > > Resetting timezone to UTC should be fixed in timestamps generated by a > testing helper function. I was disappointed that

Re: org-fold documentation

2022-05-06 Thread Samuel Wales
so one would not be able to load all of org then compile? On 5/6/22, Ihor Radchenko wrote: > Samuel Wales writes: > >> is there a quick trick like loading everything first? for .el under >> my control i have a[n otherwise] strict policy of clean compilation >> but don't declare. just load

Re: org-fold documentation

2022-05-06 Thread Ihor Radchenko
Samuel Wales writes: > is there a quick trick like loading everything first? for .el under > my control i have a[n otherwise] strict policy of clean compilation > but don't declare. just load before compiling. I am not aware about such trick. native-comp works in isolated Emacs process for

Re: org-fold documentation

2022-05-06 Thread Samuel Wales
is there a quick trick like loading everything first? for .el under my control i have a[n otherwise] strict policy of clean compilation but don't declare. just load before compiling. not using native yet so idk if the q makes sense. On 5/6/22, Ihor Radchenko wrote: > Vikas Rawal writes: >

Re: Recent changes in org-fold regarding emphasize visibility

2022-05-06 Thread Ihor Radchenko
Daniel Fleischer writes: > Ihor Radchenko writes: > >> Fixed on main by d2a459d25 > > I've tried the commit. I think there are still issues. E.g. given a > folded headline > > * Introduction...| > * Section > > Inserting text at that point will do the following thing depending on >

Re: org-fold documentation

2022-05-06 Thread Ihor Radchenko
Vikas Rawal writes: > After upgrading to 9.5.3, I am getting warnings such as this, which I > suspect are due to org-fold.et. > > Warning (comp): org-fold.el:834:27: Warning: Unused lexical variable > `org-hide-macro-markers' Disable showing Disable logging > Warning (comp): org.el:76:30:

Re: [PATCH] New LaTeX code export option: engraved

2022-05-06 Thread Ihor Radchenko
Max Nikulin writes: >> +(defun org-latex-src-block--verbatim >> +(src-block info _lang caption caption-above-p _label >> + _num-start _retain-labels _attributes float) > > On the one hand I have no a better suggestion, but on the other hand 10 > arguments is too much for

[PATCH] Re: [Style] Shouldn’t the macros in org-fold-core have (indent 0)

2022-05-06 Thread Ihor Radchenko
Anders Johansson writes: > When looking through the code in org-fold-core (while debugging a tricky > problem that seems to be an interaction with org-modern, I may get back to > it) I noticed that all the macros that wrap a “body” argument have (indent > 1), but I gather that they should have

[PATCH] org-macs.el: Do not compare wall time and file modification time

2022-05-06 Thread Max Nikulin
Mark Barton to emacs-orgmode, emacs-devel. master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc. Tue, 26 Apr 2022 23:37:50 -0700. https://list.orgmode.org/bf5b9308-3fef-4dc6-98c9-bff36f19d...@gmail.com > The change also breaks org-file-newer-than-p function that triggered the debugger

Re: Concatenate properties

2022-05-06 Thread Tyler Grinn
John Kitchin writes: > I believe this is hard coded in org-entry-get-with-inheritance. The > fastest option would be an override advice with your own function that > replaces (and value " ") with (and value ""), and maybe the two other > " " with "". > > John > >

FIXED (or never broken?) Re: [BUG] org-fill-paragraph unexpectedly creates list items [9.5.3 (9.5.3-g69c588 @ /Users/james/.emacs.d/elpa/org-9.5.3/)]

2022-05-06 Thread J .  P . Ascher
Thank you, Ihor! > If you need any advice about Org code base, feel free to ask this > list. I will do so, once I find a bug that actually exists! > I tried hard to reproduce your issue, but I am unable to get the > behaviour you report using the latest stable version of Org (bugfix: >

org-fold problems

2022-05-06 Thread Eric S Fraga
Hello all, I am seeing very strange and somewhat frustrating behaviour with the new org-fold implementation. I have not been able to determine the exact conditions leading to the problem but some subtrees cannot be revealed by either org-cycle or org-fold-reveal and act as if the have no content

Re: [BUG] org-complex-heading-regexp should consider COMMENT keywords [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-05-06 Thread Ignacio Casso
> Sounds reasonable. Could you prepare a patch? > COMMENT should be inside a shy group and note that there might be an > arbitrary number of space after COMMENT string. Here it is. >From 54cd366c97bd64c226cc6fc79e125ee9f026ff66 Mon Sep 17 00:00:00 2001 From: Ignacio Date: Fri, 6 May 2022

Re: [BUG] org-fill-paragraph unexpectedly creates list items [9.5.3 (9.5.3-g69c588 @ /Users/james/.emacs.d/elpa/org-9.5.3/)]

2022-05-06 Thread Ihor Radchenko
J. P. Ascher writes: > This is a bug that I fixed locally, but I'm not up to speed on > contributions or your code style, and your code base is fairly > complicated. > > I contribute my solution in case it would be of broader use. Thanks for the report and the proposed solution! If you need any

Re: [Some news (nngnorb "UCMgmail")?] (was: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)])

2022-05-06 Thread Ihor Radchenko
Uwe Brauer writes: > That did not work, however when removing > > (nngnorb "UCMgmail") > it worked. > > When you read this, any idea what is going on here? nngnorb is a third-party package that is certainly interacting with Org (https://elpa.gnu.org/packages/gnorb.html) It would be

Re: [BUG] org-complex-heading-regexp should consider COMMENT keywords [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-05-06 Thread Ihor Radchenko
Ignacio Casso writes: >> Note that org-complex-heading-regexp-format does consider statistics >> cookies, but only at the beginning/end of the headline title. >> Unfortunately, it is impossible to provide generic printf format to >> match a headline title with arbitrary statistics cookies

Re: org-capture problems again, the evil %from, %subject

2022-05-06 Thread Ihor Radchenko
Uwe Brauer writes: > I am again facing the problem that org-capture hangs even with my > recovered old setting. > > I investigated it a bit, org-capture is mostly ok, but not for those > templates that contain gnus specific commands like %from %subject etc > > How can I debug this? I'd try to

[PATCH] Re: [9.5.2] [org-keys] [cursor keys with modifiers] ESC missing?

2022-05-06 Thread Ihor Radchenko
R Primus writes: > For `(org-defkey org-mode-map (kbd "ESC ") #'org-metaleft)`, just > wondering if: > > 1. this was intentionally left out, and > 2. if so, what is the reason? > > This causes user `surprise` when switching from using emacs/org-mode in > the terminal to a GUI session. I tied

[PATCH] Re: [BUG] Set org-format-latex-options in .dir-locals.el [9.5.1 (release_9.5.1-11-g96d91b @ emacs-28.0.90/lisp/org/)]

2022-05-06 Thread Ihor Radchenko
Y. E. via "General discussions about Org-mode." writes: > Hello, > > I tried configuring 'org-format-latex-options' per a org-mode > file/directory by adding the following configuration into the > .dir-locals.el file: > The file settings I use: > > #+STARTUP: content latexpreview > #+OPTIONS:

Re: :eval yes use and documentation

2022-05-06 Thread Ihor Radchenko
Charles Millar writes: > Is ":eval yes" officially allowed and, if so, why is it not documented? > > Should it be? Yes, it should be. Moreover, we have strip-export value undocumented. Confirmed. Best, Ihor

Re: Bug: org-attach-follow with wrong-number-of-arguments [ ( @ /home/sbrass/.emacs.d/elpa/org-9.4.4/)]

2022-05-06 Thread Ihor Radchenko
Simon Braß writes: > I've tried to open an attached file (added with org-attach-attach), however, > when I try to open it with C-c C-o I got the following backtrace: > > #+begin_example > Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 1) For record. It should not be an issue