Re: Org for non-users, part 2: `C-c C-e', a.k.a. `org-export-dispatch'

2022-02-08 Thread Ihor Radchenko
Eduardo Ochs writes: > On Mon, 7 Feb 2022 at 10:55, Ihor Radchenko wrote: > >> > What are the recommended ways to abort org-export-dispatch without >> > letting it destroy the "*Org Export Dispatcher*" window and its >> > buffer? >> >&

Re: [PATCH] lisp/org-capture.el: Add hook & hook options to org-capture (Valentin Herrmann)

2022-02-08 Thread Ihor Radchenko
No Wayman writes: > I've implemented what you're proposing here (and much more) in a > package you may find useful a couple years ago. I pitched adopting > some of the ideas into org-mode proper and was willing to do the > work. My proposal was met with enthusiastic silence: > > https://www.gi

Re: Unable to get current or via use-package

2022-02-10 Thread Ihor Radchenko
Tim Cross writes: >> Is that necessary? Can't I just use the package manager to update Org >> along with any other packages? Or does the issue about not visiting and >> .org file before installing via the package manager apply to updates >> too? >> > > Even with updates, it is still important t

Re: [BUG] repeated warning on org-element--cache. [9.6 (9.6-??-27edae@ ~/60-69 System Configs/61 Unix/EmacsDoom/emacs.d/.local/straight/build-27.2/org/)]

2022-02-13 Thread Ihor Radchenko
Bhima Auro writes: > I am submitting an autogenerated bug report for Org-Mode. > Package: Org mode version 9.6 (9.6-??-27edae8 @ ~/60-69 System Configs/61 > Unix/EmacsDoom/emacs.d/.local/straight/build-27.2/org/) Thanks for the report! Your Org mode version appears to be 3 month old. We have fix

Re: [BUG] org-element--cache: parser error [9.5.2 (release_9.5.2-378-g98588e.dirty @ c:/Users/micha/AppData/Roaming/.emacs.d/org-new/org-mode/lisp/)]

2022-02-13 Thread Ihor Radchenko
Michael Powe writes: > This error occurred on startup. I was using my notes.org file earlier > today, without error. I think I did subsequently do a 'git pull && > make', though. Thanks for the report! > Warning (org-element-cache): org-element--cache: Org parser error in > notes.org::10472.

Re: org-persist uses Emacs 28+ buffer-local-boundp

