Re: Bug: org-archive-subtree-save-file-p results in data loss [9.3.6 (release_9.3.6-432-g73bd24 @ /home/n/.emacs.d/straight/build/org/)]

2020-04-05 Thread Kyle Meyer
No Wayman writes: > I'm bumping this because it's bitten me several times. > The default value of 'from-org is not covered in the saving logic > in org-archive-subtree: > > https://lists.gnu.org/archive/html/emacs-orgmode/2020-03/msg9.html I've responded in the original thread. While

Re: Bug: org-archive-subtree-save-file-p logic [9.3.6 (release_9.3.6-399-ge6df03 @ /home/n/.emacs.d/straight/build/org/)]

2020-04-05 Thread Kyle Meyer
No Wayman writes: > The logic for saving the archive buffer in org-archive-subtree > does not consider the (default) value of 'from-org for > org-archive-subtree-save-file-p. Hmm, indeed, the change from 3d0282ef8 (New option `org-archive-subtree-save-file-p', 2020-01-31) looks incomplete.

negative values for EFFORT result in error when switching to column view

2020-04-05 Thread Heiko Schmidt
Hi everybody. When planning projects I estimate the amount of time for tasks by filling the property EFFORT with an amount of time. #+begin_src org     ,*** Projekt             :PROPERTIES:             :COLUMNS:  %30ITEM %8EFFORT{:}             :END:     , effort planned/estimated          

Re: ob-calc duplicate stack-element issue

2020-04-05 Thread Heiko Schmidt
On 18.03.20 16:50, Eric S Fraga wrote: Indeed hackish. But it does beg the question: why does ob-calc pop the stack? I cannot see any use case given that the stack is essentially infinite and can be safely ignored (in most if not all cases). Could the solution be to simply remove the

Re: ob-calc duplicate stack-element issue

2020-04-05 Thread Heiko Schmidt
Hi Marco, On 18.03.20 15:47, Marco Wahl wrote: Okay. I take here the "any advice is appreciated" part. AFAICS at the org babel calc evaluation the last value of the calc stack gets dropped. So your workaround is okay, I think. You can just write any dummy element at the bottom of each block

Re: Why is `org-element-affiliated-keywords' a var when `org-element--affiliated-re' is a const?

2020-04-05 Thread Johan Tolö
Nicolas Goaziou writes: snip Syntax is not meant to be changed by users. Also, `org-element-affiliated-keywords' is a defconst. Oh, yes you are of course right. Somehow I got the definition mixed up, must have been looking at the definition in 'org-pcomplete.el' or something. Sorry about

Re: help with sexp in org-capture-template

2020-04-05 Thread Kyle Meyer
Hi Bala, Bala Ramadurai writes: > I am working on a org-capture-template and one of the entries is a date (30 > days later) I want in European format. > > My solution is this: > | *Due Date*: %(concat (substring (org-read-date nil nil "+30d") 8 10) "-" > (substring(org-read-date nil nil "+30d")

Re: tangling from multiple files

2020-04-05 Thread Berry, Charles
> On Apr 4, 2020, at 11:08 AM, David Bremner wrote: > > "Berry, Charles" writes: > >> Oops. Correction below. >> >>> On Mar 18, 2020, at 7:38 PM, Berry, Charles wrote: >>> >>> >>> Right. It does not work directly for tangling. So also use >>> >>> #+export_file_name: b2.org >>> >>>

Re: R session and plotting in x11 window

2020-04-05 Thread Berry, Charles
> On Apr 4, 2020, at 4:27 PM, Matt Price wrote: > > Does anyone know much about the difference between an R session opened by > typing M-x R, and the R session opened by org-babel? Short answer: almost none. Long answer: what `org-babel-R-initite-session' and friends do. > > I'm just

Re: Why is `org-element-affiliated-keywords' a var when `org-element--affiliated-re' is a const?

2020-04-05 Thread Nicolas Goaziou
Hello, Johan Tolö writes: > Dear all, > > I want to add my own org-element affiliated keyword "REF" in order > to provide a reference to some other part of an org mode document > (or another document) for a link. > > For example: > > #+NAME: a-figure > #+REF: [[file:another_document.org]] > >

Re: "Wrong number of arguments: nil, 0" error when exporting a table with caption to ODT

2020-04-05 Thread Kyle Meyer
Perl Ancar writes: > On Sun, Apr 5, 2020 at 12:16 PM Kyle Meyer wrote: > >> > Any pointer? >> >> If upgrading doesn't work for you (or you'd just like to investigate), >> doing "M-x toggle-debug-on-error" and getting a backtrace could be a >> good place to start. >> > > Unfortunately after M-x

Scrolling through features on website doesn't work properly

2020-04-05 Thread Janek F
Hey, Trying to scroll through the features of org mode on https://orgmode.org/features.html# with the buttons didn't work for me, neither on Firefox nor Chromium. On other subpages, such as https://orgmode.org/#docs, it did work. Regards, Janek

