[O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread András Major
Hi, I'd like to use a babel code block to fill a table with values. The sbe elisp function looks like the right thing for this task, but it appears that the result of the code block always goes into a single cell of a table. I can specify ranges of values, but then the entire output is placed in

Re: [O] [odt] User-visible improvements

2011-08-19 Thread Jambunathan K
> I am not sure I understand why we need `org-lparse-convert-process' > and `org-lparse-convert-processes' -- isn't it possible to just have > the first one, while listing the choices within this option? I need a radio-table of an (a)list with a simultaneous ability to modify radio-table entries.

[O] Bug: column names in tables cannot be used as target in table formula [7.7 (release_7.7.107.g7a82)]

2011-08-19 Thread András Major
Hi again, I think that naming columns in tables is a very nice feature. It only works, however, as a reference, i.e. on the right-hand side of a formula specification. That is, I can refer to a column by name to read its value, not to write it (using TBLFM). Example: | ! | name1 | name2 | | #

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Bastien
Hi Jambunathan, Jambunathan K writes: > I still need a way to save the changes. All I was asking for is some > temporary storage space. Okay -- org-mode/contrib/ is not the place for that, Achim's and Suvayu's suggestions are fine. Best, -- Bastien

Re: [O] backend specific preprocess hook

2011-08-19 Thread Bastien
suvayu ali writes: > I have this working now. Works great. I should have reported back with > my solution: Thanks for sharing! -- Bastien

Re: [O] Bug: Extra space inserted in repeated tasks' date line

2011-08-19 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > This works in many cases, but suffers some problems. Anyway, you're > really not far from giving this a definitive solution[1]. Please try latest git repo. I should have fixed the problem you mention. Thanks! -- Bastien

Re: [O] Highlight TODO keywords when using dash as bulletpoint

2011-08-19 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa writes: > I'd like to know if it's possible to highlight the TODO keywords when > using dash " - " as the bulletpoint for items. Example: This is not possible to highlight them as being TODO keywords, as TODO keywords only work on headlines (starting with an

Re: [O] Closing brace with LaTeX export

2011-08-19 Thread Bastien
"Dr. Adrian Wrigley" writes: > I was using Debian Squeeze, which has the 6.33 by default. Debian should not squeeze users into using such old versions ;) -- Bastien

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Jambunathan K
Based on my experience I have received far more feedback/bug reports on odt exporter since 7.6 release than when it was in my own git. All three suggestions made here miss the whole point. They are suggesting to hide a useful piece of work underneath githubs, repos etc. - It is not a question of

Re: [O] [error] Capture template `m': number-or-marker-p

2011-08-19 Thread Sebastien Vauban
Hello, > With the update of 20 mins ago or so, that is [2011-08-18 Thu 23:00] (CET), > I've got the following error when trying to use a capture template I use many > times every day. > > Debugger entered--Lisp error: (error "Capture template `m': > number-or-marker-p") > signal(error ("Capture

Re: [O] Bug: Extra space inserted in repeated tasks' date line

2011-08-19 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> This works in many cases, but suffers some problems. Anyway, you're >> really not far from giving this a definitive solution[1]. > > Please try latest git repo. I should have fixed the problem you mention. AFAICT, this works like a cha

Re: [O] Bug: Extra space inserted in repeated tasks' date line

2011-08-19 Thread Bastien
"Sebastien Vauban" writes: >> Please try latest git repo. I should have fixed the problem you mention. > > AFAICT, this works like a charm! Even in the case of refiling, which I did not > test yesterday -- well today! Thanks for the quick test and confirmation! -- Bastien

Re: [O] Attachments and refiling

2011-08-19 Thread Bastien
Hi Darlan, Darlan Cavalcante Moreira writes: > There is probably a way to make the attach link type also work when > exporting the org buffer, but since I don't need this right now I didn't > search how to do it. You could use a `org-export-preprocess-hook' to convert those "attach" links into

Re: [O] [odt] User-visible improvements

2011-08-19 Thread Jambunathan K
suvayu ali writes: > Hi Jambu and Bastien, > > On Thu, Aug 18, 2011 at 9:31 AM, Bastien wrote: >> Hi Jambunathan, >> >> these are great improvements -- I'm surprised people didn't thank >> you more for this!  So, thanks. >> > > Does this feature mean we can export to other common word processor

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread peter . frings
Good morning gents, I think you nailed it. Thanks! * Summary Having the todo list in a daily view is very convenient, but not provided out-of-the-box. The enabling of it used to be relatively simply with a single variable, but in more recent version it’s now reserved for org-savvy people. Hoo

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread Daniel Bausch
Hi, I'd like to note, that ".~" would lead to a hard space, that disallows a line break, so I think only ".\ " is correct, although Emacs M-q does not break after ". " with a single space, too, to be able to detect sentence ends. Daniel Am Freitag, 19. August 2011, 08:50:52 schrieb Andras Majo

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Bastien
Hi Jambunathan, we are discussing in abstract terms, and that might distract us from DTRT together: can you show the patched version of htmlfontify.el? Thanks! -- Bastien

Re: [O] how to narrow Clock Total on repeating tasks?

2011-08-19 Thread Bastien
Hi Michael, Michael Gilbert writes: > I have run into one problem that I don't > know how to apprach. Quite possibly there is an obvious answer in the > manual that I've missed and if so, please forgive me. (I have noticed that > most of my questions don't, in fact, have such answers though.) (

[O] Automatically build lists of links to related articles

2011-08-19 Thread Juan Reyero
Greetings, I write articles in their own page, with a main heading as the title. I've written a function that builds a table with links to other articles that share tags with the heading under which the table is built (and that share the same language, assuming that the :lang: property is set).  T

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Carsten Dominik
On Aug 19, 2011, at 11:02 AM, peter.fri...@agfa.com wrote: > Good morning gents, > > I think you nailed it. Thanks! > > > * Summary > Having the todo list in a daily view is very convenient, but not provided > out-of-the-box. The enabling of it used to be relatively simply with a single > va

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread Stefan Nobis
Andras Major writes: > Hi, > in TeX and LaTeX, the width of the glue (blank space) after a "." can > be one of two different values, depending on the context. And depending on the use of \nonfrenchspacing and \frenchspacing. > There is always a longer space between sentences than after a "." >

[O] BUG: example/src blocks and latex export

2011-08-19 Thread Nick Dokos
Consider the following org file: --8<---cut here---start->8--- * foo Verbiage to begin the paragraph #+begin_src shell get-config.py var section [section ...] #+end_src and verbiage to end the same paragraph. * bar Verbiage to begin the paragraph #+begin_exa

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Bastien
Hi Jambunathan, I see this addition in one of the latest commit: +(defcustom org-export-odt-use-htmlfontify t + "Specify whether or not source blocks need to be fontified. +Turn this option on if you want to colorize the source code +blocks in the exported file. For colorization to work, you ne

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Bastien
Jambunathan K writes: > Till such time as this patch is integrated in to official Emacs, I would > like to check-in a copy of htmlfontify.el into the contrib dir. Will > there any objection to this? It just occurred to me: why using htmlfontify.el instead of htmlize.el? I guess there are good

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Carsten Dominik
On Aug 19, 2011, at 11:02 AM, peter.fri...@agfa.com wrote: > Good morning gents, > > I think you nailed it. Thanks! > > > * Summary > Having the todo list in a daily view is very convenient, but not provided > out-of-the-box. The enabling of it used to be relatively simply with a single > va

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Peter Frings
Hello Carsten, On 19 Aug 2011, at 11:59, Carsten Dominik wrote: > The two main issues you are having are these: > > 1. There is no simple way for beginners to get both TODO and agenda in one > view > 2. Moving through time does not work in a block view when the cursor is in > the TODO list.

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Carsten Dominik
On Aug 19, 2011, at 12:35 PM, Peter Frings wrote: > Hello Carsten, > > > On 19 Aug 2011, at 11:59, Carsten Dominik wrote: > >> The two main issues you are having are these: >> >> 1. There is no simple way for beginners to get both TODO and agenda in one >> view >> 2. Moving through time does

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Carsten Dominik
On Aug 19, 2011, at 12:35 PM, Peter Frings wrote: > Hello Carsten, > > > On 19 Aug 2011, at 11:59, Carsten Dominik wrote: > >> The two main issues you are having are these: >> >> 1. There is no simple way for beginners to get both TODO and agenda in one >> view >> 2. Moving through time does

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread András Major
> > There is always a longer space between sentences than after a "." > > that doesn't mark the end of a sentence > > This could easily be turned off with the use of a single \frenchspacing > in the preamble (or in the document; you may switch between the two in > the document as often as you like

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread Carsten Dominik
On Aug 19, 2011, at 8:50 AM, Andras Major wrote: > Hi, > > in TeX and LaTeX, the width of the glue (blank space) after a "." can > be one of two different values, depending on the context. There is > always a longer space between sentences than after a "." that doesn't > mark the end of a sente

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread peter . frings
On 19 Aug 2011, at 13:05, Carsten Dominik wrote: > On Aug 19, 2011, at 12:35 PM, Peter Frings wrote: >> On 19 Aug 2011, at 11:59, Carsten Dominik wrote: >> >>> The two main issues you are having are these: >>> >>> 1. There is no simple way for beginners to get both TODO and agenda in one >>> vi

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Jambunathan K
> It just occurred to me: why using htmlfontify.el instead of > htmlize.el? I guess there are good reasons... htmlfontify is part of Emacs and so a first class citizen. A user doesn't have to install any additional package to get fontification support. It will work out of the box. Jambunathan K

[O] for beamer: org-export-latex-classes and BEAMER_FRAME_LEVEL?

2011-08-19 Thread Marko Schütz Schmuck
I have tried to use BEAMER_FRAME_LEVEL instead of setting specific sections/environments for the individual levels. If I remove all entries from the sectioning part of org-export-latex-classes, `nil' is called as a function. If I put anything in the sectioning part of org-export-latex-classes those

Re: [O] git repository over http?

2011-08-19 Thread Jason Dunsmore
Bastien writes: > Hi Jonathan, > > Jonathan Leech-Pepin writes: > >> The server does seem to support HTTP for pulling, however it is very >> slow. > > Yes, I noticed this too. > >> http:// does work for cloning and pulling from the main Repo, however >> there's nothing to indicate that anything

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Jambunathan K
Bastien writes: > Hi Jambunathan, > > I see this addition in one of the latest commit: > > +(defcustom org-export-odt-use-htmlfontify t > + "Specify whether or not source blocks need to be fontified. > +Turn this option on if you want to colorize the source code > +blocks in the exported file.

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Jambunathan K
Jambunathan K writes: >> Hi Jambunathan, >> >> we are discussing in abstract terms, and that might distract us from >> DTRT together: can you show the patched version of htmlfontify.el? > > Here you go. > > Patch numbered 1 is the base htmlfontify.el (same as that in emacs-24 > trunk). I am also

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Bastien
Hi Carsten, Carsten Dominik writes: > OK, I am attaching a patch proposal which will clean this up a bit. Thanks for tackling these issues -- I can't read the patch thourh, as it is just two lines long, can you resent it? > It does: > > - Clean up the variable name include-all, which is conf

Re: [O] for beamer: org-export-latex-classes and BEAMER_FRAME_LEVEL?

2011-08-19 Thread Sebastien Vauban
Hi Marko, Marko Schütz Schmuck wrote: > I have tried to use BEAMER_FRAME_LEVEL instead of setting specific > sections/environments for the individual levels. If I remove all > entries from the sectioning part of org-export-latex-classes, `nil' is > called as a function. If I put anything in the se

Re: [O] how to include effort in agenda prefix?

2011-08-19 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: >> I do try to keep current, but apparently I missed that! I see it in the >> docstring, but I don't see its usage explained (in the docstring or in the >> manual). Am I overlooking it? > > I confirm the explanation is missing from the doc. Could you pro

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Carsten Dominik
On Aug 19, 2011, at 3:08 PM, Bastien wrote: > Hi Carsten, > > Carsten Dominik writes: > >> OK, I am attaching a patch proposal which will clean this up a bit. > > Thanks for tackling these issues -- I can't read the patch thourh, > as it is just two lines long, can you resent it? Strange.

Re: [O] how to include effort in agenda prefix?

2011-08-19 Thread Bastien
"Sebastien Vauban" writes: >> I do try to keep current, but apparently I missed that! I see it in the >> docstring, but I don't see its usage explained (in the docstring or in the >> manual). Am I overlooking it? > > I confirm the explanation is missing from the doc. I just added a line in the d

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Bastien
Carsten Dominik writes: > Strange. Here it is again: Thanks -- please go ahead! (Good to get rid of "include-all", I stumbled on this while debugging the agenda a while ago...) Best, -- Bastien

Re: [O] git repository over http?

2011-08-19 Thread Bastien
Hi Jason, Jason Dunsmore writes: > I ran some tests and found that the download speed is proportional to > the size of the repo: Good to know, thanks. > If you clone via git://, it does some optimizations during the transfer, > whereas cloning via http:// does not. If I do a "git gc" on the r

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread William Henney
Hi András 2011/8/19 András Major : >> > There is always a longer space between sentences than after a "." >> > that doesn't mark the end of a sentence >> >> This could easily be turned off with the use of a single \frenchspacing >> in the preamble (or in the document; you may switch between the tw

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Carsten Dominik
On Aug 19, 2011, at 3:23 PM, Bastien wrote: > Carsten Dominik writes: > >> Strange. Here it is again: > > Thanks -- please go ahead! Done. - Carsten > > (Good to get rid of "include-all", I stumbled on this while > debugging the agenda a while ago...) > > Best, > > -- > Bastien - Car

Re: [O] how to include effort in agenda prefix?

2011-08-19 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >>> I do try to keep current, but apparently I missed that! I see it in the >>> docstring, but I don't see its usage explained (in the docstring or in the >>> manual). Am I overlooking it? >> >> I confirm the explanation is missing from th

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread Rasmus
Andras Major writes: > Org-mode export doesn't allow me to easily include these hints without > affecting readability and export to other formats. Therefore I ask > that LaTeX export places ". " or ".\ " in the output automatically > depending on the context: I would like something like this to

Re: [O] [bug] Asterisks in source and example blocks interpreted as headings

2011-08-19 Thread Eric Schulte
Using org-edit-special bound to C-c ' to edit the contents of source or example blocks will inserted the leading ","s automatically when they are required. Best -- Eric Daniel Bausch writes: > Hi, > > AFAIK that is exactly the case, for which the "," rule is for. > Just put a "," in front of th

Re: [O] Babel woes

2011-08-19 Thread Eric Schulte
Andras Major writes: > Hi everyone, > > I've been trying to use org-mode for report generation lately, and > haven't really succeeded. Here's a list of issues I encounter: > > - Babel offers a way of generating a code block from the output or > value of a code block. That new block, however, i

Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)]

2011-08-19 Thread Eric Schulte
Andras Major writes: > Hello, here is an example of apparently erroneous behaviour of the > :results switch. In this example, we use an sh block, but it also > appears to affect other languages (will need more investigation). > > Example Org code: > > #+begin_src sh :exports output > echo "Hel

Re: [O] ditaa

2011-08-19 Thread Eric Schulte
Henri-Paul Indiogine writes: > Greetings! > > This is from my .emacs > > (org-babel-do-load-languages > 'org-babel-load-languages > '((R . t) >(ditaa . t) >. >. > (defun my-org-confirm-babel-evaluate (lang body) > (not (string= lang "ditaa"))) ; don't ask for dita

Re: [O] Publishing problem on Worg due to babel intro

2011-08-19 Thread Eric Schulte
t...@tsdye.com (Thomas S. Dye) writes: > Christian Egli writes: > >> Hi all >> >> I enhanced the taskjuggler tutorial on worg. However the fix is not >> published as there is a problem with the intro page for Babel[1] (see >> also the publishing report[2]). The page also fails if I try to publish

Re: [O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread Eric Schulte
András Major writes: > Hi, > > I'd like to use a babel code block to fill a table with values. The > sbe elisp function looks like the right thing for this task, but it > appears that the result of the code block always goes into a single > cell of a table. I can specify ranges of values, but t

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread suvayu ali
On Fri, Aug 19, 2011 at 4:55 PM, Rasmus wrote: > Andras Major writes: > >> Org-mode export doesn't allow me to easily include these hints without >> affecting readability and export to other formats.  Therefore I ask >> that LaTeX export places ". " or ".\ " in the output automatically >> dependi

[O] Problem with shift-up

2011-08-19 Thread Peter Frings
Hi gang, sorry to bother you all again, but my transition to the new emacs is now taking days and I’m getting really frustrated. I’m trying to find out why shift-arrow on a date/time stamp no longer works with my brand new and shiny set-up. Emacs 23, org-mode 7.7. When running a minimal set

Re: [O] Publishing problem on Worg due to babel intro

2011-08-19 Thread Christian Egli
Eric Schulte writes: > When writing a code block *all* variables require a default value. I've > added default values to all of the variables in this file and it now > exports as expected. In the mean time I moved the intro to the FIXME directory so that my stuff would be published on worg. Now

Re: [O] BUG: example/src blocks and latex export

2011-08-19 Thread Eric Schulte
Nick Dokos writes: > Consider the following org file: > > > * foo > > Verbiage to begin the paragraph > #+begin_src shell > get-config.py var section [section ...] > #+end_src > and verbiage to end the same paragraph. > > * bar > > Verbiage to begin the paragraph > #+begin_example > get-config.py

Re: [O] BUG: example/src blocks and latex export

2011-08-19 Thread Nick Dokos
Eric Schulte wrote: > If you want results embedded into a paragraph, then I would suggest > using an inline code block. Regular code blocks are "blocks" in that > they will break paragraphs and are treated (in my mind) more like > figures than inline elements. > Actually in my "real" case, I w

[O] Org errors while building agenda: (void-function org-hh:mm-string-to-minutes)

2011-08-19 Thread Tassilo Horn
Hi, it seems commit commit 8c3ecbe39a0c99e3724246d1eb460495a53721b6 Author: Bastien Guerry Date: Wed Aug 17 16:08:02 2011 +0200 Move three functions and add appropriate require/declarations. * org-clock.el (org-duration-string-to-minutes) (org-minutes-to-hh:mm-string, org-hh:

Re: [O] ditaa

2011-08-19 Thread Henri-Paul Indiogine
Hi Eric! 2011/8/19 Eric Schulte : > On a side note (and personal preference) I would highly recommend using > TikZ for LaTeX documents as the finished product seamlessly integrates > with the rest of the document and scales nicely from posted to post-card > printings. Yes, I agree. I had used Ti

Re: [O] Publishing problem on Worg due to babel intro

2011-08-19 Thread Eric Schulte
Christian Egli writes: > Eric Schulte writes: > >> When writing a code block *all* variables require a default value. I've >> added default values to all of the variables in this file and it now >> exports as expected. > > In the mean time I moved the intro to the FIXME directory so that my > s

Re: [O] Attachments and refiling

2011-08-19 Thread Darlan Cavalcante Moreira
At Fri, 19 Aug 2011 10:46:26 +0200, Bastien wrote: What about org-add-link-type? Besides the new link type name, org-add-link-type can receives two functions, one used to follow the link and another to export the link. I was able to make the attach link type work by using org-add-link-type, whe

[O] [PATCH] Re: Publishing problem on Worg due to babel intro

2011-08-19 Thread Thomas S. Dye
Adds a line to the manual specifying this requirement. Tom >From 5ee660db5f5f4fbaac13ac3787c6e4bca3d2abeb Mon Sep 17 00:00:00 2001 From: Tom Dye Date: Fri, 19 Aug 2011 06:27:11 -1000 Subject: [PATCH] * doc/org.texi: :var requires default value when declared --- doc/org.texi |3 ++- 1 files

Re: [O] [PATCH] Re: Publishing problem on Worg due to babel intro

2011-08-19 Thread Eric Schulte
Applied, Thanks -- Eric t...@tsdye.com (Thomas S. Dye) writes: > Adds a line to the manual specifying this requirement. > > Tom > > From 5ee660db5f5f4fbaac13ac3787c6e4bca3d2abeb Mon Sep 17 00:00:00 2001 > From: Tom Dye > Date: Fri, 19 Aug 2011 06:27:11 -1000 > Subject: [PATCH] * doc/org.texi: :v

Re: [O] Highlight TODO keywords when using dash as bulletpoint

2011-08-19 Thread Marcelo de Moraes Serpa
yeah, I'm going to do that. I was just curious why that wasn't possible. Thanks Bastien. On Fri, Aug 19, 2011 at 2:45 AM, Bastien wrote: > Hi Marcelo, > > Marcelo de Moraes Serpa writes: > > > I'd like to know if it's possible to highlight the TODO keywords when > > using dash " - " as the bull

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread András Major
Hi Will, > > I'm fully aware of that, but that also messes up the spacing between > > sentences. My proposed solution should be robust enough to be > > more-or-less foolproof yet produce nice-looking output. > > What is nice-looking is a matter of personal taste. Personally, I tend > to prefer e

Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)]

2011-08-19 Thread András Major
Hi Eric, > If we did return the value of shell scripts then ":results value" would > almost always simply return 0 (or possibly an error message). For this > reason shell code blocks do not implement value returns, but rather will > always collect results from STDOUT. I think that this unnecessa

Re: [O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread András Major
Hi Eric, > sbe is just an elisp function which is called by the Org-mode > spreadsheet's function evaluation mechanisms. The spreadsheet does not > allow for insertion of results into multiple cells and thus neither does > the use of sbe. Hmmm. It appears that one can make sbe set multiple cell

Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)]

2011-08-19 Thread Achim Gratz
András Major writes: > This would be most easily done using an sh block which returns a > numeric exit code. No one keeps you from using echo $? in the last line of that shell block. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the T

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread Thomas S. Dye
Andras Major writes: > Hi, > > in TeX and LaTeX, the width of the glue (blank space) after a "." can > be one of two different values, depending on the context. There is > always a longer space between sentences than after a "." that doesn't > mark the end of a sentence (abbreviations, dates, et

[O] Bug: Babel: haskell :results options output and value work contrary to docs [7.7 (release_7.7.107.g7a82)]

2011-08-19 Thread András Major
Here's another one: In a haskell code, the :results options value and output both work erroneously. "value" returns the output, "output" returns nothing into the :results block. Example code: #+begin_src haskell :results value putStrLn "hello" #+end_src #+results: : hello #+begin_src haskell

Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)]

2011-08-19 Thread Sebastien Vauban
Hi András and Eric, András Major wrote: > >> If we did return the value of shell scripts then ":results value" would >> almost always simply return 0 (or possibly an error message). For this >> reason shell code blocks do not implement value returns, but rather will >> always collect results from

[O] result of code evaluation

2011-08-19 Thread Henri-Paul Indiogine
Greetings! I am just now starting to use babel in my org-mode files. I am intrigued by its capabilities, but I encountered a strange phenomenon: 8<--->8- #+srcname: test #+begin_src sh :results value #!/bin/bash echo "hello" #+end_src #+results:

Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)]

2011-08-19 Thread Sebastien Vauban
Hi Achim, Achim Gratz wrote: > András Major writes: >> This would be most easily done using an sh block which returns a >> numeric exit code. > > No one keeps you from using > > echo $? > > in the last line of that shell block. Even if this is a smart workaround, it don't think this is equivalen

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread Sebastien Vauban
Hi all, András Major wrote: >> > I'm fully aware of that, but that also messes up the spacing between >> > sentences. My proposed solution should be robust enough to be >> > more-or-less foolproof yet produce nice-looking output. >> >> What is nice-looking is a matter of personal taste. Personal

Re: [O] [bug] Asterisks in source and example blocks interpreted as headings

2011-08-19 Thread Sebastien Vauban
Hi, Eric Schulte wrote: > Daniel Bausch writes: >> AFAIK that is exactly the case, for which the "," rule is for. >> Just put a "," in front of the offending line and everything will be fine. >> On export the "," is removed. > > Using org-edit-special bound to C-c ' to edit the contents of source

Re: [O] BUG: example/src blocks and latex export

2011-08-19 Thread Nick Dokos
Eric Schulte wrote: > > I get sane behavior with the attached patch, but I'm wondering if it > > breaks other backends, so if somebody is willing to test, I'd appreciate > > it (and of course, I'll test as well). For the time being at least, this > > is a trial balloon, not a real patch. > > > >

Re: [O] result of code evaluation

2011-08-19 Thread Sebastien Vauban
Hi Henri-Paul, Henri-Paul Indiogine wrote: > Greetings! > > I am just now starting to use babel in my org-mode files. I am > intrigued by its capabilities, but I encountered a strange phenomenon: > > 8<--->8- > #+srcname: test > #+begin_src sh :resu

Re: [O] result of code evaluation

2011-08-19 Thread imi...@ymail.com
Am 19.08.2011 21:06, schrieb Henri-Paul Indiogine: Greetings! I am just now starting to use babel in my org-mode files. I am intrigued by its capabilities, but I encountered a strange phenomenon: 8<--->8- #+srcname: test #+begin_src sh :re

Re: [O] Problem with shift-up

2011-08-19 Thread Bastien
Hi Peter, Peter Frings writes: > When loading the starter-kit from Kieran Healy [1], AFAIU, this starter-kit relies on the commit c88c76b of Org: https://github.com/kjhealy/emacs-starter-kit/tree/master/src Please make sure to report what your exact version of Org is (M-x org-version), that m

Re: [O] result of code evaluation

2011-08-19 Thread Henri-Paul Indiogine
Hi Sebastien! 2011/8/19 Sebastien Vauban : > The only other solutions are: > > - use the option =:results raw=, but you can't do any replace anymore (of old >  results by new results) > > - =(setq org-babel-min-lines-for-block-output 1)=, to force Org to put the >  output enclosed in a #+begin/end

Re: [O] Org errors while building agenda: (void-function org-hh:mm-string-to-minutes)

2011-08-19 Thread Bastien
Hi Tassilo, Tassilo Horn writes: > it seems commit > > commit 8c3ecbe39a0c99e3724246d1eb460495a53721b6 > Author: Bastien Guerry > Date: Wed Aug 17 16:08:02 2011 +0200 > > Move three functions and add appropriate require/declarations. > > * org-clock.el (org-duration-string-to-min

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Bastien
Jambunathan K writes: >> It just occurred to me: why using htmlfontify.el instead of >> htmlize.el? I guess there are good reasons... > > htmlfontify is part of Emacs and so a first class citizen. A user > doesn't have to install any additional package to get fontification > support. It will wor

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Bastien
Jambunathan K writes: >> +(defcustom org-export-odt-use-htmlfontify t The name of the variable is confusing -- we should mention this is about src block. >> + "Specify whether or not source blocks need to be fontified. >> +Turn this option on if you want to colorize the source code >> +blocks

Re: [O] result of code evaluation

2011-08-19 Thread Sebastien Vauban
Hi Henri-Paul, Henri-Paul Indiogine wrote: > 2011/8/19 Sebastien Vauban : >> The only other solutions are: >> >> - use the option =:results raw=, but you can't do any replace anymore (of old >>  results by new results) >> >> - =(setq org-babel-min-lines-for-block-output 1)=, to force Org to put th

Re: [O] missing todo's in agenda after emacs/org upgrade

2011-08-19 Thread Viktor Rosenfeld
Carsten Dominik wrote: > 2. Moving through time does not work in a block view when the cursor is in > the TODO list. > > Maybe we can find ways to address these two issues? For example, including a > built-in command > for this double view, or seeding org-agenda-custom-commands with this > pa

Re: [O] Problem with shift-up

2011-08-19 Thread Ista Zahn
On Fri, Aug 19, 2011 at 11:10 AM, Peter Frings wrote: > Hi gang, > > sorry to bother you all again, but my transition to the new emacs is now > taking days and I’m getting really frustrated. > > I’m trying to find out why shift-arrow on a date/time stamp no longer works > with my brand new and s

Re: [O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread Michael Brand
Hi András I am not sure if you really need the data between the sh output and the sbe input as a table. If not, this can be used: #+source: shcode(x = 0) #+begin_src sh echo "$x" #+end_src | 1 | 2 | 3 | #+TBLFM: @1$1..@1$3 = '(sbe "shcode" (x "$#")) Michael 2011/8/19 András Major : > Hi, > >

Re: [O] Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence

2011-08-19 Thread Bastien
Hi Andras, Andras Major writes: > - If, in the source, the "." precedes a double space " " or a newline, > use ". ". > > - In any other case, use ".\ ". I wonder how such a function would look like. Does anyone wants to try to write it? Even pseudo-code would be fine at this stage. > The

Re: [O] Missing Mobile TODO questions

2011-08-19 Thread Bastien
Hi Iain, Iain Houston writes: > I'd be very grateful for some help setting up Mobile Org. I'm not using org-mobile myself, I hope someone will be able to help you on this. Best, -- Bastien

Re: [O] BUG: example/src blocks and latex export

2011-08-19 Thread Bastien
Hi Nick, Nick Dokos writes: > * foo > > Verbiage to begin the paragraph > #+begin_src shell > get-config.py var section [section ...] > #+end_src > and verbiage to end the same paragraph. > > * bar > > Verbiage to begin the paragraph > #+begin_example > get-config.py var section [section ...] >

Re: [O] org-icons package

2011-08-19 Thread Renzo Been
Oké Dan, Understood. That sounds right; to move all the code into the org-icons.el file. That way the patch is no longer needed, and org-icons can live in the contrib dir (together with a directory for the images). I think its best if I make a fork of your repo. That gives me some space for worki

Re: [O] [odt] htmlfontify + Support for src blockfontification

2011-08-19 Thread Bastien
Jambunathan K writes: >> we are discussing in abstract terms, and that might distract us from >> DTRT together: can you show the patched version of htmlfontify.el? > > Here you go. Thanks. I will look into this next week. Not before tuesday, as I'm off for a long week-end. Best, -- Bast

Re: [O] org-icons package

2011-08-19 Thread Bastien
Hi Dan, Dan Davison writes: > org-icons needs to be moved into contrib/, hooked in via a > lightweight patch against org.el, instead of being implemented as a > monolithic change to org.el. I made a start on that in this branch: > > https://github.com/dandavison/org-devel/tree/org-icons Great -

Re: [O] Keeping an eye on byte-compilation warnings

2011-08-19 Thread Bastien
Hi Achim, Achim Gratz writes: > In org-fixup-indentation: > org.el:7368:32:Warning: reference to free variable `org-property-end-re' > > In org-set-property: > org.el:14316:34:Warning: reference to free variable `fn' Both fixed, thanks! -- Bastien

Re: [O] BUG: example/src blocks and latex export

2011-08-19 Thread Nick Dokos
Bastien wrote: > Hi Nick, > > Nick Dokos writes: > > > * foo > > > > Verbiage to begin the paragraph > > #+begin_src shell > > get-config.py var section [section ...] > > #+end_src > > and verbiage to end the same paragraph. > > > > * bar > > > > Verbiage to begin the paragraph > > #+begin_exa

Re: [O] result of code evaluation

2011-08-19 Thread Henri-Paul Indiogine
Greetings! I have another question regarding the output of the bash script. I have a bunch of echo statements. org-mode outputs now everything in a table. Is it possible to suppress this and have just plain lines? That was the behavior with a simple script. Thanks, Henri-Paul -- Henri-Paul

Re: [O] org-agenda.el acquired a dependency on org-clock.el

2011-08-19 Thread Bastien
Nick Dokos writes: > Commit 8c3ecbe3 introduced a new dependency > > org-agenda.el --> org-clock.el > > by moving the org-hh:mm-string-to-minutes etc. functions into org-clock.el. > Presumably, org-agenda.el now needs a I reverted this change, so you should not have this error anymore. HTH, -

[O] Bug: Babel: haskell code evaluation inconsistency [7.7 (release_7.7.160.g3e33)]

2011-08-19 Thread Major A
Hi again, I want to use haskell code blocks in order to evaluate them. The problem is that, depending on what haskell interpreters are installed on the computer, Babel will call a different interpreter to evaluate the code with. Also, the haskell interpreter interface appears to be highly state

Re: [O] Markup in BEGIN_EXAMPLE and alike block

2011-08-19 Thread Bastien
Hi Vladimir, Vladimir Lomov writes: > *** Determining adapter chipset and used driver > > #+BEGIN_EXAMPLE > zbox$ lspci -v > ... > 04:00.0 Network controller: *RaLink RT2860* > Subsystem: Device 1a3b:1059 > Flags: bus master, fast devsel, latency 0, IRQ 19 > Memory at febf (32-bit, non-pr

  1   2   >