Re: [O] New feature? Remove duplicate subheadings, preserving order

2018-01-03 Thread Ihor Radchenko
Is there any possible way to prevent it more reliably? I am aware of org-catch-invisible-edits, but this is obviously not enough. Does it make sense to generate some kind of subtree based diff after each change, so that user can review all recent changes in org files? Ihor Adam Porter writes:

Re: [O] BeOrg

2018-01-03 Thread Tim Cross
Bottom line is that referencing this software in the org manual would contravene the GNU guidelines and underlying philosophy of the GPL. While you will find references to non-GPL software/platforms, these are not references which promote non-free solutions, but references in support of adopting f

[O] strange behaviour with LaTeX fragments with tikzpicture

2018-01-03 Thread Eric S Fraga
Hello all, I may be missing something but exporting to HTML with a LaTeX fragment like this: \begin{center} \begin{tikzpicture}[node distance=6cm, thick] \node (start) {Start}; \node (finish) [right of=start] {Finish} edge [<-] (start); \end{tikzpicture} Some text \end{center} generates a t

[O] bug#22776: interactive org-set-effort (C-c C-x e) and column view direct index selection do not handle Effort_ALL with more than 10 entries

2018-01-03 Thread Nicolas Goaziou
Hello, David Caldwell writes: > This bug is a replacement of bug #22735(24.3; org-set-effort *without* > numeric prefix - still forces me to use nth allowed).  After more > experimentation, I got a better understanding of the functionality and > now consider that bug 22735 to be invalid as writt

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Marcin Borkowski
On 2018-01-01, at 00:37, Adam Porter wrote: > Marcin Borkowski writes: > >> Thanks again. I played around with this for some time, but there is one >> problem. The agenda has a lot of settings, and replicating them with >> org-map-entries turned out to be no fun. >> >> Is there a way to plug

Re: [O] New feature? Remove duplicate subheadings, preserving order

2018-01-03 Thread Adam Porter
Ihor Radchenko writes: > Is there any possible way to prevent it more reliably? > > I am aware of org-catch-invisible-edits, but this is obviously not > enough. Does it make sense to generate some kind of subtree based diff > after each change, so that user can review all recent changes in org >

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Adam Porter
Marcin Borkowski writes: > and thanks for your answer. I never thought about analyzing agenda > /output/ - that is quite clever! I still think it's a hack, and > I really regret that Org does not offer a programmer a better API for > agenda (and many other things) - there could be a lot of appl

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Adam Porter
Hi Marcin (and all), I have some more code you might find useful. I had an idea to take a different approach with my org-agenda-ng code (not using org-element to parse the whole buffer first), and it seems to be working well so far. The code is here: https://github.com/alphapapa/org-agenda-ng/tr

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Nicolas Goaziou
Hello, Adam Porter writes: > There are some examples of attempts at better APIs (e.g. my PoC > org-agenda-ng code, Remy Honig's > , and some other people's > personal configs here and there), but I'm guessing they all suffer from > Emacs's function call ov

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Nicolas Goaziou
Hello, Adam Porter writes: > I have some more code you might find useful. I had an idea to take a > different approach with my org-agenda-ng code (not using org-element to > parse the whole buffer first), and it seems to be working well so far. Clearly, `org-element-parse-buffer' is not adequa

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Adam Porter
Nicolas Goaziou writes: Hi Nicolas, > I don't think the size of the functions matter much. Agenda is optimized > for single day view, so it is fast in this case because it only looks > for "interesting" headlines. However, this mechanism is terrible for > multi-days agendas: Agenda treats them a

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Adam Porter
Forgive the self reply, but I just made a change which makes the code much more pleasant. The matching functions are bound internally during matching, so instead of: (org-agenda-ng--agenda :files org-agenda-files :pred (lambda () (and (org-agenda-ng--todo-p) (or (org-agen

[O] bug#22597: [25.0.90.1] org-table-import docu

2018-01-03 Thread Nicolas Goaziou
Hello, Andreas Röhler writes: > saying: The file is assumed to be tab-separated > > While internally org-table-convert-region is used receiving optional > argument SEPARATOR: > > \(4) Use the comma as a field separator > \(16) Use a TAB as field separator > > ;;; > > Thus docu should me

[O] bug#18855: 25.0.50; 123-char line in Org manual top menu

2018-01-03 Thread Nicolas Goaziou
Hello, Drew Adams writes: > Menu lines in manuals should be max 70 chars. This is not the case for > the Org manual, top menu. It even has this menu item, which is 123 chars: > > * Language-specific header arguments in Org mode properties:: Set > language-specific default values for a buffer

[O] bug#19448: 25.0.50; org-mobile-push should offer to save unsaved agenda files

2018-01-03 Thread Nicolas Goaziou
Hello, Rudi Schlatte writes: > When trying to call `org-mobile-push' while an org file in > org-agenda-files is open and modified, `org-mobile-push' displays a > prompt like the following in the minibuffer: > > Non-existent agenda file ~/Documents/Org/.#notes.org. [R]emove from list or > [A]bo