2022-02-14 Thread Ihor Radchenko
Kyle Meyer writes: > Could you update org-persist-write:elisp to be compatible with older > Emacs versions (e.g., by inlining the short definition and adding a > comment about why buffer-local-boundp isn't used)? Done in 0cb076020. Thanks for the heads up! Best, Ihor

Re: Is It Possible To Target ID And Classes With Org Mode Exports?

2022-02-19 Thread Ihor Radchenko
"Samuel Banya" writes: > I'm curious, is it possible to specify a 'ID' or 'Class' attribute for a > specific header, or link that you create in Org Mode? > > Asking since I'm in the process of modifying a CSS stylesheet for a site, but > would want more granular control to possible make contain

Re: [BUG] Child's visibility property is overridden by parent's [9.5.2 (9.5.2-gbc8c3e @ /home/john/.emacs.d/straight/build/org/)

2022-02-19 Thread Ihor Radchenko
John Mathena writes: Confirmed. > It seems like the visibility property on a parent heading overrides > the visibility property on a child heading - is this expected? e.g. > when I have the raw text: > > * Foo > :PROPERTIES: > :VISIBILITY: content > :END: > ** Bar > :PROPERTIES: > :VISIBILITY: f

Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-19 Thread Ihor Radchenko
Liutos writes: > Assume there is an entry as simple as following > > * a simple entry > > Move the cursor on the entry, then press C-c C-s for setting its > SCHEDULED property. Then type `23:59+0:30` and press Enter key. The > resulting SCHEDULED property will be an ill-formed value such as > `<2

Re: [BUG] Questionmarks in org-agenda instead of file names [9.5.2 (9.5.2-g3154c2 @ /Users/eugr/.emacs.d/straight/build/org/)]

2022-02-19 Thread Ihor Radchenko
Eugene Rakhmatulin writes: > Well, that happened again. See the backtrace below. I recently managed to find a reproducer when question marks wrongly appear in category. Just pushed the fix to main (c5a0113367). Can you try again and let me know if it is fixes your problem? Best, Ihor

Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-20 Thread Ihor Radchenko
Greg Minshall writes: > i tried Liutos' example, and ended up with > >> * a simple entry >> SCHEDULED: <2022-02-20 Sun 23:59-24:29> > > i think it is the "-24:29" that is of concern. Which is perfectly fine. 24:29 is one of the expected time formats for org-agenda. If I recall correctly, this

Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-21 Thread Ihor Radchenko
Liutos writes: > Sorry for missing the error's detail. Here it is > > ``` > org-duration-to-minutes: Invalid duration format: "+0:29" > ``` > > I seen this message from my Emacs' *Messages* buffer after I invoke > org-agenda. And the *Org Agenda* buffer is empty except a simple title. Thanks for

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-21 Thread Ihor Radchenko
Matt Price writes: > However, if I instead use my fairly extensive main config, latency is high > enough that there's a noticeable delay while typing ordinary words. I see > this regardless of whether I build from main or from Ihor's org-fold > feature branch on github. The profiler overview her

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-21 Thread Ihor Radchenko
Samuel Wales writes: > i have been dealing with latency also, often in undo-tree. this might > be a dumb suggestion, but is it related to org file size? my files > have not really grown /that/ much but maybe you could bisect one. as > opposed to config. I am wondering if many people in the li

Re: [WISH] Allow to hide the '*Org Help*' in 'org-goto' [9.5.2 (release_9.5.2-13-gdd6486 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-02-22 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> org-goto-location: Wrong type argument: stringp, nil > > Could we make it so that setting the 'org-goto-help' to 'nil' makes Org > not show the help window for those who do not need it? org-goto-help is a constant. It is not meant to be used to control showing or not

Re: [BUG] Prompted to submit (unsure what happened) [9.5.2 (9.5.2-g072523 @ /Users/apc/.emacs.d/straight/build/org/)]

2022-02-22 Thread Ihor Radchenko
Alejandro Pérez Carballo writes: > I was simply entering an entry to my main bib file. I received an error > message and was asked to submit this report. Thanks for the report! Do I understand correctly that you got: 1. An error message 2. A warning popup Did it happen when you were _not_ in O

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Ihor Radchenko
Matt Price writes: >>20128 80% - redisplay_internal (C function) >> 7142 28% - assq >> 908 3% - org-context Note that org-context is an obsolete function. Do you directly call it in your config? Or do you use a third-party package calling org-context? Best, Ihor

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Ihor Radchenko
Matt Price writes: > Yes, it definitely seems to be related tofile size, which makes me think > that some kind of buffer parsing is the cause of the problem. Parsing would show up in the profiler report in such scenario. It is not the case though. The problem might be invisible text (it would ca

Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature))

2022-02-23 Thread Ihor Radchenko
Dear all, Since there is at least a couple of people who might be interested, lets try to meet online on jitsi and debug performance issues you experience because of Org mode. Probably some time this Saturday (Feb 26). I am thinking about 9pm SG time (4pm Moscow; 8am New York; 1pm London). WDYT?

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-23 Thread Ihor Radchenko
Matt Price writes: >> Note that org-context is an obsolete function. Do you directly call it >> in your config? Or do you use a third-party package calling org-context? >> > > Hmm. I don't see it anywhere in my ~.emacs.d/elpa~ directory or in my > config file. I also went through ORG-NEWS and wh

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-23 Thread Ihor Radchenko
Max Nikulin writes: >> +;; the same purpose. Overlays are implemented with O(n) complexity in >> +;; Emacs (as for 2021-03-11). It means that any attempt to move >> +;; through hidden text in a file with many invisible overlays will >> +;; require time scaling with the number of folded regions

Re: [BUG] Prompted to submit (unsure what happened) [9.5.2 (9.5.2-g072523 @ /Users/apc/.emacs.d/straight/build/org/)]

2022-02-24 Thread Ihor Radchenko
Alejandro Pérez Carballo writes: > Sorry about the unclear report. I was indeed _not_ in an org buffer. I do not > think I was using minibuffer completion, but I cannot remember. I now just > got a similar error message, this time when working on an Elisp buffer. The > error message says: > >

Re: Communication problems and possible problems with the website

2022-02-25 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > I accept that most of you does the work in your unpayed free time and > that each project has it's own "vibes" and ways to do things. > I just wan't to show you my experience with my tries to communicate with > the project. It is not my goal to vent my anger; and I ev

Re: Communication problems and possible problems with the website

2022-02-25 Thread Ihor Radchenko
Russell Adams writes: > https://orgmode.org/ is administered by Org maintainers. I'm not sure > where that repo is, and it's not publicly writable. Suggesting edits > for that site is certainly appropriate on this mailing list. It is https://git.sr.ht/~bzg/orgweb/ Timothy, would you mind adding

Re: Communication problems and possible problems with the website

2022-02-25 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > The text in the buffer after M-x org-submit-bugreport says in the first > line "You are about to submit a bug report to the Org mailing list". > This does not explain how this is done. As a (very fresh not Emacs > familiar) user I wouldn't assume that I have to setup

Re: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature))

2022-02-25 Thread Ihor Radchenko
Ihor Radchenko writes: > Dear all, > > Since there is at least a couple of people who might be interested, lets > try to meet online on jitsi and debug performance issues you experience > because of Org mode. Probably some time this Saturday (Feb 26). I am > thinking abou

Links to javascript-based websites from orgmode.org: Paypal and Github (was: Communication problems and possible problems with the website)

2022-02-25 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Am 25.02.2022 15:18 schrieb Ihor Radchenko: >> Org has no official GitHub page. This is partially a requirement from >> Free Software Foundation: >> https://www.gnu.org/prep/standards/standards.html#References > > I totally and absolute s

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-02-25 Thread Ihor Radchenko
CCing RMS as this discussion might be of interest for him. The previous emails in the thread are in https://list.orgmode.org/b074b191-b06f-928d-284c-7a7ee5d97...@ctpowe.net/T/#u Bastien Guerry writes: > Thanks for raising this issues. > > Ihor Radchenko writes: > >> Fair poin

Re: [BUG] Prompted to submit (unsure what happened) [9.5.2 (9.5.2-g072523 @ /Users/apc/.emacs.d/straight/build/org/)]

2022-02-25 Thread Ihor Radchenko
Alejandro Pérez Carballo writes: > One more question: wouldn't replacing `org-in-src-block-p' with a function > that calls `org-in-src-block-p' only when in org-mode and returns `nil' > elsewhere suffice to make something that's like `org-in-src-block-p' but that > will work outside org-mode?

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-25 Thread Ihor Radchenko
Max Nikulin writes: > Thank you, Ihor. I am still not motivated enough to read whole page but > searching for "interval" (earlier I tried "overlay") resulted in the > following message: > > Message-ID: <9206230917.aa16...@mole.gnu.ai.mit.edu> > Date: Tue, 23 Jun 92 05:17:33 -0

Re: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature))

