Re: [O] whether in drawer?

2016-04-27 Thread Derek Feichtinger
Hi Samuel Wales gmail.com> writes: > > can one tell whether point is in a drawer? > > By coincidence just posted a patch request which contains the functionality you desire. I use org-element-at-point and then test for drawer/property drawer: (defun org-open-if-in-drawer () (let ((element

[O] PATCH: invoking RET on agenda clock log line ends up with point in closed clock drawer

2016-04-27 Thread Derek Feichtinger
Hello A longer time ago, hitting RET on an agenda clock log line brought up the respective org buffer with the cursor positioned on the clock line. At some point this stopped to work cleanly, at least when using clock drawers. The clock drawer would always be closed (even when it was opened in

Re: [O] M-x cfw:open-org-calendar not working

2016-04-27 Thread Paul James Harper
Adam Thanks. I got it working. But I'll note that method for troubleshooting in future. Regards, Paul On 2016-04-28 01:16:55, Adam Porter wrote: > I would try opening the el files and eval-buffer in each one, then see > if the commands are available.

Re: [O] Special alignment in org-mode

2016-04-27 Thread David Cao
Hi! This solution works fairly well with the headers themselves, but the actual content beneath the headers stays to the side of the buffer (as pictured: http://i.imgur.com/nGv8XBI.png). Would there be any way to fix this? David On Wed, Apr 27, 2016 at 9:47 AM John Kitchin

[O] whether in drawer?

2016-04-27 Thread Samuel Wales
can one tell whether point is in a drawer?

Re: [O] How to reorder a footnote list?

2016-04-27 Thread Adam Porter
I don't understand: you want the footnotes to be in reverse order? I know very little about latex, so I'm sorry if this is just noise. BTW, this won't help now, and is not meant to be snarky, but keeping your org files in a git repo would help with a situation like this, because you could find

Re: [O] M-x cfw:open-org-calendar not working

2016-04-27 Thread Adam Porter
I would try opening the el files and eval-buffer in each one, then see if the commands are available.

Re: [O] new rule to capitalise the first word in a sentence? but how?

2016-04-27 Thread Samuel Wales
very old code, maybe can be adjusted slightly to do what you want. (defun alpha-capitalize-sentences () (interactive) (let ((b (region-beginning)) (e (region-end)) ;;i always use double spaces but i want sentence movement ;;to be liberal -- that is to count more things

Re: [O] pandoc-style citations

2016-04-27 Thread John Kitchin
> > Org-ref does a lot of nice things, but on this particular point is not > very helpful, and has nothing to add for the case of multiple cites with > overall and individual pre/posts. The package states that this is low > priority b/c this style of citation is rare in scientific publishing (by

Re: [O] new rule to capitalise the first word in a sentence? but how?

2016-04-27 Thread Marcin Borkowski
On 2016-04-27, at 19:36, Sharon Kimble wrote: > How can I have a rule that will capitalise the first word of a new > sentence, with the previous sentence concluding with a full stop and > then one space please? This would be extremely useful for me as I tend > to

[O] How to reorder a footnote list?

2016-04-27 Thread Sharon Kimble
Something has happened to my list of footnotes which are now numbered in order of 1,2,3, etc, instead of its more normal 50, 49, 48, etc. I don't know exactly when it happened but I'm not able now to export my document to latex because its looking for [fn:1] at the bottom of the list but [fn:1] is

Re: [O] pandoc-style citations

2016-04-27 Thread Alex Fenton
On 27/04/16 21:41, John Kitchin wrote: you might also checkout helm-bibtex. A recent note indicated "Support for pre- and postnotes for pandoc-citeproc citations." Thanks, I already use helm-bibtex together with org-ref so will have a look. this exports out of the org-ref box to: blah blah

Re: [O] pandoc-style citations

2016-04-27 Thread Alex Fenton
Hi Richard On 27/04/16 16:09, Richard Lawrence wrote: As far as Elisp implementations go, I know of no specific parser for Pandoc citation syntax. But there is support for a Pandoc-like syntax (discussed in the threads you read) in the wip-cite branch of Org's repository.

Re: [O] M-x cfw:open-org-calendar not working - Solved

2016-04-27 Thread Paul Harper
Can't remember where I got this from. But this config got Calfw and Org-gcal working with Gmail. #+BEGIN_SRC emacs-lisp (require 'calfw-cal) (require 'calfw-ical) (require 'calfw-howm) (require 'calfw-org) (defun my-open-calendar () (interactive) (cfw:open-calendar-buffer

Re: [O] pandoc-style citations

2016-04-27 Thread John Kitchin
you might also checkout helm-bibtex. A recent note indicated "Support for pre- and postnotes for pandoc-citeproc citations." I haven't tried it, so I am not sure how it works for org-mode. org-ref supports [[cite:somekey][pre-text::post-text]] syntax, without folding the link on itself so you can

[O] new rule to capitalise the first word in a sentence? but how?

2016-04-27 Thread Sharon Kimble
How can I have a rule that will capitalise the first word of a new sentence, with the previous sentence concluding with a full stop and then one space please? This would be extremely useful for me as I tend to forget to capitalise the first word, but how can it be done please? Thanks Sharon. --

Re: [O] org-passwords.el and encryption

2016-04-27 Thread Julien Cubizolles
Eric S Fraga writes: > On Wednesday, 27 Apr 2016 at 16:24, Julien Cubizolles wrote: >> there must be something wrong with my setup: keychain complains: >> >> * Adding 1 gpg key(s): 370D5DFF >> * Error: Problem adding (is pinentry installed?); giving up > > Which version(s) of

[O] TaskJuggler exporting TODO tasks as complete?

2016-04-27 Thread Erik Wickstrom
Hi, I've noticed that if I export a project with a list of TODOs, the taskjuggler gantt chart shows all of the tasks' taskbars as "complete" (ie a filled status bar.) unless I manually add a ":Complete: 0" property to each TODO item. This happens because if the TODO isn't in a DONE state, and

[O] make org-agenda-to-appt run a shell command also

2016-04-27 Thread Samuel Wales
i currently use org-agenda-to-appt to make emacs make an emacs window pop up when a timed task shows up. this works well! however, for some of these tasks i want to do something in addition. i want to run a shell command. i'd put the shell command in the properties drawer like #+begin_quote

Re: [O] bug: export prints bogus link

2016-04-27 Thread Samuel Wales
thanks, nicolas. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.

Re: [O] exported table has text overflowing off the pdf page

2016-04-27 Thread Thomas S. Dye
Aloha Sharon, Sharon Kimble writes: > Thanks Eduardo, as I said I'm converting a latex document into org-mode, > so I've already got quite complex tables working in latex, so I'm just > pasting them into my org document and then having a '#+begin_latex' > before the latexed table and a

Re: [O] org-passwords.el and encryption

2016-04-27 Thread Eric S Fraga
On Wednesday, 27 Apr 2016 at 16:24, Julien Cubizolles wrote: > there must be something wrong with my setup: keychain complains: > > * Adding 1 gpg key(s): 370D5DFF > * Error: Problem adding (is pinentry installed?); giving up Which version(s) of pinentry do you have installed? And is this error

[O] Using source blocks instead of Ansible

2016-04-27 Thread William Denton
Is anyone using Org for remote configuration management instead of a tool like Ansible? For example: I like to install R from source to /usr/local/src/R/ so that I always have the latest version. I do this (changing the version numbers as needed, though looking at it now I see I should set

Re: [O] exported table has text overflowing off the pdf page

2016-04-27 Thread Sharon Kimble
Eduardo Mercovich writes: > Dear Sharon. > I'm running into problems exporting tables into latex with a 2-column 3-row table with a large amount of text to go into the cells, but when its exported the text is taking over and overflowing off the pdf page. > >

Re: [O] How to have a controllable popup?

2016-04-27 Thread Sharon Kimble
John Kitchin writes: > It sounds like helm could do what you want. > > Here is an example of making a simple helm source: > http://kitchingroup.cheme.cmu.edu/blog/2015/01/24/Anatomy-of-a-helm-source/ > > I guess you would run M-x your-helm-command where you want it, and

Re: [O] Special alignment in org-mode

2016-04-27 Thread John Kitchin
I think this does approximately what you want: #+BEGIN_SRC emacs-lisp :results none (require 'ov) (defun org-max-heading-depth () "Get maximum depth of a heading." (let ((max-depth 0) depth) (org-map-entries (lambda () (when (> (setq depth (car

Re: [O] How to have a controllable popup?

2016-04-27 Thread John Kitchin
It sounds like helm could do what you want. Here is an example of making a simple helm source: http://kitchingroup.cheme.cmu.edu/blog/2015/01/24/Anatomy-of-a-helm-source/ I guess you would run M-x your-helm-command where you want it, and the information would appear in a helm buffer. you select

Re: [O] org-passwords.el and encryption

2016-04-27 Thread Julien Cubizolles
Eric S Fraga writes: > I have keychain in both my .bash_profile (for when I log in in console > mode or remotely) there must be something wrong with my setup: keychain complains: --8<---cut here---start->8--- * Adding 1 gpg key(s):

[O] Restore org-agenda-undo in the presence of evil and undo-tree

2016-04-27 Thread Christoph LANGE
Hi all, I am using evil and undo-tree and therefore have (global-undo-tree-mode 1). In agenda views, I would like to be able to use org-agenda-undo, but the usual keyboard shortcuts for org-agenda-undo are occupied by undo-tree-undo. So I wondered how to disable undo-tree-mode in agenda views

Re: [O] pandoc-style citations

2016-04-27 Thread Richard Lawrence
Hi Alex, Alex Fenton writes: > I see that there were several extensive and fruitful discussions on this > list last year on citation syntax. There seemed to be a reasonable > degree of consensus that pandoc-style citation syntax was at the least a > good model. > >

Re: [O] New Beamer environment selection problem

2016-04-27 Thread Jarmo Hurri
Nicolas Goaziou writes: >> The newest versions of org (pulled from git) introduced a problem in my >> use of beamer. Consider the following org file >> >> #--- >> #+STARTUP: beamer >> * foo >> ** bar >>

Re: [O] Beamer presantation, Abstract and Article in same document - how to structure and how to export?

2016-04-27 Thread Rainer M Krug
Rasmus writes: > Hi, > > Rainer M Krug writes: > >> I would like to have one document containing >> >> 1) abstract for >> 2) a presentation and >> 3) a resulting paper >> >> My question is: how can I structure this an how can I handle the export? >> >> Obviously

Re: [O] Beamer presantation, Abstract and Article in same document - how to structure and how to export?

2016-04-27 Thread Rasmus
Hi, Rainer M Krug writes: > I would like to have one document containing > > 1) abstract for > 2) a presentation and > 3) a resulting paper > > My question is: how can I structure this an how can I handle the export? > > Obviously under different top level headers: > > *

Re: [O] [PATCH] new :async feature for org-babel-clojure

2016-04-27 Thread Frederick Giasson
Hi Nicolas, Right now, async is really more about "feedback" than "asynchronous". However it has never been clear is it was possible or not, and if so, how :) Any pointers on how this could be done in emacs? You could start a new Emacs evaluating some code in a subprocess, with

Re: [O] tables, comment in one line, export to html

2016-04-27 Thread Nicolas Goaziou
Michael Brand writes: > <#> will have to be considered for removal of the line too. Yes, it is really the same as alignment/width cookies. BTW, it should be possible to merge them together. E.g., one could write for a right aligned 10 characters large column

Re: [O] org-passwords.el and encryption

2016-04-27 Thread Eric S Fraga
On Wednesday, 27 Apr 2016 at 09:57, Julien Cubizolles wrote: > Eric S Fraga writes: > >> I use gpg-agent in conjunction with keychain. Generally works very >> well. > > I'm trying to set it up but I'm running into problems. Could you precise > a few details: > > + do you run

Re: [O] tables, comment in one line, export to html

2016-04-27 Thread Michael Brand
Hi Nicolas I agree, together all the below makes sense. Some comments added. Nicolas Goaziou wrote: > You are talking about section "3.5 The spreadsheet". I don't think this > feature is directly related to spreadsheet capabilities. > > Actually, / in first column is

[O] Beamer presantation, Abstract and Article in same document - how to structure and how to export?

2016-04-27 Thread Rainer M Krug
Hi I would like to have one document containing 1) abstract for 2) a presentation and 3) a resulting paper My question is: how can I structure this an how can I handle the export? Obviously under different top level headers: --8<---cut here---start->8--- *

Re: [O] New Beamer environment selection problem

2016-04-27 Thread Nicolas Goaziou
Hello, Jarmo Hurri writes: > The newest versions of org (pulled from git) introduced a problem in my > use of beamer. Consider the following org file > > #--- > #+STARTUP: beamer > * foo > ** bar >

Re: [O] org-passwords.el and encryption

2016-04-27 Thread Julien Cubizolles
Eric S Fraga writes: > I use gpg-agent in conjunction with keychain. Generally works very > well. I'm trying to set it up but I'm running into problems. Could you precise a few details: + do you run keychain from your ~/.profile, and so how ? If I follow the instructions

[O] New Beamer environment selection problem

2016-04-27 Thread Jarmo Hurri
Greetings. The newest versions of org (pulled from git) introduced a problem in my use of beamer. Consider the following org file #--- #+STARTUP: beamer * foo ** bar

Re: [O] tables, comment in one line, export to html

2016-04-27 Thread Nicolas Goaziou
Completing myself, > IMO, a better change would be to merge 3.2 and 3.3 as "Column > operations" or some such, and add "<#>" as a way to ignore columns upon > exporting. This way, everything related to columns is packed in the same > subsection, and every column markup uses < or >. Moreover,

Re: [O] tables, comment in one line, export to html

2016-04-27 Thread Nicolas Goaziou
Hello, Michael Brand writes: > To have similar things look similar and make it clear in the manual I > suggest to change the long existing > > ~/~ > Do not export this line. Useful for lines that contain the > narrowing `' markers or column group