RE: [Idea] Org Collections

2019-12-15 Thread Gustav Wikström
Hi Adam, > -Original Message- > From: Emacs-orgmode On > Behalf Of Adam Porter > Sent: den 15 december 2019 12:01 > To: emacs-orgmode@gnu.org > Subject: Re: [Idea] Org Collections > > How does this idea compare with Akira Komamura's org-starter package? > >

Re: [Idea] Org Collections

2019-12-15 Thread John Sturdy
That seems hierarchical, which is ok (as in org-mode itself) but how about implementing a more general graph mechanism, which could be used to do this but more flexibly? On Sat, 14 Dec 2019, 21:04 Gustav Wikström, wrote: > Hi list and all honored readers! > > I have an idea. One that I've

Re: Issues with nested begin..end blocks in inline math environments

2019-12-15 Thread Nicolas Goaziou
Hello, Matt Huszagh writes: > I'm submitting this as a patch. I've used it on hundreds of latex > fragments over the past week or so and haven't experienced any issues > (which is expected since the change is small). > > From a699b699ed4132839c39f1152868bb13364422c7 Mon Sep 17 00:00:00 2001 >

Re: [Idea] Org Collections

2019-12-15 Thread tbanelwebmin
Interesting idea! Is everyone aware of Emacs Projectile? https://github.com/bbatsov/projectile Not exactly the Org Collections you talks about, Gustav, but somehow related. Projectile manages collections of files that belong

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread stardiviner
Gustav Wikström writes: > FYI, pushed to master. Commit 26ace9004 > After update, I found the new attachment link type can't display inline image now. Maybe should keep *both* original ~file:~ link type and new ~attachment:~ link type in stored link? WDYT, Gustav? -- [ stardiviner ]

Re: [Idea] Org Collections

2019-12-15 Thread Adam Porter
How does this idea compare with Akira Komamura's org-starter package? https://github.com/akirak/org-starter Its readme begins: > Org-starter is a framework for basic configuration of Emacs Org > Mode. It allows you to configure Org Mode easily even with many files > and directories. > The

RE: [Idea] Org Collections

2019-12-15 Thread Gustav Wikström
Yes, aware at least. I’m sure there is a big overlap in what I’m trying to achieve and what projectile tries to achieve. Not sure if an Org collection should be a Projectile add-on, or if it should be a facility inside Org mode that projectile could attach to. I think the second option would be

Asynchronous org-babel-tangle (was Re: Asynchronous org-agenda-redo)

2019-12-15 Thread Diego Zamboni
Hi Ihor, On Thu, Dec 12, 2019 at 4:00 PM Ihor Radchenko wrote: > See the relevant code from my config below. Let me know if you have any > questions or suggestions. > Thank you, this was extremely helpful. I am now using a modified version of your code (see below) with the following

Org agenda -- checking for invisible tasks after filtering...

2019-12-15 Thread Christian Schwarzgruber
Hey! I'm a contributor of `org-super-agenda` https://github.com/alphapapa/org-super-agenda, `org-super-agenda` lets you group tasks into blocks. However, `org-super-agenda` doesn't consider filtering, which might leave you with empty groups. To solve that, I created a PR

Re: Asynchronous org-babel-tangle (was Re: Asynchronous org-agenda-redo)

2019-12-15 Thread Ihor Radchenko
Thanks for the feedback. > - For me, the tangle works if I only load the org library in the > sub-process, so I disabled the loading of my config. I guess this depends > heavily and what other configuration one has loaded, but I think for > tangling, not much else is needed :) Note that your

Re: Removing horizontal space in latex fragments

2019-12-15 Thread Nicolas Goaziou
Hello, Matt Huszagh writes: > My vote goes for keeping the newlines to improve readability in the > generated tex file. But, again, I'm more than happy to be overuled. [...] > I've attached an updated patch. Applied. Thank you. I added TINYCHANGE at the end of the commit message since I

RE: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread Gustav Wikström
Hmm, inline images work for attachment links on my side on Org mode master. I considered keeping the file link option but ruled against it in the end. I could remove some complexity from the code in the end due to it. Don't know why attachments aren’t expanded as images for you... /G >

RE: [Idea] Org Collections

2019-12-15 Thread Gustav Wikström
Hi! Hmm, not sure if this would classify as something hierarchical. I’d classify it as something set-based. It would allow “many to many” relations between files and collections, with definitions of the relation being declared per collection. I.e. a collection is a set of files. I haven’t

Re: Asynchronous org-babel-tangle (was Re: Asynchronous org-agenda-redo)

2019-12-15 Thread Ihor Radchenko
Thanks for the feedback. > - For me, the tangle works if I only load the org library in the > sub-process, so I disabled the loading of my config. I guess this depends > heavily and what other configuration one has loaded, but I think for > tangling, not much else is needed :) Note that your

Re: org2blog fails during upload with: org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export

