Re: [O] [babel] Commenting out src blocks for tangling

2013-10-21 Thread Alan Schmitt
schulte.e...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hi Eric, schulte.e...@gmail.com writes: I see that hello subtree is tangled. Does it mean that to comment a whole tree I need to comment every subtree (recursively)? Thanks, Alan I just pushed up a

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 clipboard

[O] function? (was: rotate tables)

2013-10-21 Thread Uwe Brauer
Michael == Michael Brand michael.ch.br...@gmail.com writes: Hi Uwe On Sun, Oct 20, 2013 at 10:12 PM, Uwe Brauer o...@mat.ucm.es wrote: | 1 | 2 | 3 | | 4 | 3 | 4 | becomes | 4 | 1 | | 3 | 2 | | 4 | 3 | 1) mark table 2) M-x reverse-region 3)

[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:

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 -

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

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

2013-10-21 Thread Nicolas Goaziou
Hello, Carsten Dominik carsten.domi...@gmail.com 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

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] Do not declare drawers to use them

2013-10-21 Thread Nicolas Goaziou
Hello, Carsten Dominik carsten.domi...@gmail.com 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

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

2013-10-21 Thread Nicolas Goaziou
Hello, James Harkins jamshar...@gmail.com 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

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 n.goaz...@gmail.com wrote: Hello, Carsten Dominik carsten.domi...@gmail.com 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

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

2013-10-21 Thread Carsten Dominik
On 21.10.2013, at 10:56, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Carsten Dominik carsten.domi...@gmail.com 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

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

2013-10-21 Thread Nicolas Goaziou
Carsten Dominik carsten.domi...@gmail.com writes: On 21.10.2013, at 10:56, Nicolas Goaziou n.goaz...@gmail.com 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

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

2013-10-21 Thread James Harkins
On Oct 21, 2013 6:12 PM, Nicolas Goaziou n.goaz...@gmail.com 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

[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

[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: : : 3 I just wrap the

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 n.goaz...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 21.10.2013, at 10:56, Nicolas Goaziou n.goaz...@gmail.com wrote: That's exactly the point of the defconst: you can still modify the variable, but it sends

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

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

2013-10-21 Thread Nicolas Goaziou
Carsten Dominik carsten.domi...@gmail.com 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

[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.,

Re: [O] org-mode based groupware wiki

2013-10-21 Thread Eric Schulte
Torsten Wagner torsten.wag...@gmail.com 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

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, hyphen

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 jkitc...@andrew.cmu.edu 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?

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

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 schulte.e...@gmail.com 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?

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

2013-10-21 Thread Eric Schulte
Applied, Thanks! Oleh ohwoeo...@gmail.com writes: Hi Eric, Here's the update. regards, Oleh On Mon, Oct 21, 2013 at 7:42 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Oleh, Thanks for submitting this patch. Instead of the current progn/setq approach could you simply add your the

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, until the

[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

[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

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 :PROPERTIES: :CATEGORY

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 bauer.klaus.die...@gmail.com writes: Hello! I have customized org export to both html and latex extensively since I disliked many of the

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

2013-10-21 Thread Charles Philip Chan
Christopher Culver crcul...@christopherculver.com 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

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

2013-10-21 Thread Christopher Culver
Myles English mylesengl...@gmail.com 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

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 add extra

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

2013-10-21 Thread Sebastien Vauban
Hi Charles, Charles Philip Chan wrote: Christopher Culver crcul...@christopherculver.com 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,

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

2013-10-21 Thread Charles Philip Chan
Sebastien Vauban sva-n...@mygooglest.com 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

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

2013-10-21 Thread Sebastien Vauban
Charles Philip Chan wrote: Sebastien Vauban sva-n...@mygooglest.com 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

[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

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

2013-10-21 Thread Charles Philip Chan
Sebastien Vauban sva-n...@mygooglest.com 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:

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=\today\

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 money to

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

2013-10-21 Thread Nick Dokos
Christopher Culver crcul...@christopherculver.com 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: %%(org

[O] Ox-HTML hover for certain languages

2013-10-21 Thread R. Michael Weylandt michael.weyla...@gmail.com
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

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

2013-10-21 Thread bsun
Is that possible?

[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

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))

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 stevenbag...@fastmail.fm writes: The following file contents, when exported (to HTML

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 University