2022-02-26 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Dear all, >> >> Since there is at least a couple of people who might be interested, lets >> try to meet online on jitsi and debug performance issues you experience >> because of Org mode. Probably so

Re: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature))

2022-02-26 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Ihor Radchenko writes: >> >>> Dear all, >>> >>> Since there is at least a couple of people who might be interested, lets >>> try to meet online on jitsi and debug performance issues you

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-26 Thread Ihor Radchenko
editing text in buffer, >> where their performance is also O(N_markers). > > I believed, your confirmed my conclusion earlier: > > Ihor Radchenko. Re: [BUG] org-goto slows down org-set-property. > Sun, 11 Jul 2021 19:49:08 +0800. > https://list.orgmode.org/orgmode/87lf6dul3f.f

Re: Communication problems and possible problems with the website

2022-02-26 Thread Ihor Radchenko
Jean Louis writes: > Thanks, that will help new users to communicate. 👍 > > Maybe you could make XMPP group for Org move on chat.orgmode.org and let > people hoping through various Jabber/XMPP applications. Some time ago, Timothy shared an idea of creating a discourse forum at orgmode.org. Disc

Re: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature))

2022-02-26 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Ihor Radchenko writes: >> >>> Ihor Radchenko writes: >>> >>>> Dear all, >>>> >>>> Since there is at least a couple of people who might be interested, lets >

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-03-02 Thread Ihor Radchenko
Max Nikulin writes: > On 27/02/2022 13:43, Ihor Radchenko wrote: >> >> Now, I did an extended profiling of what is happening using perf: >> >> 6.20% [.] buf_bytepos_to_charpos > > Maybe I am interpreting such results wrongly, but it does not look like

Re: org-modern

2022-03-03 Thread Ihor Radchenko
"Christopher M. Miles" writes: > It does not affect performance a lot. I almost can't feel the latency > difference between disable or > enabled org-modern. I have 3M org file which has lot of source blocks and > tags list etc. (I know 3M > is not very large.) > > I like this package indeed bea

Re: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-12 Thread Ihor Radchenko
Ignacio Casso writes: > In Emacs 27.2, with an up to date version of org from ELPA (9.5.2), > org-agenda considers timestamps that appear in property drawers, so the > entry below appears in the daily agenda view. > > * Heading > :PROPERTIES: > :timestamp: <2022-03-12 sáb> > :END: > > Howev

Re: [BUG] LOGBOOK makes property search (in org-agenda) too slow(?)

