Re: [O] adding images in org

2013-04-12 Thread Aditya Mandayam
so - has anyone tried something like this before? i thought this would be legion. how would you go about implementing this? On 4/12/13, Bastien wrote: > Hi David, > > da...@adboyd.com (J. David Boyd) writes: > >> Hmm, then is there any method in Org to auto-download the image, and then >> inline

Re: [O] org.texi:8719 Error

2013-04-12 Thread Achim Gratz
Feng Shu writes: > org-version: 8.0-pre (release_8.0-pre-416-gbf338e) > makeinfo --no-split org.texi -o org > org.texi:8719: No closing brace for footnote `'. > org.texi:8719: Unmatched }. > makeinfo: Removing output file `org' due to errors; use --force to preserve. > make[1]: *** [org] Error 1 >

Re: [O] org-babel: two confirmations for org/HTML "macro"?

2013-04-12 Thread Achim Gratz
Eric Schulte writes: > After walking through this patch, it looks like it provides exactly > the correct behavior. Please go ahead and apply these changes. Thanks for checking, pushed to master. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables

Re: [O] [PATCH] Change relative weekday specifications (ex: fri or -tue) to exclude today

2013-04-12 Thread Carsten Dominik
On 13.4.2013, at 02:11, Bastien wrote: > Hi Sacha, > > Sacha Chua writes: > >> What do people think? > > I love it. Yes, it behaves more sanely like this. And since this was stolen from planner anyway... :) - Carsten > It's neat and efficient. You even managed to get the > patch short

Re: [O] Attributes on HTML tables?

2013-04-12 Thread Eric Abrahamsen
Eric Abrahamsen writes: > François Pinard writes: > >> Bastien writes: >> >>> Eric Abrahamsen writes: >> The first step is probably to research the differences between xhtml and html 5. >> >>> Well, I would even skip this step and just hack something usable. I sort of fudged on the

Re: [O] Attributes on HTML tables?

2013-04-12 Thread Eric Abrahamsen
François Pinard writes: > Bastien writes: > >> Eric Abrahamsen writes: > >>> The first step is probably to research the differences between xhtml and >>> html 5. > >> Well, I would even skip this step and just hack something usable. Okay, I've got a nearly-working patch for this, but I'm falli

Re: [O] [Help] How to apply a function to all head of buffer

2013-04-12 Thread Feng Shu
Thanks Eric ! --

Re: [O] [Help] How to apply a function to all head of buffer

2013-04-12 Thread Eric Abrahamsen
Feng Shu writes: > I need a function apply all the head of a org buffer,I know it will use > loop ,but I don't know the details Hi Feng Shu, You probably want `org-map-entries', check the docstring, it's pretty helpful. Yours, Eric

Re: [O] #attr_latex :width \textwidth

2013-04-12 Thread Vikas Rawal
Sorry, I meant: #+attr_latex :width \textwidth Vikas

[O] [Help] How to apply a function to all head of buffer

2013-04-12 Thread Feng Shu
I need a function apply all the head of a org buffer,I know it will use loop ,but I don't know the details --

[O] org.texi:8719 Error

2013-04-12 Thread Feng Shu
org-version: 8.0-pre (release_8.0-pre-416-gbf338e) makeinfo --no-split org.texi -o org org.texi:8719: No closing brace for footnote `'. org.texi:8719: Unmatched }. makeinfo: Removing output file `org' due to errors; use --force to preserve. make[1]: *** [org] Error 1 make[1]: Leaving directory `/ho

Re: [O] [PATCH] Change relative weekday specifications (ex: fri or -tue) to exclude today

2013-04-12 Thread Bastien
Hi Sacha, Sacha Chua writes: > What do people think? I love it. It's neat and efficient. You even managed to get the patch short enough so that it's a TINYCHANGE. Applied, thanks! -- Bastien

[O] [PATCH] Change relative weekday specifications (ex: fri or -tue) to exclude today

