Re: [O] Bug: export to markdown invalid URL

2017-08-22 Thread Jay Kamat
Hi, > Isn't it already the case? Sorry, I sent that email without reading the 'applied' email, so it was premature. The fix looks good currently. > I think the current patch is fine. Yours is equivalent, but since we > already bound `raw-path', we might as well use it. yup, that is true, I'm

Re: [O] Bug: export to markdown invalid URL

2017-08-22 Thread Nicolas Goaziou
Hello, Jay Kamat writes: > Subject: [PATCH] ox-md.el: Fix missing ':' in exported markdown image links > > * lisp/ox-md.el (org-md-link): Append ':' to the type of non-file > image links. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > I would like to remove Org Struct minor mode from Org code base. Here is > the rationale: > > 1. It is broken. It might look like using Org in another buffer, but it >is not. In particular, it just cannot cope with lists,

Re: [O] [PATCH] org-agenda: Add 'none setting for org-agenda-overriding-header

2017-08-22 Thread Adam Porter
Hi Nicolas, Nicolas Goaziou writes: > Nitpick: the paragraph above usually comes after the list of changes. Fixed. > Nitpick: you can only write "Use macro" once, on the last line. Fixed. > Why `cl-defmacro'? Usually, `defmacro' is enough. Fixed. > While we're at

Re: [O] dynamic date arithmetic in a macro or otherwise (simulating a "date counter")?

2017-08-22 Thread Adam Porter
I just discovered this yesterday, and it seems relevant: https://github.com/abo-abo/tiny Apparently it can be used like this: m\n8| TODO Learning from Data Week %(+ x 2) \nSCHEDULED: <%(date "Oct 7" (* x 7))> DEADLINE: <%(date "Oct 14" (* x 7))> Which results in: TODO Learning from

Re: [O] dynamic date arithmetic in a macro or otherwise (simulating a "date counter")?

2017-08-22 Thread Sacha Chua
org-clone-subtree-with-time-shift might be a good starting point, too. It could be interesting to be able to replace dates within text and priorities. Good luck! On Aug 22, 2017 7:10 PM, "Matt Price" wrote: > > > On Thu, Aug 17, 2017 at 3:25 PM, Matt Price

Re: [O] [PATCH] org-agenda: Add 'none setting for org-agenda-overriding-header

2017-08-22 Thread Adam Porter
Adam Porter writes: > I'll post a new patch soon. Thanks. Hi Nicolas, Here are the patches. Please let me know if any other changes are needed. Thanks, Adam >From 2b938e98e2cc2409044eb7b03bff98b0a37d404e Mon Sep 17 00:00:00 2001 From: Adam Porter

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Carsten Dominik
Hi Nicolas, I have not problems with removing orgstruct-mode, it is indeed a bad hack and I am no longer using it. I am glad you are not planning to remove orgtbl-mode. In particular, in connection with radio tables, it is a feature that I use constantly, so I would object strongly to removing

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Aaron Ecay
Hi Nicolas, 2017ko abuztuak 20an, Nicolas Goaziou-ek idatzi zuen: > > Hello, > > I would like to remove Org Struct minor mode from Org code base. FWIW, +1 from me. I often bumped up against org-struct related difficulties when coding on org, and I can easily imagine that removing it will make

[O] merging subtrees (in a syllabus)

2017-08-22 Thread Matt Price
I maintain syllabi for courses htat have *discussion* ocmponents and *lab* ocmponents; these are often quite separate from one another. I end up with trees that look like this: * Outline ** <2017-09-12 Tue> (Week {{{n}}}) Hacking History in the Himalaya Why we should write history, why everyone

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Michael Brand
Thanks for pointing out speed keys in outshine.el that I was not aware of. However I still failed. My requirements for orgstruct-mode or its replacement are very limited compared to what orgstruct-mode or outshine.el do or intend to do: 1) Only headings, no lists 2) No structure editing, only

[O] Bug: export to markdown invalid URL