Re: [O] Is there a way to get all agenda TODOs programmatically?

2018-01-03 Thread Adam Porter
Nicolas Goaziou writes: >> I have some more code you might find useful. I had an idea to take a >> different approach with my org-agenda-ng code (not using org-element to >> parse the whole buffer first), and it seems to be working well so far. > > Clearly, `org-element-parse-buffer' is not adeq

[O] bug#19915: 25.0.50; defadvice for `org-store-link' makes code fail because of `org-called-interactively-p'

2018-01-03 Thread Nicolas Goaziou
Hello, Drew Adams writes: > And yes, `advice-add' does not have the same problem. > > But it is a shame to limit users to recent Emacs versions > just because Org uses `called-interactively' instead of > adding an argument that indicates whether the command is > called interactively (as Emacs re

Re: [O] BeOrg

2018-01-03 Thread Adonay Felipe Nogueira
Morever, considering the availability only in Apple's App Store, how will users exercise freedom 1, which also includes the freedom to reuse the adaptation in the same environment/device? This "retake' of freedom 0 in freedom 1 is also mentioned in [1]. Currently: - BeOrg doesn't seem to be "open

Re: [O] BeOrg

2018-01-03 Thread Adonay Felipe Nogueira
+1 2018-01-03T00:00:01-0500 Scott Randby wrote: > Emacs for Windows is still free software with source code and > everything. BeOrg is not free software. > > Scott Randby

[O] Broken links in worg