2013-04-12 Thread Sacha Chua
I use the weekday specifiers for org-read-date a lot when scheduling tasks. For example, I frequently use things like "+sat" - the + isn't needed for this, but I still do it out of habit ("sat" works just as well). Sometimes I want to postpone tasks to the same day next week. I think of "fri" as "t

Re: [O] Error with :wrap org in babel and 8.0-pre

2013-04-12 Thread Eric Schulte
John Hendy writes: > I thought this was the proper syntax for printing stuff directly to a > LaTeX document: > > #+begin_src R :session :exports results :results output :wrap org > I think you want either ":results latex" or ":wrap latex". Cheers, > > I've got a statement interspersing some pr

Re: [O] [babel] sbe not working properly

2013-04-12 Thread Eric Schulte
Christian Moe writes: > Hi, > > I cannot replicate Karl's problem. I copied the code examples, and got > the right results on Org 8.0-pre (pulled this morning). > > I did have to make one change -- Babel wouldn't recognize the variables > until I passed them with :var rather than in parens after

Re: [O] Web site generator, but not so static

2013-04-12 Thread Eric Schulte
Fabrice Popineau writes: > I'm considering waht most benefit could be drawn from > coupling org-mode to write web pages (skeletons) > and hunchentoot (common lisp web server). > > There used to be some starter for a CL Org-mode parser, but it > seems to be dead by now. > > There are several ways

Re: [O] [babel] Drop `:results code'?

2013-04-12 Thread Eric Schulte
"Sebastien Vauban" writes: > Hello, > > Shouldn't we, for the sake of simplifying the multiple options, drop the > support for `:results code'? > > It is completely redundant (though, less powerful) with `:wrap'. > I have no problem with that. > > Best regards, > Seb -- Eric Schulte http://

Re: [O] converting people to Emacs and org-mode

2013-04-12 Thread Eric Schulte
Last fall I wrote a very simple elnode based web server which allows for Org-mode files to be viewed and edited through a web browser. http://thread.gmane.org/gmane.emacs.orgmode/58773/focus=61752 It seems relevant to this discussion. I haven't touched the code in some time, so it may need to be

Re: [O] [babel] Bugs for Emacs Lisp code blocks

2013-04-12 Thread Eric Schulte
>> ** Using =:colnames no= header argument (case 2) >> >> #+begin_src emacs-lisp :var data=unset-colnames-example-input :colnames no >> data >> #+end_src >> >> #+results: >> | a | b | >> |---+---| >> | 1 | 2 | >> | 3 | 4 | >> >> Here, I still don't understand why I do see the table header line: I

Re: [O] org-babel: two confirmations for org/HTML "macro"?

2013-04-12 Thread Eric Schulte
Bastien writes: > Hi Achim, > > Achim Gratz writes: > >> Bastien writes: >>> (Sorry, I pushed a fix for the compiler warning that your patch also >>> solves.) >> >> Not in master, though? > > Yes -- pushed this morning. > >>> Achim Gratz writes: >>> Since the test suite doesn't really test

Re: [O] [babel] Bugs for Emacs Lisp code blocks

2013-04-12 Thread Eric Schulte
"Sebastien Vauban" writes: > Hi Eric, > > Eric Schulte wrote: >> "Sebastien Vauban" writes: >>> Eric Schulte wrote: Emacs Lisp is an exception in terms of colname processing, it has default header arguments set to pass column names through to the code block, where the processing m

Re: [O] [babel] Bugs for Emacs Lisp code blocks

2013-04-12 Thread Eric Schulte
>>> >>> Much clearer, but not yet crystal-clear for me... >>> >>> Let me explain. AFAICT, there were 5 possibles values of the ":colnames" >>> header argument: >>> >>> - no header argument :: (default for all languages but Emacs Lisp) >>> - ":colnames no" :: (default for Emacs Lisp code blocks) >>>

Re: [O] [babel] Specified colnames

2013-04-12 Thread Eric Schulte
"Sebastien Vauban" writes: > Eric, > > Eric Schulte wrote: >>> Extra question: tested with a sh block, both of the above do work, that is >>> with strings or symbols. Which one is supposed to be better (that is, will >>> be >>> more portable with time), if there is one? >> >> Both will be mainta

