Re: [O] Code vanishes on export

2011-08-25 Thread suvayu ali
Hi Vikas, On Thu, Aug 25, 2011 at 1:37 AM, Vikas Rawal wrote: > For the last few days, I have been manually copying my org file before > every export to save it. Maybe an easier option would be make the buffer read-only before export. `C-x C-q' > The problem is that the file I am talking about

Re: [O] My apprehensions listed (Re: Not merging org-lparse, org-xhtml & org-odt to the core)

2011-08-25 Thread Bastien
Hi Jambunathan, Thanks for your reply. I will take one week of vacation next week (till sept. 5th) and try to tackle the various issues about org-html.el and org-xhtml.el -- I will then make a proposal that I hope we can both agree upon. Again, let me rephrase that I have two goals: merging the

Re: [O] Problem with exporting image to PDF

2011-08-25 Thread suvayu ali
Hi Toby, John and Nick, Its early in the morning for me, so whatever follows could simply be wrong. :-p On Thu, Aug 25, 2011 at 3:59 AM, Nick Dokos wrote: > Thomas S. Dye wrote: > >> Toby writes: >> >> > I have tried different classes (article and koma-article) such as: >> > #+LaTeX_CLASS: kom

Re: [O] My apprehensions listed (Re: Not merging org-lparse, org-xhtml & org-odt to the core)

2011-08-25 Thread Bastien
Hi Jambunathan, Jambunathan K writes: > You either accept the freeze or reject the freeze. You don't overlook > it. Because the later leaves me confused on where you stand on the > matter. I'm not yet clear about what would be the purpose of this freeze. If we need to freeze org-html.el in the

Re: [O] org-toggle-inline-images bug

2011-08-25 Thread Bastien
Hi William, William Xu writes: >> What version of Emacs and Org are you using? > > Hmm, i'm using Org bundled with Emacs. I guess it has been fixed in the meantime. If you have the opportunity to use Org from git, please do so: http://orgmode.org/index.html#sec-3-2 > emacs-version: GNU Em

Re: [O] src blocks, listings package and captions

2011-08-25 Thread Bastien
Hi Giles, Giles Chamberlin writes: > I'm using the listings package and org-version 7.4 to generate latex/pdf > output including source snippets. I'd like to add captions: "Figure 1: > My code" and tried with the following to no avail: > > #+caption: My code > #+begin_src clojure > ;; stuff >

Re: [O] Todo with checkboxes is grayed out in agenda

2011-08-25 Thread Bastien
Hi Nathan, Nathan Neff writes: > I have a todo like this: > > * todo something > - [ ] first > - [ ] next > > In the agenda, the todo something header is displayed grayed out. I lack contextual information -- Emacs and Org versions, and part of your Org configuration relevant to todos and check

[O] Is it possible to markup one character in a word?

2011-08-25 Thread Vladimir Lomov
Hi. Is it possible to markup one character in a word, like e*X*ecute. For now this don't work. I tried to add ZERO WIDTH SPACE (found on mailing list) before first * and last * like in example e​*X*​ecute but this don't work also. --- WBR, Vladimir Lomov

Re: [O] [bug] removing last column with a column formula

2011-08-25 Thread Bastien
Carsten Dominik writes: >> Is this something that we can (easily) fix? > > Not easily. I have made it throw an error now, but there may be > other situations like this which are not yet captured. Throwing an error in this case is already an improvement -- thanks for this! -- Bastien

[O] extending automatic screenshot insertion

2011-08-25 Thread Aditya Mandayam
hello, i would like to extend the auto screenshot method described here: http://comments.gmane.org/gmane.emacs.orgmode/33770 first: a way in which i can be prompted to enter a filename instead of having a random string second: a timestamp be appended after i have entered the filename third: to sp

Re: [O] [PATCH 0/5] loop over headlines in active region

2011-08-25 Thread Štěpán Němec
On Thu, 25 Aug 2011 06:25:29 +0200 David Maus wrote: > As for the macro: What stop me to implement a macro for the generic > operation is that for now the macro would depend on the global > customization variable. That's not a problem per se but according to > my readings about macros (mostly in c

Re: [O] Emacs and tablet devices

2011-08-25 Thread Eric S Fraga
T Helms writes: > On 07/28/2011 08:44 AM, Jason F. McBrayer wrote: >> On Thu, 28 Jul 2011 13:59:18 +0200, Piter_ wrote: >> > >>> It may be not the best place to ask, but: >>> How useful is emacs on tablet devices. I have been thinking about >>> emacs and freerunner. But I have no clue how the key

Re: [O] Is it possible to markup one character in a word?

2011-08-25 Thread John Hendy
This seems incredibly similar to a thread that *just* took place. Take a look at this: --- http://www.mail-archive.com/emacs-orgmode@gnu.org/msg45883.html Any help there? John On Thu, Aug 25, 2011 at 3:00 AM, Vladimir Lomov wrote: > Hi. > > Is it possible to markup one character in a word, li

[O] HTML publishing broken?

2011-08-25 Thread Sean Whitton
All of a sudden I’m finding that my website won’t publish. The only change I’ve made has been setting (setq org-export-html-divs '()) because this new variable breaks my CSS otherwise. Backtrace and page in question attached; any advice appreciated. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D41

Re: [O] HTML publishing broken?

2011-08-25 Thread Bastien
Hi Sean, Sean Whitton writes: > All of a sudden I’m finding that my website won’t publish. The only > change I’ve made has been setting (setq org-export-html-divs '()) > because this new variable breaks my CSS otherwise. Can you try (setq org-export-html-divs '("" "" "")) and report? Thanks,

Re: [O] agenda: "void: category-pos"

2011-08-25 Thread Bastien
Hi Michael, Michael Brand writes: > Since > http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=15798836e2bb84bebfb005375e08e38830fc90ee > from yesterday or with the newest release_7.7-194-gd203b61 when I try > to open the agenda with a minimal setup I get "save-excursion: > Symbol's value as va

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

2011-08-25 Thread Bastien
Hi Jason, Jason Dunsmore writes: > Bastien writes: > >> Hi Jason, >> >> Jason Dunsmore writes: >> >>> I noticed that lines with leading asterisks inside of source and example >>> blocks are interpreted as headings: >> >> The attached patch should fix this -- please confirm. > > Hm, I'm still s

Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-25 Thread Thomas S. Dye
Jambunathan K writes: >> Hi Jambunathan, >> >>> I have made a decision not to merge org-lparse, org-xhtml & org-odt in >>> to Orgmode core. It is a very difficult decision for me to take >>> considering that I had put all my heart in to it. (Btw, this decision >>> has nothing to with me not hav

Re: [O] [Accepted] icalendar: Make alarm duration RFC5545 compliant

2011-08-25 Thread Michal Sojka
Hi, it seems that the following patch still didn't appear in the official repo. Shall I resend it with the commit message according to http://orgmode.org/worg/org-contribute.html#sec-5, especially with TINYCHANGE? Thanks, Michal On Fri, 13 May 2011, Carsten Dominik wrote: > Patch 803 (http://pa

Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-25 Thread Jambunathan K
> I hope that you'll join me in expressing gratitude for all that they > have contributed Ok. Done. Let bygones be bygones. What is important to me is that my work be available and used widely. All other concerns are secondary. I am on a sabbatical from work and I will be failing myself badl

Re: [O] Code vanishes on export

2011-08-25 Thread Vikas Rawal
> > If you kave not updated your org *.el files lately, I suggest you do so > before going any further. I just did a git pull Let me see if it solves the problem. Vikas

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

2011-08-25 Thread Carsten Dominik
On Aug 25, 2011, at 3:27 PM, Bastien wrote: > Hi Jason, > > Jason Dunsmore writes: > >> Bastien writes: >> >>> Hi Jason, >>> >>> Jason Dunsmore writes: >>> I noticed that lines with leading asterisks inside of source and example blocks are interpreted as headings: >>> >>> The a

Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-25 Thread Thomas S. Dye
Jambunathan K writes: >> I hope that you'll join me in expressing gratitude for all that they >> have contributed > > Ok. Done. > > Let bygones be bygones. What is important to me is that my work be > available and used widely. All other concerns are secondary. > > I am on a sabbatical from wo

Re: [O] agenda: "void: category-pos"

2011-08-25 Thread Michael Brand
Hi Bastien On Thu, Aug 25, 2011 at 15:20, Bastien wrote: > Michael Brand writes: >> Since >> http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=15798836e2bb84bebfb005375e08e38830fc90ee >> from yesterday or with the newest release_7.7-194-gd203b61 when I try >> to open the agenda with a minimal

Re: [O] [Accepted] icalendar: Make alarm duration RFC5545 compliant

2011-08-25 Thread Bastien
Hi Michal, Michal Sojka writes: > Shall I resend it with the commit message according to > http://orgmode.org/worg/org-contribute.html#sec-5, especially with > TINYCHANGE? Yes, please do. Take care of the following: - use git format-patch if possible - create a ChangeLog entry with `C-x 4 a'

