Re: [O] Define org-capture-templates with variables via customize

2015-10-01 Thread Nicolas Girard
2015-04-04 23:54 GMT+02:00 Xavier Maillard : > > > Ok, sounds like there is something I can /hack/ to permit such thing > then. > > Update: I finally got it running as I wanted to through an ugly hack. > Hi Xavier, could you please elaborate a bit on your hack ? Thanks in advance, Nicolas

Re: [O] a link to launch a todo view?

2015-09-26 Thread Nicolas Girard
2015-09-26 20:42 GMT+02:00 Xebar Saram : > > so something like this: > > [[elisp:(org-agenda)][TO-COOK]] > > this will bring up the dispatcher, how does one make it auto issue lets say > 'w' in the dispatcher > Just try (org-agenda nil "w") instead. Cheers, Nicolas

Re: [O] Bleeding edge in elpa

2015-03-07 Thread Nicolas Girard
2015-03-07 15:36 GMT+01:00 Nikolai Weibull : > > Would it be of interest to anyone else if the bleeding edge version > was available via elpa? > I'd greatly appreciate it too ! Cheers, Nicolas

Re: [O] [Babel] [possible bug] Empty src block prevents other block to expand

2014-06-23 Thread Nicolas Girard
2014-06-23 17:56 GMT+02:00 Charles Berry : > Nicolas Girard gmail.com> writes: > > > I think the diagnosis is incorrect. > > The empty source block has no effect. > > Adding ':noweb yes' to `capture's header args fixes things. > Charles, thanks f

[O] [Babel] [possible bug] Empty src block prevents other block to expand

2014-06-22 Thread Nicolas Girard
The empty src block at the beginning of the following file prevents "capture-tmpl" to expand when tangling. Admittedly, this empty src block shouldn't exist in the first place, it's just a residue of some former confg of mine that didn't cause any problem until I upgraded Org to the latest ELPA pa

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Nicolas Girard
2014-06-12 22:13 GMT+02:00 Eric Schulte : >> > > Why TODO types rather than a tag? IMO using a TODO type would conflate > task management and document structuring. Agreed. > What do you think about the > attached patch which should add this functionality to the core. > Seems fine to me ! I cre

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Nicolas Girard
2014-06-12 21:26 GMT+02:00 Ken Mankoff : > > On 2014-06-12 at 15:21, Nicolas Girard wrote: > > I vote for the following tags: > > + :noexport: Does not export item, content, and children. > + :ignoreheading: Does not export heading. Exports content and children. > +

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Nicolas Girard
2014-06-12 21:21 GMT+02:00 Nicolas Girard : > 2014-06-12 20:54 GMT+02:00 Aaron Ecay : >> Hi Eric, hi all, > > > I also ran across this need. What I had in mind was that certain todo > types would be treated as inline. > For instance, if "P" was a member of t

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Nicolas Girard
2014-06-12 20:54 GMT+02:00 Aaron Ecay : > Hi Eric, hi all, > > 2014ko ekainak 12an, Eric Schulte-ek idatzi zuen: >> >> I just ran across this need myself, and updated an old solution to work >> with the new exporter. See the thread and my solution at the following. >> >> http://lists.gnu.org/archi

Re: [O] [RFC] org-noweb: org-tangle + org-weave for literate programming using Org

2014-06-11 Thread Nicolas Girard
2014-06-10 19:54 GMT+02:00 Grant Rettke : > On Tue, Jun 10, 2014 at 9:46 AM, Nicolas Girard > wrote: >> >> - About =org-babel-use-quick-and-dirty-noweb-expansion=: >> should it be set to 't' by default ? I'd be tempted to say yes, >> given the

[O] [RFC] org-noweb: org-tangle + org-weave for literate programming using Org

2014-06-10 Thread Nicolas Girard
Hi folks, I've released today a couple of tools named "org-tangle" and "org-weave" in a public GitHub repository: https://github.com/ngirard/org-noweb I thought that Org's literate programming abilities deserved to be made accessible non-interactively from the command-line via "official" commands

Re: [O] Add-on: Github Flavored Markdown exporter

2014-06-09 Thread Nicolas Girard
2014-06-09 18:45 GMT+02:00 Bastien : > > That's because ELPA packages are made from the maint branch of Org's > repository. > Hi Bastien, ooh, I see... nevermind, thanks for your reply ! Nicolas

Re: [O] Add-on: Github Flavored Markdown exporter

2014-06-09 Thread Nicolas Girard
2014-04-11 12:29 GMT+02:00 Bastien : > Hi Lars, > > > I added your file to /contrib/lisp in the master branch, > thanks a lot! > > I updated the copyright section of the file to put you > as the author, instead of the FSF. > Hi, and thanks to Lars for this nice contribution ! =ox-gfm.el= didn't s

[O] Outdated reference to "http://orgmode.org/pkg/daily/" on the website

2013-12-10 Thread Nicolas Girard
Hi folks, unless i'm misunderstood, the preferred Url to the Org Mode ELPA server is "http://orgmode.org/elpa/";, which replaced "http://orgmode.org/pkg/daily/";. Apparently there is still a reference to the outdated url on the very page "http://orgmode.org/pkg/daily/";, which is confusing (at le

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-25 Thread Nicolas Girard
2013/9/25 Carsten Dominik : > > On 19.9.2013, at 11:38, Nicolas Girard wrote: > >> I actually have some working code that does this. It lies in a file I >> named 'minimal.tex', which I include into all my latex code using >> \input{minimal}\makeatletter >

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-19 Thread Nicolas Girard
2013/9/19 Carsten Dominik : > > On 19.9.2013, at 00:21, Rasmus wrote: > >> So what would the goal be? To make it compatible with XeLaTeX and >> LuaLaTeX out of the box? > > Yes, this is what I mean. I would be happy to have some clever line in there > that would do the right thing for variants

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-15 Thread Nicolas Girard
2013/9/15 Carsten Dominik : > > Does anyone know about conflicts arising from loading wrapfig and rotating? > Not that I know of.

Re: [O] How to trigger the clockcheck in an agenda view.

2013-09-10 Thread Nicolas Girard
2013/8/5 Sebastien Vauban : > > Except the above, I definitely don't understand why it wouldn't work for you. > Can you reproduce the problem with a minimal Emacs config file (adding the > require of `org' and `org-agenda' before)? > I think I understand why Rainer has a problem. According to the

