Re: [O] Emacs lisp code export difference between `org-export-region-as-html' and `org-export-as-html'

2012-09-24 Thread thorne
On Mon, Sep 24, 2012 at 3:53 PM, thorne wrote: > (defun render-one (file) >(with-temp-buffer > (insert-file file) > (org-export-as-html nil nil nil 'string t))) Well, I still don't know why it behaves the way I've described, but it works the way I want if instead of

Re: [O] [PATCH] Give possibility to start gnus with gnus-no-server

2012-09-24 Thread Jarmo Hurri
Bastien writes: >> I tried to use org today together with gnus, but was unable to access >> gnus via org, because I always start gnus with gnus-no-server. > > (defalias 'gnus 'gnus-no-alias) > > in your .emacs.el should do, no? Greetings. You probably mean (defalias 'gnus 'gnus-no-server) wh

[O] orgmode + evernote, anyone using it? Use cases?

2012-09-24 Thread Marcelo de Moraes Serpa
Hello everyone, As much as I love orgmode, I can't deny that Evernote looks slick. I would not replace org by Evernote per se, but Evernote does have more polished capture tools than orgmode has. Just the simple fact that you can drag and drop anything to an Evernote note, and it will automaticall

Re: [O] Org HTML->PDF publishing

2012-09-24 Thread Marcelo de Moraes Serpa
Just for the record, I just downloaded Adobe Acrobat, and org->html->acrobat seems to be a viable workflow, and not as expensive as Prince. However, Acrobat, as far as I'm concerned, doesn't provide any way to automate the process - you have to open it and edit it manually in order to polish the t

Re: [O] [PATCH] Lookup functions, take two

2012-09-24 Thread Jarmo Hurri
> It is a nice spreadsheet utility function but my feeling is that > having it in Org's core does not really fit, as it introduces > functions where we usually have references. Functions are fine for > users to add, though, that's the whole point of allowing Elisp in > table formulas. So if it d

Re: [O] [PATCH] Give possibility to start gnus with gnus-no-server

2012-09-24 Thread Bastien
Hi Jarmo, Jarmo Hurri writes: > I tried to use org today together with gnus, but was unable to access > gnus via org, because I always start gnus with gnus-no-server. (defalias 'gnus 'gnus-no-alias) in your .emacs.el should do, no? -- Bastien

Re: [O] [PATCH] Lookup functions, take two

2012-09-24 Thread Bastien
Hi Jarmo, thanks for the explanations -- I should I've read your doc patch more closely. It is a nice spreadsheet utility function but my feeling is that having it in Org's core does not really fit, as it introduces functions where we usually have references. Functions are fine for users to ad

Re: [O] Breadcrumbs?

2012-09-24 Thread Bastien
Eric Abrahamsen writes: > The command `org-display-outline-path' will do this -- you could just > bind it to a key in org-mode-map. Indeed! I've updated `org-display-outline-path' so that it can return a string: (org-display-outline-path nil t t) So you can now hook it like this: (add-hook

Re: [O] Emacs lisp code export difference between `org-export-region-as-html' and `org-export-as-html'

2012-09-24 Thread Bastien
thorne writes: > (defun render-one (file) >(with-temp-buffer >(insert-file file) >(org-export-as-html nil nil nil 'string t))) Try (defun render-one (file) (with-temp-buffer (insert-file file) (org-mode) (org-export-as-html nil nil nil 'string t))) (

Re: [O] Breadcrumbs?

2012-09-24 Thread Eric Abrahamsen
On Tue, Sep 25 2012, Ken Williams wrote: > Has anyone ever tried implementing a “breadcrumbs”-type feature in > org-mode? By that I mean something that would quickly tell you the > headings up the whole path to the root, to quickly orient yourself > when you’re deep within a document. I was orig

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

2012-09-24 Thread Bastien
Hi Nicolas, Nicolas Girard writes: >> Indeed, within my PROJECT items, I differentiate between TODO and >> support (notes, references) children ; for instance >> #+BEGIN_SRC org >> ,* PROJECT My project >> ,** References >> ,*** Ref 1 >> ,*** Ref 2 >> ,** Notes >> ,*** Note 1 >> ,*

Re: [O] Breadcrumbs?

2012-09-24 Thread Bastien
Bastien writes: > What about this? Or, inspired by Anthony's use of `org-get-outline-path': (defun org-show-olpath () "Show the outline path." (org-no-properties (mapconcat 'identity (append (ignore-errors (org-get-outline-path)) (ignore-errors (list (

Re: [O] Breadcrumbs?

2012-09-24 Thread Bastien
Hi Ken, Ken Williams writes: > Has anyone ever tried implementing a “breadcrumbs”-type feature in > org-mode? What about this? (defun org-show-olpath () "Show the outline path." (interactive) (let (p h) (save-excursion (while (and (setq h (ignore-errors (org-get-heading t t))

Re: [O] Breadcrumbs?

2012-09-24 Thread Anthony Lander
Hi Ken, On 12-Sep-24, at 5:36 PM, Ken Williams wrote: > Has anyone ever tried implementing a “breadcrumbs”-type feature in org-mode? > By that I mean something that would quickly tell you the headings up the > whole path to the root, to quickly orient yourself when you’re deep within a > docu

Re: [O] bug in org-entry-get

2012-09-24 Thread Bastien
Hi Jonas, Jonas Bernoulli writes: > There is a bug in `org-entry-get' when used with non-nil INHERIT. > When PROPERTY is set in `org-file-properties', > `org-global-properties' or `org-global-properties-fixed' then > 'org-entry-get' uses that value without first checking higher > levels of the h

Re: [O] org-capture datetree+prompt: wrong time (range) information in timestamp (%T escape sequence)

2012-09-24 Thread Gregor Zattler
Hi Bastien, org-mode users + developers: * Bastien [24. Sep. 2012]: > Gregor Zattler writes: > >> But there are two problems with the time information, which I >> consider to be bugs: >> >> 1) If I enter a time *range* at the prompt, the %T expands to the >>time when I invoked the capture ("

Re: [O] Emacs lisp code export difference between `org-export-region-as-html' and `org-export-as-html'

2012-09-24 Thread thorne
Actually I think I have a simpler version of this question now. I have this function: (defun render-one (file) (with-temp-buffer (insert-file file) (org-export-as-html nil nil nil 'string t))) With the last line being the important bit. If I open a file, foo.org, th

Re: [O] LaTeX export problem

2012-09-24 Thread Alexander Vorobiev
Hi Nicolas, Thanks a lot for the help, I configured the org-e-latex-classes and now am getting somewhere - at least my LaTeX settings appear in the output. The next problem I have is babel-related. I create results of execution of my source blocks in org format so they are enclosed in #+BEGIN_ORG

[O] Breadcrumbs?

2012-09-24 Thread Ken Williams
Has anyone ever tried implementing a "breadcrumbs"-type feature in org-mode? By that I mean something that would quickly tell you the headings up the whole path to the root, to quickly orient yourself when you're deep within a document. I was originally thinking of something always-present sho

Re: [O] new exporter: exporting subtree as beamer

2012-09-24 Thread Nicolas Goaziou
Hello, Andreas Leha writes: >>> [ test_beamer.org ] >>> * Test Beamer >>>:PROPERTIES: >>>:EXPORT_LaTeX_CLASS: beamer >>>:EXPORT_LaTeX_CLASS_OPTIONS: [presentation] >>>:EXPORT_FILE_NAME: presentation.pdf >>>:COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) >>> %4B

Re: [O] LaTeX export problem

2012-09-24 Thread Nicolas Goaziou
Hello, Alexander Vorobiev writes: > Here is my configuration section (it goes at the end of the org file). > Nothing in the LaTeX_HEADER lines gets inserted into output tex > document. The old exporter just inserted them all verbatim. > > #+STARTUP:align fold nodlcheck hidestars oddeven logn

Re: [O] Feature Request: Per-file attachment directories

2012-09-24 Thread Nick Dokos
Nick Dokos wrote: > Daniel E. Doherty wrote: > > > > > Org Mode-erists: > > > > I like the attachment facility of Org for organizing external files > > related to a project, but it seems to lack an obvious feature. > > > > I use a separate org file for each major project, which in my case ar

[O] bug in org-entry-get

2012-09-24 Thread Jonas Bernoulli
Hello There is a bug in `org-entry-get' when used with non-nil INHERIT. When PROPERTY is set in `org-file-properties', `org-global-properties' or `org-global-properties-fixed' then 'org-entry-get' uses that value without first checking higher levels of the hierarchy. -- Jonas

Re: [O] Feature Request: Per-file attachment directories

2012-09-24 Thread Nick Dokos
Daniel E. Doherty wrote: > > Org Mode-erists: > > I like the attachment facility of Org for organizing external files > related to a project, but it seems to lack an obvious feature. > > I use a separate org file for each major project, which in my case are > law suits. I would like to have a

Re: [O] Feature Request: Per-file attachment directories

2012-09-24 Thread Charles
Daniel, On 9/24/2012 10:57 AM, Daniel E. Doherty wrote: Org Mode-erists: I like the attachment facility of Org for organizing external files related to a project, but it seems to lack an obvious feature. I use a separate org file for each major project, which in my case are law suits. I would

Re: [O] New exporter doesn't like #+LaTeX_CLASS

2012-09-24 Thread Alexander Vorobiev
Richard, See the discussion in the following thread http://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg00505.html. It has a lot of helpful hints on the new exporter. Alex On Mon, Sep 24, 2012 at 12:46 PM, Richard Stanton wrote: > To get my favorite default sty files loaded with org mode

Re: [O] New exporter doesn't like #+LaTeX_CLASS

2012-09-24 Thread Philipp Kroos
There's a new var, org-e-latex-classes. Philipp On Mon, Sep 24, 2012 at 10:46:26AM -0700, Richard Stanton wrote: > To get my favorite default sty files loaded with org mode, I have a set of > LaTeX commands defined as "rhs" in org-export-latex-classes. This has always > worked fine in the past

Re: [O] Org-mode release 7.9

2012-09-24 Thread Bastien
Hi, Achim Gratz writes: > Yes, archive-contents is not currently produced. AFAIK the server is > still running Emacs�23 and I don't know if package-x is available. > Although it should be possible to produce the package description > vectors manually at the moment, I would like to avoid that. >

[O] New exporter doesn't like #+LaTeX_CLASS

2012-09-24 Thread Richard Stanton
To get my favorite default sty files loaded with org mode, I have a set of LaTeX commands defined as "rhs" in org-export-latex-classes. This has always worked fine in the past, and continues to work fine with the old exporter, but when I include the line #+LaTeX_CLASS: rhs And process using o

Re: [O] [PATCH] Lookup functions, take two

2012-09-24 Thread Jarmo Hurri
Bastien writes: > I feel my brain is a bit slow today... so sorry in advance if the > question sounds stupid. What is the advantage of using org-lookup-* > functions instead of a simple reference in the table formulas? As noted in the documentation, most often you do something like this when f

Re: [O] Publishing using the new exporter

2012-09-24 Thread Robert Klein
On 09/24/2012 12:25 PM, Nicolas Goaziou wrote: Hello, Robert Klein writes: I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. Did you (require 'org-e-html) first? Regards, Thanks, this helps. This is a

Re: [O] Publishing using the new exporter

2012-09-24 Thread Achim Gratz
Nick Dokos writes: >> Did you (require 'org-e-html) first? >> >> > > Not that I have tried it, but I would expect error messages rather > than zero-length files in that case. Is that expectation wrong? I think that if a backend hasn't registered callbacks, the defaults (doing nothing) will take

Re: [O] Org-mode release 7.9

2012-09-24 Thread Achim Gratz
Eric Schulte writes: > So is there some server-side action which needs to be taken for these > packages and the archive-contents file to begin appearing online? Yes, archive-contents is not currently produced. AFAIK the server is still running Emacs 23 and I don't know if package-x is available.

Re: [O] dnd-protocol-alist and org

2012-09-24 Thread Marcelo de Moraes Serpa
Yeah, I've tried there, but no luck. In fact, I thought it'd be interesting/relevant enough to org in order to post here. Integration with dnd and copy and paste for files and images would be awesome and put org on par with Evernote in this regard. I mean, it's so much faster and more intuitive to

Re: [O] LaTeX export problem

2012-09-24 Thread Alexander Vorobiev
Nicolas, Here is my configuration section (it goes at the end of the org file). Nothing in the LaTeX_HEADER lines gets inserted into output tex document. The old exporter just inserted them all verbatim. #+STARTUP:align fold nodlcheck hidestars oddeven lognotestate #+PROPERTY: exports results

Re: [O] Bug: M-x org-agenda RET a RET => Lisp error: (wrong-type-argument number-or-marker-p nil) [7.9.1 (release_7.9.1-321-g9ebf47-git @ mixed installation! /usr/share/emacs/24.2.50/lisp/org/ and /ho

2012-09-24 Thread Tassilo Horn
Bastien writes: Hi Bastien, >> With org from git (commit 9ebf47afbf2b60a496a1a5393aaa7734adc4d352), >> I get the error from the subject when I want to open the org agenda. > > Should be fixed now, thanks! Yes, works again. Thanks a lot, Tassilo

Re: [O] Bug: M-x org-agenda RET a RET => Lisp error: (wrong-type-argument number-or-marker-p nil) [7.9.1 (release_7.9.1-321-g9ebf47-git @ mixed installation! /usr/share/emacs/24.2.50/lisp/org/ and /ho

2012-09-24 Thread Bastien
Hi Tassilo, Tassilo Horn writes: > With org from git (commit 9ebf47afbf2b60a496a1a5393aaa7734adc4d352), I > get the error from the subject when I want to open the org agenda. Should be fixed now, thanks! -- Bastien

Re: [O] Publishing using the new exporter

2012-09-24 Thread Nick Dokos
Nicolas Goaziou wrote: > Hello, > > Robert Klein writes: > > > I'm trying to use the new exporter for publishing a project. > > > > For some reason all .org files get exported to zero length .html > > files. > > Did you (require 'org-e-html) first? > > Not that I have tried it, but I would

[O] Bug: M-x org-agenda RET a RET => Lisp error: (wrong-type-argument number-or-marker-p nil) [7.9.1 (release_7.9.1-321-g9ebf47-git @ mixed installation! /usr/share/emacs/24.2.50/lisp/org/ and /home/h

2012-09-24 Thread Tassilo Horn
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. -

[O] Feature Request: Per-file attachment directories

2012-09-24 Thread Daniel E . Doherty
Org Mode-erists: I like the attachment facility of Org for organizing external files related to a project, but it seems to lack an obvious feature. I use a separate org file for each major project, which in my case are law suits. I would like to have a custom attachment directory specified at t

Re: [O] Org-mode release 7.9

2012-09-24 Thread Eric Schulte
Bastien writes: > Achim Gratz writes: > >> Bastien writes: However I suggest to lose the plural and just use `org-plus-contrib´. >>> >>> Yes, that's fine for me. Thanks, >> >> Implemented and pushed. > > Thanks! So is there some server-side action which needs to be taken for these pa

Re: [O] [PATCH] Lookup functions, take two

2012-09-24 Thread Bastien
Hi Jarmo, Jarmo Hurri writes: > Modified the patch as requested: the ordering in the documentation is > now "Column formulas" before the new "Lookup functions". I feel my brain is a bit slow today... so sorry in advance if the question sounds stupid. What is the advantage of using org-lookup-*

Re: [O] [Bug] org-capture datetree+prompt: wrong time (range) information in timestamp (%T escape sequence)

2012-09-24 Thread Bastien
Hi Gregor, Gregor Zattler writes: > But there are two problems with the time information, which I > consider to be bugs: > > 1) If I enter a time *range* at the prompt, the %T expands to the >time when I invoked the capture ("now") while the date is >still the entered day, not today. Th

[O] [PATCH] Give possibility to start gnus with gnus-no-server

2012-09-24 Thread Jarmo Hurri
Greetings. I tried to use org today together with gnus, but was unable to access gnus via org, because I always start gnus with gnus-no-server. The attached patch enables this through a customizeable variable. -- Jarmo >From 02e2822e733122b94adbe622b6945c6bca516c3d Mon Sep 17 00:00:00 2001 Fro

Re: [O] auto-fill non-op, fill-paragraph error

2012-09-24 Thread Bastien
Hi, modeless writes: > I'm as well facing the org-fill-paragraph problems in 7.9.1. I'm on the > [maint] > branch. What is the value returned by M-x org-version RET ? -- Bastien

Re: [O] auto-fill non-op, fill-paragraph error

2012-09-24 Thread modeless
Edward DeMeulle demeulle.org> writes: > > I'm on 7.9.1. I've been pulling from the repository every once in a > while. Hi, I'm as well facing the org-fill-paragraph problems in 7.9.1. I'm on the [maint] branch. Kind regards, Jörn

Re: [O] No title in org-export-as-odt

2012-09-24 Thread Giovanni Ridolfi
Da: Miguel Ruiz Inviato: Lunedì 24 Settembre 2012 8:03 >> Bastien >>> Miguel Ruiz writes: > >> >>> Any hint to get rid of the title in a org-export-as-odt >>> session? >> >> I don't think you can > > org-odt-format-preamble function says: > > ... > (when title >      (concat >  (org-odt-format

Re: [O] Publishing using the new exporter

2012-09-24 Thread Nicolas Goaziou
Hello, Robert Klein writes: > I'm trying to use the new exporter for publishing a project. > > For some reason all .org files get exported to zero length .html > files. Did you (require 'org-e-html) first? Regards, -- Nicolas Goaziou

[O] Publishing using the new exporter

2012-09-24 Thread Robert Klein
Hi, I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. The org-e-publishh-project-alist is currently shortened to: #+begin_example (setq org-e-publish-project-alist '(("s2-org" :base-directory "~/D