Re: Source Block header arguments

2021-02-17 Thread Ihor Radchenko
Russell Adams writes: > I know I can easily create templates for frequently used code blocks. > > My question is, is there a completion or in-place documentation for > valid header arguments to code blocks? The options are rather buried > in the manual. I use helm-info-org for this. Best, Ihor

Re: encryption problems using org-mode

2021-02-15 Thread Ihor Radchenko
Colin Baxter writes: > Odd. The problem has gone away and all is now well. I am tracking the > master branch of emacs-28; however, I thought I had checked and got the > same error using emacs-27.1. This is because .elc files are in .gitignore. Checking out other branch would leave all the

Re: encryption problems using org-mode

2021-02-15 Thread Ihor Radchenko
Colin Baxter writes: > Debugger entered--Lisp error: (void-variable minor-modes) This looks like master Emacs issue. Did you happen to update Emacs to master as well? There was a recent commit related to minor-modes variable. You can search for "0bd846c 1/2: Rename minor-modes to

Re: Content below current line lost

2021-02-15 Thread Ihor Radchenko
Dmitry Knyaginin writes: > By the way, I have started to test my theory that the bug has to do with > the file size, but so far I have not been able to reproduce the bug. Another guess about your case: I have experienced deleted parts of buffer and lost history when using undo-tree. Do you

Re: Is it possible to optimize Org Mode org-activate-links ?

2021-02-12 Thread Ihor Radchenko
Christopher Miles writes: > Should I use the following options? I saw the warning. Does this freeze > happens often? I decide to try it. Setting org-element-use-cache to t should be enough to see differences. Best, Ihor

Re: Is it possible to optimize Org Mode org-activate-links ?

2021-02-12 Thread Ihor Radchenko
Christopher Miles writes: > I checked org-element-context source code, it's not so long and complex. Why > it caused so many items in Memory profiler result? Is it possible to optimize > it? You can try to use org-element-cache. That might help. Best, Ihor

Re: Typing latency

2021-02-11 Thread Ihor Radchenko
Maxim Nikulin writes: > It is not namely typing latency, but I have noticed lags while moving > over collapsed headings with "up" key (with "down" it is not so > apparent) e.g. in overview view. It has happened after linux upgrade, > emacs version changed from 25.2 to 25.3, system package

[PATCH] Allow tags containing capital letters in org-agenda-filter

2021-02-10 Thread Ihor Radchenko
rom 9d7a966497458bdb0ab5e5171d2bab1fa8612bc5 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 11 Feb 2021 12:03:15 +0800 Subject: [PATCH] Allow tags containing capital letters in org-agenda-filter * lisp/org-agenda.el (org-agenda-filter): Downcase tags in the search string provided by user. This is nee

Re: Typing latency

2021-02-09 Thread Ihor Radchenko
Timothy writes: >> (setq org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)") > > If this doesn't produce regressions, is this worth patching into Org? I believe so, but I am not sure about regressions. Current master allow placing priority cookies anywhere, while my version only limits

Re: Typing latency

2021-02-09 Thread Ihor Radchenko
Sébastien Miquel writes: > the delay, which must be caused by the already fontified parts. > I guess the issue must be wih emacs' internals. I had some issues with performance when displaying unicode symbols in the past for certain (large) fonts. That time, the following helped to improve Emacs

Re: Typing latency

2021-02-09 Thread Ihor Radchenko
Sébastien Miquel writes: > It reports that most of the time is spent in org-do-latex-and-related, > and some 20% in something related to the priority faces (despite the > lack of priority cookies). I also had issues with priority faces. It is related to sub-optimal regexp used to detect

Re: Typing latency

2021-02-08 Thread Ihor Radchenko
Sébastien Miquel writes: > AFAIU, the elisp profiler is useless in this case (fontification being > slow). At least my runs don't seem to report anything relevant. You can try font-lock-profiler package (https://github.com/Lindydancer/font-lock-profiler) Best, Ihor

Re: org-contacts problem