Re: [O] [BUG] [Babel] Do not try to process inline source in macro templates

2013-09-06 Thread Nicolas Girard
2013/9/2 Eric Schulte : >> >> I've just pushed up a fix for this issue which should now ignore inline >> source blocks on lines starting with "#+" during export. I don't know >> if there is a better way than using a regex to detect such non-exporting >> lines but this appears to work. >> Thanks

[O] [BUG] [Babel] Do not try to process inline source in macro templates

2013-08-23 Thread Nicolas Girard
When a buffer contains such #+MACRO: m src_emacs-lisp[:results raw]{(do-something "$1")} macro template, calling =org-babel-execute-buffer= using =C-c C-v C-b= yields if: No id found: $1 It seems to me that Babel shouldn't be looking for inline code within macro templates. Cheers, --

[O] [BUG] org-org-export-as-org is missing a "body-only" argument

2013-08-22 Thread Nicolas Girard
As title says, the function =org-org-export-as-org= from ox-org.el is missing a "body-only" argument. This absence messes up the call to org-export-to-buffer. Cheers, --- Nicolas

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
2013/8/23 Nicolas Goaziou : > Nicolas Girard writes: > > I see. > > There is an important difference between evaluating a buffer and > evaluating a buffer during export. In the latter, Babel has to deal with > replacement values, i.e., code block is replaced by its results.

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
2013/8/22 Nicolas Goaziou : > Nicolas Girard writes: > >> Sorry again for the buggy minimal example. >> Please try again with the attached version. Instructions as before: > > Still get an error: (void-function ng/org-get-entry-title). > I'm ashamed... but this

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
Sorry again for the buggy minimal example. Please try again with the attached version. Instructions as before: 1. Evaluate the elisp code contained in the section "Code to evaluate", either by executing =(org-babel-load-file buffer-file-name)=, or by evaluating manually each function using =C-x C-

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
2013/8/22 Nicolas Goaziou : > > I get errors when trying to execute the buffer. Hi Nicolas, oh yes, my bad, there was a parenthesis missing. Attached is the corrected document. > Also, could you provide > a minimal example? The attached document is as minimal as you can get IMHO ; but admittedl

