Re: How to detect current in logbook drawer?

2020-08-15 Thread numbch...@gmail.com
Also I noticed one thing: The problem happens on when link (org-link-beautify enabled) is behind "-" directly: #+begin_src org ,* headline :LOGBOOK: CLOCK: [2020-07-23 Thu 22:05]--[2020-07-23 Thu 22:14] => 0:09 - [[file:~/Code/Emacs/org-mode/lisp/org-agenda.el::(defcustom

Re: How to detect current in logbook drawer?

2020-08-15 Thread numbch...@gmail.com
I tried use debug-on-entry on: + org-agenda-list(nil) - org-agenda-mode() + org-agenda-set-mode-name() - org-update-dblock + org-dblock-write:clocktable But got no lucky, Then I followed your another suggestion, use profiler: I got a very big message log, (not

Strange problem loading org features in Emacs 27.1

2020-08-15 Thread Carlo Tambuatco
I have org-20200803 package installed in my elpa folder. Here’s the message emacs gives me after loading my org-init.el file initializing org mode in emacs 27.1: Problems while trying to load feature ‘org-bbdb’ Problems while trying to load feature ‘org-gnus’ Problems while trying to load

Bug: Org bold emphasis gobbles leading stars on next headline [9.3.7 (release_9.3.7-710-g3f04ad @ /home/n/.emacs.d/straight/build/org/)]

2020-08-15 Thread No Wayman
ECM: With the following Org mode file and point denoted by "|": * Parent | ** Sibling Insert the text "*", resulting in: * Parent "*"| ** Sibling textually, but the final star of the Sibling heading is hidden as well: * Parent "*"| Sibling I believe the org-hide face is being

Re: New package: Org Pandoc Import

2020-08-15 Thread Diego Zamboni
This look very neat - I will definitely give it a try! On Sat, Aug 15, 2020 at 9:30 PM TEC wrote: > Hi Everyone, > > I've just pushed the initial version of a package I think is pretty nifty > (no > bias here ;) and thought it might me nice to mention it to the mailing > list. > >

Re: mailing list archive link in FAQ

2020-08-15 Thread Kyle Meyer
Maxim Nikulin writes: > 14.08.2020 17:39, Maxim Nikulin wrote: >> I just have noticed that the link in FAQ is still pointing to gmane >> https://orgmode.org/worg/org-faq.html#can-org-do-x >> It would be nice to have a link to the alive site there. > > Sorry for the noise. Despite some links have

New package: Org Pandoc Import

2020-08-15 Thread TEC
Hi Everyone, I've just pushed the initial version of a package I think is pretty nifty (no bias here ;) and thought it might me nice to mention it to the mailing list. https://github.com/tecosaur/org-pandoc-import This leverages Pandoc to reduce my interaction with other formats. Hopefully it's

Re: window setup that works with org-agenda

2020-08-15 Thread 陈贤文
Dear Professor Fraga, Thank you very much! I set in ~/.emacs that (setq org-agenda-window-setup "current-window") It works beautifully! Yours sincerely, Xianwen On 2020-08-13 14:42, Eric S Fraga wrote: On Thursday, 13 Aug 2020 at 13:33, Xianwen Chen (陈贤文) wrote: I would like to

Re: Bug: eldoc error: (void-function nil) [9.3.7 (release_9.3.7-708-g5417e3 @ /home/n/.emacs.d/straight/build/org/)]

2020-08-15 Thread Kyle Meyer
No Wayman writes: > Kyle Meyer writes: > >> Assuming it's fine with you, I'll squash this >> into your patch. > > Fine by me Applied (47f26b1e7). Thanks.

Re: Bug: org-agenda-todo applied to wrong line item [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)]

2020-08-15 Thread Kyle Meyer
Dinnyés Dániel writes: > While in the Org Agenda, and navigating to the end of line for a given item > (assuming more than one todo items), and calling org-agenda-todo (with > keybindings t, or C-c C-t)... this result in the call being applied to the > next line item, instead of the one the

Re: How to detect current in logbook drawer?

