[O] Todo logging

2016-01-05 Thread Shreyas Pai
Hello, I've been trying out org mode for a while to log my daily activities. I use a repeated todo and logrepeat to quickly log the completion of various activities. The problem I have is that the log that appears contains the date when the entry was changed and I want some record of the

Re: [O] Bug: time duration in capture template broken

2016-01-05 Thread Julien Cubizolles
Maybe it's related, but I just noted that the %^G and %^t fields %-escapes don't work anymore: they just insert the "%^G" and "%^t" strings instead of prompting. Julien;

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Rasmus
Hi Erik, > I couldn’t figure out how to add a comment to my patch, so here is a little more > commentary. For long prose like this I'd just export the patch (git format-patch) and attach it to an email like this. But this is also fine... Perhaps Kyle's method is more pro. > Right now, if you

Re: [O] [PATCH] ox-koma-letter.el: Add support for section

2016-01-05 Thread Daniele Pizzolli
On Mon, Jan 04 2016, Rasmus wrote: > Hi Daniele, > > Daniele Pizzolli writes: > >> thanks for you comment. I try to explain my point of view better. Now >> the export to letter silently discard the headings text in the exported >> tex. This is quite bad, even if documented. As

Re: [O] Renaming of +NAME for code blocks to in HTML export, no longer user defined