2022-03-12 Thread Ihor Radchenko
"fr...@t-online.de" writes: > I have just one headline and do a simple property search (prop1="blah1") > for the 'org-agenda', but this takes about 10 seconds! Thanks for providing a reproducible example! We know about this performance issue. Performance has been improved in the development ve

Re: Problems with babel reading Japanese paths in Windows

2022-03-12 Thread Ihor Radchenko
Jonathan Nogueira writes: > Hi all, > > I've been working with emacs and org on Windows 10.0.19042 and was recently > trying to get babel to produce plantuml diagrams. > > I've managed to (I think) narrow the issue down to Babel either not being > able to read/write Japanese paths to shell comman

Re: [BUG] error after reading in contents of other file [9.6 (9.6-??-e7ea951 @ /home/user/.emacs.d/.local/straight/build-28.0.50/org/)]

2022-03-12 Thread Ihor Radchenko
Mark Edgington writes: > I manually opened a new daily file, and read in some content from > another file (using ':r filename.txt' with Evil). After doing this, the > content was inserted, but the following traceback occurred: > > Warning (org-element-cache): org-element--cache: Org parser error

Re: [BUG] org-element--cache: (nil) Cached element is incorrect in test3.org. (Cache tic up to date: "yes") Resetting. [9.6 (9.6-??-0c9b30e @ /Users/hamid/.emacs.d/.local/straight/build-27.2/org/)]

2022-03-12 Thread Ihor Radchenko
Thanks for the report! You are using a 3 month old version of Org. Could you update Org to latest main and let us know if the warning appears again? Best, Ihor

Re: [BUG] Scheduled task shows up wrong day in agenda [9.5.2 (release_9.5.2-22-g33543d @ /usr/local/share/emacs/29.0.50/lisp/org/)]

2022-03-12 Thread Ihor Radchenko
Jeffrey DeLeo writes: > Single org file "foobar.org", containing one task scheduled for > Sunday. It is displayed on agenda for Saturday. I build my own emacs, > which includes org, on OS Ubuntu 20.04. > > foobar.org contents: > > * Tasks > ** TODO Something > SCHEDULED: <2022-03-06 Sun> > > Agen

Re: Bug: org-agenda search is slow on Windows 10 [9.4.4 (release_9.4.4 @ c:/Program Files/Emacs/x86_64/share/emacs/27.2/lisp/org/)]

2022-03-12 Thread Ihor Radchenko
Robert Mastragostino writes: > Hello, > > Org-agenda search is being unreasonably slow, taking several seconds to > search through ~100 small files (a simple python program is practically > instantaneous). I'm not familiar with proper emacs profiling but pausing in > the middle of the search e

Re: [BUG] Scheduled task shows up wrong day in agenda [9.5.2 (release_9.5.2-22-g33543d @ /usr/local/share/emacs/29.0.50/lisp/org/)]

2022-03-12 Thread Ihor Radchenko
Jeffrey DeLeo writes: > Save "foobar.org" and "testcase_startup.el" into a directory. Start > emacs in that directory as "emacs -Q -l testcase_startup.el". When emacs > comes up, hit "a" to get agenda. > > "foobar.org" has one task scheduled for Sunday. When I write this, it is > Saturday. Task

Re: [BUG] LOGBOOK makes property search (in org-agenda) too slow(?)

2022-03-13 Thread Ihor Radchenko
Samuel Wales writes: > are there intereim workarounds like semi-automatically moving large > logbook entries, or entire logbooks, to a task that says "was logbook > for ..." and then archiving that task? or automatically archiving old > logbook entries? My largest logbook contains ~2.5k clock

