Re: [Orgmode][PATCH] How do I include text between a range of line numbers with #INCLUDE

2011-01-07 Thread Puneeth
On Fri, Jan 7, 2011 at 10:03 AM, Venkatesh Choppella venkatesh.choppe...@iiit.ac.in wrote: I would like to include a part of a file (between a given range of line numbers) instead of the whole file.  Is there a way to do that in org-mode? It isn't possible to include files using line numbers,

[Orgmode] Re: inline images

2011-01-07 Thread Vladimir Alexiev
eimp.el uses an external program (mogrify) to actually modify the image. That's not what is wanted. The image should remain the same, just be displayed in emacs in a smaller size ___ Emacs-orgmode mailing list Please use `Reply All' to send replies

[Orgmode] [ENH] ditaa version

2011-01-07 Thread Vladimir Alexiev
I think org-mode\contrib\scripts\ditaa.jar should be upgraded to the newest version from http://sourceforge.net/projects/ditaa/ which is 0.9 of 2009-11-24. I've been running with it for a month, no problems. ___ Emacs-orgmode mailing list Please use

Re: [Orgmode] Capture template and elisp expression

2011-01-07 Thread Rainer M Krug
On 01/06/2011 11:44 PM, Carsten Dominik wrote: On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: Hi I want to use a Capture Template to record changes to files under version control. Everything works as expected, but I would like to include the

[Orgmode] BUG? - Capture escape %n not working