2017-08-22 Thread Fabio Leimgruber
Hello everyone, using latest master, an org file containing just the link #+BEGIN_SRC org [[http://orgmode.org/img/org-mode-unicorn-logo.png]] #+END_SRC on export to markdown with =C-c C-e m m= produces the md file #+BEGIN_EXAMPLE # Table of Contents

Re: [O] Bug: export to markdown invalid URL

2017-08-22 Thread Jay Kamat
Hi again, sorry for the repeated emails, but I think I've come up with a better solution to this issue, to just use the raw link target in the target of the markdown export, which I've attached to this email. Feel free to pick either one of these patches or come up with something better. Hope

Re: [O] Bug: export to markdown invalid URL

2017-08-22 Thread Jay Kamat
Hi, Thanks for catching that. That was my fault, for failing to test commit f3d7284ebd0c6e8248f7c3c444937270402b0ba6 properly. See http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00147.html for the previous thread. I've attached a trivial patch which appears to fix the issue for me,

Re: [O] Bug: export to markdown invalid URL

2017-08-22 Thread Nicolas Goaziou
Jay Kamat writes: > sorry for the repeated emails, but I think I've come up with a better > solution to this issue, to just use the raw link target in the target > of the markdown export, which I've attached to this email. Feel free > to pick either one of these patches or

[O] dynamic date arithmetic in a macro or otherwise (simulating a "date counter")?

2017-08-22 Thread Matt Price
On Thu, Aug 17, 2017 at 3:25 PM, Matt Price wrote: > I'd love to be able generate dates dynamically using the {{{n}}} org > macro, or some other mechanism. I don't immediately see how that would be > possible but maybe someone can guide me. I'd want to do something >

Re: [O] Word-counting in a subtree

2017-08-22 Thread Simon Guest
[copy to list] A few years ago I wrote org-wc.el, which is on MELPA. It uses overlays to display a word count against each heading. Just install the package, and run org-wc-display. https://github.com/tesujimath/org-wc Hope that helps. cheers, Simon On 22 August 2017 at 09:34, Jacopo De

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Eric S Fraga
On Tuesday, 22 Aug 2017 at 08:58, Marcin Borkowski wrote: [...] > Out of curiosity: did anyone consider using lentic > (https://github.com/phillord/lentic) for that? I did look at this in the past but it seemed overkill for emails... and I use babel when programming otherwise so don't really

Re: [O] Word-counting in a subtree

2017-08-22 Thread Nicolas Goaziou
Hello, Jacopo De Simoi writes: > this has the drawback that it also counts words in the header line; except > this, could work as a temporary solution, but I'd still like to cook up some > tag integrated with org What about something like this (untested): (defun

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Marcin Borkowski
Hi all, I'm in a similar situation - I only use Org-struct for my init.el, I'm fine with dropping it. On 2017-08-21, at 07:47, Jarmo Hurri wrote: > Eric S Fraga writes: > >> I have no issues with org-struct-mode being removed. I used to use >> it,

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Kaushal Modi
On Sun, Aug 20, 2017 at 9:58 AM Nicolas Goaziou wrote: > Hello, > > I would like to remove Org Struct minor mode from Org code base. Like many others who replied here, I also do not use Org Struct. So its removal will have no effect on my workflow. > 5. There are

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Kaushal Modi
On Mon, Aug 21, 2017 at 8:00 AM Michael Brand wrote: > Hi all > > If I understand correctly orgstruct-mode has much more convenient key > bindings like TAB and its variants for cycling than outshine.el or > outline-minor-mode which is a big advantage for me. When

Re: [O] multiple agenda views -- sticky agendas?, buffer renaming?

2017-08-22 Thread Alain . Cochard
Bastien writes on Mon 3 Jul 2017 07:09: > alain.coch...@unistra.fr writes: > > > I want my *Org Agenda* buffer to be open at all times, but I still > > want to be able to (say) match as many different tags as desired. > > > > Googling and searching the archives suggested 2 possible