2021-02-04 Thread Ihor Radchenko
Raoul Comninos writes: > Can someone perhaps guide me? You need to tell Emacs to load org-contacts: (require 'org-contacts) Best, Ihor

Re: org-attach-git don't automatically commit changes

2021-01-31 Thread Ihor Radchenko
Juan Manuel Macías writes: > Do you think a possible patch could simply consist of replacing (as I > have done) `(expand-file-name org-attach-id-dir)' by `(org-attach-dir)' > in `org-attach-git-commit'? This would allow you to handle attachment > dirs as individual git repos, regardless of :ID:

Re: org-attach-git don't automatically commit changes

2021-01-31 Thread Ihor Radchenko
Juan Manuel Macías writes: > But if I evaluate this, I get an 'incomplete' path: I think you misunderstood how org-attach-git works. org-attach-git is: ;; An extension to org-attach. If `org-attach-id-dir' is initialized ;; as a Git repository, then org-attach-git will automatically commit

Re: org-goto and org-store-link/org-id-get-create

2021-01-30 Thread Ihor Radchenko
Peter Klenner writes: > Calling either org-store-link or org-id-get-create in an indirect > org-goto buffer results in an empty ID-property drawer with (setq > org-id-link-to-org-use-id t). Confirmed. This is because org-goto buffer is in read-only state, which is ignored when inserting empty

Re: org-attach-git don't automatically commit changes

2021-01-30 Thread Ihor Radchenko
Juan Manuel Macías writes: > The default value of `org-attach-id-dir' is "data/", and if I evaluate > `(expand-file-name org-attach-id-dir)' on my current node, it returns a > wrong path to the attached folder. `org-attach-sync' only works for me > if I set in `org-attach-git-commit' the

Re: tickler file & recurring events

2021-01-30 Thread Ihor Radchenko
Saša Janiška writes: > so wonder if > it's possible for such tasks to be added to agenda view **only** when > they're due and not before? Check org-agenda-show-future-repeats ( v org-agenda-show-future-repeats ). Best, Ihor

Re: org-attach-git don't automatically commit changes

2021-01-29 Thread Ihor Radchenko
Juan Manuel Macías writes: > I don't see that org-attach "automatically commit changes when it sees > them". Only when I run in the attached directory `M-: > (org-attach-git-commit) RET' it works fine. Note that org "sees" changes in the attachment dir only when you use M-x org-attach command

Re: [PATCH] Org Agenda Support Argument Collection for Custom Bulk Functions (was: Custom Bulk Functions With Prompt)

2021-01-21 Thread Ihor Radchenko
Kevin Foley writes: > Attached patch should allow user to specify a function to collect > arguments when calling a custom bulk function such that those arguments > are only collected once and used for each entry. Looks good for me. Maybe you can also add an entry to ORG-NEWS. Marking this

Re: Bug: [enhancement] "Insert Link" (C-c C-l) to propose completion (dired-listing?) of local files when link=local-file [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2021-01-20 Thread Ihor Radchenko
Guillaume MULLER writes: > This is a simple enhancement proposition for C-c C-l (insert link): when > user starts the link with ./ or / or file: , it would be great if org-mode > could > propose completions based on some local-files listing (dired?) org-mode does it already. Try C-c C-l file:

Re: logrepeat only logging LAST_REPEAT

2021-01-20 Thread Ihor Radchenko
Michael Heerdegen writes: > Do you think others may want the same and it could be worth to implement > this feature? It should be not too hard to implement. For example, one can add another possible value of org-log-repeat. Patches welcome ;) Best, Ihor

Re: logrepeat only logging LAST_REPEAT

2021-01-20 Thread Ihor Radchenko
Michael Heerdegen writes: > As far as I understand, the logging is implemented in > `org-auto-repeat-maybe', and the thing I do not want is caused by the > `org-add-log-setup' call, and that is done unconditionally unless > `org-log-repeat's value is nil. Which I don't want because this would >

Re: Custom Bulk Functions With Prompt

2021-01-19 Thread Ihor Radchenko
Kevin Foley writes: > '((?R (set-category set-category-args)) > (?C bulk-cut)) > > I mostly went with this because I'm not very familiar with `pcase'. > I've confirmed it works as expected but let me know if you still think > another approach is better. I understand now. I thought you wanted

Re: logrepeat only logging LAST_REPEAT

2021-01-19 Thread Ihor Radchenko
Michael Heerdegen writes: > Is there a way to get only the :LAST_REPEAT: prop logged, without the > ever-growing list? I guess you can try to play with org-log-done and org-log-repeat variables. Best, Ihor

Re: Region-based meta-notes

2021-01-19 Thread Ihor Radchenko
Lawrence Bottorff writes: > So yes, simply being able to select regions and make side notes about them > could give you a very fine level of control over metadata in a file. Is > there such a thing in the Emacs/org-mode world? I use inlinetasks for this. You can add notes to inlinetask just as

Re: Why are (UU)IDs limited to the headline level?

2021-01-18 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: > You can use <> to make it possible to link to any > place in a document. It does not work globally though. One cannot just put [[id:some-anchor-name]] link in other file. Best, Ihor

Re: Custom Bulk Functions With Prompt

2021-01-18 Thread Ihor Radchenko
Kevin Foley writes: > +(`(,_ ,f) > +(when (listp f) > + (let ((args (funcall (nth 1 f))) > +(func (nth 0 f))) > +(setq f (apply #'apply-partially func args > +(setq cmd f) (setq redo-at-end t)) That will not

Re: Feature request

2021-01-17 Thread Ihor Radchenko
Raoul Comninos writes: > With your permission can I post your solution to stack-exchange, > crediting you? Sure. The public message URL is https://orgmode.org/list/87sg70vsvy.fsf@localhost/ Best, Ihor

Re: Feature request

2021-01-17 Thread Ihor Radchenko
Raoul Comninos writes: > It works now and its awesome! I cannot believe that they had this > feature and removed it. I am a very happy man and I cannot thank you enough. This feature creates a lot of junk text when attachment folder gets very large. For example, I keep my travel photos as

Re: Custom Bulk Functions With Prompt

2021-01-17 Thread Ihor Radchenko
Kevin Foley writes: > I took a look this morning and came up with the attached patch. > Essentially if the custom function is a list then the first element is > the bulk function and the second is the argument function. > > If that looks reasonable I can add some documentation and submit a >

Re: [feature request] A new cookie type [!] showing the last note taken

2021-01-17 Thread Ihor Radchenko
Christopher Miles writes: > I think this is possible through read last note text in logbook, then display > it > in headline through text-property overlay. > > That's what I did in this package > [[https://github.com/stardiviner/org-link-beautify]] > > Should not be that hard to implement it.

Re: Feature request

2021-01-17 Thread Ihor Radchenko
Raoul Comninos writes: > I have copied the code to my dot Emacs, but now when I try to add an > attachment now, it generates this error: > > run-hook-with-args: Wrong number of arguments: (lambda nil "Save list of > attachments to ORG_ATTACH_FILES property." (when-let* ((dir > (org-attach-dir))

Re: Feature request

2021-01-16 Thread Ihor Radchenko
I think something like the following will do (untested): (defun org-attach-save-file-list-to-property () "Save list of attachments to ORG_ATTACH_FILES property." (when-let* ((dir (org-attach-dir)) (files (org-attach-file-list dir))) (org-set-property "ORG_ATTACH_FILES"

Re: Feature request

2021-01-16 Thread Ihor Radchenko
Raoul Comninos writes: >> Listing all the attached files used to be the built-in, but it was >> removed a few years ago. > Oh, that's a pity. Thanks for responding. You can still implement it on your side for personal use. There is org-attach-after-change-hook where you can put a custom

Re: Custom Bulk Functions With Prompt

2021-01-16 Thread Ihor Radchenko
Kevin Foley writes: > I'd like to setup a custom bulk function using > `org-agenda-bulk-custom-functions', however I'd like to receive one > prompt when I select the action and then have the action performed on > every entry without being prompted again. Generally, you can set a variable

Re: Feature request

2021-01-16 Thread Ihor Radchenko
Raoul Comninos writes: > https://emacs.stackexchange.com/questions/62761/seeing-file-names-in-todo-entries-when-using-org-attach?noredirect=1#comment98901_62761 > --- Listing all the attached files used to be the built-in, but it was removed a few years ago. Best, Ihor

Re: Feature request

2021-01-16 Thread Ihor Radchenko
Raoul Comninos writes: > https://emacs.stackexchange.com/questions/62761/seeing-file-names-in-todo-entries-when-using-org-attach?noredirect=1#comment98901_62761 > --- Listing all the attached files used to be the built-in, but it was removed a few years ago. Best, Ihor

Re: Org-capture template no longer recognised...

2021-01-08 Thread Ihor Radchenko
Neil Shephard writes: > Beyond downgrading each of the packages I listed if anyone has suggestions > on how to debug this further please let me know, more than happy to work > through this and post back to the list. You can try bug-hunter package [1] to narrow down the cause. One example of

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Ihor Radchenko
Gerardo Moro writes: > Thanks. Then why is in > https://orgmode.org/worg/org-contrib/org-protocol.html#installation this > confusing bit? Here is more detailed instruction: https://github.com/alphapapa/org-protocol-capture-html#org-protocol-instructions

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Ihor Radchenko
Gerardo Moro writes: > Thanks, guys. > I'll have a look. > I understand that using org-protocol in combo with org-capture I would have > to visit the Emacs window for capturing the copied text or not? > Because this is crucial, as I aim to avoid this step. > Thanks! If your capture template has

Re: accounting

2021-01-05 Thread Ihor Radchenko
Also, ledger can format output as Elisp sexp (with emacs command). That should be easier to parse. Best, Ihor

[PATCH] Fix typo in f948234cb

2021-01-03 Thread Ihor Radchenko
--- contrib/lisp/org-contacts.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el index 82881ecd0..4b93de664 100644 --- a/contrib/lisp/org-contacts.el +++ b/contrib/lisp/org-contacts.el @@ -54,8 +54,8 @@

Re: Let emacs align all columns automatically on-the-fly within orgmode.

2020-12-28 Thread Ihor Radchenko
Hongyi Zhao writes: > I use Chinese characters in some column, and it seems that pressing > TAB can't do the trick for this senario. Take a look at https://github.com/casouri/valign Best, Ihor

Re: Yet another browser extension for capturing notes - LinkRemark

2020-12-26 Thread Ihor Radchenko
Maxim Nikulin writes: > I just inspected pages on several sites using developer tools and added > code that handles noticed elements. I see. I basically did the same, except some minimal support for OpenGraph (though I stopped when I saw that even YouTube is not following the standard, except

Re: [9.4] Fixing logbook visibility during isearch

2020-12-26 Thread Ihor Radchenko
Kévin Le Gouguec writes: > Ihor Radchenko writes: > >> Kévin Le Gouguec writes: >> >>> 1.2. stumps me: is there an isearch API I can use while in the callback >>> to know where the matches are located? >> >> I do not think that th

Re: [9.4] Fixing logbook visibility during isearch

2020-12-25 Thread Ihor Radchenko
Kévin Le Gouguec writes: > 1.2. stumps me: is there an isearch API I can use while in the callback > to know where the matches are located? I do not think that there is direct API for this, but the match should be accessible through match-beginning/match-end, as I can see from the isearch.el

Re: Yet another browser extension for capturing notes - LinkRemark

2020-12-25 Thread Ihor Radchenko
Maxim Nikulin writes: > I am experimenting with a browser add-on that is intended > to be a bridge between browser and Org mode. > In the family of Org mode capture helpers it is among ones > that adds web page metadata to the note. > Source code repository:

Re: [9.4] Fixing logbook visibility during isearch

2020-12-25 Thread Ihor Radchenko
Kévin Le Gouguec writes: > Ihor Radchenko writes: > >> My current plan is supporting the overlay-based approach even after >> merging the branch (by default). So, overlays should be around for a >> while and the issue with drawer visibility will be around as well,

Re: [9.4] Fixing logbook visibility during isearch

2020-12-24 Thread Ihor Radchenko
Kévin Le Gouguec writes: > I've looked at your branch for inspiration, and my takeaway is that the > isearch-open-invisible-temporary route might be too involved for a > bugfix, especially if it's going to be reverted wholesale when your > branch gets merged. Then again, maybe I'm not smart

Re: Adding Org Files to org-agenda-files

2020-12-24 Thread Ihor Radchenko
steve-humphr...@gmx.com writes: > But you can use scripts on them, parsing operations to other programs, > and analysis. Sorry, I miss your point here. Could you clarify what "them" referred to? Best, Ihor

Re: strange behavior of @ in tag searches

2020-12-23 Thread Ihor Radchenko
"Victor A. Stoichita" writes: > I modify the syntax table for text modes to handle the meaning of > some characters in French. In fact, te actual modification doesn’t > seem to matter. The following is enough to trigger the described > behavior: > > --8<---cut

Re: strange behavior of @ in tag searches

2020-12-22 Thread Ihor Radchenko
Kyle Meyer writes: > Hmm, I tried on master (9140a712f) and maint (97f1d8e34) and can't > trigger the issue. > > Am I overlooking some detail? Curious. I tried again and I cannot reproduce both on master and on master with my config. Sorry for the noise. Best, Ihor

[PATCH] Document changes of headline fontification introduced in 979e82fc3

2020-12-21 Thread Ihor Radchenko
/issues/8 Best, Ihor >From 4fa9c08fabb17bddd760ec8491c140b7d1d1c91f Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Mon, 21 Dec 2020 23:26:49 +0800 Subject: [PATCH] Document changes of headline fontification introduced in 979e82fc3 * etc/ORG-NEWS (=org-goto-first-child= now works bef

Re: strange behavior of @ in tag searches

2020-12-20 Thread Ihor Radchenko
"Victor A. Stoichita" writes: > I just realized that with "emacs -Q" both searches yield the > expected results. > I have emacs 27.1 which ships org-mode 9.3. > Could I have set inadvertently something that changes the meaning > of @ in tag searches? Or was there a change in that respect >

Re: stability of toc links

2020-12-19 Thread Ihor Radchenko
Carsten Dominik writes: > Dear all, > > I am sorry, I have trouble finding the time to work on this - so if someone > else wants to look further into this, that would be great. > > Carsten FYI, there is also built-in generator for bibtex ids - bibtex-generate-autokey from bibtex.el. It does a

Re: [9.4] Fixing logbook visibility during isearch

2020-12-17 Thread Ihor Radchenko
Kévin Le Gouguec writes: > Since the changes in Org 9.4 aimed at improving performance, is there a > test case somewhere in the "Mitigating the poor Emacs performance on > huge org files" thread that could help ensure that a tentative fix will > not degrade performance? The first message in the

Re: Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 Thread Ihor Radchenko
stardiviner writes: > Ok, I added `org-id-link-to-org-use-id` support now. Check out the latest > update in Git. Thanks! The issue seems to be fixed for me.

[PATCH] org-attach: Consider inlinetasks when calculating attach dir

2020-12-16 Thread Ihor Radchenko
Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 17 Dec 2020 14:03:30 +0800 Subject: [PATCH] org-attach: Consider inlinetasks when calculating attach dir * lisp/org-attach.el (org-attach): When inside inlinetask, return attachment dir of that task. When outside inlinetask, return attachment

Re: Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 Thread Ihor Radchenko
stardiviner writes: > Sure, I didn't expected that soon bug appears. I checked source code, I > commented out an condition accidentally. > Here is the patch. Tested it should work now. What about adding support for org-id? Is it necessary to use headline text as a search string even when

Re: [9.4] Fixing logbook visibility during isearch

2020-12-16 Thread Ihor Radchenko
Kévin Le Gouguec writes: > I can't find any reference to this property in Org <9.4 (e.g. 9.3 as > shipped in 27.1, where the bug does not happen) so do I understand > correctly that the root cause ("since [drawers] are in the same overlay > with the rest of the folded heading") dates from Org

Bug: org-contacts.el: org-contacts-link-store breaks org-id [9.4.2 (release_9.4.2-307-g8840af @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-12-16 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.

[PATCH] ob-gnuplot: Fix error on non-string :var assignment

2020-12-16 Thread Ihor Radchenko
ariables. ob-gnuplot from master throws error when checking (file-remote-p ...). The fix is attached. Best, Ihor >From 8840afe1446177e5355e190fcaf6ce79d00ac0c6 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Wed, 16 Dec 2020 16:23:41 +0800 Subject: [PATCH] ob-gnuplot: Fix error on non

Re: [9.4] Fixing logbook visibility during isearch

2020-12-15 Thread Ihor Radchenko
Kévin Le Gouguec writes: > The debugger only fires *after* we exit isearch, and by that time it's > too late: my issue comes from all those logbooks cluttering the screen > while I'm mashing C-s to iterate through matches. > > I can try to dig deeper into this, but before doing so: would you

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-15 Thread Ihor Radchenko
Jean Louis writes: > For PDF and video with specific start time I am using different type > of hyperlinks and not Org hyperlinks. So I was under impression that > Org hyperlinks to PDF support specific page. I have even prepared > myself to start including such in instructional manual. But do

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-14 Thread Ihor Radchenko
TRS-80 writes: > We are getting further and further afield from Orgmode discussion, > however I wanted to share the following article with anyone else who > followed this part of the thread all the way to this point: Oops. Actually, hypothes.is is related to org-mode in my mind. Mostly as a

Re: org-todo-yesterday with 1-day repeater tasks: repeats tomorrow

2020-12-14 Thread Ihor Radchenko
Ken Mankoff writes: > Hello list, > Are other experiencing this behavior? Is there some prefix arg I am missing > that I should be using? I have not found other complaining about this > behavior or reporting this issue, so I wonder if I'm missing something. If > not, I'll work on submitting a

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-14 Thread Ihor Radchenko
Jean Louis writes: > * Ihor Radchenko [2020-12-13 03:39]: >> Jean Louis writes: >> I have hypothes.is installed inside docker container locally. No serious >> protection is required in such case (at least, no more than one would >> use to protect private files f

Re: Emacs inserts hardwired org-agenda-files variable, overwriting user options

2020-12-14 Thread Ihor Radchenko
Jean Louis writes: > Do you mean this: > > ** DONE Objective >CLOSED: [2020-12-13 Sun 20:00] > *** TODO [#B] Step to do 1 > *** TODO Step to do 2 > > when org-enforce-todo-dependencies is true I can still say DONE for > Objective above. I have mentioned it today already. Maybe it works on >

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-13 Thread Ihor Radchenko
Jean Louis writes: >> I guess one would not need to teach people about everything in Emacs. If >> the aim is just editing and viewing PDF, one can provide custom Emacs >> configuration with added toolbars and menu items for common operations >> with pdf. I do not see why it would be any

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-13 Thread Ihor Radchenko
Jean Louis writes: >> I guess one would not need to teach people about everything in Emacs. If >> the aim is just editing and viewing PDF, one can provide custom Emacs >> configuration with added toolbars and menu items for common operations >> with pdf. I do not see why it would be any

Re: Adding Org Files to org-agenda-files

2020-12-13 Thread Ihor Radchenko
Dear Jean Louis, Thank you for the detailed insight into your extensive experience of project management and practical planning. I do not have that much experience, but can provide a significantly different point of view related to my research work. Jean Louis writes: > * Ihor Radchenko [2

Re: Emacs inserts hardwired org-agenda-files variable, overwriting user options

2020-12-13 Thread Ihor Radchenko
Jean Louis writes: > Org files I have always found useful for project and plan documents > preparation, in particular LaTeX and PDF export. As that way I get > better readability on screen and good printed document. > > None of such projects and plans need be marked with TODO as its nature > is

bug#45212: org-capture user-error: Abort

2020-12-13 Thread Ihor Radchenko
Jean Louis writes: > * Ihor Radchenko [2020-12-13 07:35]: >> > What case scenarios would rely >> > on user quitting capture rather than going ahead with an entry? >> >> For example, I have a custom capture function from email. The email is >> removed fr

Re: org-capture user-error: Abort

2020-12-13 Thread Ihor Radchenko
Jean Louis writes: > * daniela-s...@gmx.it [2020-12-12 23:19]: >> Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. > > Those are error messages invented by programmers who never had any > project supervisor who thinks of users. Please be nice. > If user wish to abort

bug#45212: org-capture user-error: Abort

2020-12-12 Thread Ihor Radchenko
daniela-s...@gmx.it writes: > Can't one throw a capture abort signal instead? Sure, that is possible. However, consider a possibility that some external package wants to detect when capture is aborted. If I was writing such package, I would need to do something like (condition-case err (t ))

bug#45212: org-capture user-error: Abort

2020-12-12 Thread Ihor Radchenko
daniela-s...@gmx.it writes: > Why it is intended? The user wanted to abort and Emacs obeyed. (q) is an > option, the user used it, > and Emacs should not throw an error at the user. I guess the intention was throwing signal + showing message to user. The same could certainly be implemented

Re: org-capture user-error: Abort

2020-12-12 Thread Ihor Radchenko
daniela-s...@gmx.it writes: > Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. This is intended. Normally, it just shows up as a message in the minibuffer. Or do you have debug-on-error enabled? Best, Ihor

Re: Bug fix attached: org-babel sql postgres, fix hardcode

2020-12-12 Thread Ihor Radchenko
> when defined. psql will For future: You need to use 2 spaces after sentence end ^_^. As I understand, these NEWS entries must have specific formatting to be harvested automatically into NEWS file. So, patches should comply with all the requirements listed in

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-12 Thread Ihor Radchenko
Jean Louis writes: > While it is easy to teach people to open single program, press a key, > and insert title, it is harder and time consuming to teach random > people how to use Emacs. This may not be true, it is just my current > impression. I guess one would not need to teach people about

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-12 Thread Ihor Radchenko
Jean Louis writes: > For private annotations with hypothes.is one can install it on own > server and protect system for one's own group. That will do only a > group that is serious enough or have serious demands for annotations. > Myself I do not prefer having too much software installed online

Re: Bug fix attached: org-babel sql postgres, fix hardcode

2020-12-12 Thread Ihor Radchenko
Alan Light writes: > Sorry, I don't understand. That's what I did. The patch was attached to my > email. You need to add patch description, not just title. Something like: * ob-sql.el (org-babel-execute:sql): Use `sql-postgres-program' as postgresql executable (instead of psql) when defined.

Re: Possible problem with org-agenda-time-grid

2020-12-11 Thread Ihor Radchenko
steve-humphr...@gmx.com writes: > (setq tm '(number-sequence 800 2000 100)) > (setq org-agenda-time-grid '((today daily require-timed) 'tm >"" "")) You need (setq tm (number-sequence 800 2000 100)) (setq org-agenda-time-grid `((today daily require-timed) ,tm ""

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-11 Thread Ihor Radchenko
> As an even better approach, I consider merging of independently stored > PDF file and annotations to it and presenting combined file with native > PDF annotations. Several years ago I have not find tools for such > operations, maybe new projects have appeared since that time. I think

Re: Emacs inserts hardwired org-agenda-files variable, overwriting user options

2020-12-11 Thread Ihor Radchenko
> ... there is no active > hacking on org-agenda and adding new features. You are welcome to submit patches. I have experimental code to use pretty-symbols in agenda and align tags even when frame size changes [1]. However, last time I proposed this on mailing list, there was no interest...

Re: Time Slots in Org-Agenda

2020-12-10 Thread Ihor Radchenko
>> See org-agenda-time-grid > > Where can I find some information on how to use it? Menu help -> Describe -> Describe variable org-agenda-time-grid or v org-agenda-time-grid Best, Ihor

Re: Time Slots in Org-Agenda

2020-12-10 Thread Ihor Radchenko
steve-humphr...@gmx.com writes: > What I would like to know is how to make the slots with smaller time > durations. Currently they are of two-hours, which I find too long. See org-agenda-time-grid Best, Ihor

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-09 Thread Ihor Radchenko
A side note: As Alan Schmitt pointed earlier, org-pdftools package allows creating links to specific pdf page or annotation on the page or to search string. It requires pdf-tools package as pdf viewer. Best, Ihor

[PATCH] Fix org-in-archived-heading-p when tag contains ARCHIVE as a substring

2020-12-09 Thread Ihor Radchenko
>From c62cbd6ac6cf6a845703b3f7cfb64fa68e39079a Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Wed, 9 Dec 2020 16:59:58 +0800 Subject: [PATCH] Fix org-in-archived-heading-p * lisp/org.el (org-in-archived-heading-p): When called on a heading with a tag containing org-archive-tag str

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-12-03 Thread Ihor Radchenko
Ihor Radchenko writes: > Hello, > >> There are still known problems though. The patch currently breaks many >> org-mode tests when running =make test=. It is partially because some >> tests assume overlays to be used for folding and partially because the >> patch ap

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Ihor Radchenko
Jean Louis writes: > What I do not know is how do I invoke script from qutebrowser to use > the environment variables? https://www.qutebrowser.org/doc/userscripts.html Basically, script can be just a bash script. You need to put it into userscripts directory and then you can call it from

Re: Bring up a screen giving option to open a series of orgmode files

2020-12-02 Thread Ihor Radchenko
Jean Louis writes: > I can see that Python is reading QUTE FIFO and then sending commands > to browser from there. Yes, but QUTE_FIFO variable is only available for the userscripts called from inside qutebrowser. Probably, there is some way to obtain FIFO location, but I am not aware about it.

Re: One vs many directories

2020-12-01 Thread Ihor Radchenko
Jean Louis writes: > That is great to hear. I wonder how it can be integrated with Emacs as > it is all Javascript based. The server is mostly python-based (see Language stats in https://github.com/hypothesis/h). They provide HTTP API: https://h.readthedocs.io/en/latest/api-reference/. There is

Fwd: Re: Bring up a screen giving option to open a series of orgmode files

2020-12-01 Thread Ihor Radchenko
Resending without large attachment. The attachment was uploaded to https://github.com/yantar92/org-mode-demos#refiling-multiple-headings-using-agenda-bulk-actions Best, Ihor Start of forwarded message From: Ihor Radchenko To: Jean Louis Cc: Gerardo

Re: One vs many directories

2020-12-01 Thread Ihor Radchenko
Jean Louis writes: > hypothes.is is free software that may be installed locally. > > https://github.com/hypothesis Thanks. You inspired me to try installing it locally again. The main problem with hypothesis is that it is designed to be deployed to a server and not to a local machine. Thus,

Re: Bring up a screen giving option to open a series of orgmode files

2020-11-30 Thread Ihor Radchenko
Jean Louis writes: > * Ihor Radchenko [2020-11-30 12:31]: >> I can see that you have implemented many of the suggested commands >> yourself. Why don't you just propose patches extending the functionality >> you desire? > > Good question, I have no idea in this moment w

Re: Adding Org Files to org-agenda-files

2020-11-30 Thread Ihor Radchenko
Jean Louis writes: > We write tasks in their most logical chronological order and every > staff member is instructed to follow the order. One simply cannot > drive a car without putting petrol first, so that system is > followed. Some tasks on the ground can be done without chronological > order

Re: One vs many directories

2020-11-30 Thread Ihor Radchenko
Jean Louis writes: > You could record on some of free hostings that respect users' freedom > that refrain of coercing non-free javascript such as: > > Open.tube upload > https://open.tube/videos/upload Thanks for this reference. You also mentioned hypothes.is earlier. Do you know if there is

Re: One vs many directories

2020-11-30 Thread Ihor Radchenko
Jean Louis writes: > You could record on some of free hostings that respect users' freedom > that refrain of coercing non-free javascript such as: > > Open.tube upload > https://open.tube/videos/upload Thanks for this reference. You also mentioned hypothes.is earlier. Do you know if there is

Re: Bring up a screen giving option to open a series of orgmode files

2020-11-30 Thread Ihor Radchenko
Jean Louis writes: > How to Run a More Secure Browser > https://www.dragonflybsd.org/docs/handbook/RunSecureBrowser/ There is also Firejail these days: https://wiki.gentoo.org/wiki/User:Sakaki/Sakaki%27s_EFI_Install_Guide/Sandboxing_the_Firefox_Browser_with_Firejail#Sandboxing_with_Firejail >

  1   2   3   4   >