[O] Mobile org - add new items to org file

2013-10-21 Thread Chris Henderson
My org file on my computer is gtd.org which has 3 top level headings: * Tasks, * Projects and * Read and Review. If I add any entry to mobile org, sync it via dropbox and do a org-mobile-pull from my computer, the new entries go to a file called flagged.org. Is there any way to make the new entrie

Re: [O] How do I insert a literal '|' to a table in org-mode?

2013-10-21 Thread Marcin Borkowski
Dnia 2013-10-22, o godz. 07:54:35 b...@pku.edu.cn napisaƂ(a): > Is that possible? > What about \vert or \vert{} (see section "The built-in table editor" in the manual, look for the footnote)? Hth, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz Universit

Re: [O] Bug: verbatim export of python code block with numpy array returns wrong value [8.2.1 (8.2.1-10-g9c1ef6-elpaplus @ /Users/sbagley/Dropbox/emacsd/elpa/org-plus-contrib-20131014/)]

2013-10-21 Thread Eric Schulte
Hi Steve, Is this a Python problem or is it numpy specific? Is repr() a numpy or a Python function i.e., could it replace str() in every Python code block or only when numpy is loaded? Thanks, Steven Bagley writes: > The following file contents, when exported (to HTML or pdf), produce > incor

Re: [O] Create sub-directories and files from within org

2013-10-21 Thread John Kitchin
You can do something like this: #+BEGIN_SRC emacs-lisp (defun make-project-dir-from-heading () (interactive) (save-restriction (org-narrow-to-subtree) (let ((heading-title (nth 4 (org-heading-components (make-directory heading-title t) (goto-char (point-max)) (ins

[O] right-clicking on org-links

2013-10-21 Thread John Kitchin
Hi everyone, I was playing around with being able to get a link action to be different with a left mouse click and right mouse click. I had some moderate success which is outlined here: http://jkitchin.github.io/blog/2013/10/21/Enabling-right-clicks-in-org-mode-links/ On my laptop, I can only ge

[O] How do I insert a literal '|' to a table in org-mode?

2013-10-21 Thread bsun
Is that possible?

[O] Ox-HTML hover for certain languages

2013-10-21 Thread R. Michael Weylandt
Around line 270 of Ox-html.el, there's CSS which gives certain code blocks in the resulting HTML a hover-over window saying what language they encode. Not all Babel-supported languages appear however: is there any reason for this? (E.g. perl is hard-coded but no python) I suppose one could pull

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Nick Dokos
Christopher Culver writes: > I am using org-mode version 20131021 and the latest checkout of the > bbdb3 git repository. Although I have the following lines in my main > .org file: > > * Anniversaries >:PROPERTIES: >:CATEGORY: Anniv >:END: >

Re: [O] org-mode based groupware wiki

2013-10-21 Thread Torsten Wagner
Dear Eric, thanks for the reply. >> Now I was able to test both gollumn and org-ehtml it puts me into a dilemma. >> > > Multiple viable options for Org-mode wikis is a great problem to have. Indeed it is as usual with FOSS all those pesty options to choice from. Why couldn't I just trough my mon

Re: [O] [BUG] `org-agenda-sorting-strategy' does not work in `tags-todo'

2013-10-21 Thread Sebastien Vauban
Hello, "Sebastien Vauban" wrote: > The following agenda view is supposed to display the tasks by ascending > _DEADLINE timestamp_. > > #+begin_src emacs-lisp > (add-to-list 'org-agenda-custom-commands >'("B" "Today" > tags-todo "DEADLINE<=\"\"" >

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
"Sebastien Vauban" writes: Hi Sebastien: > Weird. > > In the BBDB 3 version that I have from ELPA [1], I do have a file > `bbdb-autoloads.el', but no `bbdb-loaddefs.el'... Strange, the name was changed on 11 Dec 2011: http://comments.gmane.org/gmane.emacs.bbdb.user/2945 Charles -- L

[O] exclude certain tags from inheritance