Re: [BUG] Error when using mouse to set TODO state [9.5.2 (9.5.2-g91681f @ /home/garyo/.emacs.d/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Gary Oberbrunner writes: > I'm using org and org-roam. I tried to use the mouse-3 menu to toggle the > state of a TODO item, but I get this error: > > > Debugger entered--Lisp error: (void-variable org-todo) Thanks for reporting! Fixed now on bugfix via af6f1298b. Best, Iho

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > # Issue > Starting emacs with emacs -Q​, then navigating to a minimal example org file > with C-x C-f​ yields a ~10 second hang on an 8-core/16GB RAM machine with > nothing else running. Also, scrolling commands like C-v​ are often laggy > after the initial hang. > > T

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-03-19 Thread Ihor Radchenko
Max Nikulin writes: > It is up to you to choose at which level your prefer to optimize the > code. And it is only my opinion (I do not insist) that benefits from > changes in low level code might be much more significant. I like the > idea of markers, but their current implementation is a sour

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > Hi Ihor, > > I tried to run that code but get errors for the elp-instrument-function​ > calls (both with my config and emacs -Q​): > > ``` > Debugger entered--Lisp error: (error "ELP cannot profile the function: > org-cite-basic--g...") Then also add (require 'oc-basic

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > Thanks: > > ``` > org-cite-basic-activate 59 10.724349447 0.1817686346 > org-cite-basic--parse-bibliography 129 10.559936049 0.0818599693 > org-cite-basic--all-keys59 7.830202561 0.1327152976 > org-cite-basic--get-ent

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > It seems a very significant improvement - the lag on scrolling after the > buffer is loaded is not noticeable, and the initial loading hang essentially > disappears! Great! Do you mean that there is no apparent slowness at all? > I'm slightly surprised that elp-result

[PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread Ihor Radchenko
7c Mon Sep 17 00:00:00 2001 Message-Id: <100b722708c68bc65af637c3ad4e289943cccd7c.1647690044.git.yanta...@gmail.com> From: Ihor Radchenko Date: Sat, 19 Mar 2022 19:24:55 +0800 Subject: [PATCH] oc-basic: Speed up cached bibliography retrival * lisp/oc-basic.el (org-cite-basic--file-id-cache): N

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > Hmm, this doesn't fix what I'm seeing - still hang on first load and quicker > after killing and finding again. Very possible there's something else obvious > I'm missing though, I'm very much an emacs 'end user'! This is strange. I would then try to run the profiler

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread Ihor Radchenko
psychosis writes: > I have a related problem (see > https://list.orgmode.org/77km6r.3bgd0z3z4p...@disroot.org/ for > reference) and Ihor’s patch reduced the initial load time of my > biblatex bibliography file from almost ten minutes to about 10 to 20 > seconds. I have seen your email. Persi

Re: How do you manage complex project with Org-mode

2022-03-19 Thread Ihor Radchenko
Sébastien Gendre writes: > So, if you have any suggestion on how to manage, in Org-mode, projects > with: > * Lot of work to do (many days) > * Short deadline (not enough time) > * High importance (disastrous consequences in my future in case of fail) > * Many of them in the same time > * Progres

Re: How do you manage complex project with Org-mode

2022-03-19 Thread Ihor Radchenko
Tim Cross writes: > For example, I > would not have a task which says to review my tasks twice a week. Do you > really need a task to remind you to do this twice a week? Do you really > need to track that you have done this? I would classify such tasks as > 'noise' tasks. They really don't perfor

Re: Inconsistent handling of multi-line properties

2022-03-19 Thread Ihor Radchenko
Greg Sullivan writes: > I would really like the ability to use the ":myProperty+: " to create > multi-line properties for the org-export-taskjuggler exporter. > However, the mentioned patch is quite large and mostly focused on headline > caching, as far as I can tell. > @Ihor or @Hanno, Is there

Re: Inconsistent handling of multi-line properties

2022-03-19 Thread Ihor Radchenko
Hanno Perrey writes: > Hej, > > I have noticed that properties that stretch over multiple lines using > the :value+: syntax are ignored by org-element-property and therefore > also by e.g. org-export-get-node-property when exporting to ics via > ox-icalendar.el (see example below). I was wonde

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-03-19 Thread Ihor Radchenko
Max Nikulin writes: > Actually I considered Atom and VS Code (that are still on the main page) > quite similar. I admit that they are open source, but are available > packages are really free? Maybe my opinion was just distorted by a > mention of a project aiming to remove telemetry code from

Re: Communication problems and possible problems with the website

2022-03-19 Thread Ihor Radchenko
Bastien Guerry writes: > Discourse is nice but I'm not favor of installing an instance for Org. > > Beginners often ask questions on reddit.com and stackoverflow.com (and > perhaps elsewhere): perhaps some regular users of these websites could > serve as "contributors stewards", redirecting inter

Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)

2022-03-20 Thread Ihor Radchenko
I am pinging this thread again because I believe that doct syntax is much easier to write compared to current defaults. It should be added to Org core. Also, if anyone agrees with my arguments below, do not stay silent and drop a "+1" email below. Otherwise, this whole thing will be stalled. There

Re: [PATCH] lisp/org-capture.el: Add hook & hook options to org-capture (Valentin Herrmann)

2022-03-20 Thread Ihor Radchenko
No Wayman writes: >> I think Nicolas gave some reasonable comments, didn't he? He >> suggested >> to incorporate some of the ideas into the existing Org mode >> code. >> >> https://orgmode.org/list/87wo66t8i7@gmail.com > > I believe you're referring to: > > https://list.orgmode.org/87y2qlgq

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-03-20 Thread Ihor Radchenko
"Bradley M. Kuhn" writes: > I'd be glad to discuss how I've come to these assessments in more detail if > that's useful to the discussion. (However, I won't have time to check back > into this thread until Tuesday due to a deadline.) > > I generally recommend PayPal to projects that want to mini

[PATCH] Re: [BUG] Hard-coded begin/end in org-insert-structure-template [9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-03-20 Thread Ihor Radchenko
ug, but the situation can certainly be improved. We can auto-magically determine whether to use BEGIN_ or begin_ depending on the case in template type. Tentative patch attached. Best, Ihor >From bdf8340ab8b41f0c9f26f5b0bdadbf079b8f6d66 Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radche

Re: citations: org-cite vs org-ref 3.0

2022-03-20 Thread Ihor Radchenko
Vikas Rawal writes: > What is the general view of the community about this? Is there a > comprehensive discussion of pros and cons of each? Prof. Kitchin himself provided a summary on why he decided to give up on using org-cite. See https://github.com/jkitchin/org-ref/issues/892 > What is every

Fwd: Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)]

2022-03-20 Thread Ihor Radchenko
Start of forwarded message From: Ihor Radchenko To: No Wayman Subject: Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)] Date: Sun, 20 Mar 2022 18:26:52 +0800 This patch is