Re: [O] minor bug in babel with silent output and remote R session

2013-04-12 Thread Eric Schulte
Bastien writes: > Hi Thomas, > > thanks for the follow-up. > > Thomas Alexander Gerds writes: > >> I think that I can describe the problem a bit better now. It is not >> related to the silent option but occurs whenever ":results value". >> >> Emacs freezes due to the following line in >> org-bab

Re: [O] [BUG] org-clock-in menu scrolls off the top of the window

2013-04-12 Thread Bernt Hansen
"Sebastien Vauban" writes: >> If there is a default, and current task (all the same) then [d], [c], and >> [1] will all be identical. The default task is only displayed when a default >> clocking task is identified (which is always for me). [c] may not be that >> useful to display since we can

Re: [O] Best way to generate textile from orgmode ?

2013-04-12 Thread Marc-Oliver Ihm
Hm; good reply. I will try ... best regards, Marc Am 12.04.2013 15:09, schrieb Christian Egli: Bastien writes: Hi Marc-Oliver, Marc-Oliver Ihm writes: i would like to convert orgmode to textile (which is used within confluence wiki). What is the best way to do this ? The best way wou

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> Date: Fri, 12 Apr 2013 20:00:56 +0200 > From: Suvayu Ali > Cc: Torsten Wagner , emacs-orgmode@gnu.org, > carsten.domi...@gmail.com > > If some package wants to keep something updated (line number displays in > this case), is using the post-command-hook the only option? No. The other one

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Suvayu Ali
Hi Eli, I hope you don't mind me taking this opportunity to ask a tangential question. On Fri, Apr 12, 2013 at 04:03:10PM +0300, Eli Zaretskii wrote: > In general, linum does exactly what defeats redisplay optimizations: > it modifies overlays in a post-command-hook. But that doesn't mean If so

Re: [O] publishing css using babel + sass and (new) exporter

2013-04-12 Thread Rick Frankel
On Tue, Apr 09, 2013 at 07:20:56PM -0400, Jean Schurger wrote: > Hi, > >I'm a new and innocent org-mode user, and I would like to use > org-mode exporter (the new one) to publish static web pages. > > The 'html' part is OK, but as I hate writing CSS, I'm using babel + sass > to build CSS code

Re: [O] [BUG?] New group tag feature matches too much

2013-04-12 Thread Bastien
Christian Moe writes: > Right, thanks. I take it that there have to be spaces around the curly > braces too, since the above doesn't work either, but > > #+TAGS: { rock : acdc cure } { pop : abba madonna } > ^^^^^^ > > works fine. > > Out of curiosity, I tried the chainin

Re: [O] adding images in org

2013-04-12 Thread Bastien
Hi David, da...@adboyd.com (J. David Boyd) writes: > Hmm, then is there any method in Org to auto-download the image, and then > inline it? No. > Or in other words, do attachments have to be locally available, or will a URL > work to attach something? The former. HTH, -- Bastien

Re: [O] adding images in org

2013-04-12 Thread J. David Boyd
Nick Dokos writes: > > I don't think you can inline remote images. The post you link to refers > only to locally available images. > > Nick Hmm, then is there any method in Org to auto-download the image, and then inline it? Or in other words, do attachments have to be locally available, or wil

Re: [O] [BUG] org-clock-in menu scrolls off the top of the window

2013-04-12 Thread Bastien
Bernt Hansen writes: > I don't like the additional timestamp information. It is now removed. -- Bastien

Re: [O] blank todo kw does not delete closed ts

2013-04-12 Thread Bastien
Hi Samuel, I'm convinved now, and switching to "state" without any TODO keyword will now remove the CLOSED planning information. Thanks, -- Bastien

Re: [O] Bug: Infinite loop during navigation in master [8.0-pre (release_8.0-pre-386-g90dfd3 @ /home/bernt/git/org-mode/lisp/)]

