Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options))

2024-07-15 Thread Daniel Clemente
to top level“, and the whole contents of the section being encrypted are lost. On Thu, 11 Jul 2024 at 10:39, Ihor Radchenko wrote: > > Daniel Clemente writes: > > > I see it's trying to decrypt things (therefore it asks for the > > password). It shouldn't, since I didn't

Re: Q: Attachments and IDs?

2024-07-11 Thread Daniel Fleischer
You can override the ID generation and the ID-to-path function to create an attachment hierarchy of your liking, e.g. ATTACH-DIR/year/month-day/*files* Checkout `org-attach-id-to-path-function-list' and `org-id-new'. Daniel

Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options))

2024-07-10 Thread Daniel Clemente
> > With that code I see something strange: I opened a file which had > > encrypted :crypt: sections (never unencrypted), and after adding a > > space somewhere else and saving, it asked me for an encryption > > password. It shouldn't, since all sections are encrypted. > > I also see „org-crypt:

Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options))

2024-07-04 Thread Daniel Clemente
> May you try > https://git.sr.ht/~yantar92/org-mode/log/feature/org-crypt-refactor branch? > Is encryption speed satisfactory then? With that code I see something strange: I opened a file which had encrypted :crypt: sections (never unencrypted), and after adding a space somewhere else and

Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options))

2024-07-02 Thread Daniel Clemente
> > For instance, I don't use it because it adds around 5 seconds to each > > saving of a large file. If it were instantaneous I would enable it. > > With it disabled, this explains why I often find unencrypted sections > > at the end of the day… I have to rely on myself to reencrypt them > >

Re: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options)

2024-07-02 Thread Daniel Clemente
> > In addition, „leaving some encrypted sections unencrypted for a short > > amount of time, and closing and reopening the buffer during that time“ > > isn't a bug, it's a possible user behaviour that we can't control. But > > org-crypt can mention that that behaviour is unsafe when using on-disk

Re: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options)

2024-06-27 Thread Daniel Clemente
> > As for not typing the same password twice and not using > org-crypt-use-before-save-magic, we should somehow fix this. > (I am starting a new thread branch.) > „Not using org-crypt-use-before-save-magic“ is currently a user decision, not a bug. For instance, I don't use it because it adds

Re: Please document the caching and its user options

2024-06-26 Thread Daniel Clemente
> > A user has somefile.org which contains some headers marked with the > > "crypt" tag. Only those headers are encrypted. The org-element cache > > may now cache the whole file, including the encrypted headers (this is > > ok). Now the user temporarily decrypts the encrypted header, works on > >

Re: Please document the caching and its user options

2024-06-23 Thread Daniel Clemente
> > Thanks! > I am attaching tentative patch that improve the documentation. I hope > that it clarifies things for you. > > Thanks. I'm not sure about the "unless" part here: > Persisting the cache to disk […] > It is not recommended if the Org files > include sensitive data, unless the data is

Re: Please document the caching and its user options

2024-06-17 Thread Daniel Clemente
> > In particular, when setting (setq org-element-cache-persistent nil) > > org-mode *should not* create an org-persist directory anywhere. And I > > think it shouldn't activate org-persist timers (it does now) or hooks. > > The user's preference should be respected. > > Nope. "org-persist"

Re: Please document the caching and its user options

2024-06-15 Thread Daniel Clemente
> > Please document the caching features of Org in the manual, including > > how to turn that off. (I also question the wisdom of turning this on > > by default without as much as a single request for confirmation from > > the user.) > Hmm. What aspect of caching do you want us to document? >

Add 'readonly' option to ob-sqlite

2024-06-07 Thread Daniel M. German
] >From 7df14e4ac2dcdc8fbdf647bff31c9e03f33bd73a Mon Sep 17 00:00:00 2001 From: Daniel M German Date: Thu, 6 Jun 2024 23:34:28 -0700 Subject: [PATCH] lisp/ob-sqlite.el: add a new parameter called readonly. If present, the database is open in read-only mode. This is implemented by pass

Re: Table formula format string doesn't recognize %

2024-05-21 Thread Daniel Clemente
Thanks. On Tue, 21 May 2024 at 09:10, Ihor Radchenko wrote: > Daniel Clemente writes: > > > Hi, this stopped working, possibly after a related change > > to org-table-eval-formula 2 days ago. > > > > | a | b | percent of a in b | > > |++---

Table formula format string doesn't recognize %

2024-05-21 Thread Daniel Clemente
Hi, this stopped working, possibly after a related change to org-table-eval-formula 2 days ago. | a | b | percent of a in b | |++---| | 10 | 20 | #ERROR| | 20 | 30 | #ERROR| #+TBLFM: $3=($1/$2)*100;%.2f%% A simpler format string like ;%.2f also

Link to #ID-id:

2024-04-09 Thread Daniel Clemente
Hi, after updating org-mode and emacs to latest commits, I have seen that some links to IDs in different files are exported like this: some link: link Shouldn't it be?: otherfile.html#c5m2je81pue0 I didn't have time to debug this yet or see if it's from my setup. I may do it in the next

Re: [proof of concept] inline language blocks

2024-03-31 Thread Daniel Clemente
> I have thought of a syntax that is as least intrusive as possible, so as > not to make reading uncomfortable. I have tried the following: > > :fr{some text in French} :it{some text in Italian} :la{some text in Latin} Sorry for joining the discussion a bit late. A long time ago I created a

Re: [BUG] repeated warnings about org-element-at-point "cannot be used in non-Org buffer" [9.7 (9.7-??-57b94f3 @ /Users/cstevens/.emacs.d/.local/straight/build-29.2/org/)]

2024-02-07 Thread Daniel Clemente
Thanks, I replaced org-cycle/org-global-cycle with outline-cycle/outline-cycle-buffer, and then the outlining works. On Tue, 6 Feb 2024 at 18:56, Ihor Radchenko wrote: > Daniel Clemente writes: > > > I also see the warnings. In my case it's because I'm using outline-minor > >

Re: [BUG] repeated warnings about org-element-at-point "cannot be used in non-Org buffer" [9.7 (9.7-??-57b94f3 @ /Users/cstevens/.emacs.d/.local/straight/build-29.2/org/)]

2024-02-06 Thread Daniel Clemente
I also see the warnings. In my case it's because I'm using outline-minor mode in an elisp file. I'm not sure it's supported, but it worked years ago: I could fold and unfold sections with usual org-mode keys like C-tab. I miss that feature. I never managed to learn the real outline-mode

Re: An academic journal entirely made in Org-Mode

2024-01-29 Thread Daniel Ortmann
Yes, please! -- Daniel Ortmann https://www.linkedin.com/in/danieldeanortmann/ https://ieee-collabratec.ieee.org/app/p/DanielDeanOrtmann/ 612-518-3147 m On 1/29/24 14:03, Juan Manuel Macías wrote: Hi, In last December, issue 23 of the "Revista de Estudios Latinos" (Journal of Lat

Re: [POLL] Any users setting `org-agenda-use-tag-inheritance' to nil or other non-default value?

2024-01-16 Thread Daniel Clemente
> 1. If you customized it to speed up agendas, are agendas still slow on the latest main? I disabled org-agenda-use-tag-inheritance but I can't provide a lot of feedback because I don't use many tag filters: 1. I disabled it in a batch script that exports my agenda, though it doesn't actually

Org site is down

2023-11-05 Thread Daniel Fleischer
Orgmode.org appears to be down.

Re: [BUG] org agenda showing current time - not task time when closing repeatedly-scheduled task [9.7-pre (release_9.6.10-840-g9fcbd1 @ /home/d/src/git-org-mode/lisp/)]

2023-10-16 Thread Daniel Ortmann
quot; And that's ok!  :-) Thank you for your attention to this matter which now is clearly smaller than expected. On 10/16/23 02:38, Ihor Radchenko wrote: Daniel Ortmann writes: No, no, not clock check mode. - I created a TODO with a scheduled time that repeats.  When completed it remains a

Re: [BUG] org agenda showing current time - not task time when closing repeatedly-scheduled task [9.7-pre (release_9.6.10-840-g9fcbd1 @ /home/d/src/git-org-mode/lisp/)]

2023-10-15 Thread Daniel Ortmann
ock time" again is correctly recorded in the log. I hope the screen captured images came across in the previous email?  They should help explain. On 10/15/23 04:00, Ihor Radchenko wrote: Daniel Ortmann writes: In the last entry below, the "Clocked:" part of the log would have showe

Re: [BUG] org agenda showing current time - not task time when closing repeatedly-scheduled task [9.7-pre (release_9.6.10-840-g9fcbd1 @ /home/d/src/git-org-mode/lisp/)]

2023-10-15 Thread Daniel Ortmann
blem fixed ... but it would be nice to know it was not an accidental fix. Thank you!  You can close it or investigate further at your discretion. On 10/15/23 03:39, Ihor Radchenko wrote: Daniel Ortmann writes: I have a repeatedly-scheduled TODO with this entry for the schedule: SCHEDULED: &

[BUG] org agenda showing current time - not task time when closing repeatedly-scheduled task [9.7-pre (release_9.6.10-840-g9fcbd1 @ /home/d/src/git-org-mode/lisp/)]

2023-10-14 Thread Daniel Ortmann
24.37, cairo version 1.16.0) of 2023-10-14 Package: Org mode version 9.7-pre (release_9.6.10-840-g9fcbd1 @ /home/d/src/git-org-mode/lisp/) -- Daniel Ortmann 612-518-3147 m key: C9E170E2, fingerprint = 81BB 6CAF F1EC F6C7 690C F4E9 66D7 7AFD C9E1 70E2

Re: [BUG] org sub tree sort broken [9.7-pre (release_9.6.10-827-ge15699 @ /home/d/src/git-org-mode/lisp/)]

2023-10-12 Thread Daniel Ortmann
Fix confirmed. Thank you! On 10/12/23 03:21, Ihor Radchenko wrote: Daniel Ortmann writes: org-element--generate-copy-script: Symbol\u2019s function definition is void: org-export--list-bound-variables Sorry. Silly mistake in a recent commit. Fixed, on main. https://git.savannah.gnu.org

[BUG] org sub tree sort broken [9.7-pre (release_9.6.10-827-ge15699 @ /home/d/src/git-org-mode/lisp/)]

2023-10-11 Thread Daniel Ortmann
, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-10-11 Package: Org mode version 9.7-pre (release_9.6.10-827-ge15699 @ /home/d/src/git-org-mode/lisp/) -- Daniel Ortmann 612-518-3147 m key: C9E170E2, fingerprint = 81BB 6CAF F1EC F6C7 690C F4E9 66D7 7AFD C9E1 70E2

Re: [BUG] Failing tests for ob-clojure

2023-08-25 Thread Daniel Kraus
Ihor Radchenko writes: >> Unfortunately you're right and I would even say we can completely >> remove `test-ob-clojure.el`. >> There seems to be only tests for session support which currently >> doesn't exist anymore and another one which tests plain tangle >> and is not really Clojure

Re: [BUG] Failing tests for ob-clojure

2023-08-24 Thread Daniel Kraus
t anymore and another one which tests plain tangle and is not really Clojure specific. I would love to write new tests but as I just started a new job and got a new baby at the same time, I don't think I'll find the time for it the next 3-4 month :( Thanks, Daniel

[BUG] org-up-heading-safe navigates above top heading [9.5.5 (release_9.5.5 @ /opt/homebrew/Cellar/emacs-plus@28/28.2/share/emacs/28.2/lisp/org/)]

2023-07-26 Thread Daniel Liden
Summary: I started to encounter some errors while using the org-fc package after. I traced it back to a change in behaviour from org-up-heading-safe following some updates to my system. I did not see this change documented. Old behavior: org-up-heading-safe will not move the point above the top

Re: [BUG] wrong-type-argument syntax-table-p "Syntax table including \"@\" and \"_\" as word constituents.

2023-05-29 Thread Daniel Clemente
It works now. Thanks! On Mon, 29 May 2023 at 08:34, Ihor Radchenko wrote: > Daniel Clemente writes: > > > there was a recent change to how the tags table is initialized. I think > > that as a side effect, some tag functions like org-tags-expand don't work > > unl

[BUG] wrong-type-argument syntax-table-p "Syntax table including \"@\" and \"_\" as word constituents.

2023-05-27 Thread Daniel Clemente
Hi, there was a recent change to how the tags table is initialized. I think that as a side effect, some tag functions like org-tags-expand don't work unless you open an org-mode buffer first. I have a small bash script that exports my agenda; right in the beginning (before opening any org-mode

[BUG] org-element-cache [9.6.5 (release_9.6.5-3-g2993f4 @ /opt/homebrew/Cellar/emacs-plus@29/29.0.90/share/emacs/29.0.90/lisp/org/)]

2023-05-22 Thread Daniel Popescu
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.

Re: ob-clojure: results quoted nil

2023-05-17 Thread Daniel Kraus
rent Clojure backends and it worked in all cases (that I tested). Cheers, Daniel

Re: ob-clojure: results quoted nil

2023-05-17 Thread Daniel Kraus
ly the last one was actually a bug. Can you try again with the latest org (/ob-clojure) version? You should now only get: #+RESULTS: : nil is falsey Thanks, Daniel

Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-08 Thread Daniel Kraus
debug-on-error t debug-on-signal nil debug-on-quit nil) ;; Add latest Org mode to load path. (add-to-list 'load-path (expand-file-name "/home/daniel/.emacs.d/lib/org/lisp")) (org-babel-do-load-languages 'org-babel-load-languages '((clojure . t))) #+END_SRC /usr/bin/ema

Re: [PATCH] Add compat.el support to Org (was: [POLL] Use compat.el in Org? (was: Useful package? Compat.el))

2023-04-01 Thread Daniel Mendler
d to update Org's build system to handle third-party packages. > Please, give it a close check (first patch). > > The second patch adds the actual Elisp part and replaces some > compatibility functions with what is provided by compat.el. > Note that not all the functions are available i

Re: [patch] ob-clojure: Fix results output

2023-03-23 Thread Daniel Kraus
bel are not used in this function." > > I like the second variant better. Thanks. I pushed the fix. Cheers, Daniel

Re: [patch] ob-clojure: Fix results output

2023-03-23 Thread Daniel Kraus
abel are not used in this function." Writing good docstrings is hard :D Cheers, Daniel

Re: [External] : Re: [BUG] updating existing org date with time always sets time to 0:00 [9.6.1 (release_9.6.1-262-gd94f40 @ /home/dortmann/src/git-org-mode/lisp/)]

2023-03-22 Thread Daniel Ortmann
to 1970. (Yes, I am replying to the correct thread which corresponds to the bug report submitted.) On 3/22/23 10:10, Ihor Radchenko wrote: Daniel Ortmann writes: Since that existing timestamp at point is supposed to be used as the default, we definitely have a bug ==>> ... Since that 'd

Re: [External] : Re: [BUG] updating existing org date with time always sets time to 0:00 [9.6.1 (release_9.6.1-262-gd94f40 @ /home/dortmann/src/git-org-mode/lisp/)]

2023-03-22 Thread Daniel Ortmann
chenko wrote: Daniel Ortmann writes: file org-plain-date-to-date-time.org has: * plain date C-c ! gives: [2023-02-21 Tue] * updating plain date C-c ! followed by C-u C-! gives: [2023-02-21 Tue 00:00] * date-time C-u C-c ! gives: [2023-02-21 Tue 14:13] I expected that updating an existing date with

Re: [BUG] incorrect result with C-c ! to correct (complete) a date [9.7-pre (release_9.6.1-306-ga645a6 @ /home/d/src/git-org-mode/lisp/)]

2023-03-21 Thread Daniel Ortmann
: On 20/03/2023 08:56, Daniel Ortmann wrote: Starting with this manually-typed birthday date: [1960-10-16] Use the arrows to move to the text. Now press C-c ! and then ENTER I expected this result, i.e. I expected the day of the week to be added: [1960-10-16 Sun] If all what you need is to add day

[BUG] incorrect result with C-c ! to correct (complete) a date [9.7-pre (release_9.6.1-306-ga645a6 @ /home/d/src/git-org-mode/lisp/)]

2023-03-20 Thread Daniel Ortmann
, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2023-03-19 Package: Org mode version 9.7-pre (release_9.6.1-306-ga645a6 @ /home/d/src/git-org-mode/lisp/) -- Daniel Ortmann 612-518-3147 m key: C9E170E2, fingerprint = 81BB 6CAF F1EC F6C7 690C F4E9 66D7 7AFD C9E1 70E2

Re: [SUGGESTION] separate ob-clojure.el into Clojure part ob-clojure.el and ClojureScript part ob-clojurescript.el

2023-03-19 Thread Daniel Kraus
jure. It would be very simple if they have a CLI like the JVM Clojure. > The only downside is that people might need to > (require 'ob-clojurescript) > I am thinking if ob-core.el should try to automatically guess the > correct library to be loaded. We could just (require 'ob-clojurescript) inside ob-clojure.el ?! Cheers, Daniel

Re: [patch] ob-clojure: Fix results output

2023-03-19 Thread Daniel Kraus
_ in > `ob-clojure-eval-with-cider'. Ups, sorry. Before `params` was only used to receive the :target parameter if it's a cljs or clj block. But that's now just a regular parameter to the function. I fixed it with a _ prefix. Cheers, Daniel

Re: [patch] ob-clojure: Fix results output

2023-03-15 Thread Daniel Kraus
r they affect Clojure or ClojureScript blocks. I changed the docstrings to always mention either Clojure or ClojureScript. I'm open for more improvements/suggestions. Attached a new patch. Thanks, Daniel >From 391bdd403f643fa75cceeb0c81f117996c2374b0 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Thu,

Re: [patch] ob-clojure: Fix results output

2023-03-14 Thread Daniel Kraus
Daniel Kraus writes: > Attached is the new patch with the changes. > > [2. text/x-patch; 0001-lisp-ob-sql.el-Add-support-for-Athena.patch]... Ups, I attached the wrong one. Here the correct patch.. >From db0634b5ab0b5c8c996c5dcbbeb266b720c67459 Mon Sep 17 00:00:00 2001 From:

Re: [patch] ob-clojure: Fix results output

2023-03-14 Thread Daniel Kraus
Hi! Ihor Radchenko writes: > Daniel Kraus writes: > >> This was apparently a kludge that ob-clojure used to evaluate ClojureScript >> in the normal clojure:execute function. >> I simply used the same kludge where I need to check for cljs, but after >> reviewing i

Re: [patch] ob-clojure: Fix results output

2023-03-13 Thread Daniel Kraus
emoved the :target parameter completely. As this was undocumented I guess it's ok to remove?! >> -(defun ob-clojure-eval-with-babashka (bb expanded) >> - "Evaluate EXPANDED code block using BB (babashka or nbb)." >> - (let ((script-file (org-babel-temp-file "cloju

[patch] ob-clojure: Fix results output

2023-03-09 Thread Daniel Kraus
instead of only the last one, they get a different result now. Is it ok to install? Other feedback? Cheers, Daniel >From 77783d864d81ef1d962c302523d7c588f248c088 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Thu, 9 Mar 2023 16:11:27 +0100 Subject: [PATCH] ob-clojure.el: Fix results out

Re: org-babel guile source block bug in handling multiple values

2023-03-09 Thread Daniel Kraus
Ihor Radchenko writes: > Zelphir Kaltstahl writes: >> (q1) What is a rationale, if any, behind the let-wrapping? > > It makes sense in ob-emacs-lisp to not litter global Emacs state. > In other ob-* lisp backends, I am not sure. > I am CCing Daniel, the maintainer o

[BUG] updating existing org date with time always sets time to 0:00 [9.6.1 (release_9.6.1-262-gd94f40 @ /home/dortmann/src/git-org-mode/lisp/)]

2023-02-21 Thread Daniel Ortmann
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.

Re: feature request: easy embedding of images

2023-02-21 Thread Daniel Fleischer
s for the attached image, see link https://github.com/abo-abo/org-download/blob/master/org-download.el#L178-L184 It's not a prompt, it's a template and you can fill the alt description. -- Daniel Fleischer

Re: feature request: easy embedding of images

2023-02-20 Thread Daniel Fleischer
. I want to suggest the package https://github.com/abo-abo/org-download which I use all time, for dragging and dropping images and for taking screeshots. -- Daniel Fleischer

Re: [BUG] Incorrect display of folded headings after cycling with subheading with VISIBILITY content/children

2023-02-15 Thread Daniel Hubmann
Ah, my bad. Got confused. The output above set according to the properties is correct. Thanks a lot for the fast fix. On Wed, Feb 15, 2023 at 11:26 PM Daniel Hubmann wrote: > Thanks for the partial fix. > > Unfortunately there is still something strange going on as the last >

Re: [BUG] Incorrect display of folded headings after cycling with subheading with VISIBILITY content/children

2023-02-15 Thread Daniel Hubmann
Ones (missing)*** LET **(missing)* *** LAMBDA XMATCH (missing)*** XLOOKUP* *(missing)* * Dynamic Array Formulas Setting org-fold-core-style to overlays doesn't change the outcome. On Wed, Feb 15, 2023 at 4:30 PM Ihor Radchenko wrote: > Daniel Hubmann writes: > > > * H

Re: [BUG] Incorrect display of folded headings after cycling with subheading with VISIBILITY content/children

2023-02-15 Thread Daniel Hubmann
Tried (setq org-fold-core-style 'overlays) which is mentioned in the link. Unfortunately the behaviour is still the same. On Tue, Feb 14, 2023 at 10:15 PM William Denton wrote: > On 14 February 2023, Bruno Barbier wrote: > > > Daniel Hubmann writes: > > > >> Aft

[BUG] Incorrect display of folded headings after cycling with subheading with VISIBILITY content/children

2023-02-14 Thread Daniel Hubmann
ion. Best wishes Daniel

Re: [External] : [RFC] If you use Org 9.6, please share the output of M-x org-element-cache-hash-show-statistics

2023-02-13 Thread Daniel Ortmann
11.99% of cache searches hashed, 12.16% non-hashable. 13 hours, 20 minutes, 43 seconds On 2/9/23 05:51, Ihor Radchenko wrote: Hi, I would like to assess the efficiency of one of search optimizations used in org-element.el [1] The statistics about efficiency is collected by Org, but obviously

Re: [POLL] Use compat.el in Org? (was: Useful package? Compat.el)

2023-01-30 Thread Daniel Mendler
function, e.g., something new from Emacs 29, instead of going via the org-compat indirection, you could also make an addition directly to Compat, a Compat release can be prepared a short while after, and then you start using the new function in the Org development version. Daniel

Re: [BUG] ob-sql sql-connection-alist

2023-01-30 Thread Daniel Kraus
Hi! Andreas Gerler writes: > I added the missing changelog entry. Thanks. I installed the patch. (I'll also answer to your dbconnection engine mail soon. Just very busy atm) Thanks, Daniel

Re: [POLL] Use compat.el in Org?

2023-01-27 Thread Daniel Mendler
newer Emacs versions. Every compatibility function provided by Compat is covered by tests, which are executed via CI on all supported Emacs versions (>= 24.4). I make sure that no functions are backported which perform much worse such that they would introduce performance bugs. Daniel

Re: [BUG] ob-sql sql-connection-alist

2023-01-20 Thread Daniel Kraus
need to ask for copyright assignments or not? Thanks, Daniel

Re: Question about deadline/schedule events date text property

2023-01-18 Thread Daniel Fleischer
Ihor Radchenko [2023-01-18 Wed 13:23] wrote: > Note that `org-fix-agenda-info' converts the 'date property back to some > other format... (yes, that's kind of crazy) Thanks, that could be useful. -- Daniel Fleischer

Re: [PATCH] ob-sql: Add support for Athena

2023-01-17 Thread Daniel Kraus
na, MSSql and Vertico for example. Cheers, Daniel

Re: org-todo-keywords and task sequence

2023-01-17 Thread Daniel Fleischer
Daniel Fleischer [2023-01-17 Tue 10:10] wrote: > Don't let the cyclical switching dictates the meaning, it's just an > implementation detail, done for simplicity. Hope it helped. Put another way, if you define A B | C D E and the UI switching is A->B->C->D->E->A it doe

Re: org-todo-keywords and task sequence

2023-01-17 Thread Daniel Fleischer
ord using shortcuts you define e.g. #+TODO: TODO(t) | DONE(d) Don't let the cyclical switching dictates the meaning, it's just an implementation detail, done for simplicity. Hope it helped. -- Daniel Fleischer

Re: [PATCH] ob-sql: Add support for Athena

2023-01-16 Thread Daniel Kraus
Ihor Radchenko writes: > Daniel Kraus writes: > >> I'm using this patch since a few month that adds support >> for AWS Athena. >> The only thing that's maybe against adding it is that >> `athenacli` (https://github.com/dbcli/athenacli) is not an >> offici

[PATCH] ob-sql: Add support for Athena

2023-01-16 Thread Daniel Kraus
Hi, I'm using this patch since a few month that adds support for AWS Athena. The only thing that's maybe against adding it is that `athenacli` (https://github.com/dbcli/athenacli) is not an official AWS tool but just a Python script. What's the opinion on this? Cheers, Daniel >F

Re: [BUG] ob-sql sql-connection-alist

2023-01-16 Thread Daniel Kraus
why but I also have the connection as a symbol in my `sql-connection-alist`. Looking in `sql.el` `(sql-connect)`, they also use `assoc-string` to receive the connection: https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el?h=ac2a6fc83fac6390892b068a830ebe0f22364e05#n4398 So I think that change is good and supports both formats (same as `sql-connect`). Cheers, Daniel

Re: [BUG] ob-sql sql-connection-alist

2023-01-16 Thread Daniel Kraus
it's already in the connection-alist is unnecessary. Thanks, Daniel

Question about deadline/schedule events date text property

2023-01-08 Thread Daniel Fleischer
t properties of the events. -- Daniel Fleischer

Re: [BUG] issue with texmathp [9.6 (release_9.6-22-g78d283 @ /home/jds6696/.emacs.d/straight/build/org-mode/)]

2023-01-07 Thread Daniel Fleischer
ide a math environment for easier parsing and you still managed to solve that without all the previous regexps. Thank you, -- Daniel Fleischer

Re: [BUG] issue with texmathp [9.6 (release_9.6-22-g78d283 @ /home/jds6696/.emacs.d/straight/build/org-mode/)]

2023-01-06 Thread Daniel Fleischer
and was also compiled perfectly to HTML/latex. -- Daniel Fleischer

Re: Intention of verbatim text?

2023-01-03 Thread Daniel Fleischer
ferent semantics but are rendered the same (by default); they could be rendered differently, depending on a website's CSS. Maybe use the semantics for your own org-html converter. -- Daniel Fleischer

Re: Radio links work only in small numbers

2022-12-28 Thread Daniel Clemente
Hi, I also found this limitation, and my solution was to disable radio links and to replace them by a manual approach: 1. I disabled the call to (org-update-radio-target-regexp) in org.el. Well, I added a boolean org-inhibit-startup-radio-refresh, that works in a similar way to

Bug? Error in HTML export of links with search options

2022-12-20 Thread Daniel Fleischer
uffer." Also when having links of the form [[File.clj::defn]] where `defn' is a search string. Main 04d2cc59. -- Daniel Fleischer

Re: [BUG] Shift-up/down move the cursor to end of timestamp

2022-12-07 Thread Daniel Clemente
It works now, thanks! On Wed, 7 Dec 2022 at 10:53, Ihor Radchenko wrote: > Daniel Clemente writes: > > > Using a file with just one header: > > > > * something > > :CLOCK: > > CLOCK: [2022-12-01 Thu 17:15]--[2022-12-01 Thu 17:30] => 0:15 > >

[BUG] Not all time/date strings are recognized as time in org-make-tags-matcher [9.6 (9.6-gd500b4 @ /home/hubisan/.emacs.default/straight/build/org/)]

2022-12-06 Thread Daniel Hubmann
with < and a number. So strings like , , <+2d> and so on are not working anymore. If I change the expression to the one before and evaluate the function, the match works again. A big thank you to all the developers behind org-mode! Best wishes. Daniel Hubmann Emacs : GNU Emacs 29.0.50 (buil

Re: [External] : Re: Clocking in is pretty slow in version 9.6 when the item has a large

2022-12-04 Thread Daniel Ortmann
log entries going back to 2013.  :-) On 10/20/22 00:37, Ihor Radchenko wrote: Daniel Ortmann writes: (The performance drop was sudden and steep, by the way.) It is because clocking now calls Org parser API. https://urldefense.com/v3/__https://git.savannah.gnu.org/cgit/emacs/org-mode.git

[BUG] Shift-up/down move the cursor to end of timestamp

2022-12-01 Thread Daniel Clemente
Hi. Using a file with just one header: * something :CLOCK: CLOCK: [2022-12-01 Thu 17:15]--[2022-12-01 Thu 17:30] => 0:15 :END: If I put the cursor on the end timestamp (on the 3 of 17:30) and press shift+up or shift-down, the timestamp is correctly adjusted by 5 minutes, but the cursor

Re: [PATCH] Add new :results ignore header argument (was: [External] : Re: [BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-line

2022-11-22 Thread Daniel Ortmann
Works great! On 11/22/22 00:02, Daniel Ortmann wrote: No objections. On 11/21/22 20:12, Ihor Radchenko wrote: Daniel Ortmann writes: I am happy with whatever you decide. :-) Then, here is a tentative patch introducing new :results ignore header argument. Any objections?

Re: [PATCH] Add new :results ignore header argument (was: [External] : Re: [BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-line

2022-11-21 Thread Daniel Ortmann
No objections. On 11/21/22 20:12, Ihor Radchenko wrote: Daniel Ortmann writes: I am happy with whatever you decide.  :-) Then, here is a tentative patch introducing new :results ignore header argument. Any objections?

Re: [External] : Re: [BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-lines [9.6-pre (release_9.5.5-1118-g70cee1 @ /home/dortman

2022-11-21 Thread Daniel Ortmann
I am happy with whatever you decide.  :-) On 11/20/22 20:34, Ihor Radchenko wrote: Daniel Ortmann writes: Please see attached which has the following code which reproduces the issue: #+begin_src sh :shebang #!/bin/bash :results none for (( i=1500 ; i>0 ; i-=1 )) do     head -c 6 /

Re: [External] : Re: [BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-lines [9.6-pre (release_9.5.5-1118-g70cee1 @ /home/dortman

2022-11-19 Thread Daniel Ortmann
Please see attached which has the following code which reproduces the issue: #+begin_src sh :shebang #!/bin/bash :results none for (( i=1500 ; i>0 ; i-=1 )) do     head -c 6 /dev/urandom | uuencode -m - done | tee /dev/null #+end_src On 11/18/22 02:45, Ihor Radchenko wrote: Daniel Ortm

[BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-lines [9.6-pre (release_9.5.5-1118-g70cee1 @ /home/dortmann/src/git-org-mode/li

2022-11-17 Thread Daniel Ortmann
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] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle

2022-11-06 Thread Daniel Ziltener
* lisp/ob-tangle.el (org-babel-tangle-single-block): strip noweb tags from block if :noweb has been set to strip-tangle. * lisp/ob-core.el (org-babel-common-header-args-w-values): add "strip-tangle" as new allowed value. * lisp/ob-core.el (org-babel-noweb-p): add "strip-tangle" at the appropriate

Re: [PATCH] ob-sql: Respect database param when using dbconnection

2022-11-02 Thread Daniel Kraus
or expected. I'm certainly willing to look at patches, answer bug reports and join discussion about ob-sql. tl;dr you can add me as a maintainer ;) Cheers, Daniel

Re: [External] : RE: org-assert-version considered harmful

2022-10-31 Thread Daniel Ortmann
Malcolm, I also ran into troubles which are similar, apparently due to mixed org-mode versions; we've got to load org-mode before emacs tries to do it for us or we get mixed stuff. My resolution was to load the org-mode path first in my init.el file and then require org: (add-to-list

Re: [PATCH] ob-sql: Respect database param when using dbconnection

2022-10-31 Thread Daniel Kraus
. Thanks, Daniel >From cd170dd691ba12ec81ef5c71db2868b33cd63ddf Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Mon, 31 Oct 2022 07:52:09 +0100 Subject: [PATCH] ob-sql.el: Respect all params when using dbconnection * etc/ORG-NEWS (Miscellaneous): Document change * lisp/ob-sql.el (org-ba

Re: Auto detect ob-clojure backend (was: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list)

2022-10-30 Thread Daniel Kraus
lar simple as bb and nbb with slower startup time, but you would get a JVM Clojure for it. > Now I feel that babashka for clojure and nbb for clojurescript > might be the right answer. Agree. bb default for Clojure and nbb for ClojureScript. Thanks, Daniel

Re: Auto detect ob-clojure backend (was: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list)

2022-10-30 Thread Daniel Kraus
Ihor Radchenko writes: > Daniel Kraus writes: > >> +(defcustom org-babel-clojure-backend (cond >> + ((executable-find "bb") 'babashka) >> +

Re: ob-clojure session support (was: ob-clojure eval error when has comment at end of code line)

2022-10-30 Thread Daniel Kraus
en I could use code from there. Thanks, Daniel

Auto detect ob-clojure backend (was: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list)

2022-10-30 Thread Daniel Kraus
Bastien writes: > Daniel Kraus writes: > >> I think I'll go with the big `cond` above to auto-detect what's >> installed. That's probably the best out-of-the-box experience. > Indeed, thank you! I would push the attached patch. I'm not sure about the `:package-version` ke

Re: [PATCH] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle noweb option

2022-10-30 Thread Daniel Ziltener
Am 30.10.22 um 05:12 schrieb Ihor Radchenko: Daniel Ziltener writes: From: Daniel Ziltener * lisp/ob-tangle.el (org-babel-tangle-single-block): strip noweb tags from block if :noweb has been set to strip-tangle. * lisp/ob-core.el (org-babel-common-header-args-w-values): add "strip-t

Re: [PATCH] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle noweb option

2022-10-29 Thread Daniel Ziltener
From: Daniel Ziltener * lisp/ob-tangle.el (org-babel-tangle-single-block): strip noweb tags from block if :noweb has been set to strip-tangle. * lisp/ob-core.el (org-babel-common-header-args-w-values): add "strip-tangle" as new allowed value. * testing/lisp/test-ob-tangle.el (ob-ta

indent-tabs-mode in org (was: ob-clojure eval error when has comment at end of code line)

2022-10-29 Thread Daniel Kraus
Ihor Radchenko writes: > Daniel Kraus writes: > >> - What should I use for indention? Looking in ob-clojure and org.el >> it seems that using tabs with tab-width 8 is standard but there's >> quite a few lines where it's spaces only. > That is a good question.

Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-29 Thread Daniel Kraus
comments. Check https://list.orgmode.org/orgmode/878rl1a1e0@kraus.my/ Thanks, Daniel

Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-28 Thread Daniel Kraus
Bastien writes: > Daniel Kraus writes: >> I would set it to (and (executable-find "bb") 'babashka) so it's still nil >> when babashka is installed? > (You mean "not installed", right?) Of course. >> Or we could even test more available backend

Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-28 Thread Daniel Kraus
'nbb) ((featurep 'cider) 'cider) ((featurep 'inf-clojure) 'inf-clojure) ((featurep 'slime) 'slime)) Or is that too much "magic" in that on some systems the default is bb and in others it's cider etc? Cheers, Daniel

  1   2   3   4   5   6   7   8   9   10   >