2018-01-03 Thread Nick Dokos
There are a few links in the babel area of worg (https://orgmode.org/worg/org-contrib/babel/index.html) that seem to be broken: o http://orgmode.org/manual/Working-With-Source-Code.html#Working-With-Source-Code (this seems to be an http vs https problem). o https://orgmode.org/worg/org-contrib

[O] Bug: Table column bars do not get properly aligned [9.1.5 (9.1.5-1-gb3ddb0-elpa @ /home/arktik/.emacs.d/elpa/org-20171225/)]

2018-01-03 Thread Arktik Blizzard
> When I make a table in org-mode, TAB doesn't align "|" properly. I have > commented out everything in my .emacs file, still the same problem. > However it works fine when I open emacs with "$ emacs -q", the current state > for this is at the end. > > HEADER: DETAILS WITH EVERYTHING IN .emacs C

[O] inherit priority

2018-01-03 Thread Jesse Johnson
Hi all, I want child org items to inherit priority from their parent. I tried setting |org-use-property-inheritance '("PRIORITY")|, but it did not have any apparent effect. Use case: I often have high priority projects whose tasks are mostly equally important. I don't want to waste time sett

[O] Bug: property "CLOCK_MODELINE_TOTAL" is not inherted

2018-01-03 Thread Chen Zhang
Hi all, When using clock I prefer to set "CLOCK_MODELINE_TOTAL" to "current". Since it's used frequently I want to set it as an upper level property (or a global configuration). So I try to use property inheritance, but I failed. After struggling 2 days I find the reason. The related function "or

[O] org-plus-contrib tar disappeared from orgmode.org/elpa/

2018-01-03 Thread Christopher League
Hi, this is a plea to retain versioned copies of the org-plus-contrib tar in the directory, because package managers refer to them. Currently, the only versions present at that location are 20171227 and 20171228. I'm using NixOS, and my current nixpkgs tree refers to 2

[O] Org Usenet

2018-01-03 Thread M. P.
Is their an org mode usenet group?

Re: [O] Bug: Table column bars do not get properly aligned [9.1.5 (9.1.5-1-gb3ddb0-elpa @ /home/arktik/.emacs.d/elpa/org-20171225/)]

2018-01-03 Thread Nicolas Goaziou
Hello, Arktik Blizzard writes: >> When I make a table in org-mode, TAB doesn't align "|" properly. I have >> commented out everything in my .emacs file, still the same problem. >> However it works fine when I open emacs with "$ emacs -q", the current state >> for this is at the end. >> >> HEA

Re: [O] inherit priority

2018-01-03 Thread Nicolas Goaziou
Hello, Jesse Johnson writes: > I want child org items to inherit priority from their parent. > > I tried setting |org-use-property-inheritance '("PRIORITY")|, but it > did not have any apparent effect. What did you try exactly, i.e., how could you show an ECM demonstrating the issue? Regards,

Re: [O] Bug: property "CLOCK_MODELINE_TOTAL" is not inherted

2018-01-03 Thread Nicolas Goaziou
Hello, Chen Zhang writes: > During my investigation, I think the key problems are: > 1. The Org manual only mentions CLOCK_MODELINE_TOTAL to change mode line > clock time. And it's easy to guide people like me to use property > inheritance to do global settings. But it doesn't work. Indeed. Fix

[O] How to get a list of all TODO keywords from defined variable `org-todo-keywords`?

2018-01-03 Thread numbch...@gmail.com
I'm trying to select TODO keyword when doing org-capture. Like this: (setq org-capture-templates '(("c" "[C]apture" entry (file "") ;; HACK: select todo keyword interactively from `org-todo-keywords'. ;; 1. command `org-todo' "* %(completing-read \"Todo keyword: \" (mapca

Re: [O] How to get a list of all TODO keywords from defined variable `org-todo-keywords`?

2018-01-03 Thread Adam Porter
This might do: (completing-read "Todo keyword: " org-todo-keywords-for-agenda nil t)

[O] bug#29885: 25.3; org-mode table messing up!

2018-01-03 Thread Eli Zaretskii
> From: Rahul Juliato > Date: Thu, 4 Jan 2018 01:10:26 -0200 > Cc: Eli Zaretskii , 29...@debbugs.gnu.org > > Solved. > > Apparently I had an org installation folder inside ~/.emacs.d, other then my > distribution provided (since > org-mode is part of the emacs package). > > I deleted it and no

Re: [O] inherit priority

2018-01-03 Thread Jesse Johnson
Hi! I don't know what an ECM is in this context, but I assume you mean a minimal reproducible case. 1. Set |org-use-property-inheritance '("PRIORITY")| 2. Create a new org file with this content: * [#A] parent ** child A ** child B 3. View org-columns (C-c C-x C-c in my setup) 4. Note that

[O] is there a plan to move org elpa from http to https?

2018-01-03 Thread Shiyao MA
Hi, is there a plan to move org elpa from http to https? -- Best, Shiyao

Re: [O] Org Usenet

2018-01-03 Thread Eric S Fraga
On Wednesday, 3 Jan 2018 at 13:39, M. P. wrote: > Is their an org mode usenet group? The closest we have that I am aware of is gmane.emacs.help. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.6 signature.asc Description: PGP signature