Re: [O] org-toggle-inline-images bug

2011-08-25 Thread William Xu
2011/8/25 Bastien : > Hi William, > > William Xu writes: > >> M-x org-toggle-inline-images doesn't work for links like this: >>   [[./ref/diskStructures.png]] > > It works well here on Emacs GNU Emacs 24.0.50.1 or 23.3.1 and > Org 7.7 (latest git version.) > > What version of Emacs and Org are you

Re: [O] two tools may be useful for org-export

2011-08-25 Thread Bastien
zwz writes: > Those days I came across two tools which I thought interesting and > helpful if could be combined with org-export in some way. > > 1. Deck.js: a js lib for making modern html presentation. See > http://imakewebthings.github.com/deck.js/#intro for more info. > > 2. Tralics: a LaTeX

Re: [O] HTML publishing broken?

2011-08-25 Thread Sean Whitton
Hi Bastien, On Thu, Aug 25, 2011 at 03:08:38PM +0200, Bastien wrote: > Sean Whitton writes: > > > All of a sudden I’m finding that my website won’t publish. The only > > change I’ve made has been setting (setq org-export-html-divs '()) > > because this new variable breaks my CSS otherwise. > >

Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-25 Thread Jambunathan K
Bastien writes: > Jambunathan K writes: > >> Bastien has stepped in to big shoes and he has to measure up. > > Those shoes are so big that there is room for more than one guy. > > And I'm *really* glad I can rely on people like you, Carsten, Eric, > Nicolas, David and many others to help me w

Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-25 Thread Bastien
Jambunathan K writes: > Bastien has stepped in to big shoes and he has to measure up. Those shoes are so big that there is room for more than one guy. And I'm *really* glad I can rely on people like you, Carsten, Eric, Nicolas, David and many others to help me wear them :) -- Bastien

Re: [O] two tools may be useful for org-export

2011-08-25 Thread Rasmus
Bastien writes: > zwz writes: > >> Those days I came across two tools which I thought interesting and >> helpful if could be combined with org-export in some way. >> >> 1. Deck.js: a js lib for making modern html presentation. See >> http://imakewebthings.github.com/deck.js/#intro for more info

[O] Mediawiki export bugs and export to Doxygen

2011-08-25 Thread Michal Sojka
Hi all, I wanted to try the experimental Mediawiki exporter and it fails to export documents with dot code blocks (as the one provided below). I tried to fix that myself but my elisp and org-babel knowledge is not sufficient for that. I used org-mode 7.7. The error was: "file-name-extension: Wron

Re: [O] Problem with exporting image to PDF

2011-08-25 Thread Nick Dokos
suvayu ali wrote: > Hi Toby, John and Nick, > > Its early in the morning for me, so whatever follows could simply be > wrong. :-p > > On Thu, Aug 25, 2011 at 3:59 AM, Nick Dokos wrote: > > Thomas S. Dye wrote: > > > >> Toby writes: > >> > >> > I have tried different classes (article and koma

[O] [babel] link type to execute src_block

2011-08-25 Thread Torsten Wagner
Hi, is there a way already to execute a (named source block) by creating a link type? I checked the manual and there is a link type for shell and elisp but it seems not for babel. Something like [[babel: src_block_name()][Text]] With this, one could create all kind of little features within an or

Re: [O] HTML publishing broken?

2011-08-25 Thread Jambunathan K
Bastien There has been too much churn around this area. Let me raise my voice again. Don't define variables. Define hooks, sexps or functions. Give enough ropes to the user. Patiently consider my inputs on s5 exporting. Make the div elements take attrs. You have earlier dismissed my inputs as

[O] [PATCH] icalendar: Make alarm duration RFC5545 compliant

2011-08-25 Thread Michal Sojka
* org-icalendar.el (org-print-icalendar-entries): Make alarm duration RFC5545 compliant. The format of alarm trigger was incorrect because "T" letter from dur-time element was missing (see http://tools.ietf.org/html/rfc5545#section-3.3.6). This caused some software (such as KOrganizer) to not inte

[O] [Accepted] icalendar: Make alarm duration RFC5545 compliant

2011-08-25 Thread Bastien Guerry
Patch 913 (http://patchwork.newartisans.com/patch/913/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1314282867-11165-1-git-send-email-sojka%40os.inf.tu-dresden.de%3E Here is the original message containing the patch: > Content-T

Re: [O] [PATCH] icalendar: Make alarm duration RFC5545 compliant

2011-08-25 Thread Bastien
Michal Sojka writes: > * org-icalendar.el (org-print-icalendar-entries): Make alarm duration > RFC5545 compliant. Applied -- thanks a lot for making the effort of providing the ChangeLog! Best, -- Bastien

Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-25 Thread Jambunathan K
>>> And I'm *really* glad I can rely on people like you, Carsten, Eric, >>> Nicolas, David and many others to help me wear them :) >> >> Remove me from the list. I am a charlatan and I don't want to even >> pretend to be otherwise. >> > Please stay on the list! I meant the list of people Bastie

Re: [O] Org-babel results preamble

2011-08-25 Thread Eric S Fraga
Derek Thomas writes: > I have found that using org-plot to plot the results output of an > org-babel code block is very useful in prototyping my code. One minor > annoyance is the need to remove and replace the #+PLOT: header at the > beginning of the results output. Is it possible to specify a

Re: [O] Todo with checkboxes is grayed out in agenda

2011-08-25 Thread Nathan Neff
On Thu, Aug 25, 2011 at 2:53 AM, Bastien wrote: > Hi Nathan, > > Nathan Neff writes: > >> I have a todo like this: >> >> * todo something >> - [ ] first >> - [ ] next >> >> In the agenda, the todo something header is displayed grayed out. > > I lack contextual information -- Emacs and Org version

Re: [O] Org-babel results preamble

2011-08-25 Thread Derek Thomas
On Thu, Aug 25, 2011 at 9:50 AM, Eric S Fraga wrote: > I am slowly going through all the org emails that I have received in the > three weeks I was off.  This was one of them and appears to not have > been answered? > > In any case, possibly naming the src block may achieve what you want > because

[O] org->odt/html table export: adjusting default behaviour?

2011-08-25 Thread Matt Price
The attached test file shows an org file with tables whose columns include substantial amounts of text. The default export to odt is pretty ugly in this case, and even in html (where things work to some extent) I would rather be able to control to some extent the way that long fields wrap. is th

Re: [O] src blocks, listings package and captions

2011-08-25 Thread Eric Schulte
Giles Chamberlin writes: > I'm using the listings package and org-version 7.4 to generate latex/pdf > output including source snippets. I'd like to add captions: "Figure 1: > My code" and tried with the following to no avail: > > #+caption: My code > #+begin_src clojure > ;; stuff > #+end_src >

Re: [O] [babel] link type to execute src_block

2011-08-25 Thread Eric Schulte
Torsten Wagner writes: > Hi, > is there a way already to execute a (named source block) by creating a > link type? > I checked the manual and there is a link type for shell and elisp but > it seems not for babel. > Something like > > [[babel: src_block_name()][Text]] > > With this, one could crea

Re: [O] org->odt/html table export: adjusting default behaviour?

2011-08-25 Thread Matt Price
this time I've actually attached the file... On Thu, Aug 25, 2011 at 11:12 AM, Matt Price wrote: > The attached test file shows  an org file with tables whose columns > include substantial amounts of text.  The default export to odt is > pretty ugly in this case, and even in html (where things wo

[O] collapsing some headings on html export?

2011-08-25 Thread Matt Price
does anyone have any advice on the following: I'm thinking I would like to collapse certain segments of a document when exporting to HTML, so e.g., if it looks like this: * Outline: Semester 1 ** 1.<2011-09-15 Thu> [[file:./syllabus/what-is-history-for][What is History For?]] Why we should write h

Re: [O] src blocks, listings package and captions

2011-08-25 Thread Thomas S. Dye
Bastien writes: > Hi Giles, > > Giles Chamberlin writes: > >> I'm using the listings package and org-version 7.4 to generate latex/pdf >> output including source snippets. I'd like to add captions: "Figure 1: >> My code" and tried with the following to no avail: >> >> #+caption: My code >> #+be

[O] [bug] Inconsistent tag alignment in org-indent-mode

2011-08-25 Thread Jason Dunsmore
I noticed the tag alignment produces inconsistent results in org-indent-mode. If you type in the header, the normal (non-indent-mode) indentation is used, and the tags do not appear aligned. If you add tags or type "C-c C-c" the tags are aligned correctly. Here's an example file: --8<--

Re: [O] [bug] Inconsistent tag alignment in org-indent-mode

2011-08-25 Thread Michael Brand
Hi Jason This reminds me of a similar problem with tag alignment that I solved with a patch that did not get any feedback yet. Can you try if this patch solves your problem too? http://thread.gmane.org/gmane.emacs.orgmode/42564 Michael On Thu, Aug 25, 2011 at 18:15, Jason Dunsmore wrote: > I no

Re: [O] agenda: "void: category-pos"

2011-08-25 Thread Achim Gratz
Bastien writes: > This should be fixed -- please confirm. > > Nick, thanks for the patch, I pushed a more complete one. The byte compiler still complains about this: In org-search-view: org-agenda.el:3944:48:Warning: assignment to free variable `category-pos' org-agenda.el:3944:26:Warning: refer

[O] Styling HTML output

2011-08-25 Thread Ken.Williams
I wanted to share some CSS code that I've found useful for exported HTML documents. It adds a little "R" or "sh" or "Perl" (etc.) label to the top of a source block. (setq org-export-html-style " 8- #+tbln

Re: [O] monospace (=) and quotes not getting along

2011-08-25 Thread Michael Hannon
Michael Gauland wrote: > Michael Hannon yahoo.com> writes: > > > To define =my_frabbitz= in this model, we issue the command: > >    => my_frabbitz = "someRandomWord"= > > The "my_frabbitz" in the sentence comes out in monospace, but the > > R codedoesn't.  It seems that the quotation marks are

Re: [O] [Babel] Preserving tabs in code blocks

2011-08-25 Thread Nick Dokos
Bernt Hansen wrote: > Hi all, > > I want to include the contents of a file which requires TABS between > fields in a #+begin_src ... #+end_src block. > > When I use C-c ' to edit the block the TABS are all converted back to > spaces. I want to be able to tangle the file and preserve the TABS >

Re: [O] [Babel] Blank line preceeds tangled data

2011-08-25 Thread Nick Dokos
Bernt Hansen wrote: > Hi, > > When I tangle some file such as > > #+begin_src sh :tangle x.sh > #!/bin/sh > echo done > #+end_src > > I get the following output which includes a blank line up front. > > ,[ x.sh ] > | > | #!/bin/sh > | echo done > ` > > Doesn't this break the she

Re: [O] Is it possible to markup one character in a word?

2011-08-25 Thread Vladimir Lomov
Hello, ** John Hendy [2011-08-25 07:06:54 -0500]: > This seems incredibly similar to a thread that *just* took place. Take > a look at this: > --- http://www.mail-archive.com/emacs-orgmode@gnu.org/msg45883.html Thanks, I read it. > Any help there? Actually not much, this was example from a tabl

Re: [O] collapsing some headings on html export?

2011-08-25 Thread Christian Moe
OK, the simple css solution I posted last night fails too easily. Should have known, but it's been a while. (If you add a second folding subheading beneath a folding heading (as you mouse down toward the second subhead, the first subhead folds, leaving you no longer hovered over the parent div

Re: [O] Is it possible to markup one character in a word?

2011-08-25 Thread Jambunathan K
Vladimir Lomov writes: > Hi. > > Is it possible to markup one character in a word, like e*X*ecute. For > now this don't work. I tried to add ZERO WIDTH SPACE (found on mailing > list) before first * and last * like in example e​*X*​ecute but this > don't work also. Your suggestion does work but

Re: [O] Is it possible to markup one character in a word?

2011-08-25 Thread Jambunathan K
> 3. Goto "Allowed chars in pre" and do as in 2. ^^^ post Copy-Paste error. Replace pre by post. --

Re: [O] Underline ONLY the first character of a word?

2011-08-25 Thread Jambunathan K
See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg45991.html Just, creating a backlink to the other thread. John Hendy created the forward link. > Greetings. I've "inherited" an HTML document that uses the > construct: > > event > > for instance, to underline the initial 'e' in the w

Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.

2011-08-25 Thread Valentin Wüstholz
On Thu, Aug 18, 2011 at 6:44 PM, Bastien wrote: > Valentin Wüstholz writes: > >> I was thinking of the the 80 character line limit for both code and >> commit messages, which doesn't seem to be in there. It might also make >> sense to link to some style guide for Emacs Lisp (e.g., >> http://www.g