[PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width

2022-04-21 Thread Ihor Radchenko
to do. Sounds reasonable. Attaching the updated patch. Best, Ihor >From 5251305db6032a4a10f337fe13c519cee6d0fb94 Mon Sep 17 00:00:00 2001 Message-Id: <5251305db6032a4a10f337fe13c519cee6d0fb94.1650606943.git.yanta...@gmail.com> From: Ihor Radchenko Date: Thu, 21 Apr 2022 13:18:39 +0800 Subjec

Re: [PATCH] Re: New source block results option for attaching file to node

2022-04-21 Thread Ihor Radchenko
Ryan Scott writes: > With all of the layers and assumptions/behaviors inherent in the way src > block parameters are handled, do you feel like this is an approach that can > work, or should it be abandoned? I am not sure if I understand your concern. Your code is reusing the existing convention

Re: [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width

2022-04-22 Thread Ihor Radchenko
"N. Jackson" writes: >> + (- (window-max-chars-per-line) > > If Org needs to support versions of Emacs before 25.1 then I assume > you need the same guard on every instance of > window-max-chars-per-line -- because window-max-chars-per-line was > added to Emacs at the same time as windo

Re: [BUG] Agenda view fails with rx error in org-at-timestamp-p

2022-04-22 Thread Ihor Radchenko
Christian Moe writes: > After updating to Org mode version 9.5.3-g69c588 via Elpa on Emacs > 26.3, my Org Agenda view fails with the following backtrace: This has been fixed on main. I am not sure if this fix should be ported back to bugfix given https://list.orgmode.org/87mtggyyvm@gnu.org/T

Re: [PATCH] CONTRIBUTE: Link WORG page when explaining commit message format

2022-04-23 Thread Ihor Radchenko
Applied. The patch is now on main as 67efaa739. Best, Ihor

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

2022-04-23 Thread Ihor Radchenko
Max Nikulin writes: > I tried to create a compatibility helper that will use currently > recommended way to call `encode-time' with single list argument for > Emacs-27 and newer, but use the only available call style as separated > arguments for older Emacs versions. Thanks for this work! >

Re: #3 Org mode profiling meetup on Sat, Apr 23 (was: #2 Org mode profiling meetup on Sat, Mar 26)

2022-04-23 Thread Ihor Radchenko
Ihor Radchenko writes: > I will post the link to the meeting one hour before the meeting start. https://teamjoin.de/Org-dev-profiling-202204-23-d708k See you, Ihor

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

2022-04-23 Thread Ihor Radchenko
Paul Eggert writes: > On 4/23/22 01:25, Ihor Radchenko wrote: >>> + (should (string-equal >>> + "2022-03-24 23:30:01" >>> + (format-time-string >>> +"%F %T" >>> +(org-encode-time

Re: Difference seen in org-version strings when built from git

2022-04-23 Thread Ihor Radchenko
Kaushal Modi writes: > I saw the version as "release_9.5-364-gde022e". That meant that > "release_9.5" happened to be the last fetched tag in my local repo > back then. > > Fix was simple.. I had to do "git fetch --all" before building Org. This is indeed something easy to overlook. Maybe we can

Re: #3 Org mode profiling meetup on Sat, Apr 23 (was: #2 Org mode profiling meetup on Sat, Mar 26)

2022-04-23 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> I will post the link to the meeting one hour before the meeting start. > > https://teamjoin.de/Org-dev-profiling-202204-23-d708k Summary of the discussion is in the attached .org. Best, Ihor summary.org Description: Lotus Organizer

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

2022-04-23 Thread Ihor Radchenko
Valentin Herrmann writes: > * lisp/org-capture.el: > (org-capture-templates): Document the new template options. > (org-capture-before-view-hook): Add new hook for parity with the > template options. > (org-capture): Implement the new template options. > (org-capture-finalize): Implement the new

Re: [PATCH] org-element-export-snippet-parser: Fix snippets without ending @@

2022-04-23 Thread Ihor Radchenko
Ihor Radchenko writes: > The fix is attached. > > Nicolas, unless you have any objections, I will install the attached > patch to bugfix. Applied. I installed the patch onto main as 96529e933 (Bastien asked to refrain from modifying bugfix until Org 9.5.4, unless there is a

Re: [BUG] org-screenshot cl-lib function name errors [9.5.2 (9.5.2-gbebf0b @ /home/jds6696/.emacs.d/straight/build/org/)]

2022-04-23 Thread Ihor Radchenko
Justin Silverman writes: > I started getting errors in the org-screenshot library. > > Errors such as void function incf or plusp. I was able to fix them by adding > (require 'cl-lib) and changing incf -> cl-incf and plusp -> cl-plusp Should be fixed in https://git.sr.ht/~bzg/org-contrib/commit

Re: [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width

2022-04-24 Thread Ihor Radchenko
"N. Jackson" writes: > I have tested with your v2 patch applied to Org 9.5.3: > > 1. It fixes the two bugs I reported in this thread (with one or both fringes > off, Agenda wraps `auto' (right) aligned tags unnecessarily and wraps the > block > separator). > > 2. It also makes the Agenda display

Re: overlap between cite syntax and link activation

2022-04-24 Thread Ihor Radchenko
ect call to citation parser. Best, Ihor >From 033677f02141f498ca3e1a84e85bb4c9a6d189c9 Mon Sep 17 00:00:00 2001 Message-Id: <033677f02141f498ca3e1a84e85bb4c9a6d189c9.1650784539.git.yanta...@gmail.com> From: Ihor Radchenko Date: Sun, 24 Apr 2022 15:14:26 +0800 Subject: [PATCH] org-c

Re: [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]

2022-04-24 Thread Ihor Radchenko
Ignacio Casso writes: > Link abbreviations do not work inside property drawers and are instead > confused with internal links. The following org file illustrates this > behavior. This is to be expected. org-open-at-point does the following: ;; No valid link at point. For convenience, lo

Re: [PATCH] Fix inf-loop due to org-eldoc when point is in an org src block

2022-04-24 Thread Ihor Radchenko
Kaushal Modi writes: > The patches attached in this email fix the issue reported in > https://lists.gnu.org/r/emacs-orgmode/2022-04/msg00373.html. They are > based off the master branch of https://git.sr.ht/~bzg/org-contrib. > > patch 1: Minor cleanup in the function that I am touching for the fi

Re: how to exclude several single dates from a diary block

2022-04-24 Thread Ihor Radchenko
Rainer Thiel writes: > I use Org-Mode to schedule most everything, including my lectures > which typically are recurring events. I have learnt that I can > exclude a certain range of days or weeks where no lectures take place. > For this, I use: > > * TODO 12:15--13:45 Lecture: Aristotle > <%%(u

Re: [PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-25 Thread Ihor Radchenko
I think I addressed the raised issues. Just merged org-fold upstream. Kévin Le Gouguec writes: > My recipe (based on commit f9dd109bc, Emacs 29.0.50 commit 864c8013fd): > > $ git switch feature/org-fold-universal-core-tidy > $ make autoloads > $ emacs -Q -L lisp -eval "(setq org-startup-folded

Re: [PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-25 Thread Ihor Radchenko
I think I addressed the raised issues. Just merged org-fold upstream. Kévin Le Gouguec writes: > My recipe (based on commit f9dd109bc, Emacs 29.0.50 commit 864c8013fd): > > $ git switch feature/org-fold-universal-core-tidy > $ make autoloads > $ emacs -Q -L lisp -eval "(setq org-startup-folded

Re: [PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-25 Thread Ihor Radchenko
Bastien writes: > Ihor Radchenko writes: > >> I think I addressed the raised issues. >> Just merged org-fold upstream. > > Great! Thanks again for the hard work and the merge. > > One glitch: when refiling an entry to a folded section, the section > gets unf

Re: [the culprit] (was: org-set-property (at point)? Save-excursion seems not to work)

2022-04-25 Thread Ihor Radchenko
Uwe Brauer writes: >> But it does not help, org-set-property sets always a new property at the >> end of the property list. > >> Any idea what to do (besides touching the function itself) > > > It seems that the culprit is the function > org-entry-put > which always puts a new entry at the end o

Re: [BUG] Dynamic blocks not recognized by org-element

2022-04-26 Thread Ihor Radchenko
Nick Dokos writes: > --8<---cut here---start->8--- > * Clocktable > > #+BEGIN: clocktable :maxlevel 3 :emphasize nil :scope file > #+END: clocktable > --8<---cut here---end--->8--- > > I position the cursor on the #+BEGIN lin

Re: [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]

2022-04-26 Thread Ihor Radchenko
Ignacio Casso writes: > Actually, I have investigated a little bit and I think the issue is more > simple > than that: > > - Link abbreviations rely in the variables `org-link-abbrev-alist' for > global abbreviations and `org-link-abbrev-alist-local' for > abbreviations defined with #+LINK f

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

2022-04-26 Thread Ihor Radchenko
Max Nikulin writes: >> This whole timezone staff is complex. I got lost in the emacs devel >> discussion half-way through. From point of view of API, I would prefer a >> single function with docstring explaining the necessary caveats. > > To have namely a single function that accepts both a list

Re: [BUG] org-element--cache: Unregistered buffer modifications detected [9.6 (9.6-??-971eb68 @ /home/zeyrie/.emacs.d/.local/straight/build-28.1/org/)]

2022-04-26 Thread Ihor Radchenko
Abilash S writes: > I m working with an org file where I create a java source block and > every time I use a snippet I am receiving the following warning and along > with it the pointer where the cursor should start auto-fills a tab. > But the default behaviour is for the cursor to be present in

Re: [Bug] Date span failure in agenda w/o day of week in timestamp?

2022-04-26 Thread Ihor Radchenko
Russell Adams writes: > -- > * Fails w/o DOW, end time at 2100 not 0200 > > <2022-04-28 21:00>--<2022-04-29 02:00> Confirmed. The problem is that org-ts-regexp1 does not match "2022-04-29 02:00". I am not sure why. org-ts-regexp1 looks like it sho

Re: [PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-26 Thread Ihor Radchenko
Bastien writes: > Ihor Radchenko writes: > >> If you confirm, I can just remove the call to `org-fold-reveal'. > > Yes, I do confirm -- thanks for the quick feedback. Fixed in 4280762e4. Best, Ihor

Re: [Bug] Date span failure in agenda w/o day of week in timestamp?

2022-04-26 Thread Ihor Radchenko
Russell Adams writes: >> > <2022-04-28 21:00>--<2022-04-29 02:00> >> > > Is that technically a valid timestamp, meaning that it should be > recognized? Or is it just Gnus outputting a bad timestamp and I should > go try to adjust it? It is valid. You can check it by calling M-: (org-element-cont

Re: Agenda in Outline form?

2022-04-26 Thread Ihor Radchenko
David Masterson writes: > Is it possible to setup a large (super-)agenda in outline form so that > you can use the folding commands for focus in the Agenda view? Could you elaborate? There is org-agenda-entry-text-mode (E) and there is org-quick-peek maybe doing something similar to what you are

Re: [Bug] Date span failure in agenda w/o day of week in timestamp?

2022-04-26 Thread Ihor Radchenko
Russell Adams writes: > What do you recommend as the next step? org-ts-regexp1 should be fixed. But I currently have no ideas how. The problem is caused by some edge case in Emacs regexp parser. Best, Ihor

Re: [PATCH] Fix examples of clock tables in the manual

2022-04-26 Thread Ihor Radchenko
Nick Dokos writes: > The syntax is: > >    #+BEGIN: clocktable ... >    #+END: > > There is no `clocktable' after `#+END:'. Thanks for the patch! Could you please follow the commit summary conventions described in https://orgmode.org/worg/org-contribute.html#commit-messages? Note that you may

Re: [the culprit]

2022-04-26 Thread Ihor Radchenko
John Kitchin writes: > This seems like something that could (should?) go in a personal config, as > a custom function, or advice. If it does not cost performance, I do not see any problem with adding DWIM behaviour if point is inside drawer when calling org-set-property. Best, Ihor

Re: [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]

2022-04-26 Thread Ihor Radchenko
Ignacio Casso writes: > I agree that changing the current behavior of > `org-link-open-from-string' may be problematic, however I don't think > that it's worth to introduce the optional argument just for this > "bug". Makes sense. I am going ahead of what is currently on main. > (cond ((org-in

Re: [tip] Org speed commands improved

2022-04-26 Thread Ihor Radchenko
Juan Manuel Macías writes: > Org speed commands are a major productivity boost and I love them. > Lately it has occurred to me to make some modifications with the > following configuration, which I share here in case someone wants to try > it. The idea is that Org speed commands are activated any

Re: [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]

2022-04-26 Thread Ihor Radchenko
Ignacio Casso writes: >> A better approach could be using org-link-expand-abbrev. It is an API >> function and should be forward-compatible. > > Do you mean something like this? > > (defun org-open-at-point-global () > ... > (cond ((org-in-regexp org-link-any-re) > (org-link-open

Re: [BUG] buffer displays incorrectly after capture

2022-04-27 Thread Ihor Radchenko
Skip Collins writes: > I think this is a real bug. Am I wrong? Seems like it should be easy to fix. Fixed in 2d6f26c05 on main. And no, it was not that easy to fix. Captured headlines may or may not need to be unfolded. Best, Ihor

Re: [PATCH] update ob-scheme to latest changes in geiser package

2022-04-27 Thread Ihor Radchenko
Tim Van den Langenbergh writes: > I have taken the liberty of reformatting the patch you created for ob-scheme. > You can find it enclosed. Thanks! Since Felipe has no objections, your patch should be good to apply. > If it is fine with you and the org-mode maintainers it can be applied as-is,

Re: [PATCH] Fix examples of clock tables in the manual

2022-04-27 Thread Ihor Radchenko
Nick Dokos writes: >> Note that you may need to add TINYCHANGE cookie as you appear to not >> have the copyright assignment with FSF. >> > > I'm in there (under "Nicholas Dokos"). I should have searched by surname :facepalm: >> Also, your current patch does not apply onto main: >> Applying

Re: [PATCH] Add missing `provide' in ob-octave test

2022-04-27 Thread Ihor Radchenko
Nick Dokos writes: > `make test' has been failing for me with this error: > > , > | Error: error ("Loading file > | /home/nick/src/emacs/org/org-mode/testing/lisp/test-ob-octave.el > | failed to provide feature ‘test-ob-octave’") > ` > > The attached patch provides a fix. Thanks! Applied

Re: Cursor stays TODO creation

2022-04-27 Thread Ihor Radchenko
Colin Baxter writes: > With the latest org-mode, if I set a TODO keyword then after its creation > the cursor stays to the left of "T". In the past it would move one space > beyond the "O". Is this a new feature? If it is then it's a nuisance. Thanks for reporting! Fixed in 1ed9e4223. This is n

Re: [BUG] buffer displays incorrectly after capture

2022-04-27 Thread Ihor Radchenko
Skip Collins writes: > On Wed, Apr 27, 2022 at 4:48 AM Ihor Radchenko wrote: >> Fixed in 2d6f26c05 on main. And no, it was not that easy to fix. >> Captured headlines may or may not need to be unfolded. > > Thanks. I confirm that behavior is correct for folded level 1

Re: [BUG] The latest org-fold feature breaks link :activate-func property

2022-04-28 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I use extension > [[https://repo.or.cz/org-link-beautify.git][org-link-beautify]] to display > text-property beautify content on link. With > latest org-mode source code on commit "1ed9e4223", I got this error which > displayed in the > attachment gif. I do no

Re: [PATCH] Add :noweb-prefix and :noweb-trans babel header arguments

2022-04-28 Thread Ihor Radchenko
Sébastien Miquel writes: > The attached patch adds support for two new babel header arguments: > =:noweb-prefix= and =:noweb-trans=. > > =:noweb-prefix= can be set to =no= to disable the noweb prefix > behaviour, where prefix characters are repeated when expanding a > multiline noweb reference.

Re: [BUG] Documentation errata [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-04-28 Thread Ihor Radchenko
Alessandro Bertulli writes: > I think this is a typo to be corrected in the Manual. Is this the right > place to make such a suggestion? > > Thanks in advance to all and I apologize if this is not the right way to > submit an errata. Thanks for the suggestion! Emailing Org mailing list is the ri

Re: log-done and org-after-todo-state-change-hook

2022-04-28 Thread Ihor Radchenko
Florian Lindner writes: > I have an org-todo-keywords like "DONE(d!)" which logs a time stamp > everytime that todo is reached. > > I also use org-after-todo-state-change-hook to copy that node somewhere > else, as soon as it is finished. > > My problem now is that the logging seems to happen a

Re: [BUG] org-mode #+SETUPFILE not working with properties [9.5.2 (release_9.5.2-378-g98588e @ /home/eros/src/org-mode/lisp/)]

2022-04-28 Thread Ihor Radchenko
Eros Zaupa writes: > I would like to move the properties drawer to a separate file and import it > into the main one. To do so I'm using the `#SETUPFILE` property suggested > [here][1], but this doesn't seem to work. Confirmed. Though I am not 100% sure. Org is indeed ignoring top-level propert

Re: [BUG] org-fold-core-style 'text-properties interprets Org link syntax in code blocks too

2022-04-28 Thread Ihor Radchenko
Kaushal Modi writes: > With the default value of the new org-fold-core-style, if I have a > snippet like below: > > #+begin_src toml > [[asdf]] > #+end_src > > The brackets around asdf get hidden. ([[asdf]] is TOML syntax for maps > or array of tables: https://toml.io/en/v1.0.0#array-of-tables) >

Re: [Q] How to get all the properties of the current subtree?

2022-04-28 Thread Ihor Radchenko
Rodrigo Morales writes: > My question is: How to get all the properties (inherited properties > included) of the current subtree? In the example shown below, I would > expect the following result You would need to collect property names by running org-entry-properties on current heading, it's pa

Re: ob-lisp determining package

2022-04-29 Thread Ihor Radchenko
Alan Ruttenberg writes: > I propose that the package determination be changed to > > (or (cdr (assq :package params)) (funcall org-babel-lisp-package-fn)) > > with org-babel-lisp-package-fn being bound analogous to how > org-babel-lisp-eval-function is: > > (require (pcase org-babel-lisp-package

Re: Link display not working for orgroam links as items in enumeration

2022-04-29 Thread Ihor Radchenko
>> Link display not working for orgroam links as items in enumeration Could you elaborate what about what you did, what you expected, and what you actually observed? It is very hard for us to guess what "not working" means. Please refer to https://orgmode.org/manual/Feedback.html for more instruc

Re: [BUG] org-fold-core-style 'text-properties interprets Org link syntax in code blocks too

2022-04-29 Thread Ihor Radchenko
Kaushal Modi writes: > It's not time-critical, but it would be good to fix this bug. It's not > just the Org link syntax.. any Org markup is fontified inside the src > blocks. Here's a screenshot (attached) that shows the bold > fortification happen in the src block as well. Emphasis should not

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > I cite from there > "An asterisk, hyphen, or plus sign character (i.e., *, -, or +)." > > I wonder why * is allowed because * also starts a heading. So how does a > piece of software/parser decide if a line starting with an * is a > heading or a list item? Headlines

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Am 29.04.2022 14:15 schrieb Ihor Radchenko: >> Would you be interested to contribute an example to >> https://orgmode.org/worg/dev/org-syntax.html#Items ? > > Not sure what you mean. Currently I just try to understand the syntax > and get t

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Sidenote: As someone who writes software that parse org-content I would > suggest to make the whitespace in front of a list item mandatory even > for "-" and "+". It would reduce code complexity. It might probably simplify things for third-party parsers. Not for org-

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Am 29.04.2022 15:04 schrieb Detlef Steuer: >> But *first* it should be easily read- and writable by humans and only >> then easily parseble by parsers! At least imho. > > I agree and understand that this is one of the design principals of Org. > > But even for humans th

Re: Ordered list items and the point

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > This is about https://orgmode.org/worg/dev/org-syntax.html#Plain_Lists > > Comparing the syntax description and the real world behaviour of my > Emacs 27 with org from yesterday it seems to me that the syntax > description is not correct. > > I cite "Plain Lists" sect

Re: [PATCH] org-attach-attach: fix symlinks

2022-04-29 Thread Ihor Radchenko
;m not sure how best to do that. I do not like explicit expansion of the FILE path. It may break relative vs. absolute path handling. Attaching an alternative patch. It makes use of make-symbolic-link arguments. Best, Ihor >From ff9ccae51ce1b02fc5d95cbc60de7a44c42f28a1 Mon Sep 17 00:00:00 2001 Messag

Re: [PATCH] "Cache corruption detected" when editing CLOCK timestamp by hand

2022-04-29 Thread Ihor Radchenko
Ihor Radchenko writes: > Should we consider the above CLOCK line as a valid running clock or > maybe it should be parsed as a paragraph? Nicolas, do you have any comment on this? I am inclined to treat CLOCK: [2021-10-22 Fri 10:41]--[2021] as a paragraph, not a clock line. Best, Ihor

bug#45915: 28.0.90; deletechar distorts org-table

2022-04-29 Thread Ihor Radchenko
Tak Kunihiro writes: > Thank you for the patch. I applied the patch to org-table.el on Emacs > 28.0.90. > > And I still see the problem there. Is the problem solved by the patch > on your environment? The problem was solved on my side, but _not_ using your reproducer explicitly. If I save the

bug#45915: 28.0.90; deletechar distorts org-table

2022-04-29 Thread Ihor Radchenko
Tak Kunihiro writes: > Thank you for the patch. I applied the patch to org-table.el on Emacs > 28.0.90. > > And I still see the problem there. Is the problem solved by the patch > on your environment? The problem was solved on my side, but _not_ using your reproducer explicitly. If I save the

Re: [PATCH] Remove XEmacs and ancient Emacs compat code

2022-04-29 Thread Ihor Radchenko
Stefan Kangas writes: > The attached patch removes some compat code for XEmacs, and Emacs 21/22. Thanks! And sorry for the late reply. The patch does not apply onto current main anymore. Would you mind updating the patch? Best, Ihor

Re: org-depend: bug fix

2022-04-29 Thread Ihor Radchenko
Damien Couroussé writes: > Please find attached a small patch for org-depend, which fixes a bug > (function 'remove-if' is unknown). > - (setq items (remove-if > + (setq items (org-remove-if org-remove-if is itself obsolete :) I applied a slightly different change re

[BUG] <2022-04-11 Mon 17:1-19:10> is wrongly parsed as a valid timestamp [9.5.3 (release_9.5.3-461-ga3dac4 @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-04-29 Thread Ihor Radchenko
Hi, Consider the following timestamp with a typo in starting minute: <2022-04-11 Mon 17:1-19:10> Running org-element-context yields a timestamp object with unexpected properties: (timestamp (:type active :raw-value "<2022-04-11 Mon 17:1-19:10>" :year-start 2022 :month-start 4 :day-start 11 :h

Re: [PATCH] Show drawers in text entries in Org Agenda

2022-04-29 Thread Ihor Radchenko
Rodrigo Morales writes: >> For this reason, I am wondering whether there is a way to make >> =org-agenda-entry-text-mode= to show the drawers without much >> tinkering. >> > > After inspecting the source code of Org Mode, I managed to do what I was > searching by deleting the relevant part of th

Re: [BUG] Scheme code block evaluation doesn't show any result [9.5.\ 2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-04-29 Thread Ihor Radchenko
Pascal Grossé writes: > I managed to track the bug to *ob-scheme.el*: > > in (defun org-babel-scheme-execute-with-geiser, on line 179, simply > replace geiser-eval-region with geiser-eval-region/wait so that the > temporary result buffer doesn't close too soon. It then works as > expected. Dupli

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Am 29.04.2022 15:49 schrieb Ihor Radchenko: >> Exactly because you are actively trying to understand the syntax, you >> are in unique situation where you can easily see all the "opaque" >> places >> in the syntax description. >

Re: [PATCH] Add :noweb-prefix and :noweb-trans babel header arguments

2022-04-29 Thread Ihor Radchenko
Sébastien Miquel writes: > at least as long as you're tangling to a programming language, that > can read lisp strings. >> Consider the following example: >> >> #+BEGIN_SRC emacs-lisp :noweb yes :tangle yes :noweb-prefix no :noweb-trans >> prin1-to-string >> <> >> (setq latex-header <>) >> #+END

Re: [BUG] org parser error [N/A (N/A @ /home/oub/emacs/site-lisp/packages/org/)]

2022-04-30 Thread Ihor Radchenko
Uwe Brauer writes: > Running org master 1f78ca45f8d534e51c1e30e9225d1da8b2e50650 > > And opening an org file I received the following message: > > > Please report this to Org mode mailing list (M-x org-submit-bug-report). > Disable showing Disable logging > Warning (org-element-cache): org-elem

Re: [PATCH worg] Using asteriks as list item bullets.

2022-04-30 Thread Ihor Radchenko
~buhtz writes: > From: buhtz > > The text no points to the exception that an asteriks have to have a > whitespace before it when using it as a bullet for a list item. > Otherwise it would be recognized as a heading. > --- > dev/org-syntax.org | 4 +++- > 1 file changed, 3 insertions(+), 1 delet

Re: Report error in scheme evaluation

2022-04-30 Thread Ihor Radchenko
Felipe Lema writes: > I just realized I was un-CCed out of the thread > > Here's the updated patch with the requested changes (actually single one) > > Lemme know if I'm missing anything else. Can you update the patch making it a proper patch under your name? See https://orgmode.org/worg/org-con

Re: [PATCH] Add :noweb-prefix and :noweb-trans babel header arguments

2022-04-30 Thread Ihor Radchenko
Sébastien Miquel writes: >> Other than :noweb-trans, the patch looks good for me. > Here's a patch with only the :noweb-prefix part. If applied, we can mark > this thread resolved. Thanks! Applied on main as 2063596b9. > Ihor Radchenko writes: >> #+name: documen

Re: Visibility cycling with inline tasks 2

2022-04-30 Thread Ihor Radchenko
Timothy writes: > Just marking this as a patch for :) Applied. on main as 5f184b5f2 Best, Ihor

Re: [BUG] Exporting italic link with bang inside to html fails to parse the link [9.5.2 (N/A @ /gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2/)]

2022-04-30 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: > To reproduce: > > - create an org-file with the following content: > /Foo [[https://taz.de/!5843294/][link with a bang]]/ > - M-x org-html-export-to-html > > Expected: The HTML-file contains an italic link named "link with a bang". > > Actual: The HTML-file c

Re: Patch: bug in template expansion in org-fill-template

2022-04-30 Thread Ihor Radchenko
Andrew Arensburger writes: > There appears to be a bug in `org-fill-template' (in lisp/org-macs.el): > keys to be expanded are sorted by increasing length, so that "noweb" is > processed before "noweb-ref". As a result, if a template includes > "%noweb-ref", `org-fill-template' will expand it

Re: [BUG] Exporting italic link with bang inside to html fails to parse the link [9.5.2 (N/A @ /gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2/)]

2022-04-30 Thread Ihor Radchenko
Max Nikulin writes: >> Confirmed. > > Nicolas clearly expressed that it is a feature of the Org parser though. > > Moreover, this is a duplicate of another item already tracked on > updates.orgmode.org: > > 2021-09-03 5:17 Dr. Arne Babenhauserheide Bug: PDF Export of Link fails > https://list.o

Re: [PATCH] speed commands: error message when a key is not associated with a command

2022-04-30 Thread Ihor Radchenko
Juan Manuel Macías writes: > If we have speed commands activated and we type (by mistake) a character > not associated with a command, the letter is printed at point. I think a > more appropriate behavior would be: > > - key associated with a command: the command is activated > > - key not associ

Re: [Bug] incorrect indent of next heading after org-paste-subtree

2022-04-30 Thread Ihor Radchenko
Max Nikulin writes: > Another old bug with org-paste-subtree. > > It make indentation of next heading wrong. > > Consider the following document and follow described steps: I am unable to reproduce on the latest Org. Best, Ihor

Re: A couple of `org-priority' fixes

2022-04-30 Thread Ihor Radchenko
Alex Giorev writes: > I found a couple of problems in org-priority, I think these patches fix > them. Marking as a patch for updates.orgmode.org Confirmed. Best, Ihor

Re: [BUG] Documentation errata [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-04-30 Thread Ihor Radchenko
confusing. I propose an alternative as the attached. Best, Ihor >From 961192fc0dec17b4f3a54519ac4a2289de514961 Mon Sep 17 00:00:00 2001 Message-Id: <961192fc0dec17b4f3a54519ac4a2289de514961.1651373883.git.yanta...@gmail.com> From: Ihor Radchenko Date: Sun, 1 May 2022 10:42:55 +0800 Subjec

[PATCH] Add make target to ease creating reproducers and testing them

2022-04-30 Thread Ihor Radchenko
already suggest, but without a need to create minimal file, pass all that arguments to emacs, etc WDYT? Best, Ihor >From 8d5f9f023af18828656df85a0ce4069e004dbf5d Mon Sep 17 00:00:00 2001 Message-Id: <8d5f9f023af18828656df85a0ce4069e004dbf5d.1651373896.git.yanta...@gmail.com> From: Ihor

Re: [BUG] Documentation for tracking habits has wrong module name [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)]

2022-04-30 Thread Ihor Radchenko
David Fiander writes: > In the Org documentation, > > File: org.info, Node: Tracking your habits > > 5.3.3 Tracking your habits > > the introductory paragraph says, "To use habits, you have to enable the > ‘habits’ > module". But the name of the module is just "habit". Thanks! Fixed

Re: [BUG] Exporting italic link with bang inside to html fails to parse the link [9.5.2 (N/A @ /gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2/)]

2022-04-30 Thread Ihor Radchenko
Max Nikulin writes: >>> 2021-09-03 5:17 Dr. Arne Babenhauserheide Bug: PDF Export of Link fails >>> https://list.orgmode.org/87pmtqp79s@web.de/T/#u >>> >>> Timothy suggested to fix `org-insert-link' somehow in than thread. >> >> Yeah. I recall a number of bug report related to this behaviou

Re: [PATCH] speed commands: error message when a key is not associated with a command

2022-04-30 Thread Ihor Radchenko
Juan Manuel Macías writes: > Ihor Radchenko writes: > >> Note that speed commands are not only decided by >> org-speed-command-activate. Any function in org-speed-command-hook can >> trigger speed command. Throwing an error in org-speed-command-activate >> can pote

Re: [PATCH] Add make target to ease creating reproducers and testing them

2022-04-30 Thread Ihor Radchenko
Samuel Wales writes: > coupld of questions. first, is there accommodation for accessibility? > e.g. if a user needs a setting for large fonts, small window size to > not be larger than monitor size, any emacs args, black bg. There is REPRO_ARGS variable. It can be used to pass any extra args t

[PATCH] Re: [BUG] folding error during capture

2022-05-01 Thread Ihor Radchenko
st yet. If anyone think that enabling org-mode during template expansion is undesired, please let me know. Best, Ihor >From 797dfd0c82c68696d8534a9b3103d0b3c622bee6 Mon Sep 17 00:00:00 2001 Message-Id: <797dfd0c82c68696d8534a9b3103d0b3c622bee6.1651450441.git.yanta...@gmail.com> From: Ihor

Re: [PATCH] Re: [BUG] folding error during capture

2022-05-01 Thread Ihor Radchenko
Skip Collins writes: >> > ("n" "Note" entry >> > (file "~/Documents/org/beorg/capture.org") >> > "* %^{note} :note: %(org-set-property \"Created\" >> > (org-time-stamp-inactive '(16)))" :immediate-finish t) >> ... >> This is quite a hacky capture template... > > I'll take that as a co

Re: proposed additions to org-collector code

2022-05-01 Thread Ihor Radchenko
Charles Millar writes: > First, I thank Slava Barinov for his proposed patch to appending a > #+tblfm line to an org-collector table. Date: 17 Mar 2019 13:22:58 +0300 > Message-ID: <87sgvl4wes@gmail.com> (raw) > > Attached is my, in all modesty named, cm-org-collector.el in which I > have a

Re: [PATCH] speed commands: error message when a key is not associated with a command

2022-05-01 Thread Ihor Radchenko
Juan Manuel Macías writes: > Ok, I agree that this is the most reasonable direction. What do you > think about the idea that I outlined in the last post of this thread > (https://list.orgmode.org/87v8uqmkc0@posteo.net/)?: it consists in > defining a new hook (by default with value nil) where

Re: [Bug] incorrect indent of next heading after org-paste-subtree

2022-05-01 Thread Ihor Radchenko
804c7ab631780a4bd020c49cb Mon Sep 17 00:00:00 2001 Message-Id: <5dd89d7b36bee94804c7ab631780a4bd020c49cb.1651463875.git.yanta...@gmail.com> From: Ihor Radchenko Date: Mon, 2 May 2022 11:56:15 +0800 Subject: [PATCH] org-indent: Fix edge case when edited region ends at headline leading stars

Re: [BUG] Org 9.5.3 fails to display agenda (error "rx form ‘regexp’ requires args satisfying ‘stringp’")

2022-05-01 Thread Ihor Radchenko
Edmund Christian Herenz writes: > thank you for the hard work on Org-mode. I recently updated to 9.5.3 > using elpa on GNU Emacs 26.1 and suddenly org-mode fails to display > the agenda (Debug message below). This is not a smooth upgrade > experience, and some tests on core-functionality on sup

Re: [BUG] Warning (org-element-cache): org-element--cache: Org parser error in suma-por-fila.tex::1585. Resetting. [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]

2022-05-01 Thread Ihor Radchenko
Uwe Brauer writes: > Org-mode git version. > a3dac4d20a37c51393f191d01e0ec2170bb260a3 > > Opening a tex file I receive the following error message > , > | Warning (org-element-cache): org-element--cache: Org parser error in > suma-por-fila.tex::1585. Resetting. > | The error was: (error "rx

Re: [BUG] Warning (org-element-cache): org-element--cache: Org parser error in suma-por-fila.tex::1585. Resetting. [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]

2022-05-01 Thread Ihor Radchenko
Uwe Brauer writes: >> This is most likely done by your personal customisation or by >> third-party package (`link-message' function). > > I see, most likely orglink (available in melpa) > ;; Homepage: https://github.com/tarsius/orglink > > Was the culprit, I upgraded the package and have not seen

Re: [BUG] Info JS does not work [9.5.3 (release_9.5.3-467-g2bd34e @ /Users/salutis/src/org-mode/lisp/)]

2022-05-02 Thread Ihor Radchenko
Rudolf Adamkovič writes: > I followed the instructions at ... > > https://orgmode.org/manual/JavaScript-support.html > > ... adding the following line to my Org file: > > #+INFOJS_OPT: view:info toc:nil > > The HTML now contains ... > > https://orgmode.org/org-info.js";> > // @license > magn

Re: [Bug] incorrect indent of next heading after org-paste-subtree

2022-05-02 Thread Ihor Radchenko
Samuel Wales writes: > that sounds like great debugging ability. was this using edebug or something? Just good old debug-on-entry. Nothing fancy. Best, Ihor

[PATCH] Re: [BUG] org-element-map doco should refer to org-element-parse-buffer [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-05-02 Thread Ihor Radchenko
f557f4c108203b8eed37ac1.1651549348.git.yanta...@gmail.com> From: Ihor Radchenko Date: Tue, 3 May 2022 11:40:26 +0800 Subject: [PATCH] org-element-map: Refer to `org-element-parse-buffer' in the docstring * lisp/org-element.el (org-element-map): Update docstring. Mention that parse tree can b

Re: [BUG] org-compile-prefix-format doco is incomplete [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-05-02 Thread Ihor Radchenko
Phil Hudson writes: > Function org-compile-prefix-format in file org-agenda.el (line 6917 in > Org 9.5.2) does not properly document parameter `key'. Thanks! Fixed on main via 5d3173cb0. Best, Ihor

Re: [ISSUE] org-fold does not support auto-reveal for some external package commands

2022-05-02 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I'm using package "consult" which has command "consult-org-heading" to search > org headlines. It will > auto jump to the selected headline and expand the jumped headline. After > using org-fold, it does not > auto jump to the headline now. > > The previous disc

Re: [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-02 Thread Ihor Radchenko
Uwe Brauer writes: > And org-mode to a3dac4d20a37c51393f191d01e0ec2170bb260a3 > > However when using org-capture, emacs hangs and I can't finish sending the > template? > > Can anybody confirm this? Could you provide more details? Reproducer? Capture is certainly working on my side - I use org

Re: [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-03 Thread Ihor Radchenko
Uwe Brauer writes: > Here is one of the templates > ("mt" "Tutorias Headings" > entry (file+headline > "~/ALLES/HGs/tex/vorlesungen/Tutorias/tutorias.org" "Tutorials") > "* TODO %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- > Subject :: %:subject\n- Date :: %

<    4   5   6   7   8   9   10   11   12   13   >