2013-10-21 Thread David Belohrad
Dear all, could someone help me with this? I'm tagging my projects using different tags: - ordinary 'whatever' tags like MARS, 2013, ProjectX ... - tags starting with ampersand: @Me, @John, @David - tags starting with hash #SpecificBehaviour, #LocalModification As you can see, the first item

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Sebastien Vauban
Charles Philip Chan wrote: > "Sebastien Vauban" writes: > >> You mean bbdb-autoloads? > > No, bbdb-loaddefs.el is part of bbdb3. Here is the instructions from the > README file: > > 4) Activate BBDB: > >i) If the BBDB lisp files are in a directory > "/path/to/bbdb/lisp" you can use i

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
"Sebastien Vauban" writes: > You mean bbdb-autoloads? No, bbdb-loaddefs.el is part of bbdb3. Here is the instructions from the README file: 4) Activate BBDB: i) If the BBDB lisp files are in a directory "/path/to/bbdb/lisp" you can use in your emacs init file (require 'b

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Sebastien Vauban
Hi Charles, Charles Philip Chan wrote: > Christopher Culver writes: > >> I do not see anniversaries from my .bbdb file in the agenda. I know >> that some work was done in the past with making org-mode compatible >> with bbdb3, but are the two projects no longer compatible, or do I >> probably hav

Re: [O] AUCTeX key bindings within Org documents

2013-10-21 Thread Fabrice Niessen
Hello, "Fabrice Niessen" wrote: > Due to a friend's request, I've tried to offer AUCTeX key bindings > within Org documents via a minor mode, called "org-auctex-keys". > > If you're interested, check it out at > https://github.com/fniessen/org-auctex-key-bindings. > > Note that I'm willing to

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Christopher Culver
Myles English writes: > I think you might need: > > (setq org-bbdb-anniversary-field 'birthday) > > or > > (setq org-bbdb-anniversary-field 'anniversary) > > depending on what you called the anniversary field. My anniversary field in ~/.bbdb is called "anniversary". Setting this option has no ef

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
Christopher Culver writes: Hi Christopher: > I do not see anniversaries from my .bbdb file in the agenda. I know > that some work was done in the past with making org-mode compatible > with bbdb3, but are the two projects no longer compatible, or do I > probably have some other problem on my end

Re: [O] Portable formatting of export?

2013-10-21 Thread Eric Schulte
This can be done with file local variables. See the following page of the Emacs manual. (info "(emacs)Specifying File Variables") Klaus-Dieter Bauer writes: > Hello! > > I have customized org export to both html and latex extensively since I > disliked many of the defaults (e.g. the use of a

Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Myles English
Hi Christopher, crcul...@christopherculver.com writes: > I am using org-mode version 20131021 and the latest checkout of the > bbdb3 git repository. I am using older versions. > Although I have the following lines in my main .org file: > > * Anniversaries >

[O] Portable formatting of export?

2013-10-21 Thread Klaus-Dieter Bauer
Hello! I have customized org export to both html and latex extensively since I disliked many of the defaults (e.g. the use of article vs scrartcl, red borders around pdf hyperlinks). This left me wondering however, if it is possible to create org files that will produce the same output on every m

[O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Christopher Culver
I am using org-mode version 20131021 and the latest checkout of the bbdb3 git repository. Although I have the following lines in my main .org file: * Anniversaries :PROPERTIES: :CATEGORY: Anniv :END: %%(org-bbdb-anniversaries) I do not see anniversaries from my .bbdb file

Re: [O] Custom forwarding for a scheduled task

2013-10-21 Thread Sebastien Vauban
Hello Fletcher, Fletcher Charest wrote: > First of all, apologies if I'm doing something wrong - I'm not used to > posting in mailing lists. > > I read in the Org manual, about scheduled tasks : > > "A reminder that the scheduled date has passed will be present in the > compilation for today, unti

Re: [O] [PATCH] ob-ruby.el fix for :session parameter

2013-10-21 Thread Eric Schulte
Applied, Thanks! Oleh writes: > Hi Eric, > > Here's the update. > > regards, > Oleh > > On Mon, Oct 21, 2013 at 7:42 PM, Eric Schulte wrote: >> Hi Oleh, >> >> Thanks for submitting this patch. Instead of the current progn/setq >> approach could you simply add your the "conf.echo=false\n" lines

Re: [O] [PATCH] ob-ruby.el fix for :session parameter

2013-10-21 Thread Oleh
Hi Eric, Here's the update. regards, Oleh On Mon, Oct 21, 2013 at 7:42 PM, Eric Schulte wrote: > Hi Oleh, > > Thanks for submitting this patch. Instead of the current progn/setq > approach could you simply add your the "conf.echo=false\n" lines to the > following list? > > (list body org-bab

Re: [O] [PATCH] ob-ruby.el fix for :session parameter

2013-10-21 Thread Eric Schulte
Hi Oleh, Thanks for submitting this patch. Instead of the current progn/setq approach could you simply add your the "conf.echo=false\n" lines to the following list? (list body org-babel-ruby-eoe-indicator) With that change I'd be happy to apply this patch. Also, extra thanks for submitting t

Re: [O] Create sub-directories and files from within org

2013-10-21 Thread Skip Collins
On Sun, Oct 20, 2013 at 12:58 PM, John Kitchin wrote: > > I don't understand what you are trying to do here. you could write a lisp > function that you run in the ** project name heading that creates a directory > by that name. But what would the txt files in that directory be? I requested someth

Re: [O] [RFC] Do not declare drawers to use them

2013-10-21 Thread Achim Gratz
Nicolas Goaziou writes: > At the moment, in order to use a drawer, one has to declare its name > through `org-drawers' variable or DRAWERS keyword first. > > I'd like to simplify a bit the process and let the user create drawers > on the fly instead. A valid name includes any word constituent, hyph

Re: [O] org-mode based groupware wiki

2013-10-21 Thread Eric Schulte
Torsten Wagner writes: > Dear Wally, > Dear Eric, > > thanks for the replies and sorry for the long delay. Interesting that > there is an update on org-ruby just in the middle of my decision > pathway ;). > Until know I thought org-ruby is pretty much orphaned and that by time > it will start to

[O] Custom forwarding for a scheduled task

2013-10-21 Thread Fletcher Charest
Dear community, First of all, apologies if I'm doing something wrong - I'm not used to posting in mailing lists. I read in the Org manual, about scheduled tasks : "A reminder that the scheduled date has passed will be present in the compilation for today, until the entry is marked DONE, i.e., th

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-21 Thread Nicolas Goaziou
Carsten Dominik writes: > The documentation of defconst says: > >> Define SYMBOL as a constant variable. >> This declares that neither programs nor users should ever change the >> value. This constancy is not actually enforced by Emacs Lisp, but >> SYMBOL is marked as a special variable so that

Re: [O] org-mode based groupware wiki

2013-10-21 Thread Torsten Wagner
Dear Wally, Dear Eric, thanks for the replies and sorry for the long delay. Interesting that there is an update on org-ruby just in the middle of my decision pathway ;). Until know I thought org-ruby is pretty much orphaned and that by time it will start to fail on the growing changes done in org-

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-21 Thread Carsten Dominik
Hi Nicolas, On 21.10.2013, at 12:51, Nicolas Goaziou wrote: > Carsten Dominik writes: > >> On 21.10.2013, at 10:56, Nicolas Goaziou wrote: > >>> That's exactly the point of the defconst: you can still modify the >>> variable, but it sends a strong message to the user. Also, it's not >>> abou

[O] [PATCH] ob-ruby.el fix for :session parameter

2013-10-21 Thread Oleh
Hi all, I attach a patch to change from this behavior: #+begin_src ruby :session :results output s = "1" s = "2" s = "3" puts s #+end_src #+RESULTS: : => "1" : => "2" : => "3" : 3 To this behavior #+begin_src ruby :session :results output s = "1" s = "2" s = "3" puts s #+end_src #+RESULTS: :

[O] Bug: verbatim export of python code block with numpy array returns wrong value [8.2.1 (8.2.1-10-g9c1ef6-elpaplus @ /Users/sbagley/Dropbox/emacsd/elpa/org-plus-contrib-20131014/)]

2013-10-21 Thread Steven Bagley
The following file contents, when exported (to HTML or pdf), produce incorrect output: #+PROPERTY: header-args:python :session "*Python*" #+PROPERTY: exports both #+PROPERTY: results value verbatim #+BEGIN_SRC python import numpy as np np.array([1, 2, 3]) #+END_SRC The resulting value block contai

Re: [O] Beamer export: How to handle overlayarea

2013-10-21 Thread James Harkins
On Oct 21, 2013 6:12 PM, "Nicolas Goaziou" wrote: > Optional arguments are in square brackets in LaTeX. Try %r instead, so > you can write: > > *** {0.9\textwidth}{0.7\textheight} :B_overlayarea: > :PROPERTIES: > :BEAMER_env: overlayarea > :END: Ah, OK, that's better. It's

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-21 Thread Nicolas Goaziou
Carsten Dominik writes: > On 21.10.2013, at 10:56, Nicolas Goaziou wrote: >> That's exactly the point of the defconst: you can still modify the >> variable, but it sends a strong message to the user. Also, it's not >> about deprecation: code base should still rely on these variables. > > This i

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-21 Thread Carsten Dominik
On 21.10.2013, at 10:56, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> I think this change breaks user setups. I don't know how many >> people do change these keywords, but I know some do, if >> only for localization purposes. I myself have modified the >> archive keyword

Re: [O] [RFC] Do not declare drawers to use them

2013-10-21 Thread Carsten Dominik
On 21.10.2013, at 12:03, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> I think one objection agains this patch is that, I think, MobileOrg >> relies on #+DRAWERS lines to be present to define drawers. > > The patch also contains org-mobile.el modifications. > >> Maybe the

Re: [O] Beamer export: How to handle overlayarea

2013-10-21 Thread Nicolas Goaziou
Hello, James Harkins writes: > Per the beamer user guide, the syntax of the overlayarea environment is: > > \begin{overlayarea}{area width}{area height} > environment contents > \end{overlayarea} > > I can't figure out how to get the width and height in properly. > > From the customize int

Re: [O] [RFC] Do not declare drawers to use them

2013-10-21 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > I think one objection agains this patch is that, I think, MobileOrg > relies on #+DRAWERS lines to be present to define drawers. The patch also contains org-mobile.el modifications. > Maybe the MobileOrg maintainers for both Android and iOS can chime in > here?

Re: [O] Beamer export: How to handle overlayarea

2013-10-21 Thread Suvayu Ali
On Mon, Oct 21, 2013 at 03:52:14PM +0800, James Harkins wrote: > > Also, side note, [1] seems not to document BEAMER_OPT for environments > within a frame. Reading this page, you would think you could only use it for > frames. I had to dig into the source code to find how to populate %o. > > hjh

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-21 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > I think this change breaks user setups. I don't know how many > people do change these keywords, but I know some do, if > only for localization purposes. I myself have modified the > archive keyword in some cases, if I use this feature for a > different purpose

Re: [O] Beamer export: How to handle overlayarea

2013-10-21 Thread Sebastien Vauban
Hello James, James Harkins wrote: > Per the beamer user guide, the syntax of the overlayarea environment is: > > \begin{overlayarea}{area width}{area height} > environment contents > \end{overlayarea} > > I can't figure out how to get the width and height in properly. Have a look at http://

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-21 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: > I'd like to suggest changing the following defcustom variables into > defconst: > > - org-deadline-string > - org-scheduled-string > - org-closed-string > - org-clock-string > - org-comment-string > - org-quote-string > - org-effort-property >

[O] Beamer export: How to handle overlayarea

2013-10-21 Thread James Harkins
Per the beamer user guide, the syntax of the overlayarea environment is: \begin{overlayarea}{area width}{area height} environment contents \end{overlayarea} I can't figure out how to get the width and height in properly. From the customize interface, I added overlayarea as follows: '

[O] function? (was: rotate tables)

2013-10-21 Thread Uwe Brauer
>> "Michael" == Michael Brand writes: > Hi Uwe > On Sun, Oct 20, 2013 at 10:12 PM, Uwe Brauer wrote: >> | 1 | 2 | 3 | >> | 4 | 3 | 4 | >> >> becomes >> >> | 4 | 1 | >> | 3 | 2 | >> | 4 | 3 | > 1) mark table > 2) M-x reverse-region > 3) with point in the

Re: [O] Drag images from Firefox to org-mode

2013-10-21 Thread Oleh
> I suggest to ask for a string with (read-string "URL: " nil nil default), > offering the content of the clipboard/kill ring/selections as the DEFAULT. > I think it's better to be explicit when downloading content, and there > isn't much overhead in asking for a confirmation. I've moved the clipb