Re: Problems with babel reading Japanese paths in Windows

2022-03-21 Thread Ihor Radchenko
Jonathan Nogueira writes: > I did and it seems to work fine, I also tested this using plantuml-mode's > normal compliation procedure. > > This seems to specifically be a problem with org-mode and babel's > compilation Then, could you provide an example source block and the command line emitted

Re: [PATCH] org-agenda: Skip formatting if format string is ""

2022-03-21 Thread Ihor Radchenko
Samim Pezeshki writes: > Is there anything I need to do for this to be merged? Applied. I took a freedom to push your patch to bugfix amending the indentation changes. (847e33230) Note that your total contribution to Org is approaching 15 LOC - a legal threshold for insignificant changes. If y

Re: [BUG] error after reading in contents of other file [9.6 (9.6-??-e7ea951 @ /home/user/.emacs.d/.local/straight/build-28.0.50/org/)]

2022-03-21 Thread Ihor Radchenko
Mark Edgington writes: > Yes, I'm still getting the following: > > Emacs : GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version > 3.24.20, cairo version 1.16.0) of 2022-01-15 > Package: Org mode version 9.6 (9.6-??-e7ea951ac @ > /home/user/.emacs.d/.local/straight/build-28.0.50/org/) >

Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)

2022-03-21 Thread Ihor Radchenko
Mark Barton writes: > I was concerned about long term support and if I would be left with templates > I would have to rewrite again, plus I was too busy at the time to adopt it > and it stays in my list of TODOs that are not scheduled. To clarify, I do not think that we need to switch to doct

Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)

2022-03-21 Thread Ihor Radchenko
Nicolas Goaziou writes: > I think there should be a direct mapping between Customize interface and > values. Adding this macro as a band-aid to simply configuration is not, > IMO, a solution. I think that current customize interface for org-capture-template is perfectly fine. doct aids users who

Re: How do you manage complex project with Org-mode

2022-03-21 Thread Ihor Radchenko
Tim Cross writes: > My point was not that you don't need to review on a regular basis. > Reviewing your tasks and projects regularly is essential. My point was > that creating a todo task telling you to review your tasks/projects is > an example of a 'noise' task. I guess that it depends on what

Re: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-22 Thread Ihor Radchenko
Ignacio Casso writes: >>> What you see in the new Org version is not a bug. Property values are >>> treated as plain text by Org. > > I think that even if timestamps were never intended to be used inside > property drawers before, the fact that it worked for a long time and > nothing in the docum