Why is `org-element-affiliated-keywords' a var when `org-element--affiliated-re' is a const?

2020-04-05 Thread Johan Tolö
Dear all, I want to add my own org-element affiliated keyword "REF" in order to provide a reference to some other part of an org mode document (or another document) for a link. For example: #+NAME: a-figure #+REF: [[file:another_document.org]] [[file:a-figure.png]] I want to use

Additonal slashes in URI sent to org-protocol

2020-04-05 Thread Ferdinand Pieper
Hi everyone, I was trying to set up org-protocol with Firefox (version 74.0) running under Windows 10. Unfortunately there seems to be an issue with additional slashes added to the URI so org-protocol can not parse it. I setup a bookmark as mentioned in [1]. I changed the bookmark content to

Bug: org-shiftright etc. do not respect org-support-shift-select [9.3.6 (9.3.6-elpa @ /home/vladimir/.emacs.d/elpa/org-9.3.6/)]

2020-04-05 Thread vladimir
I have org-support-shift-select set to 'always. As such, when editing tables, I expect that Shift + arrow keys to enable Emacs shift selection. Instead, it moves table cells around. This behavior did not exist in Org 9.1.9. The documentation of org-support-shift-select should also be updated

Re: Do something useful with ".+" and hours repeaters

2020-04-05 Thread Kyle Meyer
Nicolas Goaziou writes: > WDYT? Makes sense to me. I have one nitpick on the actual change: > + ;; Shift starting date to today, or now if > + ;; repeater is by hours. > + (if (equal what "h") > +

Re: Emacs-orgmode Digest, Vol 170, Issue 5

2020-04-05 Thread No Wayman
Someone on #org-mode (sorry, I cannot remember the nickname) reported that ".+" repeater style was not handling properly (not handling at all, actually) hours spans. As a reminder, ".+" means "repeat, starting from today as the base date". With hours, it seems logical to "repeat, starting

RE: [Bug] org-store-link should not insert a document level ID property

2020-04-05 Thread Gustav Wikström
Hi again, Patch is attached. It's not applied yet as it doesn't include anything about user-configuration yet. @Matt Lundin, care to elaborate what you had in mind in terms of that? With this patch a link before first headline is stored with the filename (no path) as description. Following

Additonal slashes in URI sent to org-protocol

2020-04-05 Thread Ferdinand Pieper
Hi everyone, I was trying to set up org-protocol with Firefox (version 74.0) running under Windows 10. Unfortunately there seems to be an issue with additional slashes added to the URI so org-protocol can not parse it. I setup a bookmark as mentioned in [1]. I changed the bookmark content to

Do something useful with ".+" and hours repeaters

2020-04-05 Thread Nicolas Goaziou
Hello, Someone on #org-mode (sorry, I cannot remember the nickname) reported that ".+" repeater style was not handling properly (not handling at all, actually) hours spans. As a reminder, ".+" means "repeat, starting from today as the base date". With hours, it seems logical to "repeat, starting

Re: modify frame title in beamer export

2020-04-05 Thread Nicolas Goaziou
Hello, "Gürtler, Martin" writes: > I'd like to modify the frame title in beamer export based on > properties or priority as this is possible in latex export. > > In latex export, one can set the variable > org-latex-format-headline-function to the name of a function that > creates the content

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

2020-04-05 Thread Dmitrii Korobeinikov
Thank you for the insight and the references! Quite useful to learn about this stuff. вс, 5 апр. 2020 г. в 07:46, Dmitry Gutov : > > Hi! > > Some late clarifications about mmm-mode. > > On 26.04.2019 00:00, Dmitrii Korobeinikov wrote: > > > A lot of the functionality of MMM Mode---that which

Re: "Wrong number of arguments: nil, 0" error when exporting a table with caption to ODT

2020-04-05 Thread Perl Ancar
On Sun, Apr 5, 2020 at 12:16 PM Kyle Meyer wrote: > Perl Ancar writes: > > > I tried exporting a document with table that has caption to ODT and it > > failed with this error message: > > > > OpenDocument export failed: Wrong number of arguments: nil, 0 > > > > Sample document: > > > >

modify frame title in beamer export

2020-04-05 Thread Gürtler , Martin
Hi, I'd like to modify the frame title in beamer export based on properties or priority as this is possible in latex export. In latex export, one can set the variable org-latex-format-headline-function to the name of a function that creates the content of the headline. I was able to use this in

Bug: org-shiftright etc. do not respect org-support-shift-select [9.3.6 (9.3.6-elpa @ /home/vladimir/.emacs.d/elpa/org-9.3.6/)]

2020-04-05 Thread Vladimir Panteleev
Hello, I have org-support-shift-select set to 'always. As such, when editing tables, I expect that Shift + arrow keys to enable Emacs shift selection. Instead, it moves table cells around. This behavior did not exist in Org 9.1.9. The documentation of org-support-shift-select should also be