2013-04-12 Thread Bastien
Bernt Hansen writes: > If you put point on the DONE Two task and C-c C-f to move forward emacs > hangs (you can break out with C-g) Fixed, thanks! -- Bastien

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread François Pinard
Bastien writes: > Thanks Eli, great to learn about the internals of Emacs display > engine. Eli is, and always has been, quite a resourceful man. And along the years, I got the pleasure of discovering him as a good friend too! :-) François

Re: [O] Attributes on HTML tables?

2013-04-12 Thread François Pinard
Bastien writes: > Eric Abrahamsen writes: >> The first step is probably to research the differences between xhtml and >> html 5. > Well, I would even skip this step and just hack something usable. There are validators out there, that could help us staying on track, whatever the track :-). Fr

[O] Bug: Infinite loop during navigation in master [8.0-pre (release_8.0-pre-386-g90dfd3 @ /home/bernt/git/org-mode/lisp/)]

2013-04-12 Thread Bernt Hansen
With the following org file , | | | ** TODO Project | *** TODO One | *** DONE Two | *** DONE Three | *** TODO Four | | ` C-c / t folds the buffer to , | ** TODO Project | *** TODO One | *** DONE Two... | *** TODO Four... ` If you put point on the DONE Two task and C-c C-f

Re: [O] Best way to generate textile from orgmode ?

2013-04-12 Thread Christian Egli
Bastien writes: > Hi Marc-Oliver, > > Marc-Oliver Ihm writes: > >> i would like to convert orgmode to textile (which is used within confluence >> wiki). >> >> What is the best way to do this ? > > The best way would be to write a textile exporter. I agree that this would be for the benefit of

Re: [O] More generic taskjuggler export proposal

2013-04-12 Thread Christian Egli
Hi Buddy Buddy Butterfly writes: > I would like propose the following for taskjuggler export > as base for a discussion to change export functionality. Thanks for your detailed proposal. It's been a few years since I wrote the taskjuggler exporter and I don't remember all the design decisions.

Re: [O] [BUG?] New group tag feature matches too much

2013-04-12 Thread Christian Moe
Hi, Bastien writes: >> As a "Drupal taxonomy" fan, I think it would be even cooler to get a >> multi-level tag tree by nesting groups > Well, let's first see how useful is the current feature. Fair enough. > Your #+TAGS line does not match the correct syntax. > > #+TAGS: {rock : acdc cure} {

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> Date: Fri, 12 Apr 2013 13:49:47 +0200 > From: Torsten Wagner > Cc: Eli Zaretskii , Org Mode Mailing List > > just want to add some observation. I guess it has nothing to do with the > display engine but it might be somehow related. I used to use line-mode to > display line-numbers as a left co

Re: [O] #attr_latex :width \textwidth

2013-04-12 Thread John Hendy
On Apr 12, 2013 7:52 AM, "Vikas Rawal" wrote: > > This does not work for me with the new exporter: > > #attr_latex :width \textwidth > If this was copied and pasted you're missing a colon. I do that all the time :) #+attr_latex: :width John > Is there another way to do it? > > Vikas >

[O] #attr_latex :width \textwidth

2013-04-12 Thread Vikas Rawal
This does not work for me with the new exporter: #attr_latex :width \textwidth Is there another way to do it? Vikas

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> From: Carsten Dominik > Date: Fri, 12 Apr 2013 12:56:11 +0200 > Cc: emacs-orgmode@gnu.org > > I guess outline mode does have the exact same problem in this case, in > fact any mode with large amount of hidden text. Of course. The only difference is that outline is not as popular as Org, and u

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Torsten Wagner
Hi, just want to add some observation. I guess it has nothing to do with the display engine but it might be somehow related. I used to use line-mode to display line-numbers as a left column on all my buffers. I noticed a very painful slowdown up to a totally unusable state during working on very l

Re: [O] [BUG?] New group tag feature matches too much