Timestamp parsing inside node properties and other contexts out of org-element-object-restrictions (was: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g

2022-03-22 Thread Ihor Radchenko
Ihor Radchenko writes: > After further reading the source code, I figured that agenda is, in > fact, supposed to handle timestamps inside property drawers. Optional > arguments for org-at-timestamp-p imply that, in agenda specifically, > timestamps inside node properties ar

Re: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-22 Thread Ihor Radchenko
Samuel Wales writes: > - not quite grasp why bare active and inactive tses should not be > matched by ts agenda almost anywhere including blocks. perhaps the > idea is that you might wnt to store lots of data with tses and they > would be too much clutter? See https://orgmode.org/list/202201011

Re: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-22 Thread Ihor Radchenko
Samuel Wales writes: > so i guess i am interested in the rationale. example of ts [and text] > search being useful might be an example or ledger block that contains > ledger source, or something like that. i can get why bare ts not > being matched inside links might be useful. > > otoh i can ge

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-22 Thread Ihor Radchenko
psychosis writes: >> I assume that your bibliography is much larger than 10Mb. Am I >> correct? > > Actually, it is only 2Mb (7000 entries). Probably there is a problem > with the data structure of my .bib-file? I create it from Zotero and > the BibLaTeX-export of the BetterBibTeX-Plugin. > *

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-23 Thread Ihor Radchenko
psychosis writes: > Ok, for me it does not seem to work as intended. The old cite-key turns > immediately red if and if only I insert the new cite-key on the same > line. For it to turn red if I insert it on other lines, I have to kill > the buffer and reload it. I used “emacs -Q” with the att

#2 Org mode profiling meetup on Sat, Mar 26 (was: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature)))

2022-03-23 Thread Ihor Radchenko
Dear all, There were several people who came to the last meetup looking for information about debugging Org mode. The last meetup was rather unhelpful in this regard since we dove into a specific use-case. I plan to try once more providing a more general introduction to Org (and Emacs) debugging.

Re: [PATCH] Re: [BUG] Hard-coded begin/end in org-insert-structure-template [9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-03-23 Thread Ihor Radchenko
in "case-insnsitive" (expected "case-insensitive") Thanks for proofreading! Attaching the fixed version of the patch. Best, Ihor >From b39925decd0e5ee5a0ce88b3fcea3a9647d35001 Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Sun, 20 Mar 2022 20:15:21 +08

Re: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-23 Thread Ihor Radchenko
Tim Cross writes: > Perhaps I simply don't understand, but I fail to see the need for adding > such functionality. Org files are plain text and you can just use the > build-in or any of the add-on search tools to search for anything, > including timestamps or things which may look like timestamps

Re: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-23 Thread Ihor Radchenko
Samuel Wales writes: > your idea of expanding to other date-like things is an interesting > idea, and so is making an analogy with log mode. > > another possibility is to satisfy the preferences users have expressed > [and those with n>1 needs] using a single variable that contains the > contexts

Re: Timestamp parsing inside node properties and other contexts out of org-element-object-restrictions

2022-03-23 Thread Ihor Radchenko
Nicolas Goaziou writes: > Ihor Radchenko writes: > >> So, depending on the current command, Org may on may not treat objects >> matching org-ts-regexp-both as timestamps. >> >> This situation complicates syntax and makes org-element unreliable when >> d

Re: Timestamp parsing inside node properties and other contexts out of org-element-object-restrictions (was: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-

2022-03-23 Thread Ihor Radchenko
Tim Cross writes: > I think we have to be very wary here. I can see any changes here causing > lots of breakage for people. I know for my own use case, I use > timestamps a lot in property draws and various source blocks. I never > want any of them showing up in my agenda. FYI, the default agend

Re: #2 Org mode profiling meetup on Sat, Mar 26 (was: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature)))

2022-03-24 Thread Ihor Radchenko
Ihor Radchenko writes: > The time will be the same: 9pm SG time (4pm Moscow; 8am New York; 1pm > London). Sat, Mar 26 **8am New York -> 9am I missed the day saving time compared to the last meeting. Best, Ihor

Re: Term for #+ lines (filetag, date, ...) in an org file

2022-03-24 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > In orgroam I know about lines like this > > #+filetag MYTGA > #+date 0 > > between the PROPERTIES head and the body of the org file. > > What is the term for lines like this and are there any rules or > specifications about how they should(n't) look like? See 7.1

Re: #2 Org mode profiling meetup on Sat, Mar 26 (was: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature)))

2022-03-24 Thread Ihor Radchenko
"Bruce D'Arcus" writes: >> I plan to try once more providing a more general introduction to Org >> (and Emacs) debugging. Tentatively, I plan to talk about: >> 1. Running Emacs with clean configuration + latest version of Org >> 2. Bisecting config to find configuration-related issues >> 3. Using

Re: [BUG] C-c C-o on headline evaluates source code blocks with links inside [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-26 Thread Ihor Radchenko
h-string 0) links))) This will skip links inside property drawers, for example. Attaching an alternative patch. Best, Ihor >From ca6afac5d68a5e83af6d8078d09a163c34d62e2e Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Sat, 26 Mar 2022 16:08:57 +0800 Subject: [PATCH] org-open-at-point: Do not list

Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)

2022-03-26 Thread Ihor Radchenko
No Wayman writes: > I'm open to bringing doct's features into Org mode, but I'd prefer > it not to be spread out over another two years. Proper integration of doct into org-capture.el would indeed be ideal. I am happy that you are ok with such option. Practically, we can do it step-by-step in

