[O] [PATCH] Add TITLE export to ox-md

2017-08-23 Thread Jay Kamat
Hi! Currently, the markdown org exporter does not export titles. For example, the following org file: #+TITLE: My Title #+SUBTITLE: My Subtitle #+OPTIONS: toc:nil exports to an empty file. This patch adds title support to ox-md. Currently it exports them as markdown headers. For example, the

[O] Questions about using macro replacement

2017-08-23 Thread Joon Ro
Hi, I have several questions about macro replacement usage. 1. I saw people using {{{n}}} macros, which looks very useful, but I could not find it in current documentation about macro replacement (http://orgmode.org/manual/Macro-replacement.html). Is this only available in developmental

Re: [O] counter macro in dates?

2017-08-23 Thread Adam Porter
Kaushal Modi writes: > +1 for tiny :) > > When I discovered it, I went a bit overboard and wrote a helper fn > (modi/tiny-helper in here[1]) so that I don't have to remember the > tiny syntax. I still use tiny from time to time. > > [1]: >

Re: [O] merging subtrees (in a syllabus)

2017-08-23 Thread Matt Price
On Wed, Aug 23, 2017 at 4:55 PM, Kaushal Modi wrote: > On Tue, Aug 22, 2017 at 4:10 PM Matt Price wrote: > >> And then I'd run some elisp that mashes them all up together, and give >> that to the students, since I think that'll make it easier for them

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

2017-08-23 Thread Michael Brand
Hi Rasmus On Wed, Aug 23, 2017 at 9:17 PM, Rasmus wrote: > FWIW, I use similar patterns, > > ;; outline-regexp: ";;\\*+\\|\\`" > ;; orgstruct-heading-prefix-regexp: ";;\\*+\\|\\`" Thank you, I will try that out. Michael

Re: [O] counter macro in dates?

2017-08-23 Thread Kaushal Modi
On Wed, Aug 23, 2017 at 2:31 AM Adam Porter wrote: > > Apologies to the list for practically spamming this recently, but it > seems directly relevant: > > https://github.com/abo-abo/tiny +1 for tiny :) When I discovered it, I went a bit overboard and wrote a helper fn

Re: [O] org-protocol: deal with broken links on windows

2017-08-23 Thread Nikolay Kudryavtsev
I've recently set up org-protocol as well and while I can confirm that it prepends the full executable path, I don't get the extra "/" and org-protocol works fine. And your link worked fine, except that I had to obviously change the template name. From what I understand the addition  of that

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

2017-08-23 Thread Michael Brand
Hi Adam Thank you for all the explanations that I will study and try later. Especially the origami package looks very useful to me. Michael

Re: [O] merging subtrees (in a syllabus)

2017-08-23 Thread Kaushal Modi
On Tue, Aug 22, 2017 at 4:10 PM Matt Price wrote: > And then I'd run some elisp that mashes them all up together, and give > that to the students, since I think that'll make it easier for them to read. > > Anyone on the list have any ideas? > How about using plain old

[O] org-protocol: deal with broken links on windows

2017-08-23 Thread Ingo Lohmar
Dear all, It appears that org-capture (with the no-frills, no-extensions method of adding a registry entry for org-protocol) using new-style links is not working correctly on Windows (tested with recent Firefoxes as well as the Chromium derivative Iridium). What happens is that the browser

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

2017-08-23 Thread Rasmus
Michael Brand writes: > orgstruct-mode supports it with orgstruct-heading-prefix-regexp set to > for example " *;;;* ". FWIW, I use similar patterns, ;; outline-regexp: ";;\\*+\\|\\`" ;; orgstruct-heading-prefix-regexp: ";;\\*+\\|\\`" Rasmus -- This is

Re: [O] Old org.el ending up in current tar packages?

2017-08-23 Thread Achim Gratz
Adam Porter writes: > It seems that org.el in org-20170821.tar is out of date. Sharon Kimble > noticed that something was wrong, and after much digging, we found that > org-clock.el has been updated to have calls to > org-time-string-to-seconds with 2 arguments, but the function definition > in

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

2017-08-23 Thread Matt Price
On Tue, Aug 22, 2017 at 8:14 PM, Sacha Chua wrote: > 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! > Interesting, I didn't know about

