[O] org-element discovered inconsistensies

2019-06-03 Thread ihor
So these are things that I have discovered so far:     Property Drawer:    - Element in https://orgmode.org/worg/dev/org-element-api.html#orgf47acc7 It also states that it has :properties field which is simply not there in the code https://code.orgmode.org/bzg/org-mode/src/master/

Re: [O] org-element discovered inconsistensies

2019-06-08 Thread ihor
erty Drawer, Sections and Headlines are missing from this list On 6/8/19 6:56 PM, Nicolas Goaziou wrote: Hello, ihor writes: So these are things that I have discovered so far: [...] I think I fixed the issues you pointed out. Thank you. Regards,

Re: [O] Concatenating Org property values from parent subtrees

2018-10-01 Thread Ihor Radchenko
(or (org-entry-get nil property inherit literal-nil) "") "")) (funcall oldfun pom property inherit literal-nil)) (when value (org-with-wide-buffer (org-up-heading-safe) (org-entry-get n

Re: [O] An Org-based productivity tool

2018-10-11 Thread Ihor Radchenko
output might still be shown to adjust the overall productivity, but, say, once per day/week. Best, Ihor Marcin Borkowski writes: > Hi Orgers, > > I am making an Org-mode-based tool to help boost my productivity. > > I am constantly fighting a losing battle with distractions. I fig

Re: [O] An Org-based productivity tool

2018-10-11 Thread Ihor Radchenko
> To motivate people focusing on there work, something like the link below > could be > an idea, especially for gamers ;) > > https://habitica.com/static/home It would be great to integrate it with Org. Roland Everaert writes: > Regarding auto-clocking, you should look at what norang did. > >

Re: [O] An Org-based productivity tool

2018-10-11 Thread Ihor Radchenko
I mean something like what we have for calendar sync. The data can be stored/edited both in the service and in relevant org files. Roland Everaert writes: > Ihor Radchenko writes: > >>> To motivate people focusing on there work, something like the link below >>&

Re: [O] An Org-based productivity tool

2018-10-11 Thread Ihor Radchenko
Well, you could associate a reward to that kind of tasks. For example, you can allow yourself to work half a day. Alternatively, you can make a task you would like to do (say, watch a new movie) to be blocked until the unwanted task is done. "Peter Neilson" writes: > On Thu, 11 Oct 2018 10:03:1

Re: [O] How to make agenda generation faster

2018-10-17 Thread Ihor Radchenko
ent.el. Take a look at org-element--cache variable definition and the code below. (defvar org-element--cache nil "AVL tree used to cache elements. Each node of the tree contains an element. Comparison is done with `org-element--cache-compare'. This cache is used in `org-element-

Re: [O] An Org-based productivity tool

2018-10-25 Thread Ihor Radchenko
FYI "Note taker and org-clock-in enforcer" https://github.com/roman/clocker.el Best, Ihor Marcin Borkowski writes: > Hi Orgers, > > I am making an Org-mode-based tool to help boost my productivity. > > I am constantly fighting a losing battle with distractions. I f

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2018-11-02 Thread Ihor Radchenko
nterested in automatic placing of org attachments into a folder structure, which mirrors the org path? Something like in the following Stack Exchange question: https://emacs.stackexchange.com/questions/26412/human-readable-directory-tree-with-org-attach Best, Ihor Gustav Wikström writes: > Hi Mar

Re: [O] Bug: org-back-to-heading with inline tasks above point [9.1.14 (9.1.14-3-geb9955a-elpaplus @ /home/yantar92/.emacs.d/elpa/org-plus-contrib-20180924/)]

2018-11-05 Thread Ihor Radchenko
xpected results if the point is below an inline task. Would it make sense to add org specific macros to Hacking section of org manual? It is sometimes difficult to guess that some of these macros even exist. Best, Ihor Nicolas Goaziou writes: > Hllo, > > yanta...@gmail.com

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2018-11-17 Thread Ihor Radchenko
nts, which are not in the current org entry. For example, something like "attachment:ORG-ID:file-name", where ORG-ID refers to ID of an arbitrary org entry. Best, Ihor Gustav Wikström writes: > Hi Ihor, > > I'm not sure I follow your suggestion regarding changing the impl

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2018-11-20 Thread Ihor Radchenko
urrent-buffer (find-file-noselect file) (concat (format "* %s\n" (buffer-file-name)) (replace-regexp-in-string "^\\*" (concat "*" stars) (buffer-string)) #+end_src Best, Ihor Gustav Wikström writes: > Hi

Re: [O] Feature request - Decouple org's keybindings from their functions

2018-11-28 Thread Ihor Radchenko
know it. You can as well say `M-x org-ctrl-c-ctrl-c` and be understood. Best, Ihor stardiviner writes: > Decoupling is not a good idea. Because it will let user define too much > keybindings. And User can define keybinding in Emacs easily. Emacs is > powerful for customization. >

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2018-12-13 Thread Ihor Radchenko
cool to be able to > do that but my intention was more about introducing the 0-level headline > concept. Yeah. But someone needs to volunteer with the patch. It would be even better if these 0-level headings can be edited from the referencing file. Regards, Ihor Gustav Wikström writes: >

Re: [O] How to pass shell command result to :post source-block?

2019-01-19 Thread Ihor Radchenko
nsi-escape-filter(data=*this*) tree /var/spool/postfix/ #+end_src `:results output` is needed to avoid parsing the shell output as a table. `data=*this*` is needed to pass the output to `ansi-escape-filter`. You can also check the example in the org info page for the :post header argument.

Re: [O] Interaction of Agenda with DEADLINE & SCHEDULED

2019-04-20 Thread Ihor Radchenko
d, etc. to > maximize output over a given period of time? What you want here is actually quite a complicated optimization problem, which probably deserves a separate full project of its own. I cannot comment much on this part since effort estimates never worked for me. Best, Ihor Stephan Fab

Re: [O] [Proposal] Buffer Lenses and the Case of Org-Mode (also, Jupyter)

2019-04-24 Thread Ihor Radchenko
several projects, which implement part of the functionality you described: - mmm-mode: https://github.com/purcell/mmm-mode - polymode: https://github.com/polymode/polymode Best, Ihor Dmitrii Korobeinikov writes: > I have written a proposal for buffer lenses which could prove useful in > Or

[O] bug#35419: Fwd: Re: [Proposal] Buffer Lenses and the Case of Org-Mode (also, Jupyter)

2019-04-25 Thread 'Ihor Radchenko'
.html There are also several projects, which implement part of the functionality you described: - mmm-mode: https://github.com/purcell/mmm-mode - polymode: https://github.com/polymode/polymode Best, Ihor Dmitrii Korobeinikov writes: > I have written a proposal for buffer lenses which could pr

[O] bug#35453: 26.1; Poor performance of vertical-motion in large org buffer

2019-05-04 Thread Ihor Radchenko
by increasing the structure size a bit, we can significantly speed up the buffer motion commands. Best, Ihor Eli Zaretskii writes: >> From: 'Ihor Radchenko' >> Date: Thu, 25 Apr 2019 14:23:06 +0800 >> >> C-n and C-p are extremely slow (>10 sec to move one visua

[O] bug#35419: [Proposal] Buffer Lenses and the Case of Org-Mode (also, Jupyter)

2019-05-04 Thread Ihor Radchenko
e point is within a lense. It was not clear what should be the priority. Best, Ihor Dmitrii Korobeinikov writes: > I found a clarification on how mmm-mode works. > > https://github.com/polymode/polymode/issues/187 >> mmm-mode also allows having multiple major modes depen

Re: [O] Structured links to headings with endless depth

2019-05-06 Thread Ihor Radchenko
er it is not fragile against refiling or duplicate entries. Best, Ihor Michael Brand writes: > Hi all > > On Wed, Mar 14, 2018 at 7:58 AM Michael Brand > wrote: > >> ,(arbitrarily more levels upwards) >> , * [...] >> ,* >> ,

Re: [O] How to calculate all time durations in a file automatically?

2019-05-07 Thread Ihor Radchenko
Dear Martin, Just go to the beginning of buffer and (while (re-search-forward org-clock-line-re) (org-ctrl-c-ctrl-c)) . Or you can use keyboard macros ;) Best, Ihor Martin Schroeder writes: > I have imported a bunch of log lines with CLOCK periods from another > program into an org fi

[O] bug#35453: 26.1; Poor performance of vertical-motion in large org buffer

2019-05-18 Thread Ihor Radchenko
rk is yet unfinished. I see. Hope that overlays will be optimised eventually... Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: 35...@debbugs.gnu.org >> Date: Sun, 05 May 2019 09:05:46 +0800 >> >> > Of course, if someone comes up with ideas how to spee

Re: [O] Structured links to headings with endless depth

2019-05-18 Thread Ihor Radchenko
> There must be good reasons why some more > users than just me sometimes prefer the format B over A: Fair enough. Thanks for the clarification. Best, Ihor Michael Brand writes: > Hi Ihor > > On Tue, May 7, 2019 at 5:27 AM Ihor Radchenko wrote: > >> I am wonder

[O] bug#35419: [Proposal] Buffer Lenses and the Case of Org-Mode (also, Jupyter)

2019-06-01 Thread Ihor Radchenko
at it would be more effective if someone decide on some basic approach for the low-level implementation of the lense-mode (which probably involves modifying emacs C-level source code) and continue the discussion according to the benefits/limitations of that kind of implementation. Best, Ihor Dm

[O] Bug: Inaccurate doc-string for org-image-actual-width [9.2.3 (9.2.3-17-g4df705-elpaplus @ /home/yantar92/.emacs.d/elpa/org-plus-contrib-20190513/)]

2019-06-05 Thread 'Ihor Radchenko'
rg-element-property :post-affiliated paragraph) t) If case-fold-search is set to 't, and the value of org-image-actual-width is set to a list, #+ATTR_ORG: :width specifications are always ignored, while they should not. Best, Ihor Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolk

[O] Bug: Incorrect behaviour of org-schedule when defining a time interval [9.2.3 (9.2.3-17-g4df705-elpaplus @ /home/yantar92/.emacs.d/elpa/org-plus-contrib-20190513/)]

2019-07-08 Thread 'Ihor Radchenko'
When defining a time interval using org-schedule, I can usually type something like "2pm+2" and get "SCHEDULED: <2019-07-09 Tue 14:00-16:00>". However, typing "11pm+2" leads to incorrect behaviour. The result is "SCHEDULED: <2019-07-09 Tue 23:00-25:00>", which is obviously wrong. Emacs : GNU Em

Re: [O] Bug: Incorrect behaviour of org-schedule when defining a time interval [9.2.3 (9.2.3-17-g4df705-elpaplus @ /home/yantar92/.emacs.d/elpa/org-plus-contrib-20190513/)]

2019-07-08 Thread Ihor Radchenko
Thanks for the clarification. I never saw this format earlier. Matthew Piziak writes: >> obviously wrong > > It's natural to think so, but my Org mode correctly interprets `Tue > 25:00` as being equivalent to `Wed 01:00`. That includes agenda > scheduling filters. > > This format is used in t

Re: [O] Bug: Incorrect behaviour of org-schedule when defining a time interval [9.2.3 (9.2.3-17-g4df705-elpaplus @ /home/yantar92/.emacs.d/elpa/org-plus-contrib-20190513/)]

2019-07-22 Thread Ihor Radchenko
n format: "+5:00"". The problem is reproducible with emacs -Q. Best, Ihor Matthew Piziak writes: >> obviously wrong > > It's natural to think so, but my Org mode correctly interprets `Tue > 25:00` as being equivalent to `Wed 01:00`. That includes agenda >

Re: [O] [RFC] Link-type for attachments, more attach options

2019-07-27 Thread Ihor Radchenko
ore, inheriting ATTACH_DIR does nothing for me and inheriting ID always gives the current entry's id value. At the end, I cannot make a common attachment directory for the whole subtree, like I was able to do with ATTACH_DIR_INHERIT. Regards, Ihor Gustav Wikström writes: > Hi! > >>

Re: [O] [RFC] Link-type for attachments, more attach options

2019-07-28 Thread Ihor Radchenko
(or attach-dir-inherited dir))) #+end_src Regards, Ihor Gustav Wikström writes: > Hi Ihor, > >> -Original Message- >> From: Ihor Radchenko >> Sent: den 27 juli 2019 16:56 >> To: Gustav Wikström ; Nicolas Goaziou >> >> Cc: e

