[O] Help proofreading ORG-NEWS for Org 8.1

2013-09-05 Thread Bastien
Hi all, I have prepared the changelogs for Org 8.1, see the first section in this file: http://orgmode.org/cgit.cgi/org-mode.git/plain/etc/ORG-NEWS I have not documented changes in the contrib/ directory, as ORG-NEWS is meant to go into the Emacs trunk. Please let me know if I missed some imp

[O] An org-contacts merge function, may be it is useful to someone

2013-09-05 Thread Feng Shu
This is a contacts merge function, you can use it to merge duplicate contacts --- (defun eh-org-contacts-merge-contacts () "Merge duplicate contacts" (interactive) (dolist (name (let ((contact-list (org-contacts-filter nil

Re: [O] [BUG] org-cycle on hidden inline task makes also other inline tasks visible

2013-09-05 Thread John Hendy
On Thu, Sep 5, 2013 at 6:33 AM, Jonas Hörsch wrote: > hello everyone, > > just found a strange behaviour of inline tasks: > > calling org-cycle in a situation like > > * Heading1 > *** inline1... > *** inline2... > *** inline3... > * Heading2 > *** i

Re: [O] [PARSER] Why not add properties to type 'org-data'?

2013-09-05 Thread Thorsten Jolitz
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> Wouldn't it make sense to replace >> >> ,-- >> | (org-data nil (section (:begin 1 :end 52 ...))) >> `-- >> >> with something like >> >> ,---

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello, On 09/05/2013 04:15 PM, Nicolas Goaziou wrote: #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} #+LATEX_HEADER: \usepackage{parskip} * Setup :noexport: #+BEGIN_SRC emacs-lisp :exports both (defun marg

[O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello, I have this at the top of an org file in order to put graphics in the margin: #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} \usepackage{parskip} #+BEGIN_SRC emacs-lisp (defun margin-graphics (contents backend info) (when (eq backend 'latex) (replace-regexp-in-stri

Re: [O] [PARSER] Why not add properties to type 'org-data'?

2013-09-05 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > Wouldn't it make sense to replace > > ,-- > | (org-data nil (section (:begin 1 :end 52 ...))) > `-- > > with something like > > ,-

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Marc Ihm
Hi, My aproach is low-tech. I manage two special files: - token.txt, which (through shell-scripts) moves around with me and helps to check, that I do not have multiple emacs open on different machines. - open.txt, which is created by a small piece of elisp and helps to check, that I do not

Re: [O] macro expansion not working in #+ATTR_LATEX

2013-09-05 Thread Nicolas Goaziou
Hello, Johannes Rainer writes: > while working nicely for plain text I realized that macros are not expanded > if put in #+ATTR_LATEX: > > e.g. I defined > > #+MACRO: image_width 16 > > and wanted to use this macro like > > #+ATTR_LATEX: :center :placement [H] :width {{{image_width}}}cm > > howe

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Nicolas Goaziou
Roger Mason writes: > Unfortunately, :exports both does not make any difference. Looking at > the generated LaTeX file I see that it contains: > > \begin{verbatim} > (defun margin-graphics (contents backend info) > (when (eq backend 'latex) > (replace-regexp-in-string "\\`includegraphi

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello, On 09/05/2013 04:39 PM, Nicolas Goaziou wrote: In this case, you need to remove "\\`" from your regexp. Regards, That fixed it. Many thanks. Roger This electronic communication is governed by the terms and conditions at http://www.mun.ca/cc/policies/electronic_communications_disclaime

[O] macro expansion not working in #+ATTR_LATEX

2013-09-05 Thread Johannes Rainer
hi all! while working nicely for plain text I realized that macros are not expanded if put in #+ATTR_LATEX: e.g. I defined #+MACRO: image_width 16 and wanted to use this macro like #+ATTR_LATEX: :center :placement [H] :width {{{image_width}}}cm however, in the exported tex file I get: \inclu

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Nicolas Goaziou
Roger Mason writes: > On 09/05/2013 04:15 PM, Nicolas Goaziou wrote: >> #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} >>#+LATEX_HEADER: \usepackage{parskip} >> >>* Setup >> :noexport: >>#+BEGIN_SRC emacs-li

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello again, On 09/05/2013 01:48 PM, Nicolas Goaziou wrote: Hello, Roger Mason writes: I have this at the top of an org file in order to put graphics in the margin: #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} \usepackage{parskip} #+BEGIN_SRC emacs-lisp (defun margin-graphic

Re: [O] [SYNC] How do you sync your org-mode files between ndevices (n > 2))

2013-09-05 Thread Ramon Diaz-Uriarte
alan.schm...@polytechnique.org writes: > fatkasuvayu+li...@gmail.com writes: > >> On Thu, Sep 05, 2013 at 12:00:02PM +0200, Alan Schmitt wrote: >>> Hi, >>> >>> fatkasuvayu+li...@gmail.com writes: >>> >>> > I think this would be a wonderful addition to Worg. Probably the FAQ is >>> > more appro

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Nicolas Goaziou
Hello, Roger Mason writes: > I have this at the top of an org file in order to put graphics in the > margin: > > #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} > \usepackage{parskip} > > #+BEGIN_SRC emacs-lisp > (defun margin-graphics (contents backend info) >(when (eq backend

[O] [PARSER] Why not add properties to type 'org-data'?

2013-09-05 Thread Thorsten Jolitz
Hi List, why isn't some of the meta-data available from the communication channel during export (especially the environmental data) stored in a property list for the 'org-data' element type during parsing? Of course in common use org-elements are tightly bound to a certain org file, and that or

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Matt Price
On Thu, Sep 5, 2013 at 7:57 AM, Carsten Dominik wrote: > > On Sep 5, 2013, at 1:43 PM, Suvayu Ali wrote: > >> Hi Carsten, >> >> On Thu, Sep 05, 2013 at 01:27:57PM +0200, Carsten Dominik wrote: >>> >>> On Sep 5, 2013, at 12:09 PM, Nicolas Goaziou wrote: >>> >> #+/home/matt/Matt_headshots/Matt

Re: [O] ATTENTION: Incompatible change

2013-09-05 Thread Anthony Lander
Hi Carsten, Sorry for the delay. For org-mac-link, here is a small cleanup patch to org that changes the customize group name from 'org-mac-link-grabber to 'org-mac-link, and another patch which updates the documentation in worg. Can you please review, and if OK apply to the repositories? Thanks,

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Matt Price
On Thu, Sep 5, 2013 at 6:09 AM, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> On 3.9.2013, at 17:32, Matt Price wrote: >> >>> Hi, >>> >>> certain lines are not rendered by the org exporter, but are instead >>> interpreted as instructions, e.g.: >>> >>> #+AUTHOR: Matt Price >>>

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Robert Horn
Alan Schmitt writes: > I can't promise anything, but I can try to write something. What > external merging tool should I use? > There was some work done in a Summer of Code last year or the year before. I don't know how much more work remains. It was an effort for a delta operator for git. I

Re: [O] Collaborating with TODO lists and clocks.

2013-09-05 Thread Samuel Loury
Thorsten Jolitz writes: > A kind of team agende would indeed be useful, accessible form Org-mode > _and_ other calendar/planning tools (I can't imagine a pure > Emacs/Org-mode team). Why not? > I remember an attempt to make Org-mode a collaborative software (ColOrg > or so) - whats the state of

Re: [O] Collaborating with TODO lists and clocks.

2013-09-05 Thread Samuel Loury
Sebastien Vauban writes: > Samuel Loury wrote: >> Sebastien Vauban writes: > For example, IIUC, different users will share one file with tasks, where they > will clock in/out. Then, what about the SCHEDULED and DEADLINE properties? > Will the tasks be in all the user agendas? Not acceptable. The

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > Just a few typo/editorial comments. I fixed them. > This a very clear and complete write-up. Thanks a lot Alan! > > :) Thanks. It's online at http://orgmode.org/worg/org-tutorials/unison-sync.html (I also changed the index page to point at it). Alan

Re: [O] [SYNC] How do you sync your org-mode files between ndevices (n > 2))

2013-09-05 Thread Alan Schmitt
co...@online.de writes: > On Thu, Sep 05 2013, Karl Voit wrote: > >> * Alan Schmitt wrote: >>> I can't promise anything, but I can try to write something. What >>> external merging tool should I use? >> >> I haven't used it yet but I read that Emacs offers some kind of a >> 3-way-merger ... > > a

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Suvayu Ali
Just a few typo/editorial comments. On Thu, Sep 05, 2013 at 02:31:42PM +0200, Alan Schmitt wrote: > > * Synchronizing org files with Unison > > This describes how to synchronize org files using the > [[http://www.cis.upenn.edu/~bcpierce/unison/][Unison file synchronizer]], > as well as how to c

Re: [O] running some elisp code when exporting a given file

2013-09-05 Thread Alan Schmitt
mylesengl...@gmail.com writes: > Hi Alan, > > Alan Schmitt writes: > >> Is there a way to have arbitrary code stored in the file being exported >> being evaluated before an export? > > I think you can use org-export-before-processing-hook for this. Thank you for the suggestion. My question would

Re: [O] running some elisp code when exporting a given file

2013-09-05 Thread Alan Schmitt
n.goaz...@gmail.com writes: > Hello, > > Alan Schmitt writes: > >> I would like to inline a css when exporting a file to html, but I don't >> know how to tell org-mode to set the variable org-html-head from within >> the file. >> >> Here is what I tried: I added the following block at the beginni

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > On Thu, Sep 05, 2013 at 12:00:02PM +0200, Alan Schmitt wrote: >> Hi, >> >> fatkasuvayu+li...@gmail.com writes: >> >> > I think this would be a wonderful addition to Worg. Probably the FAQ is >> > more appropriate (under "Tips and Tricks") since this is one

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Carsten Dominik
On Sep 3, 2013, at 5:59 PM, Jambunathan K wrote: > Matt Price writes: > >> #+ was enough to get org to treat these lines as non-text > > Try adding a space character after #+. Nope, this will not work, see the rest of the thread. - Carsten

Re: [O] (Emacs 23/24 binary compatibility): defstruct, setf

2013-09-05 Thread Jambunathan K
Stefan Monnier writes: > More specifically, the setf and the defstruct need to be compiled with > "the same version" (either both cl.el, or both gv.el). > > Does the patch below work for you? Yes. Please install. FWIW, I see following errors reported. On load of *.el file: ==

Re: [O] (Emacs 23/24 binary compatibility): defstruct, setf

2013-09-05 Thread Jambunathan K
Stefan Monnier writes: >> I think existing *.elc files compiled against Emacs-23.2.1 should load >> fine on new Emacs versions. > > It's indeed an incompatibility I introduced when we switched from CL's > setf to gv.el's setf, because the two work in a very different way. In simple terms, the pr

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Jambunathan K
> I have a problem. I need to sync my files between several devices > (currently 3). I don't use multiple machines. I use unison to copy files between Hard disk and USB disk. Apparently unison is superior to rsync.

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Jambunathan K
Matt Price writes: > #+ was enough to get org to treat these lines as non-text Try adding a space character after #+.

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Carsten Dominik
On Sep 5, 2013, at 1:43 PM, Suvayu Ali wrote: > Hi Carsten, > > On Thu, Sep 05, 2013 at 01:27:57PM +0200, Carsten Dominik wrote: >> >> On Sep 5, 2013, at 12:09 PM, Nicolas Goaziou wrote: >> > #+/home/matt/Matt_headshots/Matt Price/IMG_9367_.jpg > http://2013.hackinghistory.ca/wp-cont

Re: [O] Collaborating with TODO lists and clocks.

2013-09-05 Thread Thorsten Jolitz
"Sebastien Vauban" writes: > Don't misunderstand me. I'm not trying to convince you or anybody to stop and > cry. On the contrary, I feel that some such possibilities are _needed_ to > transform Org from a "personal organizer" to a "team organizer". A kind of team agende would indeed be useful,

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Suvayu Ali
Hi Carsten, On Thu, Sep 05, 2013 at 01:27:57PM +0200, Carsten Dominik wrote: > > On Sep 5, 2013, at 12:09 PM, Nicolas Goaziou wrote: > > >>> #+/home/matt/Matt_headshots/Matt Price/IMG_9367_.jpg > >>> http://2013.hackinghistory.ca/wp-content/uploads/2013/08/wpid-IMG_9367_2.jpg > >> > >> I don't

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Jonas Hörsch
On Thu, Sep 05 2013, Karl Voit wrote: > * Alan Schmitt wrote: >> I can't promise anything, but I can try to write something. What >> external merging tool should I use? > > I haven't used it yet but I read that Emacs offers some kind of a > 3-way-merger ... and then there is an early git-merge-t

[O] [BUG] org-cycle on hidden inline task makes also other inline tasks visible

2013-09-05 Thread Jonas Hörsch
hello everyone, just found a strange behaviour of inline tasks: calling org-cycle in a situation like * Heading1 *** inline1... *** inline2... *** inline3... * Heading2 *** inline4... with point on the inline2 heading results in * Heading1 **

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Carsten Dominik
On Sep 5, 2013, at 12:09 PM, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> On 3.9.2013, at 17:32, Matt Price wrote: >> >>> Hi, >>> >>> certain lines are not rendered by the org exporter, but are instead >>> interpreted as instructions, e.g.: >>> >>> #+AUTHOR: Matt Price

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Suvayu Ali
On Thu, Sep 05, 2013 at 12:00:02PM +0200, Alan Schmitt wrote: > Hi, > > fatkasuvayu+li...@gmail.com writes: > > > I think this would be a wonderful addition to Worg. Probably the FAQ is > > more appropriate (under "Tips and Tricks") since this is one of most > > commonly asked questions on the l

Re: [O] Collaborating with TODO lists and clocks.

2013-09-05 Thread Sebastien Vauban
Samuel Loury wrote: > Sebastien Vauban writes: > >> Having thought about that in the past, I had thought of adding "tags" after >> clock lines, such as: >> >> --8<---cut here---start->8--- >> CLOCK: [2013-09-05 Thu 07:55]--[2013-09-05 Thu 08:46] => 0:51 :u

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Karl Voit
* Alan Schmitt wrote: > Hi, Hi, > fatkasuvayu+li...@gmail.com writes: > >> I think this would be a wonderful addition to Worg. Absolutely! I am using unison as well. So far, I resolved conflicts (I try to do anything I can to avoid them) very basic manually. I'd love to learn how to do it wi

Re: [O] running some elisp code when exporting a given file

2013-09-05 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > I would like to inline a css when exporting a file to html, but I don't > know how to tell org-mode to set the variable org-html-head from within > the file. > > Here is what I tried: I added the following block at the beginning of my > file: > > #+BEGIN_SRC emacs-l

Re: [O] syntax for blocks that the exporter should not render?

2013-09-05 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > On 3.9.2013, at 17:32, Matt Price wrote: > >> Hi, >> >> certain lines are not rendered by the org exporter, but are instead >> interpreted as instructions, e.g.: >> >> #+AUTHOR: Matt Price >> >> I'm using org2blog/wp, which is only partially converted to the

Re: [O] running some elisp code when exporting a given file

2013-09-05 Thread Myles English
Hi Alan, Alan Schmitt writes: > Is there a way to have arbitrary code stored in the file being exported > being evaluated before an export? I think you can use org-export-before-processing-hook for this. """ 12.13 Advanced configuration Hooks - Two hooks are

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
Hi, fatkasuvayu+li...@gmail.com writes: > Hi Alan, > > On Thu, Sep 05, 2013 at 10:50:18AM +0200, Alan Schmitt wrote: >> fatkasuvayu+li...@gmail.com writes: >> >> > I think the issue with tools like Unison, Dropbox, is conflict >> > resolution on simultaneous edits. Traditional version control d

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Suvayu Ali
Hi Alan, On Thu, Sep 05, 2013 at 10:50:18AM +0200, Alan Schmitt wrote: > fatkasuvayu+li...@gmail.com writes: > > > I think the issue with tools like Unison, Dropbox, is conflict > > resolution on simultaneous edits. Traditional version control does a > > better job of that, but then it loses the

Re: [O] Collaborating with TODO lists and clocks.

2013-09-05 Thread Samuel Loury
Sebastien Vauban writes: > Having thought about that in the past, I had thought of adding "tags" after > clock lines, such as: > > --8<---cut here---start->8--- > CLOCK: [2013-09-05 Thu 07:55]--[2013-09-05 Thu 08:46] => 0:51 :userA: > CLOCK: [2013-09-

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > I think the issue with tools like Unison, Dropbox, is conflict > resolution on simultaneous edits. Traditional version control does a > better job of that, but then it loses the convenience of these other > tools. > > I believe there is a list member (Alan) c

Re: [O] ATTR_LATEX not being applied on dynamic blocks

2013-09-05 Thread Francesco Pizzolante
Hello Nicolas, Nicolas Goaziou wrote: > "Francesco Pizzolante" writes: > >> But if I try what you suggest and move the #+ATTR_LATEX line inside the >> dynamic block (after the #+BEGIN: clocktable and just before the generated >> table), then this line gets lost as soon as the dynamic block is >

[O] running some elisp code when exporting a given file

2013-09-05 Thread Alan Schmitt
Hello, I would like to inline a css when exporting a file to html, but I don't know how to tell org-mode to set the variable org-html-head from within the file. Here is what I tried: I added the following block at the beginning of my file: --8<---cut here---start-

Re: [O] Collaborating with TODO lists and clocks.

2013-09-05 Thread Sebastien Vauban
Samuel Loury wrote: > I recently encountered the issues of having to collaborate with other > persons on the same task (all of us would need at some point to clock > into this task). > > I thought that changing the value of the variable org-clock-string could > help, but I have not tried it yet. Le

Re: [O] Collaborating with TODO lists and clocks.

2013-09-05 Thread Samuel Loury
Hi, Richard Lawrence writes: > Hi Gareth, > > Gareth Smith writes: > >> I hadn't thought of using :tags on a clock table. I still worry if we'll >> find ourselves in a situation where more than one of us has clocked in >> some time on the same task. > > Yes, I agree this might not be optimal, fo