bug#48199: 28.0.50; Org mode surprisingly usurps Calendar key binding

2021-08-27 Thread Yuchen Pei
Lars Ingebrigtsen writes: Yuchen Pei writes: This bug seems to be still around, as it just happened to me. Steps to reproduce: - Build a recent version e.g. commit efaed29f3d with `make` - ./src/emacs - M-x calendar RET - i results in "command-execute: Wrong type argument: commandp

bug#48199: 28.0.50; Org mode surprisingly usurps Calendar key binding

2021-08-27 Thread Yuchen Pei
Looks like this email hadn't go through before I unarchived the bug. Apologies for any duplicate messages. Yuchen Pei writes: This bug seems to be still around, as it just happened to me. Steps to reproduce: - Build a recent version e.g. commit efaed29f3d with `make` - ./src/emacs - M-x

pygments support

2021-08-27 Thread Yuchen Pei
Hello, I was playing with my cgit setup when I noticed that pygments does not support org mode syntax highlighting[1]. Just wondering if anyone has worked on it, or if there's any "unofficial" org mode component (lexer?), before I go ahead and try to write my own. [1]:

[BUG?] org-agenda not showing entries with diary sexp timestamps

2021-09-10 Thread Yuchen Pei
Hello, Can anyone reproduce this? Say I write the following in my agenda org file: * Weekly meeting <%%(diary-cyclic 7 9 10 2021) 9:00-10:00> Invoking org-agenda with a (org-agenda-list) does not show the item, whereas scheduled diary sexp or plain timestamp works fine: * Weekly meeting

Re: [BUG?] org-agenda not showing entries with diary sexp timestamps

2021-09-10 Thread Yuchen Pei
Daniel Fleischer writes: Yuchen Pei [2021-09-10 Fri 18:00] wrote: * Weekly meeting <%%(diary-cyclic 7 9 10 2021) 9:00-10:00> Invoking org-agenda with a (org-agenda-list) does not show the item, whereas scheduled diary sexp or plain timestamp works fine: * Weekly meeting SCH

Re: [BUG?] org-agenda not showing entries with diary sexp timestamps

2021-09-10 Thread Yuchen Pei
Daniel Fleischer writes: Eric S Fraga [2021-09-10 Fri 11:57] wrote: What works for me, for diary sexp entries, is putting the time in the heading: * 09:00-10:00 Weekly meeting <%%(diary-cyclic 7 9 10 2021)> This is exactly how the feature is described in the manual: #+begin_example

An org backend to Haddock

2022-07-18 Thread Yuchen Pei
Hello, I decided to write an Org backend to Haddock[1], so that haskell library documentation can be generated in org mode markup. Compared to the existing backends (html, latex and hoogle), the org format allows utilising features like the infinite levels of heading hierarchy, flexible folding

Re: An org backend to Haddock

2022-07-19 Thread Yuchen Pei
On Tue 2022-07-19 21:58:26 +0800, Ihor Radchenko wrote: > Yuchen Pei writes: > >> Given this is not the official version of haddock and my changes are in >> haddock-api, I'm calling it haddorg-api, for lack of a better name / >> approach. I'll be happy to contri

[PATCH] Fixing refile cache use for org-goto in indirect buffers.

2022-09-18 Thread Yuchen Pei
To reprod: - make sure the org-refile-targets generates a big enough list where the refile cache makes a difference - visit an org file in org-refile-targets - M-x clone-indirect-buffer-other-window - C-0 C-c C-w to clear cache - M-: (org-refile-get-targets) - org-goto in the original buffer

[PATCH] Fixing refile cache use for org-goto in indirect buffers.

2022-09-18 Thread Yuchen Pei
To reprod: - make sure the org-refile-targets generates a big enough list where the refile cache makes a difference - visit an org file in org-refile-targets - M-x clone-indirect-buffer-other-window - C-0 C-c C-w to clear cache - M-: (org-refile-get-targets) - org-goto in the original buffer

Re: [PATCH] Fixing refile cache use for org-goto in indirect buffers.

2022-09-20 Thread Yuchen Pei
Thanks for the reply. On Mon 2022-09-19 22:48:34 +0700, Max Nikulin wrote: > On 19/09/2022 12:16, Yuchen Pei wrote: >> To reprod: >> - make sure the org-refile-targets generates a big enough list where >>the refile cache makes a difference >> - visit an org file in