2016-01-05 Thread Adam Aviv
On Mon, Jan 4, 2016 at 1:29 PM, Nick Dokos wrote: > It may be a bug: the code (in org-html-src-block) looks like this > > (label (let ((lbl (and (org-element-property :name src-block) > (org-export-get-reference src-block > info >

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Kyle Meyer
Rasmus writes: [...] >> This patch automatically calls =git annex get PATH= when you open the >> attachment from Org, if the file has not been fetched already. > > This is a good idea. Though really this sounds like something that > should be done by the git annex assistant

[O] any intelligent workflow how to use mobileorg agendas?

2016-01-05 Thread David Belohrad
Dear All, i'm in org-mode for already some years. However I am still struggling with how to setup the workflow such, that it actually works with the mobileorg agenda. What I need is to display a) daily agenda b) datetree with say next 90 days c) show specific tags Now, with scenario (c) there

[O] just discovered how well NLinum-mode works with large orgmode files

2016-01-05 Thread Xebar Saram
Hi all just wanted to share a discovery (non newbs like me probably know this already) for a few months i have been struggling with linum mode after it keeps freezing emacs on large files. today i discovered this: http://elpa.gnu.org/packages/nlinum.html its amazing how we it works even in

Re: [O] How exactly does "C-c ." work in an existing timestamp?

2016-01-05 Thread Nick Dokos
Jarmo Hurri writes: > Greetings. > > Consider the following org file > > # -- > * testing > <2016-01-07 Thu 15:00-16:15> > # -- > > When I move my cursor inside the timestamp and press "C-c .", control > jumps

[O] Bug: Args out of range on Java include [8.3.2 (8.3.2-dist @ /Users/dmusican/.emacs.d/org-8.3.2/lisp/)]

2016-01-05 Thread Dave Musicant
I've got an org-mode file with a single line in it: #+INCLUDE: "Temp.java" src java That file, in turn, is including a Java file with a single line in it: import java.util.abcde.*; When I try to export the org file to HTML, it results in an Args out of range error. This error does not happen

Re: [O] How exactly does "C-c ." work in an existing timestamp?

2016-01-05 Thread Jarmo Hurri
Nick Dokos writes: > Jarmo Hurri writes: > >> # -- >> * testing >> <2016-01-07 Thu 15:00-16:15> >> # -- >> >> When I move my cursor inside the timestamp and press "C-c .", control >> jumps to

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Rasmus
Hi Kyle, Kyle Meyer writes: > Rasmus writes: > > [...] > >>> This patch automatically calls =git annex get PATH= when you open the >>> attachment from Org, if the file has not been fetched already. >> >> This is a good idea. Though really this sounds like

Re: [O] [PATCH] ox-koma-letter.el: Add support for section

2016-01-05 Thread Rasmus
Ciao Daniele, Daniele Pizzolli writes: >> Whether sections.lco is available is nontrivial. As I remember the patch, >> it also imposed level two headings to be sections. > > Not really. With the current patch, all the headings inside the main > content (that is the first not

[O] Bug: #+begin_html.. #+end_html export bugs [8.3beta (release_8.3beta-1038-gcd7cbd @ d:/ZballInstall/EZWinSoft/msys64/mingw64/home/github/org-mode/lisp/)]

2016-01-05 Thread kuangdash
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

[O] Bug: Wrong Categories in Agenda (Last category in file) [8.3.2 (8.3.2-52-g6d0af5-elpa @ /Users/calvin/.emacs.d/elpa/org-20151228/)]

2016-01-05 Thread Calvin Beck
Hello, in my agenda view I have a problem where the last category in a file is used for ALL categories in my agenda view. For instance when using the todo.org template found here: http://newartisans.com/2007/08/using-org-mode-as-a-day-planner/ All of my categories in the weekly agenda show up as

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Kyle Meyer
Rasmus writes: >>> Has Joey spoken for or against automatic fetching of content when >>> requested? >> >> I think I'm missing something. Why would he have an issue with running >> "git annex get"? > > I don't have anything against it, but in OP he also talks about > implementing

Re: [O] How exactly does "C-c ." work in an existing timestamp?

2016-01-05 Thread Nick Dokos
Jarmo Hurri writes: > Nick Dokos writes: > >> Jarmo Hurri writes: >> >>> # -- >>> * testing >>> <2016-01-07 Thu 15:00-16:15> >>> # -- >>> >>> When I move my cursor inside

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Kyle Meyer
Rasmus writes: > I want to know if e.g. the git annex (assistant?) could support > transparently getting files. That is once I try to open file X, which is > annexed and stored somewhere else, X will automatically be fetched > /without/ the need to call "git annex get" first.

Re: [O] Org campture recursively expands %-escapes

2016-01-05 Thread Michael Brand
Hi Nicolas On Wed, Jan 6, 2016 at 12:39 AM, Nicolas Goaziou wrote: > I do. Somehow, I didn't see this before. This is because I renamed > `org-capture-expand-embedded-elisp' into > `org-capture--expand-embedded-elisp'. > > However, ISTM there is some code duplication

[O] Bug: #+begin_html.. #+end_html export bugs [8.3beta (release_8.3beta-1038-gcd7cbd @ d:/ZballInstall/EZWinSoft/msys64/mingw64/home/github/org-mode/lisp/)]

2016-01-05 Thread tyuuni
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

[O] Bug: #+begin_html.. #+end_html export bugs [8.3beta (release_8.3beta-1038-gcd7cbd @ d:/ZballInstall/EZWinSoft/msys64/mingw64/home/github/org-mode/lisp/)]

2016-01-05 Thread tyuuni
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

[O] How to call org-set-property from a function

2016-01-05 Thread Julien Cubizolles
I have the following function to automate the creation of a new entry: #+begin_src emacs-lisp (interactive) (save-excursion (org-beamer-select-environment) (org-set-tags-command) ) #+end_src I'd like to add the possibility to set some properties through (org-set-property) but I

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Marcin Borkowski
On 2016-01-05, at 23:14, Julien Cubizolles wrote: > I have the following function to automate the creation of a new entry: > > #+begin_src emacs-lisp > (interactive) > (save-excursion > (org-beamer-select-environment) > (org-set-tags-command) > ) >

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Julien Cubizolles
Marcin Borkowski writes: > What about call-interactively? Thanks, that's the way to do it: #+begin_src emacs-lisp (interactive) (save-excursion (org-beamer-select-environment) (org-set-tags-command) (call-interactively 'org-set-property) ) #+end_src >>

Re: [O] Bug: time duration in capture template broken

2016-01-05 Thread Julien Cubizolles
Nicolas Goaziou writes: > Julien Cubizolles writes: > >> --8<---cut here---start->8--- >> ("t" "todo" entry (fileheadline "~/org/orgfiles/refile.org" "Tâches") >> "* TODO %? %^G\n DEADLINE: %^t" :clock-resume t

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Rasmus
Hi Julien, Julien Cubizolles writes: > I have the following function to automate the creation of a new entry: > > #+begin_src emacs-lisp > (interactive) > (save-excursion > (org-beamer-select-environment) > (org-set-tags-command) > ) > #+end_src > > I'd

Re: [O] Bug: time duration in capture template broken

2016-01-05 Thread Nicolas Goaziou
Hello, Charles Millar writes: > Until recently given the following capture template > > "* APPOINTMENT %?%^{BeginTimeDuration}T %^{Location} %^{Reason}" > > When prompted for the BeginTimeDuration and entered 2/29 09:00+1:00, etc > > would result in > > * APPOINTMENT

Re: [O] Bug: time duration in capture template broken

2016-01-05 Thread Nicolas Goaziou
Julien Cubizolles writes: > --8<---cut here---start->8--- > ("t" "todo" entry (fileheadline "~/org/orgfiles/refile.org" "Tâches") > "* TODO %? %^G\n DEADLINE: %^t" :clock-resume t :kill-buffer > t)--8<---cut

Re: [O] Bug: Args out of range on Java include [8.3.2 (8.3.2-dist @ /Users/dmusican/.emacs.d/org-8.3.2/lisp/)]

2016-01-05 Thread Nicolas Goaziou
Hello, Dave Musicant writes: > I've got an org-mode file with a single line in it: > > #+INCLUDE: "Temp.java" src java > > That file, in turn, is including a Java file with a single line in it: > > import java.util.abcde.*; > > When I try to export the org file to HTML, it

Re: [O] Bug: Asychronous export fails [8.3.2 (8.3.2-52-g6d0af5-elpa @ /home/rrt/.emacs.d/elpa/org-20151228/)]

2016-01-05 Thread Nicolas Goaziou
Reuben Thomas writes: > I don't get an Emacs error in my Emacs, just "Process `org-export-process' > exited abnormally"; the error is in the child Emacs process. How do I get a > backtrace from that? (I checked the Org Manual, but it doesn't seem to > cover this case.) In an Org

Re: [O] capture template for .ics invitation in vm

2016-01-05 Thread Eric S Fraga
On Saturday, 19 Dec 2015 at 08:24, pray...@unimelb.edu.au wrote: > I'm trying to make a capture template for turning the very frequent > invitations I get in .ics format (I think) into org agenda items. > The basis is the ical2org awk script maintained by Eric Fraga. > My template is defined as

Re: [O] Bug: Wrong Categories in Agenda (Last category in file) [8.3.2 (8.3.2-52-g6d0af5-elpa @ /Users/calvin/.emacs.d/elpa/org-20151228/)]

2016-01-05 Thread Nicolas Goaziou
Hello, Calvin Beck writes: > Hello, in my agenda view I have a problem where the last category in a > file is used for ALL categories in my agenda view. For instance when > using the todo.org template found here: > >

Re: [O] Bug: time duration in capture template broken

2016-01-05 Thread Nicolas Goaziou
Hello, Julien Cubizolles writes: > Maybe it's related, but I just noted that the %^G and %^t fields > %-escapes don't work anymore: they just insert the "%^G" and "%^t" > strings instead of prompting. Could you provide a template where those fail? Regards, -- Nicolas

Re: [O] Bug: #+begin_html.. #+end_html export bugs [8.3beta (release_8.3beta-1038-gcd7cbd @ d:/ZballInstall/EZWinSoft/msys64/mingw64/home/github/org-mode/lisp/)]

2016-01-05 Thread Nicolas Goaziou
Hello, writes: > The content between #+begin_html and #+end_html is exported as "it is", > so I see the original html code in my browser. help... You probably need to use #+begin_export html ... #+end_export Regards, -- Nicolas Goaziou

Re: [O] Bug: time duration in capture template broken

2016-01-05 Thread Julien Cubizolles
Nicolas Goaziou writes: > Hello, > > Julien Cubizolles writes: > >> Maybe it's related, but I just noted that the %^G and %^t fields >> %-escapes don't work anymore: they just insert the "%^G" and "%^t" >> strings instead of prompting. > > Could you

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Rasmus
Kyle Meyer writes: > Rasmus writes: > Has Joey spoken for or against automatic fetching of content when requested? >>> >>> I think I'm missing something. Why would he have an issue with running >>> "git annex get"? >> >> I don't have anything against

[O] How exactly does "C-c ." work in an existing timestamp?

2016-01-05 Thread Jarmo Hurri
Greetings. Consider the following org file # -- * testing <2016-01-07 Thu 15:00-16:15> # -- When I move my cursor inside the timestamp and press "C-c .", control jumps to a minibuffer in the echo area. But when I try, in the

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Rasmus
Julien Cubizolles writes: > Rasmus writes: > > >> For more fine grained control you probably need to write something akin to >> org-set-property and check the actual values (e.g. to signal quit if an >> empty quote is returned). > > Actually, shouldn't

Re: [O] just discovered how well NLinum-mode works with large orgmode files

2016-01-05 Thread Grant Rettke
On Tue, Jan 5, 2016 at 9:13 AM, Xebar Saram wrote: > just wanted to share a discovery (non newbs like me probably know this > already) > > for a few months i have been struggling with linum mode after it keeps > freezing emacs on large files. today i discovered this: > >

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Erik Hetzner
Thanks for the feedback, Kyle! I will make these changes and resubmit. And thanks for the pointer to =git annex find PATH=. I think I can use that to check if a file needs to be fetched. (more below) On Mon, 04 Jan 2016 22:21:41 -0800, Kyle Meyer wrote: > > Thanks for the

Re: [O] [PATCH] org-attach.el: Fetch attachments from git annex

2016-01-05 Thread Erik Hetzner
Hi Rasmus, On Tue, 05 Jan 2016 01:56:39 -0800, Rasmus wrote: > > Hi Erik, > > > For long prose like this I'd just export the patch (git format-patch) > and attach it to an email like this. But this is also fine... Perhaps > Kyle's method is more pro. Thanks! I’m not sure

Re: [O] Bug: time duration in capture template broken

2016-01-05 Thread Charles Millar
Hi, On 01/05/2016 05:31 PM, Nicolas Goaziou wrote: Hello, Charles Millar writes: Until recently given the following capture template "* APPOINTMENT %?%^{BeginTimeDuration}T %^{Location} %^{Reason}" When prompted for the BeginTimeDuration and entered 2/29 09:00+1:00,

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Julien Cubizolles
Rasmus writes: > When you enter no value (C-j when ido is enabled) or C-return with helm. > it insert :: VALUE. But then you end up with a malformed drawer, so C-g is better for the moment. > For more fine grained control you probably need to write something akin to >

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Julien Cubizolles
Rasmus writes: > For more fine grained control you probably need to write something akin to > org-set-property and check the actual values (e.g. to signal quit if an > empty quote is returned). Actually, shouldn't org-set-property check for an empty quote for the property name

Re: [O] command to skip the :PROPERTIES: drawer

2016-01-05 Thread Nicolas Goaziou
Hello, Julien Cubizolles writes: > Let's say you have an entry like the followin, with the point in the > Entry line. Is there an org command to put the mark on a newline after > :END: ? At the moment, I have too many C-n to type for my taste :-) > > *** Entry

[O] Tags v. PROPERTIES for noexport and ignoreheadings

2016-01-05 Thread Ken Mankoff
Hi List, I'm trying to figure out when I should be using tags and when I should be using properties, for the cases of "noexport" and "ignoringheading". I think I began using Org before either of these features were supported. Then people provide code snippets that added this functionality

Re: [O] Org campture recursively expands %-escapes

2016-01-05 Thread Nicolas Goaziou
Michael Brand writes: > When you evaluate > > (progn > (require 'org-feed) > (org-feed-format-entry >'(:title "5 % less (see\n item \"3)\" somewhere)" ; %h > :link "http://ORGMODE.org; ; %a > :pubDate "Sat, 02 Jan 2016 12:00:00 +") ; %u >

Re: [O] Tags v. PROPERTIES for noexport and ignoreheadings

2016-01-05 Thread Ken Mankoff
On 2016-01-05 at 18:29, Rasmus wrote: > Ken Mankoff writes: >> I'm trying to figure out when I should be using tags and when I >> should be using properties, for the cases of "noexport" and >> "ignoringheading". > > If you are working on a patch to be submitted

Re: [O] Tags v. PROPERTIES for noexport and ignoreheadings

2016-01-05 Thread Rasmus
Ken Mankoff writes: > On 2016-01-05 at 18:29, Rasmus wrote: >> Ken Mankoff writes: >>> I'm trying to figure out when I should be using tags and when I > >>> should be using properties, for the cases of "noexport" and >>> "ignoringheading".

Re: [O] Remaining time in effort estimates

2016-01-05 Thread Myles English
Hello Michael, I did something like this a while ago but there was not much interest at the time and I don't use it anymore: http://thread.gmane.org/gmane.emacs.orgmode/61459/focus=61555 It would probably need updating but I hope it is useful to you. Myles Michael Gummelt writes: > Hi, > > I

[O] command to skip the :PROPERTIES: drawer

2016-01-05 Thread Julien Cubizolles
Let's say you have an entry like the followin, with the point in the Entry line. Is there an org command to put the mark on a newline after :END: ? At the moment, I have too many C-n to type for my taste :-) --8<---cut here---start->8--- *** Entry

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Julien Cubizolles
Rasmus writes: > Does this do what you want: > > (call-interactively 'org-set-property) Thanks, indeed it does, Marcin beat you to it though :-) >> Also, I will sometimes need to include several different >> properties. What would be the right way to run a loop where a

Re: [O] command to skip the :PROPERTIES: drawer

2016-01-05 Thread Julien Cubizolles
Nicolas Goaziou writes: > Hello, > > Julien Cubizolles writes: > >> Let's say you have an entry like the followin, with the point in the >> Entry line. Is there an org command to put the mark on a newline after >> :END: ? At the moment, I have too

Re: [O] Tags v. PROPERTIES for noexport and ignoreheadings

2016-01-05 Thread Rasmus
Ken Mankoff writes: > Hi List, > > I'm trying to figure out when I should be using tags and when I should > be using properties, for the cases of "noexport" and > "ignoringheading". If you are working on a patch to be submitted to org, you should use a property unless you

Re: [O] How to call org-set-property from a function

2016-01-05 Thread Rasmus
Julien Cubizolles writes: > Rasmus writes: > > >> Does this do what you want: >> >> (call-interactively 'org-set-property) > > Thanks, indeed it does, Marcin beat you to it though :-) > >>> Also, I will sometimes need to include several different >>>