Asking whether to "save file /var/folders/xxxxxxxxx/orgicssxPjY1" everytime I kill Emacs

2023-02-22 Thread Alexei Gilev
Basically that: from yesterday, every time I kill Emacs, i get this message. I never got this message before and I am not sure whether I should be saving or not. Anybody experiencing this issue? Best, A.

Re: How to export org-agenda to ICS to show in iCal

2023-02-22 Thread Alexei Gilev
Thanks for your time. When I try, however, to use functions like org-icalendar-combine-agenda-files or org-icalendar-export-to-ics, I get this error: Debugger entered--Lisp error: (error "Lisp nesting exceeds > ‘max-lisp-eval-depth’") When I use the function: org-agenda-write to agenda.ics, it

Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.

2023-02-22 Thread Samuel Wales
huh i had put org-next-link there. i wish define-key could have a button in a help page like functions and vars do so you could go to where you define it. [there are probably 300 competing packages that do exactly that.] On 2/22/23, Max Nikulin wrote: > On 23/02/2023 00:01, Karl Fogel wrote:

Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.

2023-02-22 Thread Max Nikulin
On 23/02/2023 00:01, Karl Fogel wrote:  (when (not (keymap-lookup nil "C-"))    (keymap-local-set "C-" 'org-fold-hide-subtree)) So FWIW C- is not bound in Org Mode buffers for me, in Emacs 30.x (i.e., recent development builds). lisp/tab-bar.el:130: (unless (global-key-binding [(control

Re: Link type in org-mode, but with org-roam ?

2023-02-22 Thread Jean Louis
* Cletip Cletip [2023-02-21 19:20]: > I am not thinking in advance about "queryable" information. I am > > thinking of structure, or types, and do not worry of future. All > > types, columns, anything is automatically capable to be queried. Solely the above paragraph is not giving me enough

Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.

2023-02-22 Thread Karl Fogel
On 22 Feb 2023, Max Nikulin wrote: On 22/02/2023 14:29, Karl Fogel wrote: I put it on "C-" because that's normally unbound in Org Mode, and because so many of the Org Mode cycling commands involve modified tab already. Perhaps C- is not the best choice:

Re: bug#59882: Multiple versions of Org in load-path problem

2023-02-22 Thread Bhavin Gandhi
On Wed, 22 Feb 2023 at 16:17, Ihor Radchenko wrote: > > Bhavin Gandhi writes: > > > I'm able to reproduce this on Fedora 37, Emacs 28.2. > > > > In Fedora we have: > > - /usr/share/emacs/site-lisp/site-start.el (has code to load .el and .elc > > from /usr/share/emacs/site-lisp/site-start.d). > >

Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.

2023-02-22 Thread Max Nikulin
On 22/02/2023 14:29, Karl Fogel wrote: I put it on "C-" because that's normally unbound in Org Mode, and because so many of the Org Mode cycling commands involve modified tab already. Perhaps C- is not the best choice: 9092c289b6bea38bb519e6c59a60237ae5af8f08 author Bastien Mon Jun 1

how to omit section numbers from theindex.html when publishing a project

2023-02-22 Thread Christopher W. Ryan
Well, my IT department did some major damage to my computer system, and now the output of publishing a project (my only one) to html is different. Specifically, the numbers next to each alphabetical letter in theindex.html are shown, whereas before they were not. I can't recall if this is some

Re: BUG: org-sbe not working anymore: Format specifier doesn’t match argument type

2023-02-22 Thread 赵一宇
Here is an example, in org file #+name: test #+begin_src emacs-lisp :var a :results silent a #+end_src Now, if I execute (org-sbe "test" (a "123°34'23.34\"otherthing")) it would say: Reference 123°34'23.34"otherthing not found and (org-sbe "test" (a $"123°34'23.34\"otherthing")) would result

Re: BUG: org-sbe not working anymore: Format specifier doesn’t match argument type

2023-02-22 Thread 赵一宇
Oh thanks, that was clear. However, I wanna figure out if another change would somehow fix another problem, when in the (var value) pair, the value contains quotation marks, for example 123°34'23.34", the assignment would fail. In macro she-org, change (quote (format "\"%s\"" el)) to (quote

Re: BUG: org-sbe not working anymore: Format specifier doesn’t match argument type

2023-02-22 Thread Ihor Radchenko
赵一宇 writes: > However, I wanna figure out if another change would somehow fix another > problem, when in the (var value) pair, the value contains quotation marks, > for example 123°34'23.34", the assignment would fail. Could you please provide a reproducer? -- Ihor Radchenko // yantar92,

Re: BUG: org-sbe not working anymore: Format specifier doesn’t match argument type

2023-02-22 Thread zhaoyiyu
Maybe change the org-sbe macro? Below is a workaround. (defmacro org-sbe (source-block variables)   (declare (debug (form form)))   (let* ((header-args (if (stringp (car variables)) (car variables) ""))      (variables (if (stringp (car variables)) (cdr variables) variables)))     (let* (quote

Re: [POLL] Naming of "export features"

2023-02-22 Thread Ihor Radchenko
Timothy writes: > Here is a list of terms which I’d feel comfortable applying to the system: > ⁃ export features > ⁃ export capabilities > ⁃ export snippets I am looking at the concept again, and I feel that we may be missing some flexibility here. I do not like the fact that each feature can

Re: Re: Is there a way of putting the biblatex options in the org file?

2023-02-22 Thread Pedro Andres Aranda Gutierrez
To: emacs-orgmode@gnu.org Re: Re: [BUG] #+cite_export: ... bibstyle citestyle cannot be universally used as global defaults (was: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite) On Sun, 5 Feb 2023 00:14:59 +0100 (CET) Edgar wrote: > Dear Ihor, > On Feb 4, 2023 at 12:31

Re: org-roam: how to have links un-opened

2023-02-22 Thread Fraga, Eric
And, for the record, this does the job for me: #+begin_src emacs-lisp (add-hook 'org-roam-mode-hook #'magit-section-show-level-2) #+end_src Thanks again, eric -- : Eric S Fraga, with org release_9.6-204-g2f7052 in Emacs 30.0.50

Re: org-roam: how to have links un-opened

2023-02-22 Thread Fraga, Eric
On Wednesday, 22 Feb 2023 at 11:31, Ihor Radchenko wrote: > org-roam buffer is in org-roam-mode major mode, which is derived from > magit-section-mode. So, you should be able to use magit-section-show-* > commands in org-roam-mode-hook. Thank you. I will explore the magit show commands. -- :

Re: Re: Is there a way of putting the biblatex options in the org file?

2023-02-22 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > \usepackage[isbn=false,url=false,doi=false,eprint=false,related=false]{biblatex} > >> Cheers, >> Reza > > That's what I'm trying to avoid... and do right now > You have the `pure org` header lines above and then you need > to write LaTeX. I would rather

Re: org-roam: how to have links un-opened

2023-02-22 Thread Ihor Radchenko
Ruijie Yu via "General discussions about Org-mode." writes: > Not sure if you realized, but org-roam [1] is a separate project from > org. Maybe you would have better luck posting in their bugtracker > instead? Org mailing list is not restricted to vanilla Org. Asking about org-roam is

Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway, if DATERANGE is non-nil

2023-02-22 Thread Ihor Radchenko
Ilya Chernyshov writes: > You suggest to split timestamp types active/inactive-range to > active/inactive-timerange, active/inactive-daterange? I suggest introducing a new timestamp property :range-type. It can be nil, timerange, or daterange. Changing :type values will not be

Re: BUG: org-sbe not working anymore: Format specifier doesn’t match argument type

2023-02-22 Thread Ihor Radchenko
zhaoyiyu writes: > Maybe change the org-sbe macro? Below is a workaround. Sorry, I was not clear. This bug has been fixed. I can no longer reproduce it. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

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-02-22 Thread Ihor Radchenko
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

Re: bug#59882: Multiple versions of Org in load-path problem

2023-02-22 Thread Ihor Radchenko
Bhavin Gandhi writes: > I'm able to reproduce this on Fedora 37, Emacs 28.2. > > In Fedora we have: > - /usr/share/emacs/site-lisp/site-start.el (has code to load .el and .elc > from /usr/share/emacs/site-lisp/site-start.d). > - /usr/share/emacs/site-lisp/default.el (sets smime-CA-directory).

Re: [PATCH] Async evaluation in ob-shell

2023-02-22 Thread Ihor Radchenko
Matt writes: > I've rewritten the test and updated the patch. Thanks! > +(defun ob-shell-async-chunk-callback (string) > + "Filter applied to results before insertion. > +See `org-babel-comint-async-chunk-callback'." > + (replace-regexp-in-string (concat org-babel-sh-prompt "*") "" string))

Re: [BUG] C-S-up/down on first timestamp in clock malfunctioning [9.6.1 (release_N/A-N/A-747e60 @ /Users/[]/.emacs.d/elpa/org-9.6.1.0.20230218.123114/)]

2023-02-22 Thread Ihor Radchenko
sting.startup...@icloud.com writes: > Consider: > > * Test > :LOGBOOK: > CLOCK: [2023-02-19 Sun 22:30]--[2023-02-20 Mon 00:35] => 2:05 > :END: > > Hitting C-S-up/down in the first time stamp does not preserver duration, and > can lead to negative durations, which "break" the clock. The same

Re: Links to external targets with (or despite) org-ref

2023-02-22 Thread Sven Bretfeld
Hi John That's working well. Thank you very much. And thousand thanks for org-ref in general. Sven Am Mon, Feb 20, 2023 at 01:07:49PM -0500 schrieb John Kitchin: > The quickest thing might be to remove the store properties on the ref links. > This should do it. > > #+BEGIN_SRC emacs-lisp >

Re: [PATCH] Avoid crash in `org-file-contents' in case of network failure

2023-02-22 Thread Ihor Radchenko
Damien Cassou writes: > * lisp/org.el (org-file-contents): Wrap the > `url-retrieve-synchronously' call into a `condition-case' block to > avoid throwing an error when NOERROR is non-nil. Thanks for the patch! Few comments. > Subject: [PATCH] Avoid crash in `org-file-contents' in case of