[PATCH] Re: [BUG] org-agenda-remove-restriction-lock does not remove file lock [9.5.2 (release_9.5.2-17-gea6b74 @ /nix/store/iqqk7iqfwmfc6r78xg2knyq7hww2mhs4-emacs-git-20220225.0/share/emacs/29.0.50/l

2022-03-26 Thread Ihor Radchenko
to nil. So, I use different approach. Best, Ihor >From 65aa484f15a8ebbd14161978e1e9a881048e0715 Mon Sep 17 00:00:00 2001 Message-Id: <65aa484f15a8ebbd14161978e1e9a881048e0715.1648285356.git.yanta...@gmail.com> From: Ihor Radchenko Date: Sat, 26 Mar 2022 16:57:05 +0800 Subject: [PATCH] org-agenda-remov

Re: [BUG] rendering latex fragment in latex mode is not working [9.6 (9.6-??-e7ea951 @ /Users/roiholtzman/.emacs.d/.local/straight/build-27.2/org/)]

2022-03-26 Thread Ihor Radchenko
Roi Holtzman writes: > This is the first time I am submitting a bug report here. I am not sure > this is the proper place. I just took the advice of the warning message > I got. Thank a lot for the report! This is indeed the right place. > When I am in latex mode (writing a tex document) and I

Re: [BUG] rendering latex fragment in latex mode is not working [9.6 (9.6-??-e7ea951 @ /Users/roiholtzman/.emacs.d/.local/straight/build-27.2/org/)]

2022-03-26 Thread Ihor Radchenko
Roi Holtzman writes: > Is there a proper way to render latex fragments in latex mode? AFAIK, auctex does have such a feature. See https://www.gnu.org/software/auctex/manual/preview-latex.html#Keys-and-lisp

Re: #2 Org mode profiling meetup on Sat, Mar 26 (was: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature)))

2022-03-26 Thread Ihor Radchenko
Ihor Radchenko writes: > The time will be the same: 9pm SG time (4pm Moscow; 8am New York; 1pm > London). Sat, Mar 26 > > I will post the link to the meeting one hour before the meeting start. Here is the link https://teamjoin.de/Org-dev-profiling-20220326-d708k Best, Ihor

Re: [BUG] completion-at-point for [[* only works at end of line [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-26 Thread Ihor Radchenko
Ignacio Casso writes: > Hello, > > The manual says in https://orgmode.org/manual/Internal-Links.html#DOCF25 > (footnote 25), that in-buffer completion can be used to insert links > targeting a headline in current buffer. So a user can type [[* and C-M-i > and all headlines in the buffer are offer

Re: #2 Org mode profiling meetup on Sat, Mar 26 (was: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature)))

2022-03-27 Thread Ihor Radchenko
Ihor Radchenko writes: >> The time will be the same: 9pm SG time (4pm Moscow; 8am New York; 1pm >> London). Sat, Mar 26 >> >> I will post the link to the meeting one hour before the meeting start. > > Here is the link https://teamjoin.de/Org-dev-profiling-20

Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)

2022-03-27 Thread Ihor Radchenko
Ihor Radchenko writes: > 2. Extend the alist with new options, like ${keyword} expansion, hooks, >contexts, children, etc Maybe in a sequence of patches. For reference, someone proposed a patch to extend org-capture-templates and support per-template hooks: https://list.orgmode.org/o

Re: Faulty SVG width in default HTML export style

2022-04-03 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> For me, Emacs using MathJax as default came across as an unpleasant >> surprise: any person aware of the free/libre software movement knows >> that one should never allow Javascript to run in their browser: (ref >> https://www.gnu.org/philosophy/javascript-trap.html ).

Re: Multiline list entries / Is auto-fill-mode in org(roam) usual?

2022-04-03 Thread Ihor Radchenko
Kaushal Modi writes: >> Do I understand it correct that the end of a list is marked by an empty >> line? >> > > Yes. I think that the list items follow the same rules as Paragraphs [1] > i.e. A list item continues until it sees a blank line. This is identical to > Markdown. > I think your exampl

Re: Faulty SVG width in default HTML export style

2022-04-03 Thread Ihor Radchenko
Yuchen Guo writes: > Maybe I'm getting confused here, but as of the latest commit > (cbe3f2d697a973a41a412b826ab9435d5523f3d0): > > - in ox-html.el, `org-html-with-latex' is defined as > `org-export-with-latex', with the comment that: > > `mathjax', t: Do MathJax preprocessing and arrange fo

<    2   3   4   5   6   7   8   9   10   11   >