2013-04-12 Thread Bastien
Hi Christian, Christian Moe writes: > As a "Drupal taxonomy" fan, I think it would be even cooler to get a > multi-level tag tree by nesting groups, e.g. > > #+TAGS: { music : { rock : acdc cure } { pop : abba madonna } } > > which currently does nothing; Well, let's first see how useful is

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Carsten Dominik
On 12 apr. 2013, at 10:31, Eli Zaretskii wrote: >> From: Carsten Dominik >> Date: Fri, 12 Apr 2013 09:13:47 +0200 >> Cc: emacs-orgmode@gnu.org >> >>> Just search xdisp.c for "overlay", you will see the story quite >>> clearly, I think. >> >> My Sunday pleasure reading project. > > Good luck,

Re: [O] Org-mode outside Org-mode

2013-04-12 Thread Thorsten Jolitz
Samuel Wales writes: > On 4/5/13, Thorsten Jolitz wrote: >> that sounds like a different idea. I have heard about programming >> environments that keep comments and source-code in two different (but >> sync'd) files to minimize distraction from the source code - maybe a >> possible use case for

Re: [O] [BUG?] New group tag feature matches too much

2013-04-12 Thread Christian Moe
Bastien writes: > This is now fixed in master. Tested and confirmed! > Glad you like the feature! I've been looking forward to it for a while. As a "Drupal taxonomy" fan, I think it would be even cooler to get a multi-level tag tree by nesting groups, e.g. #+TAGS: { music : { rock : acdc cu

Re: [O] Attributes on HTML tables?

2013-04-12 Thread Bastien
Eric Abrahamsen writes: > The first step is probably to research the differences between xhtml and > html 5. Well, I would even skip this step and just hack something usable. -- Bastien

Re: [O] [BUG?] New group tag feature matches too much

2013-04-12 Thread Bastien
Hi Christian, Christian Moe writes: > It looks like matching a group tag matches not only the subtags, but > also spuriously matches any tag that *contains* the string of a subtag. Thanks for testing this and for this detailed bug report. This is now fixed in master. Glad you like the featur

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Bastien
Carsten Dominik writes: > Thanks for taking the time to get me this far. +1! Thanks Eli, great to learn about the internals of Emacs display engine. The Emacs Lisp manual already contains some directions and warnings, but not so detailed. -- Bastien

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> From: Carsten Dominik > Date: Fri, 12 Apr 2013 09:13:47 +0200 > Cc: emacs-orgmode@gnu.org > > > Just search xdisp.c for "overlay", you will see the story quite > > clearly, I think. > > My Sunday pleasure reading project. Good luck, and let me know if you need something explained. The commen

[O] [BUG?] New group tag feature matches too much

2013-04-12 Thread Christian Moe
Hi, I was delighted to discover the new group tags feature in 8.0, but I'm getting strange results trying it out with a sparse tree. It looks like matching a group tag matches not only the subtags, but also spuriously matches any tag that *contains* the string of a subtag. So when I match for

Re: [O] Problems PlantUML

2013-04-12 Thread Volker Hess
Hi Bastien, problem solved. I used an org-file for testing without any sectioning. Inserting a heading before PlantUML-block everything's fine :-) Thx! Bastien writes: > Hi Volker, > > writes: > >> running Org-mode version 7.8.11 under GNU Emacs 23.4.1 >> (x86_64-pc-linux-gnu, GTK+ Version 2.

[O] Latex export of tables

2013-04-12 Thread Vikas Rawal
I am using org-mode version 8.0-pre (release_8.0-pre-247-gbc3ccd @ /home/vikas/lisp/org-mode/lisp/). I have a table generated by a source block in a document that I would like to export to latex. In the exported tex file, I would like org to insert a line like the following between \end(tabular} a

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Carsten Dominik
On 12 apr. 2013, at 08:41, Eli Zaretskii wrote: >> From: Carsten Dominik >> Date: Fri, 12 Apr 2013 00:49:32 +0200 >> Cc: "emacs-orgmode@gnu.org List" >> >>> Overlays should be OK as long as they aren't too many, and as long as >>> you don't move them around too much, particularly in post-comm