[O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
Hi all, One thing I've been missing for long within org-mode is transclusion ; so eventually I came up with some preliminary code which seems promising regarding what I have in mind. Now, I wish I would dedicate a full thread on this subject once my code works in a predictable way ; but for now I

Re: [O] Feature request: setq org-agenda-follow-indirect 'parent

2012-09-25 Thread Nicolas Girard
>>> >>> In this example, in order to work on, or even decide anything about >>> "Todo item 1", chances are that I'd also need to see the contents of >>> the "References" and "Notes" items ; so the tree I'd need to see in >>> the indirect buffer should have the *parent* of "Todo item 1" as root, >>>

Re: [O] Is it possible to automatically set the timestamp recorded in a CLOSED: annotation to a different time than now?

2012-09-21 Thread Nicolas Girard
2012/9/19 Bastien : > > I introduced `org-use-last-clock-out-time-as-effective-time' which lets > you do this automatically. You can test it from the git master branch > for now, it will be in the next major release. > Useful idea, indeed, thanks for implementing it ! -- Nicolas

Re: [O] Feature request: setq org-agenda-follow-indirect 'parent

2012-09-20 Thread Nicolas Girard
2012/3/31 Nicolas Girard : > > when browsing my TODO items in the agenda, I wish I could display then > in an indirect buffer. > But as I structure my stuff, displaying the tree with a TODO item as > root is often useless. > > Indeed, within my PROJECT items, I different

Re: [O] Batch processing part of a file

2012-08-30 Thread Nicolas Girard
2012/8/30 Bastien : > Nicolas Girard writes: > >> I've also noticed that, using the latest Org version from git, src >> blocks with "#+header" lines *below* the "#+name" are handled >> incorrectly, contrary to blocks whose "#+header" line

Re: [O] Batch processing part of a file

2012-08-29 Thread Nicolas Girard
2012/8/29 Loris Bennett : > "Loris Bennett" writes: > > This problem seems to be caused by the use of '#+header', so with > > , > | #+name: test > | #+header: :file out.txt > | #+begin_src sh > | echo blah > | #+end_src > ` > > I get the above error,

[O] [PATCH 2/2] Allow org-collector to display heading indentation by passing ':indent t' to the propview block.

2012-03-31 Thread Nicolas Girard
--- contrib/lisp/org-collector.el | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/contrib/lisp/org-collector.el b/contrib/lisp/org-collector.el index da612e9..2f5e598 100644 --- a/contrib/lisp/org-collector.el +++ b/contrib/lisp/org-collector.el @@ -9

[O] [PATCH 1/2] Simplify org-clocktable-indent-string.

2012-03-31 Thread Nicolas Girard
--- lisp/org-clock.el |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 591f59c..be66ce6 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -2342,11 +2342,7 @@ from the dynamic block definition." (defun org-clocktable-

Re: [O] [PATCH] Allow org-collector to display heading indentation

2012-03-31 Thread Nicolas Girard
2012/3/31 Sebastien Vauban : > > You may want to follow the "indent" convention used for clockview: "\__" > string. > > Have a look at (or reuse?) the function `org-clocktable-indent-string'... > Hi Sébastien, fair enough ; not that I like underscores much better but it makes sense for the indenta

[O] Feature request: setq org-agenda-follow-indirect 'parent

2012-03-31 Thread Nicolas Girard
Hi all, when browsing my TODO items in the agenda, I wish I could display then in an indirect buffer. But as I structure my stuff, displaying the tree with a TODO item as root is often useless. Indeed, within my PROJECT items, I differentiate between TODO and support (notes, references) children

Re: [O] [PATCH] Allow org-collector to display heading indentation

2012-03-30 Thread Nicolas Girard
>From eaf9e5f06279069ed1072425fd020d8f0442d04f Mon Sep 17 00:00:00 2001 From: Nicolas Girard Date: Fri, 30 Mar 2012 22:53:13 +0200 Subject: [PATCH] Allow org-collector to display heading indentation --- contrib/lisp/org-collector.el | 12 +--- 1 files changed, 9 insertions(+)

[O] [PATCH] Allow org-collector to display heading indentation

2012-03-30 Thread Nicolas Girard
Hi all, attached is a patch which adds a new parameter "indent" to the propview dynamic bloc, with the following behaviour: #+BEGIN_SRC org ,* Tree ,:PROPERTIES: ,:COLUMNS: %8ITEM %4prop1 %5prop2 ,:ID: tree ,:END: ,** A ,:PROPERTIES: ,:prop1: 10 ,:prop2: 20 ,:END: ,*** A1 ,

Re: [O] [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion

2012-03-19 Thread Nicolas Girard
2012/3/19 Eric Schulte > > Thanks for bringing up this bug.  I'm attaching a patch to this email, > once the current repositories issues are resolved I'll apply this patch > to the repository.  In the interim, you can apply this patch to your > local copy of the git repository with. > Great ! It'

[O] [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion

2012-03-18 Thread Nicolas Girard
Hi all, I've been succesfully using babel to make various literate programming work. Unfortunately, tangling performance has dramatically decreased, to the point of being barely usable. I wish I could get advantage of the "quick & dirty noweb expansion" Eric introduced in january, but it has an und

[Orgmode] Non-breaking space

2010-04-29 Thread Nicolas Girard
Hi, How can I typeset, for instance, 100 €, in such a way that, once exported in LaTeX, it gives: 100~€ (with a non-breaking space) ? Thanks in advance ! Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-

Re: [Orgmode] LATEX_CLASS

2010-04-23 Thread Nicolas Girard
2010/4/23 Carsten Dominik : > On Apr 23, 2010, at 6:02 PM, Nicolas Girard wrote: > >> Hi all, >> I've just noticed that it's no longer > > No longer?  I don't think I changed anything here... > > Well, it's weird, because I just did a git pull tod

[Orgmode] LATEX_CLASS

2010-04-23 Thread Nicolas Girard
Hi all, I've just noticed that it's no longer allowed to put neither '-' nor '_' in the latex class, such as: #+LATEX_CLASS: auto-report I personaly find it a little bit annoying and wished to know if this was intentional Thanks in advance, cheers, Nicolas

[Orgmode] Another quote about Org-mode

2010-03-19 Thread Nicolas Girard
Just read this in #emacs from bozhidar... found it funny: LaTeX is the past, the present, the future, and everything in between is org-mode. Cheers, Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-or

Re: [Orgmode] Re: [babel] org-babel: tangling to latex .sty/.cls files

2010-03-19 Thread Nicolas Girard
> > Thanks very much. I believe I have just pushed a fix for that. If you > get a chance to double-check that everything seems OK that would be > great. > Yes, I think it's ok now. Thanks again ! Nicolas ___ Emacs-orgmode mailing list Please use `Repl

Re: [Orgmode] Re: [babel] org-babel: tangling to latex .sty/.cls files

2010-03-18 Thread Nicolas Girard
2010/3/18 Dan Davison : > "Thomas S. Dye" writes: > > > OK, I've gone ahead with that. No extension added now unless ':tangle yes'. > Hi Dan, Thanks very much, but it seems to break org-babel-load-file. >From the source code of org-babel-load-file: (org-babel-tangle-file file base-name "emacs-l

[Orgmode] Re: Disabling warnings when following [[elisp:...]] links

2010-03-17 Thread Nicolas Girard
2010/3/17 Mikael Fornius : > > You should be able to customize variable > `org-confirm-elisp-link-function' and to do it per-buffer basis works > with emacs file local variables. Begin the org-file with this line: > > -*- org-confirm-elisp-link-function: nil -*- > > then re-open the file. For more

[Orgmode] Disabling warnings when following [[elisp:...]] links

2010-03-17 Thread Nicolas Girard
Hi, is it possible to disable warnings when following [[elisp:...]] links on a per-buffer basis ? I'd find this much useful ! Thanks in advance, Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gn

[Orgmode] org-babel: tangling to latex .sty/.cls files

2010-03-17 Thread Nicolas Girard
Hi all, a while ago Babel allowed latex code to be tangled to a file named f.sty or f.cls ; it's currently not possible any more, because the tangled file is named f.sty.tex or f.cls.tex. I tried to deal with it but I'm really missing this feature a lot. Do you think org-babel could allow this agai

[Orgmode] [ANN] It's not a bird, it's not a plane, it's... org-icons.el, reloaded !

2010-03-15 Thread Nicolas Girard
Hi all, I'm pleased to announce a brand new, shiny release for org-icons. A few minor limitations remain, but I think the code has matured enough to be used on a daily basis. See for yourself ! Grab it at [1] and see the following instructions for installing. I indend to win this year's Most Ridi

[Orgmode] Re: Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT

2010-02-23 Thread Nicolas Girard
2010/2/22 Matt Lundin : > Nicolas Girard writes: > > > The :ATTACH_DIR_INHERIT: property needs to be set in the parent tree, > since that is the heading whose attach directory is being inherited. > Hi Matt, indeed, I got this wrong. Thanks for your expla

[Orgmode] Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT

2010-02-21 Thread Nicolas Girard
Hi, given the following test document, calling (org-attach-dir) when in b should give '/tmp' ; currently the result is nil, which breaks C-c C-a f. Cheers, Nicolas === * a :PROPERTIES: :ATTACH_DIR: /tmp :END: ** b :PROPERTIES: :ATTACH_DIR_INHERIT: t :END: ___

Re: [Orgmode] Customizing how inactive timestamps are displayed

2009-12-16 Thread Nicolas Girard
2009/12/16 Carsten Dominik : > > On Dec 15, 2009, at 10:57 PM, Nicolas Girard wrote: > >> See ? Who said Org couldn't be sexier ? >> >> [*] http://www.levien.com/type/myfonts/inconsolata.html > > That *does* look nice! > > Please pull and use `org

Re: [Orgmode] Customizing how inactive timestamps are displayed

2009-12-15 Thread Nicolas Girard
2009/12/14 Carsten Dominik : > > On Dec 10, 2009, at 11:34 PM, Nicolas Girard wrote: > >> Hi again, >> in the agenda view, inactive timestamps are displayed like: >> >>  category: 12:50.. [ Some stuff >> >> Is the '[ ' intentional, or

Re: [Orgmode] Quoting latex code

2009-12-15 Thread Nicolas Girard
2009/12/15 andrea : > > I want to do something which I think should be really simple. > I'm writing a small guide of latex for org-users, useful for people > working with me that don't know latex but must insert some symbols in > org-files. > > So I want to create simple tables where I insert the s

Re: [Orgmode] Feature request: Remote editing inactive timestamps from the agenda view

2009-12-15 Thread Nicolas Girard
2009/12/14 Carsten Dominik : > Hi Nicolas, > > On Dec 10, 2009, at 11:51 PM, Nicolas Girard wrote: > >> Hi, >> >> in the agenda view, the '>' key can be used to change the timestamp >> associated with the current line. >> >>

Re: [Orgmode] Agenda view forgets about including inactive timestamps when refreshed

2009-12-15 Thread Nicolas Girard
2009/12/14 Carsten Dominik : > > On Dec 10, 2009, at 11:26 PM, Nicolas Girard wrote: > >> Hi, >> after the inactive timestamps were included into the agenda view by >> typing '[', they get lost when the view is refreshed by typing 'g'. >> I&

Re: [Orgmode] [Bug] Logbook mode doesn't honor org-log-note-headings

2009-12-15 Thread Nicolas Girard
2009/12/14 Carsten Dominik : > Hi Nicolas, > > On Dec 10, 2009, at 11:20 PM, Nicolas Girard wrote: > >> Hi, >> >> Org offers the ability to customize how state changes should be >> recorded via the 'org-log-note-headings' variable; and I couldn't

Re: [Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-15 Thread Nicolas Girard
2009/12/14 Carsten Dominik : > Actually,  I cannot reproduce this problem - I do not see the extra newline. > Hi Carsten, you're absolutely right, I performed yet another git pull and couldn't reproduce this either. Great ! Now, speaking of extra newlines, I'm puzzled about this: at some stage (w

[Orgmode] [Bug] State of repeated tasks incorrectly reported in logbook mode

2009-12-10 Thread Nicolas Girard
Hi, Despite a repeated task is logged as DONE on 2009-12-10, the status displayed in the logbook mode for that day is TODO. This is a bug in my humble opinion. Cheers, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies t

[Orgmode] Feature request: Remote editing inactive timestamps from the agenda view

2009-12-10 Thread Nicolas Girard
Hi, in the agenda view, the '>' key can be used to change the timestamp associated with the current line. 1. It seems inacurrately described in the manual ("Change the timestamp associated with the current line **to today**"). 2. When dealing with inactive timestamp, the '>' key currently does no

[Orgmode] Customizing how inactive timestamps are displayed

2009-12-10 Thread Nicolas Girard
Hi again, in the agenda view, inactive timestamps are displayed like: category: 12:50.. [ Some stuff Is the '[ ' intentional, or is caused by a bug in my configuration ? I find it a little bit disturbing, as my eyes keep looking for an hypothetic closing ']'... If need be, could it be possi

[Orgmode] Agenda view forgets about including inactive timestamps when refreshed

2009-12-10 Thread Nicolas Girard
Hi, after the inactive timestamps were included into the agenda view by typing '[', they get lost when the view is refreshed by typing 'g'. I'm not sure, but it looks like a bug to me. -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' t

[Orgmode] [Bug] Logbook mode doesn't honor org-log-note-headings

2009-12-10 Thread Nicolas Girard
Hi, Org offers the ability to customize how state changes should be recorded via the 'org-log-note-headings' variable; and I couldn't prevent myself from doing so. I just came to realize this was the reason why the "logbook mode" kept beeing desperatly silent in my agenda views... Cheers, -- Ni

Re: [Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-10 Thread Nicolas Girard
> > On Dec 9, 2009, at 11:50 PM, Nicolas Girard wrote: >> >> There's an extra space produced by the \label{} because there's no '%' >> at the end of it ; another solution is to move the \label before the >> \\ > > I prefer to write >

Re: [Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-10 Thread Nicolas Girard
2009/12/10 Carsten Dominik : > > On Dec 10, 2009, at 12:56 AM, Nicolas Girard wrote: > >> 2009/12/9 Nicolas Girard : >>> >> >> Actually I do remember why I considered removing the '\\' : take this >> document: >> >> #=

Re: [Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-10 Thread Nicolas Girard
2009/12/9 Nicolas Girard : > 2009/12/9 Carsten Dominik : > >>> diff --git a/lisp/org-exp.el b/lisp/org-exp.el >>> index 4c4d540..75ee548 100644 >>> --- a/lisp/org-exp.el >>> +++ b/lisp/org-exp.el >>> @@ -2423,7 +2423,7

Re: [Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-09 Thread Nicolas Girard
2009/12/9 Nicolas Girard : > 2009/12/9 Carsten Dominik : >> Hi Nicolas, >> >> I need additional information with respect to this patch: >> > >>> diff --git a/lisp/org-latex.el b/lisp/org-latex.el >>> index ce697a3..18c2183 100644 >>

Re: [Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-09 Thread Nicolas Girard
2009/12/9 Carsten Dominik : > Hi Nicolas, > > I need additional information with respect to this patch: > >> diff --git a/lisp/org-latex.el b/lisp/org-latex.el >> index ce697a3..18c2183 100644 >> --- a/lisp/org-latex.el >> +++ b/lisp/org-latex.el >> @@ -877,7 +877,7 @@ If NUM, export sections as n

Re: [Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-09 Thread Nicolas Girard
2009/12/9 Carsten Dominik : >> diff --git a/lisp/org-exp.el b/lisp/org-exp.el >> index 4c4d540..75ee548 100644 >> --- a/lisp/org-exp.el >> +++ b/lisp/org-exp.el >> @@ -2423,7 +2423,7 @@ INDENT was the original indentation of the block." >>                             (concat (car org-export-latex-

Re: [Orgmode] [BUG] ':' whithin * markup incorrectly rendered in LaTeX

2009-12-09 Thread Nicolas Girard
2009/12/9 Carsten Dominik : > Hi Nicolas, > > I believe this is fixed now - please verify. > Hi Carsten, yes, it is, thanks to you as much as to Julien for solving this ! -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replie

[Orgmode] Feature request: Display estimated end time in agenda view

2009-12-09 Thread Nicolas Girard
Hi, When a task t is scheduled at 10:00 and has the :Effort: property set to 0:30, it is currently displayed in the agenda view like: categ:10:00.. Scheduled: TODO t I'd find it useful if it was displayed like: categ:10:00-10:30 Scheduled: TODO t Cheers, -- Nicolas

[Orgmode] [BUG] ':' whithin * markup incorrectly rendered in LaTeX

2009-12-08 Thread Nicolas Girard
Hi, *BUG:* is incorrectly translated in LaTeX to \textbf{BUG:\} It should be \textbf{BUG:} -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/e

[Orgmode] [BUG] Code bloc after sublist isn't exported to LaTeX

2009-12-08 Thread Nicolas Girard
Hi, the following sample document contains 3 code blocs ; only 2 of them are properly exported to LaTeX. #= * Section - A :: alpha - Aa - Bb #+begin_src emacs-lisp (message "This works") #+end_src #+begin_src emacs-lisp (message "This doesn't") #+end_src - B :: b

[Orgmode] Re: [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-05 Thread Nicolas Girard
2009/12/1 Nicolas Girard : > Hi, > title says it all. > Hi, attached is a second patch which suppresses some other extra newlines in the LaTeX export. Let me know if you need any explanation. -- Nicolas diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 4c4d540..75ee548 100644 -

Re: [Orgmode] [BUG] Bad handling of "\" in link names

2009-12-03 Thread Nicolas Girard
2009/12/3 Nick Dokos : > Nicolas Girard wrote: > >> hi all, >> as title says, a link such as >>   [[http://www.somewhere.org][\maketitle]] >> is badly handled. >> > In what way? > By the LaTeX exporter. It gets translated into \href{http://www.s

Re: [Orgmode] Re: [BUG] LaTeX exporter should honor empty lines

2009-12-03 Thread Nicolas Girard
2009/12/3 Carsten Dominik : > OK, I see now the problem, and I have fixed it. > Thanks very much ! -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listin

[Orgmode] [BUG] Bad handling of "\" in link names

2009-12-03 Thread Nicolas Girard
hi all, as title says, a link such as [[http://www.somewhere.org][\maketitle]] is badly handled. -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinf

[Orgmode] Feature request: org-export-format-source-code-or-example and srcname

2009-12-02 Thread Nicolas Girard
Hi, when using the listings LaTeX package, it would be very useful if the value of srcname was added to the output. For instance, #+srcname: my_code_chunk #+begin_src latex :results latex :exports code :tangle no \usepackage{fontspec,xunicode,xltxtra} #+end_src would give: \lstset{language=TeX}[

Re: [Orgmode] Re: [BUG] LaTeX exporter should honor empty lines

2009-12-02 Thread Nicolas Girard
2009/12/2 Carsten Dominik : > Hi Nicolas, > > the behavior eems to be correct to me.  C1 is indented, therefore part of > B1. > Hi Carsten, agreed for C1, I was getting tired yesterday night ; but that was not my point. My point was, in the following two examples, the empty lines right before "C"

[Orgmode] Re: [BUG] LaTeX exporter should honor empty lines

2009-12-01 Thread Nicolas Girard
2009/12/1 Nicolas Girard : > The following test file > > #=== > - A0 > - B0 > C0 > > - A1 > - B1 > >  C1 > > - A2 > - B2 > > C2 > > - A3 > - B3 > > > C3 > #=== > > translates into > > %=== > \begin{itemize} >

[Orgmode] [BUG] LaTeX exporter should honor empty lines

2009-12-01 Thread Nicolas Girard
The following test file #=== - A0 - B0 C0 - A1 - B1 C1 - A2 - B2 C2 - A3 - B3 C3 #=== translates into %=== \begin{itemize} \item B0 \end{itemize} C0 \begin{itemize} \item A1 \item B1 C1 \item A2 \item B2 \end{itemize} C2 \begin{itemize} \item A3 \item B3 \end{itemize} C3 %=== Whil

[Orgmode] [PATCH] Suppress extra newlines around source code in LaTeX export

2009-12-01 Thread Nicolas Girard
Hi, title says it all. A single paragraph such as: #=== Dura lex #+begin_src emacs-lisp (a) #+end_src sed lex #=== should remain entire in the LaTeX export. -- Nicolas diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 7509ba8..4c4d540 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2

[Orgmode] Re: [babel] org-babel-tangle tangles too much !

2009-12-01 Thread Nicolas Girard
2009/12/1, Dan Davison : > **thread participants: let's not forget to put [babel] in the subject > (...) > > and then I evaluated this > > (org-babel-load-file "/tmp/ng.org") > > (...) > Does this help? > Hi Dan, yes, it does, thanks ! I was using org-babel-tangle or org-babel-tangle-file, instea

[Orgmode] Re: org-babel-tangle tangles too much !

2009-12-01 Thread Nicolas Girard
On Tue, 01 Dec 2009 05:43:38 -1000, Thomas S. Dye wrote : > > Your code snippet doesn't tangle at all here. Perhaps you have a > setting somewhere that has an effect on tangling? > I'm intending my file (username.org) to be processed by Eric's emacs-starter-kit during init (via org-babel-load-fil

[Orgmode] org-babel-tangle tangles too much !

2009-12-01 Thread Nicolas Girard
Hi, I can't get tangle to work the way I want. Given a file f.org which contains = #+srcname: a #+begin_src emacs-lisp (a) #+end_src #+srcname: b #+begin_src emacs-lisp <> (b) #+end_src = I would like (a) to appear only once in the tangled file f.el. All I could get is, that either (a) a

[Orgmode] Re: [PATCH] Make org-babel-tangle work when target-file is nil

2009-11-29 Thread Nicolas Girard
2009/11/29, Dan Davison : > "Eric Schulte" writes: Hi guys, indeed, thanks to your explanations, org-babel tangling code's behaviour makes much more sense to me. I've just discovered Eric's Literate Programming fork of emacs-starter-kit [1] and find it pretty darn good ! I'm currently using it

[Orgmode] [PATCH] Make org-babel-tangle work when target-file is nil

2009-11-29 Thread Nicolas Girard
Hi all, I'm glad to be back around there, it's been a while ! As the title says, the attached file makes org-babel-tangle work when its "target-file" optional argument is nil. Cheers, Nicolas patch Description: Binary data ___ Emacs-orgmode mailing l

[Orgmode] Dead link in org-collector.php

2009-06-29 Thread Nicolas Girard
Hi, on http://orgmode.org/worg/org-contrib/org-collector.php the link to the example file http://orgmode.org/worg/org-contrib/org-collector-example.org seems to be dead. Nicolas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies t

[Orgmode] Link to a local html file

2009-06-29 Thread Nicolas Girard
Hi, how to create a link to a local html file, say, /path/to/file.html, so that clicking on it opens the page in a browser ? Thanks in advance, Nicolas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode

Re: [Orgmode] org-follow-link-in-same-window

2009-06-27 Thread Nicolas Girard
2009/6/27 Carsten Dominik > > On Jun 27, 2009, at 10:41 AM, Nicolas Girard wrote: > (defun org-open-at-mouse-same-window (ev) > "Open file link or URL at mouse." > (interactive "e") > (mouse-set-point ev) > (if (eq major-mode 'org-agenda-mode) &g

[Orgmode] org-follow-link-in-same-window

2009-06-27 Thread Nicolas Girard
Hi all, when clicking on a link, I whish I could choose between - following it in another window (the current behaviour, which I'm often fine with, but not always); - following it in the same window I tried to create a new function, org-follow-link-in-same-window, and bind it to a key. As for the

Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Nicolas Girard
2009/6/24 Carsten Dominik > > On Jun 24, 2009, at 11:41 AM, Nicolas Girard wrote: > > 2009/6/24 Carsten Dominik >> Could you guys please first explain the >> >> >> ;; This part is buggy (sorry) >> >> comment in the patch? >> >> Er

[Orgmode] Use of display properties as a caching mechanism

2009-06-24 Thread Nicolas Girard
When hacking the org-icons stuff, I came to realize that emacs allows to attach any set or property/value to any part of a buffer. It seems to me like org-mode could perfectly use this as a caching mechanism. What bout storing time-expensive informations as special properties attached to the first

Re: [Orgmode] FR: Ability to override the header in custom stuck projects view

2009-06-24 Thread Nicolas Girard
2009/6/22 Carsten Dominik > > On Jun 18, 2009, at 4:49 PM, Nicolas Girard wrote: > > Hi, >> stuck projects views can be used for many things beyond their initial >> purpose. >> It would be nice to be able to override the header when building a >> custom vie

Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Nicolas Girard
2009/6/24 Carsten Dominik > Could you guys please first explain the > > > ;; This part is buggy (sorry) > > comment in the patch? Err... this just reflects my current lack of expressiveness in elisp... don't make me blush :-/ What David meant was not to ask you to integrate a ready-to-go patc

Re: [Orgmode] [ANN] org-icons.el

2009-06-23 Thread Nicolas Girard
2009/6/24 Bastien > Nicolas Girard writes: > > > After a little experimentation, I ended up with the results shown in > > these screenshots [1] [2]. > > Actually you convinced me that icons can be nicely blended into on Org > buffer. Now, *this* is a good news !

[Orgmode] [ANN] org-icons.el

2009-06-23 Thread Nicolas Girard
Hi all, a while ago, David mentionned that at least two people from the #org-mode IRC channel would be interested in having pretty icons in org-mode buffers. I have to confess I'm the second one :-) After a little experimentation, I ended up with the results shown in these screenshots [1] [2]. T

[Orgmode] Test

2009-06-23 Thread Nicolas Girard
Please ignore. I can't seem to post to the mailing-list ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

[Orgmode] Re: Documentation updates for hooks and function variables

2009-06-20 Thread Nicolas Girard
2009/6/20 Nicolas Girard > The hooks and function variables are currently not documented in the manual > ${format}_visit_section 1 Function variables should be replaced with ${format}_visit_section 1 "Function variables" ___ Emacs

[Orgmode] Documentation updates for hooks and function variables

2009-06-20 Thread Nicolas Girard
Hi, The hooks and function variables are currently not documented in the manual ; instead, the reader is redirected to a Worg page [1] which is outdated. [1] http://orgmode.org/worg/org-configs/org-hooks.php My proposal is that such documentation takes place in the manual (possibly also in Worg)

  1   2   >