[O] bitbucket issues org-sync

2017-08-23 Thread Uwe Brauer
Hi I just learned there exist https://github.com/arbox/org-sync which imports and exports issues from github bb and others to emacs org mode. Unfortunately for me the import works but not the export. I already asked the author, but did anybody here try out that package? Thanks Uwe Brauer

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

2017-08-23 Thread Adam Porter
Michael Brand writes: Hi Michael, > First thank you for taking over maintenance of outshine.el from > Thorsten Jolitz. Well, I figured it was the least I could do, since he's put so much effort into outshine, outorg, and navi-mode over the years. Be advised,

[O] Old org.el ending up in current tar packages?

2017-08-23 Thread Adam Porter
It seems that org.el in org-20170821.tar is out of date. Sharon Kimble noticed that something was wrong, and after much digging, we found that org-clock.el has been updated to have calls to org-time-string-to-seconds with 2 arguments, but the function definition in org.el only takes 1 argument.

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

2017-08-23 Thread Michael Brand
Hi Adam First thank you for taking over maintenance of outshine.el from Thorsten Jolitz. On Wed, Aug 23, 2017 at 1:33 PM, Adam Porter wrote: > Rasmus writes: > >> I also would like to see a minor-mode for Org-like cycling when using >> outline-minor-mode, as

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

2017-08-23 Thread Adam Porter
Rasmus writes: > I also would like to see a minor-mode for Org-like cycling when using > outline-minor-mode, as I use this feature in init.el. Outshine provides this feature. In my init file, I have headers like: Org And when I press TAB with point on that line, it

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

2017-08-23 Thread Rasmus
Hi Nicolas, Thanks for bringing this up. > I would like to remove Org Struct minor mode from Org code base. Here is > the rationale: Ugh, I use it in init.el and for emails, but it doesn’t work great in message-mode anyway. I miss list handling. Supposedly, you can get Emacs to handle lists,

[O] Date ranges displayed in the agenda

2017-08-23 Thread Manuel Wiesinger
Hi, when a headline starts with a date range, in the agenda it is displayed as part of the headline . When a headline starts with an normal date, the date is not displayed. For is example the following * <2017-08-23 Wed>--<2017-08-24 Thu> Test range * <2017-08-23 Wed> Test date is displayed

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

2017-08-23 Thread Nicolas Goaziou
Adam Porter writes: > Here are the patches. Please let me know if any other changes are > needed. Thank you! Comments follow. > +(defmacro org-agenda--insert-overriding-header ( default) There is no "" in `defmacro'. It should be (default). > + "Insert header into

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

2017-08-23 Thread Nicolas Goaziou
Hello, Adam Porter writes: > If you would prefer the approach, that would mean doing the actual > insertion into the agenda buffer in the macro call rather than the macro > expansion. I thought it would be better to separate the actual > insertion by abstracting it behind

Re: [O] Capture w/ timestamp does not include current timestamp

2017-08-23 Thread Nicolas Goaziou
Hello, Ken Mankoff writes: > A capture template with %^T or %^U will prompt for date and time, but > if I hit ENTER without manually typing a time, the present time (shown > in the prompt) is dropped, and only a date is used in the capture. Fixed. Thank you. Regards, --

Re: [O] counter macro in dates?

2017-08-23 Thread Adam Porter
Matt Price writes: > 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 > equivalent to this pseudo-elisp: > >

Re: [O] merging subtrees (in a syllabus)

2017-08-23 Thread Adam Porter
Hi Matt, One potentially crazy idea would be to store each lab/discussion entry in a named "#+BEGIN_SRC org" block, and use Babel <> to merge them in a final noweb SRC block. Seems a bit recursive, but I guess you could edit each org block with org-edit-special and escape the nesting. Another

[O] Capture w/ timestamp does not include current timestamp

2017-08-23 Thread Ken Mankoff
Hi List, I'm not sure if this is a bug or not - it seems to be, but it has been discussed on the list[1] (and elswhere[2]) and not fixed, and I wonder if that is because nobody explicitly called it out as a bug. At a minimum, I think it is a documentation bug. A capture template with %^T or