Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-04-24 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: > To my surprise, the patch did not break org to unusable state and > the performance on the sample org file [3] improved drastically. You can > try by yourself! It is not a surprise, really. Text properties are much faster than overlays, and very close to them

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-04-24 Thread Daniel Kraus
Hi! Kyle Meyer writes: > Despite being sympathetic to any attempt to break up org.el, I agree > that it'd be good to move the outline path functionality back. Also, > there are a number of loading issues related to the org-refile move, > which can be seen by running `make single'. > > I've

Re: [RFC] DOCT: Declarative Org Capture Templates

2020-04-24 Thread Nicolas Goaziou
Hello, No Wayman writes: > * [RFC] DOCT: Declarative Org Capture Templates Thank you for your work. I have some comments. Disclaimer: I am only using very basic capture templates. So, I cannot comment realistically on the new syntax you suggest. In particular, the example you give is way

Why not org-tempo insert upcased strings?

2020-04-24 Thread tsuucat
Hi, I tried Emacs 27 and found org mode shortcuts such as https://code.orgmode.org/bzg/org-mode/commit/886ab9c766 may annoy org-tempo users. -- tsuucat

[patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-04-24 Thread Ihor Radchenko
Emacs becomes very slow when opening and moving around huge org files with many drawers. I have reported this issue last year in bug-gnu-emacs [1] and there have been other reports on the same problem in the internet [2]. You can easily see this problem using the attached file if you try to move

small patch for ox-bibtex.el in contrib

2020-04-24 Thread Eric S Fraga
Dear all, the contrib package ox-bibtex.el has a function for jumping to a specific bibtex citation key. The current regex assumes a particular indentation style (leading spaces) and only one space between the CUSTOM_ID key and the value of that key. This small patch (hopefully) generalizes the

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-04-24 Thread Carsten Dominik
On Fri, Feb 28, 2020 at 1:04 AM Adam Porter wrote: > Kaushal Modi writes: > > > Failure 1: org-get-outline-path has moved, and not mentioned in ORG-NEWS > > > > Compiling ox-hugo.el now gives: > > > > ox-hugo.el:4284:1: Warning: the function ‘org-get-outline-path’ is not > known to be defined.

Re: Why not org-tempo insert upcased strings?

2020-04-24 Thread Kaushal Modi
On Fri, Apr 24, 2020, 2:52 AM tsuucat wrote: > Hi, > I tried Emacs 27 and found org mode shortcuts such as then I found org-tempo.el. > > However, org-tempo.el’s shortcuts insert downcased blocks (e.g. > #+begin_src). > Is this intended? > Yes, the convention is now to have downcased keywords.

Re: adding paragraph folding to visibility cycling?

2020-04-24 Thread Bruce D'Arcus
On Tue, Apr 21, 2020 at 1:51 PM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > Right now, I just keybindings for origami-toggle-all-nodes > > origami-toggle-node. > > > > But I was thinking to have this folding as a step between disclosing > > all headings, and disclosing

Re: small patch for ox-bibtex.el in contrib

2020-04-24 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > the contrib package ox-bibtex.el has a function for jumping to a > specific bibtex citation key. The current regex assumes a particular > indentation style (leading spaces) and only one space between the > CUSTOM_ID key and the value of that key. This small patch

Re: [RFC] DOCT: Declarative Org Capture Templates

2020-04-24 Thread No Wayman
Nicolas Goaziou writes: Hello, No Wayman writes: * [RFC] DOCT: Declarative Org Capture Templates Thank you for your work. Thank you for taking the time to respond. Disclaimer: I am only using very basic capture templates. So, I cannot comment realistically on the new syntax you

Bug: lisp error on user error [9.3.6 (9.3.6-43-gc77edd-elpa @ /home/minshall/.emacs.d/elpa/org-20200413/)]

2020-04-24 Thread Greg Minshall
hi. the following example should possibly result in an error message, but actually causes a lisp error/backtrace. i have a code block with ":results vertatim :colnames yes", and am returning a simple character string (so, no headers -- tsk, tsk, a user error). this happens with 'emacs -Q'. if

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-04-24 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas Goaziou writes: > Hello, > > Ihor Radchenko writes: > >> To my surprise, the patch did not break org to unusable state and >> the performance on the sample org file [3] improved drastically. You can >> try by yourself! > > It is not a

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-04-24 Thread Kyle Meyer
Daniel Kraus writes: > Just want to say that I'm (like everyone else who uses the Emacs > `native-comp` branch > with org-mode from master) are also affected by this and > would appreciate if this can be merged. I'll plan to bring that commit into master tomorrow. We can reevaluate/rework the

Re: how to get an org-link to open a program in eshell

2020-04-24 Thread Kyle Meyer
Joseph Vidal-Rosset writes: > I'm trying to get something via an org-link. I suspect that it is > possible, but the documentation is not clear enough for me to get it. > > I want to make an org-link that get me directly in eshell a program, > and if it is possible to do it, I will bookmark this

Re: Why not org-tempo insert upcased strings?

2020-04-24 Thread tsuucat
> Yes, the convention is now to have downcased keywords. Thanks. Is the convention documented? https://orgmode.org/manual/Structure-Templates.html#Structure-Templates It doesn’t seems that The Org Manual uses such a

Re: Why not org-tempo insert upcased strings?

2020-04-24 Thread Kyle Meyer
tsuucat writes: >> Yes, the convention is now to have downcased keywords. > Thanks. Is the convention documented? > > https://orgmode.org/manual/Structure-Templates.html#Structure-Templates > > It doesn’t seems that The