2011-01-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I am not sure if it is a bug, or a configuration issue, but %n (user name (taken from `user-full-name')) is not working - it is not expanded and displayed as %n Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-07-05 on

[Orgmode] org-mode table with backslash inside fails to export to DocBook

2011-01-07 Thread niels giesen
Hi Baoqiu, A file with the following contents fails to export to Docbook: #+begin_src org ,* Table with a backslash in it , | \ | #+end_src It gives the following error #+begin_example Invalid use of `\' in replacement text #+end_example The following changes (replace-match

Re: [Orgmode] Re: Introducing gnugol - an org-mode-output web search client

2011-01-07 Thread brian powell
I know--the *eshell* is not necessary too--its illustrative--its just an example--showing that you could (using your new module) create multiple asynchronous/coprocesses (in their own dedicated buffers) uniquely named shells and maybe make calls out to goosh and use surfraw and/or gnugol somehow.

[Orgmode] Re: Capture template and elisp expression

2011-01-07 Thread Štěpán Němec
Carsten Dominik carsten.domi...@gmail.com writes: On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: Hi I want to use a Capture Template to record changes to files under version control. Everything works as expected, but I would like to include the

[Orgmode] [PATCH] Always add sitemap file to project files if sitemap is requested

2011-01-07 Thread Jan Seeger
Greetings! I noticed some wonkiness in getting my sitemap created on my webserver when pushing my website, and the problem seems to lie in org-publish-get-base-files only returning existing files, and not picking up on the soon to be generated sitemap. My patch always adds the sitemap file to the

Re: [Orgmode] Capture template and elisp expression

2011-01-07 Thread Nick Dokos
Rainer M Krug r.m.k...@gmail.com wrote: But now I thought - OK - now I can add the state of the file, returned by vc-state (this is working i a nother document in the org-document). So I added: %(vc-state (buffer-file-name (org-capture-get :original-buffer))) but I get the error

[Orgmode] Re: Capture template and elisp expression

2011-01-07 Thread Carsten Dominik
On Jan 7, 2011, at 1:08 PM, Štěpán Němec wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: Hi I want to use a Capture Template to record changes to files under version control. Everything

Re: [Orgmode] BUG? - Capture escape %n not working

2011-01-07 Thread Nick Dokos
Rainer M Krug r.m.k...@gmail.com wrote: Hi I am not sure if it is a bug, or a configuration issue, but %n (user name (taken from `user-full-name')) is not working - it is not expanded and displayed as %n Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-07-05

[Orgmode] Re: Capture template and elisp expression

2011-01-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/2011 03:14 PM, Carsten Dominik wrote: On Jan 7, 2011, at 1:08 PM, Štěpán Němec wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: Hi I

Re: [Orgmode] BUG? - Capture escape %n not working

2011-01-07 Thread Carsten Dominik
Applied, thanks. - Carsten On Jan 7, 2011, at 3:15 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: Hi I am not sure if it is a bug, or a configuration issue, but %n (user name (taken from `user-full-name')) is not working - it is not expanded and displayed as %n Emacs :

Re: [Orgmode] BUG? - Capture escape %n not working

2011-01-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/2011 03:29 PM, Carsten Dominik wrote: Applied, thanks. Thanks a lot, Rainer - Carsten On Jan 7, 2011, at 3:15 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: Hi I am not sure if it is a bug, or a configuration

Re: [Orgmode][PATCH] How do I include text between a range of line numbers with #INCLUDE

2011-01-07 Thread Carsten Dominik
The patch looks OK to me. However, line numers are notorioously bad references - Carsten On Jan 7, 2011, at 8:59 AM, Puneeth wrote: On Fri, Jan 7, 2011 at 10:03 AM, Venkatesh Choppella venkatesh.choppe...@iiit.ac.in wrote: I would like to include a part of a file (between a given range

Re: [Orgmode] Capture template and elisp expression

2011-01-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/2011 03:03 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: But now I thought - OK - now I can add the state of the file, returned by vc-state (this is working i a nother document in the org-document). So I added:

[Orgmode] Re: Capture template and elisp expression

2011-01-07 Thread Štěpán Němec
Carsten Dominik carsten.domi...@gmail.com writes: On Jan 7, 2011, at 1:08 PM, Štěpán Němec wrote: Why aren't the %() expressions simply evaluated in the original buffer (if available)? That would solve these issues in a general way. It seems to me that there is no advantage to evaluating the

[Orgmode] Re: Simple wiki system like VIMWiki

2011-01-07 Thread Marcelo de Moraes Serpa
Forgot to add the link to VIMWiki: http://code.google.com/p/vimwiki/ Regards, Marcelo. On Thu, Jan 6, 2011 at 9:07 AM, Marcelo de Moraes Serpa celose...@gmail.com wrote: Hi list, I've started using vim lately for my programming needs and I love it, mostly because the motion and shortcuts

[Orgmode] Bug: Schedule in agenda gives wrong overdue days [7.4]

2011-01-07 Thread Paul Stansell
Dear Sirs, For an org file containing just the two following lines: * TODO Water plants at work SCHEDULED: 2010-12-27 Mon .+1w creating an agenda with C-c a a on 2011-01-06 displays the following three lines: Day-agenda (W01): Thursday6 January 2011 org_mode_bug:Sched. 4x: TODO Water

[Orgmode] Simple wiki system like VIMWiki

2011-01-07 Thread Marcelo de Moraes Serpa
Hi list, I've started using vim lately for my programming needs and I love it, mostly because the motion and shortcuts are much more efficient. That aside, I still think emacs is a great platform and text-editor and I still use it for other stuff, mainly organizing myself (thanks to orgmode).

[Orgmode] org-write-agenda failure

2011-01-07 Thread Christopher Genovese
On Mac OS X 10.5.8, GNU Emacs 23.2.1, Org Mode 7.4, setting the following: (setq org-todo-keywords '((sequence TODO WAIT DONE))) (setq org-todo-keyword-faces '((WAIT . lightgoldenrod2))) has the intended effect, with WAIT items properly displayed, ... *until* I do org-write-agenda in the

[Orgmode] [PATCH] Markup on same line as text

2011-01-07 Thread Roland Kaufmann
I just discovered a problem with colorization and references in code snippets due to the way org-mode and htmlize interact. Consider the org-mode fragment: #+BEGIN_SRC emacs-lisp (let ((x 42)) ; meaning of l.u.e. (print x)) ; (ref:2) #+END_SRC Without the reference on line 2, doing an

[Orgmode] Re: Simple wiki system like VIMWiki

2011-01-07 Thread Marcelo de Moraes Serpa
Is no one interested in such feature? Marcelo. On Thu, Jan 6, 2011 at 10:22 AM, Marcelo de Moraes Serpa celose...@gmail.com wrote: Forgot to add the link to VIMWiki: http://code.google.com/p/vimwiki/ Regards, Marcelo. On Thu, Jan 6, 2011 at 9:07 AM, Marcelo de Moraes Serpa

Re: [Orgmode] Simple wiki system like VIMWiki

2011-01-07 Thread 노정태
I'm interested. - Jeongtae 2011/1/7 Marcelo de Moraes Serpa celose...@gmail.com Hi list, I've started using vim lately for my programming needs and I love it, mostly because the motion and shortcuts are much more efficient. That aside, I still think emacs is a great platform and

Re: [Orgmode] Re: Simple wiki system like VIMWiki

2011-01-07 Thread Nick Dokos
Marcelo de Moraes Serpa celose...@gmail.com wrote: Is no one interested in such feature? Just an fyi: I don't know whether it's generally the case, but I received your original mail (with date Thu, 6 Jan 2011 09:07:57 -0600) at the same time as I received your follow-up (with date Fri, 7 Jan

Re: [Orgmode] Re: Simple wiki system like VIMWiki

2011-01-07 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Marcelo de Moraes Serpa celose...@gmail.com wrote: Is no one interested in such feature? Just an fyi: I don't know whether it's generally the case, but I received your original mail (with date Thu, 6 Jan 2011 09:07:57 -0600) at the same time

[Orgmode] [babel] How to fontify blocks other than begin_src?

2011-01-07 Thread Seth Burleigh
I would like blocks like begin_html/end_html to be fontified just like begin_src blocks are. I would also like to define my own source blocks for clojure (basically a shorthand) and also have them highlighted. Heres what i have to turn on fontifying and define a block. (setq

[Orgmode] [PATCH] org-display-inline-images to reduce image size

2011-01-07 Thread Vladimir Alexiev
Here's a patch that introduces two custom options org-display-inline-image-width, org-display-inline-image-height and patches org-display-inline-images to respect them as max width, height settings for inline images. (Someone please defcustom them for me, I only know defvar syntax).

[Orgmode] Images from R in LaTeX and PDF

2011-01-07 Thread Ben Ward
Hi All, I've been doing some work with babel and R to generate graphs that I've then been including useing attr latex. But when I include images the always appear very very small, even when I mess about with the width settings of the attr latex line and remove the options for wrap and such.

[Orgmode] Re: noob question about word wrap

2011-01-07 Thread Filippo A. Salustri
Hi again. I send the msg below a few weeks ago, and got a reasonable response from Ross Glover. However, I'm still convinced that I would prefer to try orgmode with different word wrapping. I'm looking for a way to get orgmode buffers to be in visual-line-mode and org-indent-mode only. That is,

[Orgmode] org-mode table with backslash inside fails to export to DocBook (now right)

2011-01-07 Thread niels giesen
Hi list, Baoqiu, A file with the following contents fails to export to Docbook: #+begin_src org ,* Table with a backslash in it , | \ | #+end_src It gives the following error #+begin_example Invalid use of `\' in replacement text #+end_example The following changes (replace-match

Re: [Orgmode] Images from R in LaTeX and PDF

2011-01-07 Thread Thomas S. Dye
Aloha Ben, Can you share an example that doesn't work for you? All the best, Tom On Jan 7, 2011, at 7:23 AM, Ben Ward wrote: Hi All, I've been doing some work with babel and R to generate graphs that I've then been including useing attr latex. But when I include images the always appear

[Orgmode] Re: Simple wiki system like VIMWiki

2011-01-07 Thread Matt Lundin
Marcelo de Moraes Serpa celose...@gmail.com writes: However, linking and creating new files is far from optimal. Could you please explain what you mean here? I find C-u C-c C-l to be a very efficient way of creating file links (both to new and existing files). Also, the following two

Re: [Orgmode] [babel] How to fontify blocks other than begin_src?

2011-01-07 Thread Eric Schulte
Hi Seth, The easiest way to fontify embedded html is most likely to wrap the html in #+begin_src html code blocks. As for defining your own clojure blocks that sounds like a risky proposition to me. All of the code block evaluation functions are built to use standard org-mode syntax for code

Re: [Orgmode] Re: Simple wiki system like VIMWiki

2011-01-07 Thread Samuel Wales
I'd think org could do anything needed for this. I know Marcelo asked about separate files, but in principle, a command can allow ido to help select olpaths, for ease of use. In principle, it can even create a header and refile it using ido to a suitable location, and put an org ID link to it at

Re: [Orgmode] Re: Including current time in agenda

2011-01-07 Thread Erik Butz
Hi all, thanks for this very nice feature. It's working mostly for me, but now, whenever I try to insert a 'date, deadline,scheduled date' I get an error saying: Symbol's value as variable is void: date which I don't quite understand. Any ideas? Thanks, Erik On Sun, Dec 12, 2010 at 10:31

Re: [Orgmode] Images from R in LaTeX and PDF

2011-01-07 Thread Ben Ward
#+begin_src R :exports both full - read.csv(file=~/Documents/BSc Biology/Third Year/BY6001-40 - Dissertation/Data and Analysis/Evolution Results.csv, head=T) library(lattice) ecoli = subset(full, Bacterium==E.coli) edett = subset(ecoli, Cleaner==Dettol) egarl = subset(ecoli,

Re: [Orgmode] Images from R in LaTeX and PDF

2011-01-07 Thread Ben Ward
I'm using 7.4, which I think (unless a new versions recently arisen), the latest one, as it was recommended for interacting with R through babel. Thanks, Ben W. On 07/01/2011 19:45, Erik Iverson wrote: And what version of org are you using? Ben Ward wrote: #+begin_src R :exports both full

[Orgmode] IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-07 Thread Bastien
Dear all, Jason will migrate org-mode.git to the new server next sunday, 5pm-7pm CET (UTC+1). Pulling will not be possible during that time. I will send instructions on how to clone the new repo when the migration is done. It will be important to clone again after the migration as this repo

[Orgmode] Re: IMPORTANT: Migration of org-mode.git to the new server on sunday 5pm-7pm CET (UTC+1)

2011-01-07 Thread Bernt Hansen
Bastien bastien.gue...@wikimedia.fr writes: Dear all, Jason will migrate org-mode.git to the new server next sunday, 5pm-7pm CET (UTC+1). Pulling will not be possible during that time. I will send instructions on how to clone the new repo when the migration is done. It will be important

Re: [Orgmode] [babel] How to fontify blocks other than begin_src?

2011-01-07 Thread Seth Burleigh
Thanks, it does. Yep, i looked at the code, and everything was based on begin_src - so i think i will keep it at that! ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org

Re: [Orgmode] Re: Including current time in agenda

2011-01-07 Thread suvayu ali
On Fri, Jan 7, 2011 at 11:31 AM, Erik Butz erik.b...@googlemail.com wrote: Hi all, thanks for this very nice feature. It's working mostly for me, but now, whenever I try to insert a 'date, deadline,scheduled date' I get an error saying: Symbol's value as variable is void: date which I

Re: [Orgmode] Re: Including current time in agenda

2011-01-07 Thread Erik Butz
I have (defun jd:org-current-time () Return current-time if date is today. (when (equal date (calendar-current-date)) (format-time-string %H:%M ◄—— (current-time in the .emacs file and and entry * Current Time :PROPERTIES: :CATEGORY: NOW ——► :END: %%(org-current-time) in

Re: [Orgmode] Re: Including current time in agenda

2011-01-07 Thread suvayu ali
Hi Erik, On Fri, Jan 7, 2011 at 3:46 PM, Erik Butz erik.b...@googlemail.com wrote: I have (defun jd:org-current-time ()  Return current-time if date is today.  (when (equal date (calendar-current-date))   (format-time-string %H:%M ◄—— (current-time in the .emacs file and and