Re: [PATCH] colview: Display active time stamps as inactive

2020-05-13 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > Kyle Meyer writes: > >> Okay, here's a patch for that to go along with the documentation patch. > > Pushed (7684b59c7, 75902a473). Thank you! Regards, -- Nicolas Goaziou

Re: patch for org-capture.el to allow for no file extension on open-source, protocol

2020-05-13 Thread Nicolas Goaziou
Hello, Stacey Marshall writes: > Will do. sorry didn't realize I was over the Tiny change limit. I can > sign FSF papers if still needed. It is still needed :) Please let me know once the process is complete, or if you have question regarding the process. Thank you! Regards, -- Nicolas

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

2020-05-13 Thread Nicolas Goaziou
Hello, Matthew Lundin writes: > Gustav Wikström writes: > >> 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

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

2020-05-13 Thread Nicolas Goaziou
Matthew Lundin writes: > Nicolas Goaziou writes: >> >> AFAIK, ID is associated to a file name, and possibly a location in it. >> In this case, the ID is strictly equivalent to the file name, so why >> bother? > > I'm not sure I understand the question. Are you asking: Why bother > generating

Re: get the body of a heading up to the next subheading

2020-05-13 Thread Eric Abrahamsen
John Kitchin writes: > Thanks! Here is what I am currently using: > > (defun canvas-org-get-heading-body () > "Return the body of the current heading up to the next heading." > (interactive) > (save-excursion > (unless (org-at-heading-p) > (org-previous-visible-heading 1)) >

Re: Bug - all org files open as if visibilty is set to "showeverything"

2020-05-13 Thread Charles Millar
Hoi Nicholas, On 5/13/20 2:13 PM, Nicolas Goaziou wrote: Hello, Charles Millar writes: In the last two or three days, all my org files open as if I have set the visibility in every file to #+STARTUP: showeverything [...] As far as I recall, I have not changed any settings in my init

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-13 Thread Nicolas Goaziou
Hello, stardiviner writes: > Add a test for Babel src block languages and header arguments. Thank you. > I'm wandering how to complete header argument values? Do you have any > hints? You can use, again, `org-babel-common-header-args-w-values' for some parameters. However, most of them

Setting org-export-headline-levels depending on export backend

2020-05-13 Thread Rafael
I would like to have an org document export nicely (including some subtleties like theorems) to a latex document and to a beamer presentation. I have been mostly successful using filters, but it would help me a lot if there was some way to declare to use the #+option H:2 when exporting to

[PATCH 1/1] Fix typos

2020-05-13 Thread Jonas Bernoulli
--- contrib/lisp/org-depend.el | 4 ++-- doc/org-manual.org | 2 +- lisp/org-clock.el | 2 +- lisp/org.el| 2 +- mk/server.mk | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/lisp/org-depend.el

[PATCH 0/1] Fix various typos

2020-05-13 Thread Jonas Bernoulli
There isn't much to be said about the typo fixes in the attached patch. However, I noticed a few more typos, which I did not fix: * In CONTRIBUTE several occurances of "maintainance" should be replaced with "maintenance". One of them occurs in a URL to a Worg page, which has to be renamed

Manual 2.2.2 and 16.7 needs to amended

2020-05-13 Thread Charles Millar
I think the following changes are required: in the manual, if they already have not been made in the past few hours: 2.2.2 When Emacs first visits an Org file, the global state is set to SHOWEVERYTHING, i.e., all file content is visible(1). (No idea if the footnote needs to be changed.)

Re: Babel cached result active timestamps cause headline displayed in Org Agenda

2020-05-13 Thread Nicolas Goaziou
Hello, stardiviner writes: > I agree, this angle brackets is unnecessary. OK. Thank you for the feedback. #+RESULTS[2020-05-12 13:24:05 808b...]: is not possible, because [2020-05-12 13:24:05 808b...] is an inactive time stamp. So, in master, this is now: [(2020-05-12 13:24:05)

Bug - all org files open as if visibilty is set to "showeverything"

2020-05-13 Thread Charles Millar
Hi, In the last two or three days, all my org files open as if I have set the visibility in every file to #+STARTUP: showeverything Org mode version 9.3.6 (release_9.3.6-619-g434940 @ /usr/local/share/org-mode/lisp/) GNU Emacs 28.0.50 (build 123, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,

Re: Bug - all org files open as if visibilty is set to "showeverything"

2020-05-13 Thread Nicolas Goaziou
Hello, Charles Millar writes: > In the last two or three days, all my org files open as if I have set > the visibility in every file to > > #+STARTUP: showeverything > [...] > As far as I recall, I have not changed any settings in my init or > elsewhere. I changed `org-startup-folded'

Re: Bug - all org files open as if visibilty is set to "showeverything"

2020-05-13 Thread Charles Millar
On 5/13/20 1:58 PM, Josiah Schwab wrote: As far as I recall, I have not changed any settings in my init or elsewhere. The default was changed. See https://lists.gnu.org/archive/html/emacs-orgmode/2020-04/msg00452.html https://lists.gnu.org/archive/html/emacs-orgmode/2020-05/msg00201.html

Re: get the body of a heading up to the next subheading

2020-05-13 Thread Ihor Radchenko
> I don't think there's anything built-in, no. I have needed this in > various places, and did something similar to the above, except with a > combination of `org-back-to-heading', `org-end-of-meta-data', then > `outline-next-heading'. Hmm. I just noticed a reference to built-in

Re: Bug - all org files open as if visibilty is set to "showeverything"

2020-05-13 Thread Josiah Schwab
> As far as I recall, I have not changed any settings in my init or elsewhere. The default was changed. See https://lists.gnu.org/archive/html/emacs-orgmode/2020-04/msg00452.html https://lists.gnu.org/archive/html/emacs-orgmode/2020-05/msg00201.html Josiah

Re: Bug - all org files open as if visibilty is set to "showeverything"

2020-05-13 Thread Nick Dokos
Charles Millar writes: > Hi, > > In the last two or three days, all my org files open as if I have set > the visibility in every file to > > #+STARTUP: showeverything > > Org mode version 9.3.6 (release_9.3.6-619-g434940 @ > /usr/local/share/org-mode/lisp/) > GNU Emacs 28.0.50 (build 123,

[SOLVED] Re: Babel cached result active timestamps cause headline displayed in Org Agenda

2020-05-13 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> I agree, this angle brackets is unnecessary. > > OK. Thank you for the feedback. > > #+RESULTS[2020-05-12 13:24:05 808b...]: > > is not possible, because > > [2020-05-12 13:24:05

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-13 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Add a test for Babel src block languages and header arguments. > > Thank you. Glad this test is simple to write and passed. > >> I'm wandering how to complete header argument values? Do you have any >> hints? > > You can use,

Re: Manual 2.2.2 and 16.7 needs to amended

2020-05-13 Thread Kyle Meyer
Charles Millar writes: > I think the following changes are required: in the manual, if they > already have not been made in the past few hours: > > 2.2.2 > When Emacs first visits an Org file, the global state is set to > SHOWEVERYTHING, i.e., all file content is visible(1). > > (No idea if the

Re: [PATCH 0/1] Fix various typos

2020-05-13 Thread Kyle Meyer
Jonas Bernoulli writes: > There isn't much to be said about the typo fixes in the attached patch. > > However, I noticed a few more typos, which I did not fix: > > * In CONTRIBUTE several occurances of "maintainance" should be > replaced with "maintenance". One of them occurs in a URL to > a

Re: Babel cached result active timestamps cause headline displayed in Org Agenda

2020-05-13 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> For example an org file which is one of org-agenda-files contains this: >> >> #+begin_src org >> ,#+begin_src emacs-lisp >> org-babel-default-header-args:emacs-lisp >> ,#+end_src >>

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-13 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Subject: [PATCH] org-pcomplete.el: improve header arguments completion > > Thank you. Some comments follow. > >> - (while (pcomplete-here >> - '("-n" "-r" "-l" >> -":cache" ":colnames" ":comments" ":dir" ":eval"

Re: get the body of a heading up to the next subheading

2020-05-13 Thread Ihor Radchenko
> Thanks! Here is what I am currently using: Note that your code may fail if there is an inline task in the body. Best, Ihor John Kitchin writes: > Thanks! Here is what I am currently using: > > (defun canvas-org-get-heading-body () > "Return the body of the current heading up to the next

Re: get the body of a heading up to the next subheading

2020-05-13 Thread John Kitchin
good point, thanks! Here is a new version that might fail some other way! (defun canvas-org-get-heading-body () "Return the body of the current heading up to the next heading." (interactive) (save-excursion (unless (org-at-heading-p) (org-previous-visible-heading 1))

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

2020-05-13 Thread Matthew Lundin
Nicolas Goaziou writes: > Matthew Lundin writes: > >> What I was thinking of in terms of configuration is being able to >> preserve path-based links (instead of IDs) if creating a link above the >> first headline. This is the behavior that existed in the past when >> org-id-link-to-org-use-id

Re: get the body of a heading up to the next subheading

2020-05-13 Thread John Kitchin
Thanks! Here is what I am currently using: (defun canvas-org-get-heading-body () "Return the body of the current heading up to the next heading." (interactive) (save-excursion (unless (org-at-heading-p) (org-previous-visible-heading 1)) (org-end-of-meta-data)