2019-12-15 Thread Steinar Bang
> Steinar Bang : > Platform: Windows 10, > GNU Emacs 26.3 (build 1, i686-w64-mingw32) of 2019-08-29 > Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ > c:/ProgramFiles/emacs-26.3-i686/share/emacs/26.3/lisp/org/) > Org2Blog Runtime: Org2Blog 1.1.1, MetaWeblog

RE: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread Gustav Wikström
> -Original Message- > From: Emacs-orgmode On > Behalf Of stardiviner > Sent: den 15 december 2019 15:26 > To: Gustav Wikström > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] FW: [RFC] Link-type for attachments, more attach options > > ... > > I figured out why on my side inline image

org2blog fails during upload with: org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export

2019-12-15 Thread Steinar Bang
Platform: Windows 10, GNU Emacs 26.3 (build 1, i686-w64-mingw32) of 2019-08-29 Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ c:/ProgramFiles/emacs-26.3-i686/share/emacs/26.3/lisp/org/) Org2Blog Runtime: Org2Blog 1.1.1, MetaWeblog 1.1.1, XML-RPC 1.6.12 I've

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread stardiviner
Gustav Wikström writes: > Hmm, inline images work for attachment links on my side on Org mode master. > > I considered keeping the file link option but ruled against it in the end. I > could remove some complexity from the code in the end due to it. > > Don't know why attachments aren’t

[PATCH] org-screen.el: replace obsolete function

2019-12-15 Thread Gregor Zattler
* contrib/lisp/org-screen.el (org-screen): replace obsolete function `insert-string' with `insert'. --- contrib/lisp/org-screen.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/org-screen.el b/contrib/lisp/org-screen.el index 6b870f229..948e93adf 100644 ---

where is org-at-target-p ?

2019-12-15 Thread Scott Otterson
For years, I've used the function, org-at-target-p to detect when the cursor is on a dedicated target. Recently, org-at-target-p disappeared from elpa -- for example, it's not in the org.el included in org-plus-contrib-20191209. Was its removal intentional, and if so, is there a new function

Babel: Set org-babel-min-lines-for-block-output for single code block?

2019-12-15 Thread Nathan Neff
Hello all, I just found the org-babel-min-lines-for-block-output variable. I have a table like this: #+RESULTS: people-table | User | ID | Homepage | |---++--| | Bob | 1 | http://example.com/bob | | Steve | 2 | http://example.com/steve |

Re: Emacs bug 37890; killing capture buffer

2019-12-15 Thread Michael Heerdegen
Adam Porter writes: > Michael Heerdegen writes: > > > Or (really better IMHO) consider a different implementation where the > > original buffer is not modified until the user explicitly confirms the > > stuff to capture with C-c C-c. > > That would be helpful in some ways, but harmful in

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread stardiviner
Gustav Wikström writes: >> -Original Message- >> From: Emacs-orgmode On >> Behalf Of stardiviner >> Sent: den 15 december 2019 15:26 >> To: Gustav Wikström >> Cc: emacs-orgmode@gnu.org >> Subject: Re: [O] FW: [RFC] Link-type for attachments, more attach options >> >> ... >> >> I

Re: Asynchronous org-agenda-redo

2019-12-15 Thread Ihor Radchenko
> So, of course, you can call custom > functions in queries, even your own skip functions (with `not', of > course), but in most cases, they can be covered with built-in > predicates. Unfortunately, it does not seem to be the case for me. My main agenda view needs to take into account multiple

Babel: Store script in external file

2019-12-15 Thread Nathan Neff
Hello all, I think I'm missing something basic: I'd like to have something like this: #+begin_src python #+filename: foo.py Instead of storing my Python code in the current org file, I would like Babel to read foo.py and execute it, as if it was inside the .org file. The foo.py mentioned

Re: Include lines in setupfile are not evaluated: bug or feature?

2019-12-15 Thread Jarmo Hurri
Greetings again. Nicolas Goaziou writes: >> Ok. As a programmer I was hoping to mix them, because it would be >> logical to have _one_ header file that defines all the common things >> for a set of related files. > > Again, there is no overlap between the two keywords. SETUPFILE is what > you

Re: where is org-at-target-p ?

2019-12-15 Thread John Kitchin
I have it in org-9.2.3 from org-plus-contrib-20190402, and it is in org-plus-contrib-20191028 too. It is gone from org-plus-contrib-20191209. It is pretty simple. Maybe you can just add it to your init file if you use it. (defun org-at-target-p () (or (org-in-regexp org-radio-target-regexp)

Re: Bug: Orgguide missing in Org-9.3 package [9.3 (9.3-elpa @ /home/David/.emacs.d/elpa/org-9.3/)]

2019-12-15 Thread Kyle Meyer
Nicolas Goaziou writes: >> Sorry, I don't have write access. But this issue seems to be about the >> Org ELPA tarball, so I don't understand how it'd be related to the >> recent Org sync with the Emacs repo. > > That's because I misread the bug report and though it was related to > Emacs master