[Orgmode] [babel] babel creating corrupt pdf and png

2010-08-25 Thread Graham Smith
PDFs created by Babel are giving a file corrupt message when trying to open them and a format not recognised message if I try pngs, Same files created directly from R are fine. This is with Ubuntu 10.04 and Org-mode version 6.36trans (release_7.01h.94.g25ac Example of code I am using is below.

[Orgmode] Re: Argument to org-insert-subheading should be optional [7.01trans]

2010-08-25 Thread Noorul Islam K M
"M. Creidieki Crouch" writes: > The (org-insert-subheading arg) function in org.el should probably have > "arg" as an optional argument. It's used only as a parameter to > (org-insert-heading (&optional force-heading invisible-ok)), so it > doesn't make much sense as a mandatory parameter. > > I

[Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Andrei Jirnyi
On Mon, 23 Aug 2010 14:03:23 -0500, Erik Iverson wrote: > post-process the html file generated by the export process, (there is > probably a hook so you can do this automatically): apparently it's org-export-html-final-hook --aj ___ Emacs-orgmode mai

[Orgmode] Re: [babel] support plantuml

2010-08-25 Thread Mike Gauland
Mike Gauland gmail.com> writes: > I can get an image if I evaluate the block manually (e.g., via 'C-c C-c' with > the cursor on the BEGIN block), but when I export the file the image is > invalid. I figured it out. I was getting extra carriage returns in the file. I've fixed them by setting "co

[Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Rafael
Puneeth writes: > The line breaks being stripped off is due to code in org2blog. It has > nothing to do with org-mode's export. Wordpress does not ignore > linebreaks in the content, which looks very ugly for normal posts. > Code in org2blog strips off the line breaks from the html generated by >

[Orgmode] Re: [babel] support plantuml

2010-08-25 Thread Mike Gauland
This looks very useful, but I'm having trouble getting it to work. Do you have an example? I tried this: #+BEGIN_SRC plantuml :file uml.png Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: a

Re: [Orgmode] Gollum

2010-08-25 Thread Eric Schulte
Hi Bastien, I agree it would be great to have web-based editing of Org-mode files on Worg. Unfortunately the Gollum wiki at github uses org-ruby [1] which is a very minimal clone of Org-mode's exported written in ruby. This means that org-mode pages exported by Gollum would in most cases fall fa

[Orgmode] merging column view headings across files

2010-08-25 Thread Neil Hepburn
Greetings all, I have column view configured differently in several different org files. In some the columns include things like priority and tags, another file has columns like blocker and so on. When I do an agenda search for special todo keywords (in particular "STALLED") the search returns

[Orgmode] Table of Contents in html export

2010-08-25 Thread Andrei Jirnyi
Hi all, Are there any options to modify the table of contents in the exported html files (other than whether to show it and to what level)? Or, if there are no such options, perhaps I could modify some elisp functions? Specifically, what I wanted to do was to: - change its name to just "Conten

[Orgmode] Gollum

2010-08-25 Thread Bastien
Guys, some exciting news: the Github team just released Gollum, "a simple wiki system built on top of Git [...]" Read this: http://github.com/github/gollum#readme And the announcement: http://github.com/blog/699-making-github-more-open-git-backed-wikis Among the list of formats that Gollum

Re: [Orgmode] Backspacing into folded items

2010-08-25 Thread Martin Pohlack
Hi David, On 25.08.2010 11:22, David Abrahams wrote: > I've gotten myself in trouble several times today by backspacing after > an org-link that ends a headline. That's a typical pattern for > editing an org-link, right? Well it turns out that if the item is > folded, then the backspace writes o

[Orgmode] Re: Mark days in calendar based on agenda

2010-08-25 Thread Claudius Hubig
Richard Riley wrote: >Claudius Hubig writes: > >> Richard Riley wrote: >>>Claudius Hubig writes: Anyway, I would like my calendar to mark days based on agenda entries. For example, I have a line like the following: Is there any way to achieve this? >>>Well, you probably know "d"

[Orgmode] Re: Org file rendering/manipulation too slow

2010-08-25 Thread Bernt Hansen
Hi Marcelo, I don't use a Mac but someone on the #org-mode IRC channel mentioned trying this: (setq font-lock-verbose nil) HTH, Bernt Marcelo de Moraes Serpa writes: > Any hints on this one? It's really annoying to handle (not so) large > org files in the OSX version of emacs. Maybe recompil

[Orgmode] Re: Mark days in calendar based on agenda

2010-08-25 Thread Richard Riley
Claudius Hubig writes: > Richard Riley wrote: >>Claudius Hubig writes: >>> Anyway, I would like my calendar to mark days based on agenda >>> entries. For example, I have a line like the following: >>> Is there any way to achieve this? >>Well, you probably know "d" can show org-mode items by inc

[Orgmode] Re: Mark days in calendar based on agenda

2010-08-25 Thread Claudius Hubig
Richard Riley wrote: >Claudius Hubig writes: >> Anyway, I would like my calendar to mark days based on agenda >> entries. For example, I have a line like the following: >> Is there any way to achieve this? >Well, you probably know "d" can show org-mode items by including > >&%%(org-diary) > >in y

Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?

2010-08-25 Thread Eric Schulte
John Hendy writes: [...] > > I'll post back if I have further questions. I kind of anticipate them. For > instance, how do I include my .png files? Do I need to put them on some > other personal server (google doc/site) and have them link to those? Or is > there a Worg pic repository? > You can

Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?

2010-08-25 Thread John Hendy
On Tue, Aug 24, 2010 at 8:35 PM, Eric Schulte wrote: > John Hendy writes: > > [...] > > Cool -- I'm game. > > That's Great. > > > What exactly is required? Can my generated html just be plopped in or > > should I revise anything? If there's an example page we're modeling > > after I can rearrange

[Orgmode] Argument to org-insert-subheading should be optional [7.01trans]

2010-08-25 Thread M. Creidieki Crouch
The (org-insert-subheading arg) function in org.el should probably have "arg" as an optional argument. It's used only as a parameter to (org-insert-heading (&optional force-heading invisible-ok)), so it doesn't make much sense as a mandatory parameter. I believe that this is also true of (org-ins

[Orgmode] Backspacing into folded items

2010-08-25 Thread David Abrahams
Hi All, I've gotten myself in trouble several times today by backspacing after an org-link that ends a headline. That's a typical pattern for editing an org-link, right? Well it turns out that if the item is folded, then the backspace writes over the end of the un-folded item but **appears to h

Re: [Orgmode] [babel] support plantuml

2010-08-25 Thread Eric Schulte
Hi, I agree plantuml certainly makes sense as a new code block type. I'd like to include your ob-plantuml.el file into Org-mode/Babel, would you be willing to complete the FSF assignment process for contributing to Org-mode as described at http://orgmode.org/worg/org-contribute.php? Thanks! -- E

Re: [Orgmode] Re: [SOLVED] [org-babel] References Not Expanding

2010-08-25 Thread Eric Schulte
Thanks for this patch, I've just applied it. -- Eric aditya siram writes: > The last patch is formatted for email. Here's the correct one. Sorry. > -deech > > On Sun, Aug 22, 2010 at 4:21 PM, aditya siram wrote: > >> The function that loads the code block into the interpreter >> org-babel-load-i

Re: [Orgmode] Making folded items less dangerous

2010-08-25 Thread John Hendy
On Wed, Aug 25, 2010 at 1:09 PM, Dave Abrahams wrote: > Hi All, > > I've gotten myself in trouble several times today by backspacing after > an org-link that ends a headline. That's a typical pattern for > editing an org-link, right? Well it turns out that if the item is > folded, then the back

[Orgmode] Making folded items less dangerous

2010-08-25 Thread Dave Abrahams
Hi All, I've gotten myself in trouble several times today by backspacing after an org-link that ends a headline. That's a typical pattern for editing an org-link, right? Well it turns out that if the item is folded, then the backspace writes over the end of the un-folded item but **appears to ha

Re: [Orgmode] Re: [babel] exports, caching, remote execution

2010-08-25 Thread Eric Schulte
Hi Tom, Thanks for pointing this out. It appears that during export the code block is evaluated in an altered version of the original buffer in which (for some reason) Babel is sometimes not able to find properties which are tucked away in either a #+Babel: line at the top of the file, or as prop

[Orgmode] Re: Mark days in calendar based on agenda

2010-08-25 Thread Richard Riley
Claudius Hubig writes: > Good day, > > I’m quite new to org-mode so please forgive me in case this question > already has been answered somewhere else – if that is the case, I > wasn’t able to find it. > > Anyway, I would like my calendar to mark days based on agenda > entries. For example, I hav

Re: [Orgmode] Org file rendering/manipulation too slow

2010-08-25 Thread Marcelo de Moraes Serpa
Any hints on this one? It's really annoying to handle (not so) large org files in the OSX version of emacs. Maybe recompiling it with different options? Marcelo. On Sat, Aug 7, 2010 at 5:38 AM, Manuel Hermenegildo wrote: > >  > Might be related to the OSX build -- any other OSX users around? :)

RE: [Orgmode] RE: [babel] evaluating shell commands for side effect

2010-08-25 Thread Sullivan, Gregory (US SSA)
Perfect! Thanks very much. -- Greg -- Greg Sullivan, gregory.sulli...@baesystems.com (781)262-4553 (desk), (978)430-3461 (cell) -Original Message- From: Eric Schulte [mailto:schulte.e...@gmail.com] Sent: Wednesday, August 25, 2010 1:30 PM To: Sullivan, Gregory (US SSA) Cc: emacs-or

Re: [Orgmode] RE: [babel] evaluating shell commands for side effect

2010-08-25 Thread Eric Schulte
good question: code blocks in sessions *are evaluated* even if the results of that particular block are not needed for export. This is because those code blocks could make changes to session state, changes which could be required for other code blocks whose results will be included in the final ex

Re: [Orgmode] [babel] evaluating shell commands for side effect

2010-08-25 Thread Eric Schulte
Hi Gregory, "Sullivan, Gregory (US SSA)" writes: > I'm writing "how to" documents that include sequences of shell commands, such > as: > > #+begin_src sh :session *shell* > cd /home/sullivan/myproj/src > ./configure --prefix /home/sullivan/myproj/install > make > make test > #+end_src > >

[Orgmode] Trouble syncing files to mobile-org.

2010-08-25 Thread Jason Schadel
I set it up using the Dropbox option. When I try to sync, it only syncs index.org, mobileorg.org and agendas.org. I looked in the checksums.dat file and noticed that those files are the only files that use 'md5' to generate the checksum. The other files use 'shasum'. I've tried removing all the

Re: [Orgmode] [Patch] org-capture.el

2010-08-25 Thread Mark Scala
Bastien, I've had a chance to look into this again today, and I've found something that might help you track down the bug (if it is a bug). I've found that when I use this capture template: ("L" "reference" entry (*file+headline* "~/code/org/reference.org" "Test") "* %^{Description} %^G \n%? \n

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Benjamin Beckwith
Eric, I should mention that I am using the "Syntaxhighlighter Evolved" plugin for Wordpress. It allows shortcodes with just the language name. I probably should use the [sourcecode lang="..."] variant instead. Maybe that is why my version did not work for you? My latest page created with my co

[Orgmode] [babel] support plantuml

2010-08-25 Thread zwz
I came across Ian Yang's [[http://www.emacswiki.org/emacs/org-export-blocks-format-plantuml.el][org-export-blocks-format-plantuml]] a few days ago, which brought me in front of the great software [[http://plantuml.sourceforge.net/][Plantuml]]. It is an open-source tool in java that allows to qui

Re: [Orgmode] [babel] help debugging org-babel-execute-buffer

2010-08-25 Thread Eric Schulte
Hi Nick, Thanks for hunting this bug down. Nick Dokos writes: > Austin Frank wrote: > > >> I have a document that always throws an error when I call >> org-babel-execute-buffer. I'd guess that there's one particular block >> that is to blame, but I can't tell which block babel is in at the po

[Orgmode] Mark days in calendar based on agenda

2010-08-25 Thread Claudius Hubig
Good day, I’m quite new to org-mode so please forgive me in case this question already has been answered somewhere else – if that is the case, I wasn’t able to find it. Anyway, I would like my calendar to mark days based on agenda entries. For example, I have a line like the following: Exam

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Eric S Fraga
On Wed, 25 Aug 2010 18:21:22 +0530, Puneeth wrote: > > Hi All, > > I'm not sure if I should've jumped into the discussion much earlier, > but anyways, > > On Wed, Aug 25, 2010 at 5:53 PM, Rafael wrote: > > I think Benjamin means that he has customized this > > > > http://en.support.wordpress.c

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Puneeth
Hi All, I'm not sure if I should've jumped into the discussion much earlier, but anyways, On Wed, Aug 25, 2010 at 5:53 PM, Rafael wrote: > I think Benjamin means that he has customized this > > http://en.support.wordpress.com/shortcodes/ > > so that his code works directly. But it is not clear t

[Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Rafael
Eric S Fraga writes: > On Tue, 24 Aug 2010 23:32:01 -0400, Benjamin Beckwith > wrote: >> >> Rafael, >> >> I had my shortcodes setup to accept the language directly. Your change >> should work as you indicated. I have an additional fix to my code that >> should behave better for you. I add a

[Orgmode] Re: Bug: habit: better error handling required [TAG=7.01g]

2010-08-25 Thread Noorul Islam K M
Carsten Dominik writes: > Patch 241 (http://patchwork.newartisans.com/patch/241/) is now "Accepted". > > Maintainer comment: Hat to fix the commit message to contain propert > ChangeLog. Please take a look for next time > I looked at the modified log. I think now I know how it should be. I wil

Re: [Accepted] [Orgmode] Recognize underscores in URL

2010-08-25 Thread Carsten Dominik
On Aug 25, 2010, at 12:33 PM, Carsten Dominik wrote: Patch 214 (http://patchwork.newartisans.com/patch/214/) is now "Accepted". Maintainer comment: Tanks Arrgh! THANKS! This relates to the following submission: http://mid.gmane.org/%3C877hjv90fo.wl%25n.goaziou%40gmail.com%3E Here is

[Accepted] [Orgmode] Recognize underscores in URL

2010-08-25 Thread Carsten Dominik
Patch 214 (http://patchwork.newartisans.com/patch/214/) is now "Accepted". Maintainer comment: Tanks This relates to the following submission: http://mid.gmane.org/%3C877hjv90fo.wl%25n.goaziou%40gmail.com%3E Here is the original message containing the patch: > Content-Type: text/plain; charset

[Accepted] [Orgmode] Re: Bug: habit: better error handling required [TAG=7.01g]

2010-08-25 Thread Carsten Dominik
Patch 241 (http://patchwork.newartisans.com/patch/241/) is now "Accepted". Maintainer comment: Hat to fix the commit message to contain propert ChangeLog. Please take a look for next time This relates to the following submission: http://mid.gmane.org/%3C87iq2zkqdg.fsf%40noorul.maa.corp.collab.

Re: [Orgmode] "{" in Latex fragments

2010-08-25 Thread Christian Wittern
Christian Wittern, on the road On Aug 25, 2010, at 17:39, Eric S Fraga wrote: >> >> to >> >> hello [\J ウ ] or: (\J ウ) >> >> [] and () are not escaped >> >> cheers, >> Giovanni > > I think because the {}'s define a scope in latex and so the \J only > affects text surrounded by the {}. >

[Orgmode] [PATCH] Re: Bug: habit: better error handling required [TAG=7.01g]

2010-08-25 Thread Noorul Islam K M
paulusm writes: > Hi org-mode people, > > Whilst playing with the "shaving" example from > http://orgmode.org/manual/Tracking-your-habits.html I accidentally put a > bad character in the SCHEDULED timestamp. > > Instead of: "SCHEDULED: <2010-08-26 Thu .+2d/4d>" > I had: "SCHEDULED: <2010-08-

Re: [Orgmode] "{" in Latex fragments

2010-08-25 Thread Eric S Fraga
On Wed, 25 Aug 2010 10:21:43 +0200, Giovanni Ridolfi wrote: > > Christian Wittern writes: > > > In my org-mode document, I have a special sequence to switch to a Japanese > > font defined as \J. When using this, I have to do something like {\J > > (Japanese characters here}. However, when I

Re: [Orgmode] "{" in Latex fragments

2010-08-25 Thread Scot Becker
Or what about \J{japanese characters here}? I do the same with Hebrew, \heb{לִפְנֵי יְהוָה} and (without claiming to have done extensive testing), it seems to work. Org mode is set up to let arbitrary macros of the format \mymacro{data} pass through to LaTeX. You might not even have to change yo

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Eric S Fraga
On Tue, 24 Aug 2010 23:32:01 -0400, Benjamin Beckwith wrote: > > Rafael, > > I had my shortcodes setup to accept the language directly. Your change > should work as you indicated. I have an additional fix to my code that > should behave better for you. I add a property, org-protected, that >

Re: [Orgmode] "{" in Latex fragments

2010-08-25 Thread Giovanni Ridolfi
Christian Wittern writes: > In my org-mode document, I have a special sequence to switch to a Japanese > font defined as \J. When using this, I have to do something like {\J > (Japanese characters here}. However, when I run the org-mode export, the > braces "{" and "}" are escaped as \{ and \}

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Eric S Fraga
On Tue, 24 Aug 2010 21:36:40 -0500, Rafael wrote: > > Benjamin Beckwith writes: > > > Hi, I also was interested in posting these blocks (through org2blog in > > wordpress). The code I posted below is added to > > 'org-export-preprocess-hooks' where it looks for BEGIN_SRC blocks as > > well as

[Orgmode] "{" in Latex fragments

2010-08-25 Thread Christian Wittern
Hi there, In my org-mode document, I have a special sequence to switch to a Japanese font defined as \J. When using this, I have to do something like {\J (Japanese characters here}. However, when I run the org-mode export, the braces "{" and "}" are escaped as \{ and \} and thus loosing their fu