Re: [O] Insert git hash into exported document

2016-12-23 Thread Eric S Fraga
On Friday, 23 Dec 2016 at 17:34, David Talmage wrote: > I'd like to insert the git hash of HEAD in the org-mode documents that > I export. Is there an easy way? I'm exporting to LaTeX. Anything you can do in a shell could be exported to LaTeX. E.g. I do the following with mercurial in one of my

[O] Literate config and :tangle clauses

2016-12-23 Thread aaermolov
Hi all! Recently I've experienced a kind of a problem - my literate Emacs config stopped tangling correctly, only a subset of code blocks were found in resulting .el file. I've looked at it a bit closer and it seems now (not earlier than 9.0.2) the :tangle clause became required. I've searched Or

Re: [O] show only top level TODO in agenda and ignore sub level TODOS in agenda?

2016-12-23 Thread Eric S Fraga
On Thursday, 22 Dec 2016 at 13:01, Xebar Saram wrote: > Hi all > > i recently had some projects where i would define the overall project > as a TODO and then add some more sub headers with TODOS. the problem > is that i dont want to see all these sub TODOS in the agenda. For > example: > > * TODO s

Re: [O] Insert git hash into exported document

2016-12-23 Thread Daniele Pizzolli
David Talmage writes: > I'd like to insert the git hash of HEAD in the org-mode documents that I > export. Is there an easy way? I'm exporting to LaTeX. [] Hello, maybe you can start with a simple: #+NAME: hash-from-lisp #+BEGIN_SRC emacs-lisp (shell-command-to-string "git rev-parse HEAD"

Re: [O] Proper git settings to stay with master?

2016-12-23 Thread John Hendy
On Fri, Dec 23, 2016 at 5:24 AM, Achim Gratz wrote: > Am 22.12.2016 um 17:44 schrieb John Hendy: >> >> $ git pull >> From http://orgmode.org/org-mode >>13751c3249..820d1eb617 maint -> origin/maint >>7fd61c4f92..1c89082600 master -> origin/master >> You are not currently on a bra

Re: [O] show only top level TODO in agenda and ignore sub level TODOS in agenda?

2016-12-23 Thread Xebar Saram
Thx stig. while thats an option i would prefer to keep the actual TODOS and not use lists for this best z On Thu, Dec 22, 2016 at 3:15 PM, Stig Brautaset wrote: > > > Sent from my iPhone > > > On 22 Dec 2016, at 13:01, Xebar Saram wrote: > > > > Hi all > > > > i recently had some projects whe

[O] Insert git hash into exported document

2016-12-23 Thread David Talmage
I'd like to insert the git hash of HEAD in the org-mode documents that I export. Is there an easy way? I'm exporting to LaTeX. I looked for it on worg. The mailing list on gmane.org is still off-line, alas.

Re: [O] how to convert/normalize plain footnotes into [fn:] ones

2016-12-23 Thread Gerald Wildgruber
Hi Nicolas, thanks again! On Mi, Dez 21 2016, Nicolas Goaziou wrote: > I would use (and, in fact, used) > > \\[\\([0-9]+\\)\\] --> \\[fn:\\1\\] > > and eyeballing the results. That works quite well; but as I'm trying to convert a whole book I also have lots of "\cite[NUMBER]{my_ref}" command

Re: [O] Proper git settings to stay with master?

2016-12-23 Thread Achim Gratz
Am 22.12.2016 um 17:44 schrieb John Hendy: $ git pull From http://orgmode.org/org-mode 13751c3249..820d1eb617 maint -> origin/maint 7fd61c4f92..1c89082600 master -> origin/master You are not currently on a branch. Well, then you want to do a git checkout master or git checko