2020-08-15 Thread numbch...@gmail.com
Thanks for replying, Ihor. I will look into this regexp. Here is the backtrace of "toggle-debug-on-quit" when I refresh org-agenda but has long time suspend. ``` Debugger entered--Lisp error: (quit) re-search-forward("\\(\\[\\[\\(\\(?:[^][\\]\\|\\(?:\\)*[][]\\|+[^][]\\)+..."

Re: How to detect current in logbook drawer?

2020-08-15 Thread Ihor Radchenko
I think you may do something like the following: 1. search backward for drawer-re, but limit search to the beginning of headline 2. it should not be :END: 2. search next drawer-re from the point of previous search, but limit search to next headline 3. make sure the drawer line at point is :END: 4.

Bug: Total shown clocked time of inlinetask includes the clocking of the parent task [9.3.7 (release_9.3.7-783-gd307b6 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-08-15 Thread Ihor Radchenko
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

[bug] deleting backward char does not do undo-boundary

2020-08-15 Thread Samuel Wales
you know that thing in emacs where up to 20 self-insert-command invocations are undone all at once? i dislike it and have fixed it for everything except one command in org. in org, backspace [org delete backward char] clusters for undo ["amalgamates" in emacs lingo] even when

Bug: org-agenda-todo applied to wrong line item [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)]

2020-08-15 Thread Dinnyés Dániel
While in the Org Agenda, and navigating to the end of line for a given item (assuming more than one todo items), and calling org-agenda-todo (with keybindings t, or C-c C-t)... this result in the call being applied to the next line item, instead of the one the cursor is on. This only happens when

Re: keep org drawers visible

2020-08-15 Thread Colin Baxter
> Colin Baxter writes: > Hello, > Property drawers remaining invisible even when I use - > drives me nuts. I know about M-x org-hide-drawer-toggle but > how do I keep the drawers open all the time without having to > toggle? I work on the basis that I want to see what I

keep org drawers visible

2020-08-15 Thread Colin Baxter
Hello, Property drawers remaining invisible even when I use - drives me nuts. I know about M-x org-hide-drawer-toggle but how do I keep the drawers open all the time without having to toggle? I work on the basis that I want to see what I write - if I didn't then I wouldn't have written it.

Re: How to detect current in logbook drawer?

2020-08-15 Thread Ihor Radchenko
>Here is the backtrace of "toggle-debug-on-quit" when I refresh org-agenda >but has long time suspend. That looks unreadable for me. Also, debug on quit may not show the problematic part depending on your luck. It would be easier to understand your problem if you provided the profiler report

Re: Bug: eldoc error: (void-function nil) [9.3.7 (release_9.3.7-708-g5417e3 @ /home/n/.emacs.d/straight/build/org/)]

2020-08-15 Thread No Wayman
Kyle Meyer writes: Assuming it's fine with you, I'll squash this into your patch. Fine by me

Re: Bug: eldoc error: (void-function nil) [9.3.7 (release_9.3.7-708-g5417e3 @ /home/n/.emacs.d/straight/build/org/)]

2020-08-15 Thread Kyle Meyer
No Wayman writes: > Subject: [PATCH] org-eldoc: (org-eldoc-documentation-function): set > `eldoc-documentation-functions' > > * contrib/lisp/org-eldoc.el (org-eldoc-documentation-function): > > b2b587387 did not set eldoc-documentation-functions, resulting in > `eldoc--invoke-strategy' throwing

Bug: links to filename containing word "loops" fail to export

2020-08-15 Thread Jarmo Hurri
* Links to files containing the word ~loops~ are not exported ** What is the problem? It seems that if a link to a file contains the word ~loops~, it is not exported at all. ** How to replicate 1. Save this org into file =org-loops-in-link.org= 2. Save the following elisp into

Re: How to detect current in logbook drawer?

2020-08-15 Thread numbch...@gmail.com
I tried this helper function. ```elisp (defun org-link-beautify--in-logbook-drawer-p (position) "Detect whether point is in Org logbook drawer using `org-logbook-drawer-re'." (and (> (point) (save-excursion (re-search-backward (rx (seq bol (0+ (any "\t "))