Re: [O] Links in Org-mode : Clunky

2019-07-28 Thread Ihor Radchenko
e (&optional arg) "Completion function for id: link." (let* ((id (org-id-prompt-id))) (format "id:%s" id))) (org-link-set-parameters "id" :complete #'org-id-link-complete) #+end_src Regards, Ihor Nathan Neff writes: > He

[O] [Feature proposal] Add :description function to org-link-parameters

2019-08-02 Thread Ihor Radchenko
"/" (yant/task-fulltitle) (org-link-set-parameters "id" :desk #'org-id-link-desk) #+end_src Best, Ihor -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Me

Re: [O] [Feature proposal] Add :description function to org-link-parameters

2019-08-02 Thread Ihor Radchenko
Oops. Indeed, :desk should be replaced with :description. I used :desk property in my personal config, but it may be confusing for others. Best, Ihor John Kitchin writes: > This sounds reasonable. I was a little confused with the mixture of > of description and desk in the code below.

[O] Bug: org-sort-entries does not preserve folded drawers [9.1.13 (9.1.13-dist @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-08-02 Thread Ihor Radchenko
Regards, Ihor Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit) of 2019-04-29 Package: Org mode version 9.1.13 (9.1.13-dist @ /home/yantar92/.emacs.d/straight/build/org/) -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano

Re: [O] Bug: org-sort-entries does not preserve folded drawers [9.1.13 (9.1.13-dist @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-08-18 Thread Ihor Radchenko
Thanks! Carsten Dominik writes: > Hi Ihor, > > thank you for the report. > It would be too much work to *preserve* the visibility state of everything > in the sorting area, but you are right, the drawers at lease should be > closed. I fixed this, the fix is in master. >

Bug: Agenda fails to parse time interval like 23:00-29:00 [9.1.9 (release_9.1.9-65-g5e4542 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-01 Thread &#x27;Ihor Radchenko'
tegory "schedule" fontified t)) " " "schedule" nil #("<2019-12-02 Mon 23:00-29:00>" ... ) ...) yields (org-get-time-of-day "29:00" 'string t) -> "+5:00", which is then passed to (org-duration-to-minutes "+5:00"

Re: Bug: Agenda fails to parse time interval like 23:00-29:00 [9.1.9 (release_9.1.9-65-g5e4542 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-07 Thread Ihor Radchenko
0 is a valid time interval format [1]. Best, Ihor [1] https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00039.html Nicolas Goaziou writes: > Hello, > > 'Ihor Radchenko' writes: > >> I have one scheduled item like the following: >> >> * test >

Re: Bug: Agenda fails to parse time interval like 23:00-29:00 [9.1.9 (release_9.1.9-65-g5e4542 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-07 Thread Ihor Radchenko
hat is produced by typing 11pm+6 in org-read-date). However, I got a reply that 23:00-29:00 is a valid time interval format (see "Bug: Incorrect behaviour of org-schedule when defining a time in"). Best, Ihor Nicolas Goaziou writes: > Hello, > > 'Ihor Radchenko' wri

Asynchronous org-agenda-redo

2019-12-12 Thread Ihor Radchenko
agenda. Any suggestions? Alternative ideas? Best, Ihor

Re: Asynchronous org-agenda-redo

2019-12-12 Thread Ihor Radchenko
el-tangle-current-buffer-async () "Tangle current buffer asynchronously." (when (and (eq major-mode 'org-mode) (member (buffer-file-name) yant/auto-tangle-list)) (yant/org-babel-tangle-async (buffer-file-name (add-hook 'after-save-hook #'yant/org-babel

Re: Asynchronous org-agenda-redo

2019-12-12 Thread Ihor Radchenko
t at the end in terms of performance. I use too many slow custom skip-functions. > ... The built-in > caching in org-ql significantly improves performance, especially when > refreshing views. Yeah. I wish org-entry-get and other org-get* functions support caching as well... Or, at least, o

Re: Asynchronous org-agenda-redo

2019-12-13 Thread Ihor Radchenko
es are tested against every headline. I can rewrite my skip functions into queries, but I don't expect much improvement since org-ql seems to use org-entry-get, which is the main performance bottleneck for my agenda generation. Best, Ihor adam Porter writes: > Ihor Radchenko writes: > &

Re: Asynchronous org-agenda-redo

2019-12-13 Thread Ihor Radchenko
skip-eval (:around (oldfun form) make-async) (thread-join (make-thread (lambda () (funcall oldfun form)) "org-agenda-skip-eval"))) The problem, of course, is that touching agenda buffer and org buffers may be risky while org-agenda-redo is running. Wondering if it is possible to block user

Re: Asynchronous org-babel-tangle (was Re: Asynchronous org-agenda-redo)

2019-12-15 Thread Ihor Radchenko
the lambda (in the process buffer). But backwards-sexp fails on float (it moves point just after the point). Best, Ihor Diego Zamboni writes: > Hi Ihor, > > On Thu, Dec 12, 2019 at 4:00 PM Ihor Radchenko wrote: > >> See the relevant code from my config below. Let me know if

Re: Asynchronous org-babel-tangle (was Re: Asynchronous org-agenda-redo)

2019-12-15 Thread Ihor Radchenko
the lambda (in the process buffer). But backwards-sexp fails on float (it moves point just after the point). P.S. I just noticed that async tangle fails when I try to tangle into "/sudo::filename". Not even sure how to fix it. Best, Ihor Diego Zamboni writes: > Hi Ihor, > &g

Re: Asynchronous org-agenda-redo

2019-12-15 Thread Ihor Radchenko
ble. Thanks for the info! I did not know about this optimisation in org-ql. org-entry-get consumes most of cpu time while building my agenda views. Though I don't think that there will be much difference for me since most of my property conditions in agenda involve inherited properties. Re

Bug: org-element-at-point on headline does not contain :parent property [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-16 Thread Ihor Radchenko
:priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 2 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 6 :title 2)) No :parent property is returned. Best, Ihor Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) o

Re: Emacs bug 37890; killing capture buffer

2019-12-17 Thread Ihor Radchenko
sappointed that no one else > seems to care so far... You can try M-x org-submit-bug-report ;) Then it becomes clear that you are in the right place already. Best, Ihor Michael Heerdegen writes: > Adam Porter writes: > >> I guess you're asking me, since I'm the only oth

Bug: org-tempo expansion comments out the following src block when org-src-tabs-natively is 't [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-18 Thread Ihor Radchenko
Recipe: 1. emacs -Q 2. Execute the following lisp code: (setq org-src-tab-acts-natively t) (require 'org-tempo) (push (cons "el" "src emacs-lisp") org-structure-template-alist) 3. Create the following org file: #+begin_src emacs-lisp #+end_src 4. Put the point before the code block 5.1. Typ

Re: Bug: org-tempo expansion comments out the following src block when org-src-tabs-natively is 't [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-19 Thread Ihor Radchenko
x27; values. > > Those are innocuous when `org-src-tab-acts-natively' is nil. The most straightforward solutions are deleting the `'>' elements from the template or temporary setting the `org-src-tabs-acts-natively' to nil. Best, Ihor "Berry, Charles" writes:

[FWD from emacs-orgmode] Re: Bug: About org-submit-bug-report [9.3 (release_9.3 @ /usr/local/share/emacs/27.0.50/lisp/org/)]

2019-12-20 Thread Ihor Radchenko
ution Then, the built-in emacs packages might be changed to follow those conventions and improve discoverability of bug reporting capabilities. Also, an information that different major modes may have they own bug reporting tools might be mentioned in the default template shown in report-emacs

Bug: org-babel-execute:emacs-lisp does not allow changing window configuration from within code block [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-20 Thread &#x27;Ihor Radchenko'
n the project. However, it is not possible with the current org-babel-execute:emacs-lisp implementation. Best regards, Ihor Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) of 2019-12-17 Package: Org mode version 9.3 (release_9.3 @ /home/yantar92/.emacs.d/str

Bug: org-agenda-open-link disallow permanenly changing point position while opening some links (e.g. elisp:) [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-20 Thread Ihor Radchenko
nt org-agenda-open-link implementation, unless the condition for "internal link" is broadened. Best regards, Ihor Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) of 2019-12-17 Package: Org mode version 9.3 (release_9.3 @ /home/yantar92/.ema

Re: Asynchronous org-agenda-redo

2019-12-21 Thread Ihor Radchenko
e across the buffer with re-search-forward). Any ideas how to deal with this? Best, Ihor Adam Porter writes: > Ihor Radchenko writes: > >>>> Asynchronous code is not faster; it's generally slower because of >>>> yielding and synchronization. >> &g

Re: refile captured to all opened Org buffer files as targets

2019-12-25 Thread Ihor Radchenko
>)) > #+end_src > > Can I add this as a patch to Org Mode repository? > > -- > [ stardiviner ] >I try to make every word tell the meaning what I want to express. > >Blog: https://stardiviner.github.io/ > IRC(freenode): st

Re: refile captured to all opened Org buffer files as targets

2019-12-26 Thread Ihor Radchenko
t 0)) ;; handle org-mode syntax in body (org-escape-code-in-region (point-min) (point-max))) (buffer-string))) Best, Ihor stardiviner writes: > Ihor Radchenko writes: > >> [offtopic] >> >

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-02 Thread Ihor Radchenko
It's a duplicate of my earlier bug report https://lists.gnu.org/archive/html/emacs-orgmode/2019-12/msg00326.html Hope, there will be some progress. Best, Ihor Bram Adams writes: > Hi, > > I encountered a bug in org-tempo-add-block, where the following snippet in an > org

Re: Bug: org-element-at-point on headline does not contain :parent property [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-02-05 Thread Ihor Radchenko
th org-element-cache). At least, optionally. I was counting on this feature to try speeding up my agenda generation (using org-element-cache). Best, Ihor Bastien writes: > Hi Ihor, > > Ihor Radchenko writes: > >> According to org-element-at-point docstring, "Properties d

Re: Bug: org-element-at-point on headline does not contain :parent property [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-02-05 Thread Ihor Radchenko
pt my idea about using cache to speed up agenda. But I was stuck with the :parent property issue and did not play much further since that time. Best, Ihor Nicolas Goaziou writes: > Hello, > > Ihor Radchenko writes: > >>> Probably the docstring needs to be adapted - Nicolas

Re: [O] Is it possible to pass variable to variables of src block?

2017-12-11 Thread Ihor Radchenko
t;<$cmd(a=\"$x\")>>"; done #+END_SRC #+RESULTS: genscript #+BEGIN_src sh :noweb yes :results output cat << EOF <> <> <> <> <> <> <> #+END_src #+RESULTS: : 1 : 2 : 3 : 4 : 5 : 6 : something Hope it helps. P.S. Does anyone know why the following doe

[O] Bug: org-clock-total-time is calculated from midnight in UTC (not in current time zone) [9.1.4 (9.1.4-13-g84cb63-elpa @ /home/yantar92/.emacs.d/elpa/org-20171218/)]

2017-12-21 Thread Ihor Radchenko
idnight in UTC+8. Emacs : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, X toolkit) of 2017-12-06 Package: Org mode version 9.1.4 (9.1.4-13-g84cb63-elpa @ /home/yantar92/.emacs.d/elpa/org-20171218/) -- Ihor Radchenko, PhD Student Singapore University of Technology and Design, 8 Somapah Road Singapore 48

[O] Bug: List does not fold correctly with inline tasks in the middle [9.1.4 (9.1.4-13-g84cb63-elpa @ /home/yantar92/.emacs.d/elpa/org-20171218/)]

2017-12-22 Thread &#x27;Ihor Radchenko'
to fold at =-blah=. Everything started from inline task is not folded, while should. 3. Try to fold at =*... END=. Everything below *is* folded, while should not. Regards, Ihor Emacs : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, X toolkit) of 2017-12-06 Package: Org mode version 9.1.4 (9.1.4-13

Re: [O] Bug: List does not fold correctly with inline tasks in the middle [9.1.4 (9.1.4-13-g84cb63-elpa @ /home/yantar92/.emacs.d/elpa/org-20171218/)]

2017-12-22 Thread Ihor Radchenko
I am dumb... Forgot to load 'org-inlinetask 'Ihor Radchenko' writes: > 1. Create the following same org file: > * Test > - blah > - a > - b > - c > *** List folding stops here > :PROPERTIES: > :ID: 27eb85

Re: [O] Bug: org-clock-total-time is calculated from midnight in UTC (not in current time zone) [9.1.4 (9.1.4-13-g84cb63-elpa @ /home/yantar92/.emacs.d/elpa/org-20171218/)]

2017-12-22 Thread Ihor Radchenko
(while (not yant/check-from-field-before-sending-bug-report) (insert "I will always check my From field before sending bug report.\n")) P.S. Does anyone know how to set alternative default sending account for bug reporting specifically? Regards, Ihor Samuel Wales wri

Re: [O] Searching all attachments in org-files

2017-12-25 Thread Ihor Radchenko
7;("att" . org-attach-expand-link)) (org-link-set-parameters "att" :complete 'org-att-complete-link) Regards, Ihor Narendra Joshi writes: > Hi, > > Is there a way to quick get a link to an existing attachment? A lot of > times, I find myself referring to the s

Re: [O] Tags aliases

2017-12-28 Thread Ihor Radchenko
Dear Eduardo, I am not aware about aliases explicitly, but you can use tag hierarchy in your use case: http://orgmode.org/manual/Tag-hierarchy.html#Tag-hierarchy It will be something like #+TAGS: [ food : vegetables snack ] Regards, Ihor Eduardo Mercovich writes: > Dear Orgers. > >

Re: [O] TODO in org-mode

2017-12-30 Thread Ihor Radchenko
e.com/watch?v=sQS06Qjnkcc&list=PLVtKhBrRV_ZkPnBtt_TD1Cs9PJlU0IIdE). P.S. I recommend you to familiarize yourself with key bindings. Using menu is very too much slower. Regards, Ihor "M. P." writes: > I know this is basic but I am having difficulty getting TODO states to

Re: [O] New feature? Remove duplicate subheadings, preserving order

2018-01-03 Thread Ihor Radchenko
Is there any possible way to prevent it more reliably? I am aware of org-catch-invisible-edits, but this is obviously not enough. Does it make sense to generate some kind of subtree based diff after each change, so that user can review all recent changes in org files? Ihor Adam Porter writes

Re: [O] properties using other properties

2018-01-24 Thread Ihor Radchenko
macs/comments/7gr9ps/add_logbook_entry_and_note_on_orgmode_property/) and reimplement org-edna functionality for your purposes. Regards, Ihor cpb writes: > Is there a way to set properties using other properties? Doesn't matter > if its on export only, though it would be nice to have it

Re: Visibility cycling with inline tasks 2

2021-09-29 Thread Ihor Radchenko
> still have the question and why the answer may be of interest for >> other subscribers. >> >> If you have nothing special to add to your first message and just >> want to "bump" the thread, please wait at least one month before >> doing so. Your issue is probably fixed in my personal dev branch at https://github.com/yantar92/org Best, Ihor

Re: Visibility cycling with inline tasks 2

2021-09-30 Thread Ihor Radchenko
lated into the main repo. When should I > retry there? I will prepare the patch for the main repo and post a reply to your original bug report once I get time to do it. Best, Ihor

Re: [PATCH] org-manual.org: Some correction of Installation section

2021-09-30 Thread Ihor Radchenko
be helpful addition to https://orgmode.org/contribute.html Also, I'd recommend "emacs -Q -L ~/src/org-mode/list -l org", making sure that the right version of Org mode is loaded regardless of the local config. Best, Ihor

Re: The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-09-30 Thread Ihor Radchenko
oks > like > 1 > 2. the old style is align ":" It has been reported in https://orgmode.org/list/87czr6uhhk@alphapapa.net However, the problem is not reproducible. Are you able to provide a recipe? Best, Ihor

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-09-30 Thread Ihor Radchenko
e to fix orgtbl-to-generic logic. Nicolas, Is there a rationale behind bypassing :fmt and :hfmt for empty table cells in `org-table--to-generic-cell'? In this patch, I have to work around this using :raw parameter in `orgtbl-to-generic' call. I do not feel like such worka

Re: [PATCH] Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home/david/.emacs.d/.local/straight/build-27.2/org-mode/)]

2021-09-30 Thread Ihor Radchenko
e for me. Best, Ihor

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-09-30 Thread Ihor Radchenko
Ihor Radchenko writes: > The attached patch should fix the issue, though it may be more > reasonable to fix orgtbl-to-generic logic. Given Nicholas' reply, changing orgtbl-to-generic may not be a good idea and break other code using orgtbl-to-generic. Applied as ddee7b617 on bugfix

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-09-30 Thread Ihor Radchenko
"$$" in otherwise empty cells. Also makes sense. At this point, third-party code is likely to rely on the existing logic, so I do not see any reason to insist on changing org-table. To avoid confusion, can we change the docstring explicitly saying that empty cell

Re: Visibility cycling with inline tasks 2

2021-09-30 Thread Ihor Radchenko
eading 2 and expand it (TAB) I propose an alternative patch. See the attached. Best, Ihor >From ec78cbc00b4e2abf201149b76ce41df87869627f Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Fri, 1 Oct 2021 14:03:47 +0800 Subject: [PATCH] org-inlinetask.el: Fix visibility cycling for i

Re: searching agenda from TRAMP

2021-09-30 Thread Ihor Radchenko
s me believe more strongly the problem is, again, not > with the ssh connection itself, but with the indexing. Does opening org files manually take a lot of time for you? Are you using org-id? Can you track down the problematic function using M-x profiler-start / profiler-report? Best, Ihor

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-10-01 Thread Ihor Radchenko
t's just that it caught me by surprise while fixing the current bug report. >> To avoid confusion, can we change the docstring explicitly saying that >> empty cells are ignored? (see the attached) > Sure. Thanks. Applied as 60365a164 on main. Best, Ihor

Re: Need absolute org-attach-id-dir to attach in buffers without filename

2021-10-01 Thread Ihor Radchenko
alue `data/'. I get this error even when I > am in the buffer for the file, not simply a capture buffer. This seems > to come [from org-attach]. I cannot reproduce. Can you provide a recipe? Best, Ihor

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
otographisches Gedächtnis (=+=), > Primitive Technologie (~-~), Schreckhaft (~-~), Schrecklich Schusselig (~-~), > Toller Laptop (=+=) oder Verträumt (~-~). > > The fourth line is highlighted as code beginning at the first ~-~ until > the final closing paren (")") of the parag

Re: searching agenda from TRAMP

2021-10-01 Thread Ihor Radchenko
> profiler-report -> post the report here. Profiler report can be as helpful as debugger backtrace when tracking down performance issues. Best, Ihor

Re: org-attach-use-inheritance inherits from sibling

2021-10-01 Thread Ihor Radchenko
is not the expected behaviour? I cannot reproduce on current main. Are you still seeing this problem? Best, Ihor

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
Bastien writes: > Hi Ihor, > > Ihor Radchenko writes: > >> The fix is attached. > > Looks good, feel free to apply in the bugfix branch. Done (fa315986a). Marking the bug as fixed. Should I also merge main with bugfix every time? Best, Ihor

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
Also marking patch as applied

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
Bastien writes: > Ihor Radchenko writes: > >> Should I also merge main with bugfix every time? > > You should merge bugfix into main, yes (but not main into bugfix.) Thanks for the clarification. It indeed makes sense, but I was not sure if merging too frequently is ok or not. Best, Ihor

Re: Elegant way to export org to Markdown ?

2021-10-01 Thread Ihor Radchenko
an elegant way to export org syntax to > MarkDown. > > I was thinking that the export-dispatch had an option for Plain Text / > Markdown, but that doesn't seem to be the case. I think you just need to load the markdown export backend in your config: (require 'ox-md) Best, Ihor

Re: Elegant way to export org to Markdown ?

2021-10-01 Thread Ihor Radchenko
cii html icalendar latex odt) You can also customise this variable instead of direct (require 'ox-md) Why not all backends are loaded? Mostly to reduce Org loading speed that some people complain about. Best, Ihor

[PATCH] Bug: Unintended column added to table [9.4.6 (9.4.6-gab9f2a @ /home/user/.emacs.d/elpa/org-9.4.6/)]

2021-10-01 Thread Ihor Radchenko
Ihor Radchenko writes: > spect...@mail.com writes: > >> In a preexisting org table, hitting can add a new, unintended column >> >> Bug: After the 2nd iteration, org adds a unintended new column. Further >> iteration adds more columns. > > Confirmed > >

Re: Elegant way to export org to Markdown ?

2021-10-02 Thread Ihor Radchenko
rs" section of the manual) As for "ugly", it is probably subjective. Can you share a screenshot and suggest a concrete improvement? Also, are you on Org 9.5? I have seen some patches in that area lately. Best, Ihor

Re: Stable 9.5: invalid function (date date)

2021-10-02 Thread Ihor Radchenko
(date date)() > org-agenda-get-day-entries("/home/jarmo/projects/gtd/faq.org" (10 2 2021) > :deadline :scheduled :timestamp :sexp) Looks like garbled installation. Can you try to re-install Org? Best, Ihor

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

2021-10-02 Thread Ihor Radchenko
ion. Also, marking this as patch. Best, Ihor

Re: Manually/programmatically adding a state transition message

2021-10-02 Thread Ihor Radchenko
27;ll take that, please :) It may be fragile, but you can try let-binding (org-inhibit-logging 'note) around elisp org-todo call Best, Ihor

Re: Advice for new feature 'image block` for new `sketch-mode` package

2021-10-02 Thread Ihor Radchenko
first discuss and > 'enquire' > for suggestions here. You can try to define a special block and add appropriate org-ctrl-c-ctrl-c-hook to display the overlay. For defining special blocks, you can try https://github.com/alhassy/org-special-block-extras/ Hope it helps. Best, Ihor

Re: ox-bibtex incorrectly renders bibtex entries with slashes.

2021-10-02 Thread Ihor Radchenko
Vladimir Nikishkin writes: > Does anybody have a workaround for this? Note that ox-bibtex is not a part of Org now. Maybe you try using new org-cite syntax instead? It should support HTML natively. Best, Ihor

Re: Re : Re: Capture abort: Symbol’s function definition is void: turn-on-org-provide

2021-10-02 Thread Ihor Radchenko
Joseph Vidal-Rosset writes: > I got the following backtrace: Err... This looks strange. Can you try re-installing Org? Or otherwise go to org-capture.el, M-x eval-buffer, and try to get backtrace again (hopefully, it can become more readable then). Best, Ihor

[PATCH] Bug: Indenting empty description list item leaves point at beginning of line [9.4.4]

2021-10-02 Thread Ihor Radchenko
Bodertz writes: > As you can see, point is at the beginning of the line. I think it > should be after the dash, as is the case when indenting plain list > items. The fix is attached. Best, Ihor >From 63870bec28e59732cbbdf8b2534f6ece96e2d5d8 Mon Sep 17 00:00:00 200

  1   2   3   4   5   6   7   8   9   10   >