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

2019-12-16 Thread stardiviner
stardiviner writes: > I found another problem, =[C-c C-a d]= does not give out delete available > attachment files. Maybe other places is affected, suggest you check out other > places. Ehh, sorry, today I found I can use this again. Weird that yesterday I got nothing. -- [ stardiviner ]

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

2019-12-16 Thread Kyle Meyer
Gregor Zattler writes: > * contrib/lisp/org-screen.el (org-screen): replace obsolete function > `insert-string' with `insert'. Thanks. Applied in 86c7a22ce (with small capitalization tweaks to fit project conventions).

Re: [Idea] Org Collections

2019-12-16 Thread William Denton
On 14 December 2019, Gustav Wikström wrote: 2 Idea == I propose to introduce `Collection' as a concept in the realm of Org mode. [1] This is very interesting, and I think I have some cases where I could use this. When there's something to test, I'll certainly try it. It's a good

Re: restore window configuration after org-edit-src-exit

2019-12-16 Thread Kyle Meyer
Nicolas Goaziou writes: > However, it doesn't mean the inconvenience shouldn't be fixed. I cannot > remember why 819e98afd018cad3c13fd58bfcbd979ab36dfbc7 was necessary. I'm > Cc'ing Matt Price. Here's the related thread: https://lists.gnu.org/archive/html/emacs-orgmode/2018-11/msg00253.html

Re: Emacs bug 37890; killing capture buffer

2019-12-16 Thread Michael Heerdegen
Michael Heerdegen writes: > - kill-buffer-hook in the capture buffer could be used to prevent the > user from killing such a buffer by accident. Or it could be made > configurable what to do (e.g. undo the change with or without user > prompting, ask for what to do, etc.) > > -

RE: [Idea] Org Collections

2019-12-16 Thread Gustav Wikström
Hi! > -Original Message- > From: Emacs-orgmode On Behalf > Of Roland Everaert > Sent: den 16 december 2019 12:26 > To: emacs-orgmode@gnu.org > Subject: Re: [Idea] Org Collections > > +1 for this idea. > > You speak about one document used by multiple collections, how do you > plan to

Listings and dialects

2019-12-16 Thread Michael Gauland
My org files typically include source blocks from several different languages. I'm using the listings package for export to LaTeX. I'd like to give each language a distinctive look (by changing the background or border colour). I can do this manually by inserting a bit of LaTeX before each block,

Re: Babel: Store script in external file

2019-12-16 Thread Michael Gauland
I've just started playing with #+INCLUDE, so I may not be using it correctly, but this works for me. I have a file 'sh_test', which looks like: for i in $(seq 10); do echo $i done My org file: #+HEADER: :exports both #+INCLUDE: "sh_test" src sh And the results: , | for i in $(seq 10);

Re: Babel: Store script in external file

2019-12-16 Thread Berry, Charles
> On Dec 15, 2019, at 5:21 PM, Nathan Neff wrote: > > 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

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

2019-12-16 Thread Berry, Charles
> On Dec 15, 2019, at 1:55 PM, Nathan Neff wrote: > > 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 |

Help me secure some free time for org-mode in 2020

2019-12-16 Thread Bastien
Dear all, I have been involved in Org-mode development when Carsten offered me to take over maintainance, back in 2010. I still feel grateful for the opportunity he gave me: his dedication to make Org a useful tool for Emacs users was examplary and I did my very best to give to the community as

Re: Bug: xxx [9.3 (9.3-8-geab7c4-elpa @ c:/Users/Scott/.emacs.d/elpa/org-20191209/)]

2019-12-16 Thread Scott Otterson
Hi Nicolas, Thanks for the help. Scott On Mon, Dec 16, 2019 at 8:22 AM Nicolas Goaziou wrote: > Hello, > > Scott Otterson writes: > > > A function I wrote a few months ago is now failing because it's unable > > to find the org function "org-at-target-p". I think this was > > originally in

Re: Bug: xxx [9.3 (9.3-8-geab7c4-elpa @ c:/Users/Scott/.emacs.d/elpa/org-20191209/)]

2019-12-16 Thread Nick Dokos
Scott Otterson writes: > A function I wrote a few months ago is now failing because it's > unable to find the org function "org-at-target-p". I think this was > originally in org.el but I can't find it there now. > > If this function was removed intentionally could someone suggest a > new

Re: restore window configuration after org-edit-src-exit

2019-12-16 Thread Nicolas Goaziou
Hello, Richard Kim writes: > About a year ago change 819e98afd018cad3c13fd58bfcbd979ab36dfbc7 was checked > in > to remove code that restored window configuration when =org-edit-src-exit= > finished. The net result is af if =C-x 1= is called to remove all windows > except > the org buffer

Re: Bug: Macros are not replaced in table.el tables. [9.3 (9.3-elpa @ /Users/jlizarraga/.emacs.d/elpa/org-20191203/)]

2019-12-16 Thread Nicolas Goaziou
Hello, Juan Lizarraga Cubillos writes: > I am writing looking for help on something that I think is a bug. I am > working on a document with table.el tables instead of org-tables > because I need to work with merged cells. Inside the table I have > a macro that should generate the table ID.

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

2019-12-16 Thread Nicolas Goaziou
Hello, Jarmo Hurri writes: > I have such documents regularly. > 1. One type is a handout containing common contents at the beginning >(included) and settings (setup). > 2. The other case is a set of files sharing setup info and code (babel >blocks, included). Then I suggest to unravel

Re: Bug: xxx [9.3 (9.3-8-geab7c4-elpa @ c:/Users/Scott/.emacs.d/elpa/org-20191209/)]

2019-12-16 Thread Nicolas Goaziou
Hello, Scott Otterson writes: > A function I wrote a few months ago is now failing because it's unable > to find the org function "org-at-target-p". I think this was > originally in org.el but I can't find it there now. It was removed because its implementation was buggy and not necessary. >

Re: [Idea] Org Collections

2019-12-16 Thread Roland Everaert
I do agree that "aspect" is a very abstract term and all depends on the scope of this proposal, I suppose. Reading the proposal again, it seems that my proposal could apply, as the intent seems to define a per "aspect" configuration. On the other end as aspects are quite abstract, an aspect can

Manual Typo in Table Section

2019-12-16 Thread Ben Polson
Hello org mode mods! I'm starting to get into org mode and have been going through the manual to understand it better. I got to section 3.5.1 and got a little confused: https://orgmode.org/manual/References.html#References Specifically with this example formula: ‘@3 = 2 * remote(FOO, @@1$$#)’

restore window configuration after org-edit-src-exit

2019-12-16 Thread Richard Kim
About a year ago change 819e98afd018cad3c13fd58bfcbd979ab36dfbc7 was checked in to remove code that restored window configuration when =org-edit-src-exit= finished. The net result is af if =C-x 1= is called to remove all windows except the org buffer just edited. This is very inconvenient. Why

Bug: Macros are not replaced in table.el tables. [9.3 (9.3-elpa @ /Users/jlizarraga/.emacs.d/elpa/org-20191203/)]

2019-12-16 Thread Juan Lizarraga Cubillos
Hello I am writing looking for help on something that I think is a bug. I am working on a document with table.el tables instead of org-tables because I need to work with merged cells. Inside the table I have a macro that should generate the table ID. Unfortunately, I have noticed that macros

Duplicate items in agenda-todo-list

2019-12-16 Thread Roger Pibernat
Hi, newbie emacs and org-mode user here. I get duplicate results when listing agenda TODO items. Any ideas on what may be causing this? I'm using Spacemacs with Emacs 26.3 (9.0) on OSX 10.10.5 and . Cheers,

[Nicolò Balzarotti] [bug#38616] emacs: fix odt export

2019-12-16 Thread Nicolò Balzarotti
Hello Org Mode people! This is my first bug-report :) I found a problem on org-odt-export-to-odt function. The export fails with 'OpenDocument export failed: Buffer is read-only: #'. The problem happens on ox-odt, when the file OrgOdtStyles.xml permissions are read-only (this is true

Re: [Idea] Org Collections

2019-12-16 Thread Tim Cross
I would have to say the hardest thing I ever have to do as a developer is naming things. It is hard enough to do within a context of a single group, even harder when speaking about something with a global user base (language, social/cultural differences etc). Despite this, it is so very

Bug: org-element-at-point on headline does not contain :parent property [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-16 Thread Ihor Radchenko
Recipe: 1. Create an org file with the following contents: * 1 ** 2 2. emacs -Q 3. Open the file 4. Put the point at the end of the second headline 5. M-: (message "%s" (org-element-at-point)) Expected behaviour: According to org-element-at-point docstring, "Properties depend on element or

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

2019-12-16 Thread stardiviner
I found another problem, =[C-c C-a d]= does not give out delete available attachment files. Maybe other places is affected, suggest you check out other places. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog:

Re: [Idea] Org Collections

2019-12-16 Thread Roland Everaert
+1 for this idea. You speak about one document used by multiple collections, how do you plan to manage that from a file system point of view? How will be organized a collection, still from the FS point of view? As some are delving into the abyss of sementic, I propose aspects instead of

Re: Asynchronous org-agenda-redo

2019-12-16 Thread Adam Porter
Ihor Radchenko writes: >> 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

Re: [Idea] Org Collections

2019-12-16 Thread Christian Moe
+1, that is: This is an interesting idea, there have been times when I might have found something like this handy, and I might well use if it's developed, though I'm not sure if it will ease my cognitive load or add to it. :-) Yours, Christian Moe Gustav Wikström writes: [...]

Re: Babel: Store script in external file

2019-12-16 Thread Michael Welle
Hello, Nathan Neff writes: > 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

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

2019-12-16 Thread Matt Huszagh
Nicolas Goaziou writes: > I don't think this patch is a good idea, as it mixes elements from > different types: LaTeX fragment (inline), and LaTeX environment (block). > For example, the regexp you modify is used as a paragraph separator, > which doesn't make sense for inline LaTeX. No worries.