Re: [Orgmode] Org-Mode API?
On Wed, Sep 15, 2010 at 9:51 PM, Olivier Schwander wrote: > I am currently writing a Python library for parsing org-file. The main > goal is to build a kind of mobile-org for N900 and Maemo but it's > designed to be enough generic for web applications or desktop > applications. I'm not sure how much functionality it has, but you should look at orgnode.py http://members.optusnet.com.au/~charles57/GTD/orgnode.html -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FLOSS Weekly show about Org-mode
Hi all, It was a wonderful interview. Always a pleasure watching Carsten talk about org-mode. -- Puneeth On Wed, Sep 22, 2010 at 8:57 PM, Bastien wrote: > Hi all, > > Carsten's live interview for FLOSS weekly is in about one hour. > > Watch live here: > > http://live.twit.tv > > Chat live : > > #twitlive channel on the irc.twit.tv IRC server > > See you there :) > > -- > Bastien > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?
Hi, Should we put this on Worg and let people edit it? On Wed, Sep 29, 2010 at 10:28 PM, Richard Moreland wrote: [..] > I'm not sure what 'target projects' could mean in their suggestion for > the description. Any ideas? I found this link [1] to a proposal of the GNUstep project. It gives an idea of what is meant by 'target projects'. Essentially, it's a list of projects that would participate in the devroom. [1] http://www.mail-archive.com/discuss-gnus...@gnu.org/msg11361.html > > Hope this helps as a start, feel free to scrap it and start over if > someone else has a better vision. I'd been half way through writing one, when I saw this. Seems good! :) -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] bug: babel: Export of temporary buffers fails
Hello, Export of temporary buffers with babel src blocks fails. Line 118 of ob-exp.el has (set-buffer (get-file-buffer org-current-export-file)) But the value of org-current-exp-file is nil for a temporary buffer. The following commit brought in that change. commit efdf78172d9f7c0070c781d136a9b49a2a56fcc4 Author: Eric Schulte Date: Sat Sep 18 19:01:49 2010 -0600 ob-exp: resolving code block parameters in the original file on export * lisp/ob-exp.el (org-babel-exp-src-blocks): now switching back to the original file before resolving code block parameters to ensure headline and buffer wide parameters are taken into consideration when only a narrowed portion of the file is exported HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Hi Eric, > > You can still export to a temporary buffer (`A' instead of `a', `H' > instead of `h') ... Yes. And this fails when there is an org-babel src block in the buffer. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Hi Eric, On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte > I've just tried exporting an org-mode buffer containing babel code > blocks to a temporary file using C-c C-e H, and it worked without > problem. Could you send me an example org-mode file that throws the > error your described? Have you exported from a temporary buffer? or a buffer visiting a file? To reproduce the error that I get, 1. Switch to scratch buffer (or a new temporary buffer) 2. M-x org-mode to change the mode to Org-mode 3. Yank the following text into it - * Hello World #+begin_src python print "Hello, World" #+end_src - 4. C-c C-e H You should get the error set-buffer: Wrong type argument: stringp, nil HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Eric, On Mon, Oct 4, 2010 at 8:09 PM, Eric Schulte wrote: > Ok, > > Thanks for your persistence in explaining this to me. I've just pushed > up a change which should fix this issue. Thanks for the fix. :) I had my reasons for being persistent. org2blog [a client for posting to Wordpress from Org-mode] uses temporary buffers when posting subtrees. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Worg buglet
On Tue, Oct 12, 2010 at 6:39 AM, Robert Goldman wrote: > The link to the sample presentation, from > > http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.php > > to > > http://orgmode.org/worg/org-tutorials/org-beamer/presentation.org > > is broken. Fixed. > Sorry if this is the wrong place to report this. Thanks for reporting. This is definitely the right place to report. You could, instead, yet yourself commit access to Worg, since it is a community site. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] How to trigger costumed agenda after startup?
Chao, On Tue, Oct 12, 2010 at 11:16 AM, Chao LU wrote: > Dear list, > > The first thing for me to do after starting Emacs is just going to some > costumed agenda command, how to trigger these agendas by .emacs? > Add the following to your .emacs (org-agenda nil "R") where R is the key for that particular agenda view. HTH, Puneeth ps: I really don't know what the first argument does (yet) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Worg buglet
On Tue, Oct 12, 2010 at 1:45 PM, Eric S Fraga wrote: > > Actually, it's not! It is now broken... I fixed this on 2 October > but there may be a problem with the publishing process if the > resulting published files are wrong? > > To explain, the footnote was previously fixed to point to the actual > "org" file, not the "php" created by the publishing mechanism on Worg. > The file, presentation.org, is meant to be an example document that > can be downloaded, not a document for viewing on the web. > > Can you please revert your change? Apologies. Reverted my change. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: 7.01 & Xemacs 21.4.22: decompose-region is not known
On Sun, Oct 24, 2010 at 1:50 AM, Uwe Brauer wrote: >>> Regarding Re: [Orgmode] Re: 7.01 & Xemacs 21.4.22: decompose-region is not >>> known; Carsten Dominik adds: > > > On Oct 15, 2010, at 3:30 PM, Uwe Brauer wrote: > > > Hi Uwe, > > > Does the latest Org-mode git version work for you now? > Hi Carsten > > I did not try yet, will do so tomorrow. Do I understand > correctly: the only way to get that version is via git? You could get the latest source (updated daily) as a tar ball[1] or zip file[2] [1] http://orgmode.org/org-latest.tar.gz [2] http://orgmode.org/org-latest.zip HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?
Hi Richard, The FOSDEM site says, 2010-10-23: Acceptance notification of devrooms Wondering if you have any news on this. Best, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-export-string
On Sun, Oct 31, 2010 at 12:15 PM, Aidan Gauland wrote: > Evaluating (org-export-string "plain plain *bold* plain" "html") > prompts me (in the minibuffer) with... > > File to save in: /tmp/ Which version of Org-mode and Emacs are you using? I'm unable to reproduce this with - GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0) - Org-mode version 7.02trans (release_7.02.21.g598be) -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] bug: org-narrow-to-subtree
Hi, I hit a minor bug with the function org-narrow-to-subtree. When I narrow to a headline (subtree with just the headline) present at the end of a file, the last character of the headline isn't present in the narrowed region. [file1.org and file2.org shown at the end of the message are examples] I am attaching a possible patch for the same, but I don't think that is the "cleanest" way to handle it. Hope it'll help some one else to fix it in a better way. Thanks, Puneeth file1.org - * Hello * World * TestEOF - file2.org -- * Test *** World *** Hello 1EOF -- diff --git a/lisp/org.el b/lisp/org.el index 59caf41..06b9f9e 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7501,7 +7501,7 @@ If yes, remember the marker and the distance to BEG." (narrow-to-region (progn (org-back-to-heading t) (point)) (progn (org-end-of-subtree t t) - (if (org-on-heading-p) (backward-char 1)) + (if (and (org-on-heading-p) (org-at-regexp-p "*")) (backward-char 1)) (point)) (eval-when-compile ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: org-narrow-to-subtree
Hi Carsten, On Tue, Nov 2, 2010 at 1:22 AM, Carsten Dominik wrote: > Hi Puneeth, > > I am unable to reproduce this problem Is it because David has already fixed the problem? :) Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [Quey] Capture Templates
Hi All, I have the following Capture template defined. - ("n" "note" entry (file+headline "refile.org" "Notes") "* %^{About} :note:%^G \n\n %U\n\n %?" :clock-in t :clock-resume t) - When this capture template is invoked the order of prompting obviously goes from About, to tags, to the note that I want to make. But when writing long notes, I'm usually undecided upon the tags, until I have written the note. Is there a way to change the order of prompting? Or quickly change the tags after the note has been made? Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Git commit animation?
Hi On Tue, Nov 9, 2010 at 12:45 AM, John Hendy wrote: > Hi, > > I've tried to find the message with the git commit animation someone created > quite a while back showing how org contributions have transpired over time. > Is that still being updated? Does it even still exist? Would someone provide > the link and/or code of how it worked? I'd like to look at it for another > application. Here are the videos. org-mode -- http://vimeo.com/11889681 worg -- http://vimeo.com/15968547 These were created using a tool called gource [[ http://code.google.com/p/gource/ ]] HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] query - org-emphasis-regexp-components
Hi I was writing a document with Python code in it and I found a minor problem. There's no way to put a piece of code like s="Hello World" as verbatim or code in my document. ~s="Hello World"~ doesn't work because the border in org-emphasis-regexp-components doesn't allow " or '. I'm not sure why this is in place. Can this be removed, or have they been put in for a specific reason, that I can't see? Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] include an .org file and lower the level of all its headers
On Sat, Nov 13, 2010 at 1:12 AM, Carsten Dominik wrote: > > On Nov 10, 2010, at 3:46 AM, Jianshi Huang wrote: > >> Hi, >> >> I know I can include any file using #+INCLUDE. >> >> I need to include several org files, but they were edited >> independently as a complete document. >> >> Now I want to lower the levels of headers in these org files >> automatically during inclusion. Is there a way to do that? > > No. But since #+include accepts arguments, it could be implemented, > something like > > #+include "aaa.org" :minlevel 4 > > or so. I would accept a good patch to this effect. Here's a patch. I tested it with a simple document and works fine. Thanks, Puneeth diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 2affcba..08c0ac6 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2126,12 +2126,13 @@ TYPE must be a string, any of: (defun org-export-handle-include-files () "Include the contents of include files, with proper formatting." (let ((case-fold-search t) - params file markup lang start end prefix prefix1 switches all) + params file markup lang start end prefix prefix1 switches all minlevel) (goto-char (point-min)) (while (re-search-forward "^#\\+INCLUDE:?[ \t]+\\(.*\\)" nil t) (setq params (read (concat "(" (match-string 1) ")")) prefix (org-get-and-remove-property 'params :prefix) prefix1 (org-get-and-remove-property 'params :prefix1) + minlevel (org-get-and-remove-property 'params :minlevel) file (org-symname-or-string (pop params)) markup (org-symname-or-string (pop params)) lang (and (member markup '("src" "SRC")) @@ -2154,7 +2155,7 @@ TYPE must be a string, any of: end (format "#+end_%s" markup (insert (or start "")) (insert (org-get-file-contents (expand-file-name file) - prefix prefix1 markup)) + prefix prefix1 markup minlevel)) (or (bolp) (newline)) (insert (or end "" all)) @@ -2171,7 +2172,7 @@ TYPE must be a string, any of: (when intersection (error "Recursive #+INCLUDE: %S" intersection)) -(defun org-get-file-contents (file &optional prefix prefix1 markup) +(defun org-get-file-contents (file &optional prefix prefix1 markup minlevel) "Get the contents of FILE and return them as a string. If PREFIX is a string, prepend it to each line. If PREFIX1 is a string, prepend it to the first line instead of PREFIX. @@ -2193,6 +2194,9 @@ take care of the block they are in." (goto-char (match-beginning 0)) (insert ",") (end-of-line 1))) +(when minlevel + (dotimes (lvl minlevel) + (org-map-region 'org-demote (point-min) (point-max (buffer-string))) (defun org-get-and-remove-property (listvar prop) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Blockquotes...
Hi 'Mash, On Sun, Nov 14, 2010 at 11:23 PM, 'Mash wrote: > Evening, > > I have spent an hour looking around for how to define blockquotes in > org-mode. So far I have seen discussion but nothing in terms of how you > actually define them. Is this still a future feature or is there a way to do > this already? I guess you are looking for this? http://orgmode.org/org.html#Paragraphs Sorry, if this is not what you were looking for. HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bastien is going to become the maintainer of Org mode in January
Hi Carsten On Mon, Nov 15, 2010 at 5:21 PM, Carsten Dominik wrote: > Dear all, > > after 7 years of responsibility for Org-mode, it is time for > me to let go and step down as the maintainer of Org-mode. [..] You have been such an inspiration, in the short time that I have spent in this community. Thank you very much! I had no words to thank you for the wonderful creation, that org-mode is. So, I hacked up some pictures for you. [1] ;) Wishing you best! Life in plain text is truly wonderful! > I am very excited that I have found Bastien Guerry willing > to take over. Bastien has been involved with this project > almost from the beginning and I believe he knows more > about both the spirit and the technicalities of Org-mode > than anybody else. I am sure he will do an excellent job. Congratulations Bastien! Looking forward to having some great time, with you at the helm! Best, Puneeth [1] http://muse-amuse.in/~punchagan/carsten.html ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Document the :recursive option for org-publish
Hi, Here's a patch to document the recursive option for org-publish. It's a documentation TODO on Worg. -- Puneeth diff --git a/doc/org.texi b/doc/org.texi index 06583d7..a6cf26c 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -10665,6 +10665,9 @@ extension. @item @code{:include} @tab List of files to be included regardless of @code{:base-extension} and @code{:exclude}. + +...@item @code{:recursive} +...@tab Non-nil means, check base-directory recursively for files to publish. @end multitable @node Publishing action, Publishing options, Selecting files, Configuration ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] org-agenda: rework ndays and span handling
On Wed, Dec 1, 2010 at 5:23 AM, Carsten Dominik wrote: > Hi everyone, > > can we have a few testers for this patch? Apply it an play with your > agenda, switching from day to week view etc, refresh with "r" and "g", and > check if everything works as expected? That would be nice, thanks. The patch doesn't apply to the current head. Julien, would it be possible to send another patch? Or could you tell me the commit to which it should be applied to? -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] org-agenda: rework ndays and span handling
On Wed, Dec 1, 2010 at 2:54 PM, Julien Danjou wrote: > On Wed, Dec 01 2010, Puneeth wrote: > >> The patch doesn't apply to the current head. Julien, would it be >> possible to send another patch? Or could you tell me the commit to >> which it should be applied to? > > No problem, here's a rebased patch on master. Thanks. I tested the patch and works fine for me. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Older versions
On Sat, Dec 4, 2010 at 1:07 AM, David Dyer-Bennet wrote: > The only org-mode distributions I can find on the website say they don't > work with the versions of emacs I have available. > > Our latest servers are running with CentOS 5.5 (same as Redhat Enterprise > 5.5), which has emacs 21.4.1. Many of our older servers are running > CentOS 4.7 or so. > > How badly does org-mode 7.3 not work with emacs 21.4? And/or where can I > find older versions, with info on which emacs they work with? I'm not sure where you can find this, but as this page [1] says, support for emacs has been dropped from Orgmode 7.x only. Use 6.36c instead. A link to it, is provided in that page. [1] -- http://orgmode.org/Changes.html#sec-2_1_1 -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Pandoc can now do Org
Hi all, I've quite often felt the need for an importer to orgmode and so have others on the list. I stumbled upon Pandoc, while I was trying to convert some formats. It's pretty neat and has a bunch of readers and writers (though it's not "perfect"). I have hacked up an Orgmode writer for it and it has been added to pandoc's master. Some of you may find it useful. Also, my Haskell skills are pretty rudimentary (learnt it for this sole purpose). Some love from the Haskell gurus, will do my code some good. Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Pandoc can now do Org
Hi Jeff, On Mon, Dec 6, 2010 at 12:54 AM, Jeff Horn wrote: > Nice! I looked at pandoc once but don't remember a lot about it. How > well does your importer handle math? > The LaTeX reader (and therefore the Orgmode writer) of pandoc does math pretty well. You may want to try it, to see if it fits your needs. But some other things are broken and need to be fixed. It doesn't seem to have table support, as of now. Also, it seems to parse some environments incorrectly as quote environments. I didn't look at the source, so I do not know for sure. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Pandoc can now do Org
On Thu, Dec 9, 2010 at 3:29 AM, Scot Becker wrote: > Puneeth, > > Very cool! This opens up a lot of nice importers for org-mode. Yes, Pandoc is pretty cool and it ought to have org-mode! :) -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Single quote and inline formatting
On Tue, Dec 21, 2010 at 4:26 AM, Michael Gauland wrote: > Enclosing text in '=' symbols generally causes the text to be formatted as > code. I've found this fails if the last character in the text is a single > quote ('): > > + =This works= > + =So does 'this= > + =But not this'= > > The text in the first two lines appears in the 'code' face (gray), and is > exported to HTML in a tag. The last line appears in the normal face, > and is not exported in a tag. > > Is this expectd behavoiur? If not, where is the best place to start poking > around to fix it? Yes, this is expected behaviour. Look at the variable org-emphasis-regexp-components, for more information. > > Thanks, > Mike > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [OT] Exporting org files to html from outside GNU Emacs
On Sat, Dec 18, 2010 at 8:08 AM, Jeff Horn wrote: > This might work: http://johnmacfarlane.net/pandoc/ Pandoc doesn't have an org-mode reader as of now. I had implemented only a writer, since I was looking for an importer to org-mode. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mediawiki
Hi, On Sat, Jan 1, 2011 at 12:44 PM, Nagarjuna G wrote: > I thought of trying this extension done by Bastien. I get the error > > > Symbol's function definition is void: org-export-handle-include-files-recurse > > I am loading the two files org-mediawiki.el and org-export.el from a > directory in my homes. > Am I doing anything wrong? Which version of Org-mode are you using? org-mediawiki works fine for me with the latest version of Org-mode. The function `org-export-handle-include-files-recurse` was introduced release_6.36.279.g5633 by the following commit commit 5633f7084a96298f415f07c348844bd5f22eb81e Author: Bastien Guerry Date: Wed Jun 16 18:13:13 2010 +0200 I wonder if you are using an older version. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode][PATCH] How do I include text between a range of line numbers with #INCLUDE
On Fri, Jan 7, 2011 at 10:03 AM, Venkatesh Choppella 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, as of now. Here's a quick patch that would add this feature. I have tested it with small files and works fine. Can somebody tell me if it looks good? :lines "5-10" will include the lines from 5 to 10, 10 excluded. :lines "-10" will include the lines from 1 to 10, 10 excluded. :lines "5-" will include the lines from 1 to the end of the file. HTH, Puneeth diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 3d466fa..5afa266 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2130,13 +2130,14 @@ TYPE must be a string, any of: (defun org-export-handle-include-files () "Include the contents of include files, with proper formatting." (let ((case-fold-search t) - params file markup lang start end prefix prefix1 switches all minlevel) + params file markup lang start end prefix prefix1 switches all minlevel lines) (goto-char (point-min)) (while (re-search-forward "^#\\+INCLUDE:?[ \t]+\\(.*\\)" nil t) (setq params (read (concat "(" (match-string 1) ")")) prefix (org-get-and-remove-property 'params :prefix) prefix1 (org-get-and-remove-property 'params :prefix1) minlevel (org-get-and-remove-property 'params :minlevel) + lines (org-get-and-remove-property 'params :lines) file (org-symname-or-string (pop params)) markup (org-symname-or-string (pop params)) lang (and (member markup '("src" "SRC")) @@ -2159,7 +2160,7 @@ TYPE must be a string, any of: end (format "#+end_%s" markup (insert (or start "")) (insert (org-get-file-contents (expand-file-name file) - prefix prefix1 markup minlevel)) + prefix prefix1 markup minlevel lines)) (or (bolp) (newline)) (insert (or end "" all)) @@ -2176,15 +2177,32 @@ TYPE must be a string, any of: (when intersection (error "Recursive #+INCLUDE: %S" intersection)) -(defun org-get-file-contents (file &optional prefix prefix1 markup minlevel) +(defun org-get-file-contents (file &optional prefix prefix1 markup minlevel lines) "Get the contents of FILE and return them as a string. If PREFIX is a string, prepend it to each line. If PREFIX1 is a string, prepend it to the first line instead of PREFIX. If MARKUP, don't protect org-like lines, the exporter will -take care of the block they are in." +take care of the block they are in. You can include a part +of a file by specifying a range of line numbers, \"P-Q\" +which includes lines from P to Q, excluding Q. P and/or Q +may be ommitted to assume the obvious defaults." (if (stringp markup) (setq markup (downcase markup))) (with-temp-buffer (insert-file-contents file) +(when lines + (let (beg end) + (setq lines (split-string lines "-") + beg (if (string= "" (car lines)) + (point-min) + (goto-char (point-min)) + (forward-line (1- (string-to-number (car lines + (point)) + end (if (string= "" (cadr lines)) + (point-max) + (goto-char (point-min)) + (forward-line (1- (string-to-number (cadr lines + (point))) + (narrow-to-region beg end))) (when (or prefix prefix1) (goto-char (point-min)) (while (not (eobp)) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode][PATCH] How do I include text between a range of line numbers with #INCLUDE
Hi Carsten, On Sat, Jan 8, 2011 at 11:35 PM, Carsten Dominik wrote: > Hi Puneeth, > > can cou please augment the patch with a propert ChangeLog-like entry, and > with documentation for the manual, and then resubmit? Here is a patch with a ChangeLog entry and documentation for the manual. Please tell me if it looks OK. Also, I hope using git-format-patch is the right way to send this page. If not, what is the right way? Thanks, Puneeth From 4a9be5b1a7a19c5d092ed14a86d29ad83122e9a8 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Sun, 9 Jan 2011 00:48:51 +0530 Subject: [PATCH] Include only specified range of line numbers of a file * doc/org.texi (Include files): Document :lines. * lisp/org-exp.el (org-export-handle-include-files): Support :lines property. (org-get-file-contents): New argument lines to include specify a range of lines to include. On Fri, Jan 7, 2011 at 1:29 PM, Puneeth wrote: > On Fri, Jan 7, 2011 at 10:03 AM, Venkatesh Choppella > 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, as of now. > Here's a quick patch that would add this feature. I have tested it > with small files and works fine. Can somebody tell me if it looks > good? > > :lines "5-10" will include the lines from 5 to 10, 10 excluded. > :lines "-10" will include the lines from 1 to 10, 10 excluded. > :lines "5-" will include the lines from 1 to the end of the file. > > HTH, > Puneeth --- doc/org.texi| 11 +++ lisp/org-exp.el | 24 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index e83909d..62f90e9 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -8891,6 +8891,17 @@ use #+INCLUDE: "~/snippets/xx" :prefix1 " + " :prefix " " @end example +You can also include a portion of a file, by specifying a range of line +numbers using the @code{:lines} parameter. The line with the line number +equal to the end of the range, will not be included. The start or/and the +end limits of the range, may be omitted to use the obvious defaults. + +...@example +#+INCLUDE: "~/.emacs" :lines "5-10" @r{Include lines 5 to 10, 10 excluded} +#+INCLUDE: "~/.emacs" :lines "-10"@r{Include lines 1 to 10, 10 excluded} +#+INCLUDE: "~/.emacs" :lines "10-"@r{Include lines from 10 to EOF} +...@end example + @table @kbd @kindex C-c ' @item C-c ' diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 3d466fa..ea81386 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2130,13 +2130,14 @@ TYPE must be a string, any of: (defun org-export-handle-include-files () "Include the contents of include files, with proper formatting." (let ((case-fold-search t) - params file markup lang start end prefix prefix1 switches all minlevel) + params file markup lang start end prefix prefix1 switches all minlevel lines) (goto-char (point-min)) (while (re-search-forward "^#\\+INCLUDE:?[ \t]+\\(.*\\)" nil t) (setq params (read (concat "(" (match-string 1) ")")) prefix (org-get-and-remove-property 'params :prefix) prefix1 (org-get-and-remove-property 'params :prefix1) minlevel (org-get-and-remove-property 'params :minlevel) + lines (org-get-and-remove-property 'params :lines) file (org-symname-or-string (pop params)) markup (org-symname-or-string (pop params)) lang (and (member markup '("src" "SRC")) @@ -2159,7 +2160,7 @@ TYPE must be a string, any of: end (format "#+end_%s" markup (insert (or start "")) (insert (org-get-file-contents (expand-file-name file) - prefix prefix1 markup minlevel)) + prefix prefix1 markup minlevel lines)) (or (bolp) (newline)) (insert (or end "" all)) @@ -2176,15 +2177,30 @@ TYPE must be a string, any of: (when intersection (error "Recursive #+INCLUDE: %S" intersection)) -(defun org-get-file-contents (file &optional prefix prefix1 markup minlevel) +(defun org-get-file-contents (file &optional prefix prefix1 markup minlevel lines) "Get the contents of FILE and return them as a string. If PREFIX is a string, prepend it to each line. If PREFIX1 is a string, prepend it to the first line instead of PREFIX. If MARKUP, don't protect org-like lines, the exporter will -take care of the block they are in." +take care of the block they are in. If LINES is a string, +include only the lines specified." (if (stringp markup) (setq markup (downcase markup))) (with-temp-buffer
[Orgmode] version of Org used for Worg
Hi, I am a new org-mode convert and I thoroughly love it. I would like to start contributing to Worg. I would like to know which version of org mode is used on the server hosting main Worg website. It doesn't seem to be using the development version. The 3 days old fix[1] for lists with source code, fixes the problem of renumbering of lists. But this is not reflected in this section[2] of Worg. I have locally published the source of worg and it works fine, with the development version of org-mode. -- Puneeth [1] http://repo.or.cz/w/org-mode.git/commit/c201da51b88703a71e6eda64b52d53a5441c594f [2] http://orgmode.org/worg/worg-git.php#sec-7 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] org-timestamp-change changes minutes in multiples of rounding time
Hi, (org-timestamp-change n 'minutes) changes timestamp only by 5 minutes (when my org-time-stamp-rounding-minutes is (0 5)) for any non-zero value of n. I think the timestamp should change by an integer multiple of 5. Do you think this is correct behaviour? A patch for the same has been attached. Thanks, Puneeth org-timestamp-change.patch Description: Binary data ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] org-timestamp-change changes minutes in multiples of rounding time
On Tue, Jun 22, 2010 at 4:40 PM, Puneeth wrote: [..] > A patch for the same has been attached. Sorry hadn't looked at this piece of documentation in the manual[1] (/ -17 6) ⇒ -2 (could in theory be −3 on some machines) The patch could be modified to make it consistent. [1] http://www.gnu.org/s/emacs/manual/html_node/elisp/Arithmetic-Operations.html -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] org-timestamp-change changes minutes in multiples of rounding time
Hi Carsten, On Tue, Jun 22, 2010 at 7:03 PM, Carsten Dominik wrote: > > On Jun 22, 2010, at 1:10 PM, Puneeth wrote: [..] > no, I do not think so. The variable is called "-rounding", not "-step". Sorry for the unclear message. Let me explain. I tried to use the function shown below (imitating a similar function by Juan Pechier [1]). But this function only changes the time by either +5 or -5 minutes for whatever value of "n". Should it not, increase the time by a multiple of 5 mins? 8< (defun upminutes ( n ) "update all timestamps n minutes" (interactive "nAdd minutes: ") (save-excursion (goto-char (point-min)) (while (re-search-forward "[[<]" nil t) (when (org-at-timestamp-p t) (org-timestamp-change n 'minute) 8< Thanks, Puneeth [1] http://lists.gnu.org/archive/html/emacs-orgmode/2010-06/msg00229.html ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] org-timestamp-change changes minutes in multiples of rounding time
Hi Carsten, On Tue, Jun 22, 2010 at 7:47 PM, Carsten Dominik wrote: [..] > Note that the rounding only works now if you use S-up and S-down > on the minutes. If you give your function of 13 minutes, it will change all > time stamps by 13 minutes, not a rounded number. > > HTH Thanks! -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] New implementation of the Org remember process ready for comments and testing
Hi, On Tue, Jun 22, 2010 at 6:06 PM, Carsten Dominik wrote: > New implementation of the Org remember process > == [..] > None of what I describe is set in stone yet - let me know if you have > comments, change requests or other ideas. I like the new capture process. All of it works well, except for 1) tab completion on tags ( I have a couple of templates using ^g and ^G and they worked well with org-remember, but don't work with org-capture. I hope I'm not missing something here. 2) I have not been able to abort a capture. undo doesn't seem to be working. It says "undo-more: Changes to be undone are outside visible portion of buffer". I think I'm doing something wrong here. Can someone tell me how to abort a capture? Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] New implementation of the Org remember process ready for comments and testing
On Wed, Jun 23, 2010 at 10:01 AM, Carsten Dominik wrote: > [..] >> 1) tab completion on tags ( >> I have a couple of templates using ^g and ^G and they worked well with >> org-remember, but don't work with org-capture. I hope I'm not missing >> something here. > > I just tried - this is working well for me. I think this has got something to do with org-directory, though I'm not sure. My current set-up is enclosed below. Tab completion for tags (in all agenda files) shows only the tags present in the worg-todo file, not the ones in the notes file. - (setq org-directory "/data/life-in-plain-text/") (custom-set-variables '(org-agenda-files (quote ("/data/life-in-plain-text/notes.org" "~/Worg/worg-todo.org" (setq org-capture-templates '(("t" "task" entry (file+headline "notes.org" "Refile") "* TODO %? %^G:\n %U\n"))) - Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [patch] filing under current clocked item
Hi, The capture template ("t" "task" entry (clock) "* TODO %? %^G:\n ") is giving me the error org-find-base-buffer-visiting: Wrong type argument: stringp, # The patch below fixes it. diff --git a/lisp/org-capture.el b/lisp/org-capture.el index decf50a..0942e8b 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -585,7 +585,8 @@ already gone." (if (and (markerp org-clock-hd-marker) (marker-buffer org-clock-hd-marker)) (progn (set-buffer (org-capture-target-buffer - (marker-buffer org-clock-hd-marker))) + (buffer-file-name (marker-buffer + org-clock-hd-marker (goto-char org-clock-hd-marker)) (error "No running clock that could be used as capture target"))) Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org2blog - blog from org-mode to wordpress
Hello, I've been wanting to use org-mode for quite some time but have started /really/ using it only recently. I am enjoying it, thoroughly. Over the last weekend, I have written a simple blogging client which I call org2blog. org2blog provides a simple way of publishing from org-mode to (wordpress) blogs. (Any blog supporting metaweblog API is expected to work, but I have not tested it). It is essentially a port of a [wordpress posting client for muse-mode] written by [Ashish Shukla], with a couple of new features. It uses the html export of org and therefore supports tables and images, too. It uploads any images present on the local machine to wordpress. It uses xml-rpc.el for talking to wordpress. org2blog is licensed under GPLv3 and the code is available at [github] Any comments and suggestions are welcome. I'm hoping someone on the list will find it useful. Thanks, Puneeth [wordpress posting client for muse-mode]: [http://paste.lisp.org/display/69993] [Ashish Shukla]: [http://www.emacswiki.org/emacs/AshishShukla] [github]: [http://github.com/punchagan/org2blog] ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-capture: Formatting of entries
Hi On Wed, Jun 30, 2010 at 5:08 AM, Markus Heller wrote: Just adding a space before the :PROPERTIES: drawer will work, right? > (setq org-capture-templates > '(("t" "Task" entry (file "h:/org/refile.org") > "* TODO %^{Todo} \n:PROPERTIES:\n:Created: %U\n:END:\n\n%?" > :clock-in :clock-resume))) (setq org-capture-templates '(("t" "Task" entry (file "h:/org/refile.org") "* TODO %^{Todo} \n :PROPERTIES:\n :Created: %U\n :END:\n\n%?" :clock-in :clock-resume))) Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-jekyll - org-publish-initialize-files-alist
Hi, On Wed, Jun 30, 2010 at 4:15 AM, Nathan Neff wrote: [..] > I tried putting this in my emacs, but it didn't work: > (require 'org-protocol.el) > (require 'org-publish) > (require 'org-jekyll) I haven't used Jekyll, but should it be just org-protocol and not org-protocol.el? (require 'org-protocol) Thanks Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] how to include time when setting deadlines?
On Mon, Jul 12, 2010 at 2:33 PM, Michael Gilbert wrote: > Hi — > > I understand the time format in orgmode, but something is eluding me. Many of > my projects have specific times for deadlines (that is to say, time of day on > the date due). I can't see how to enter that other than by hand. When I type > C-c C-d, I get the wonderful date prompt system. But I have not been able to > discover how to get that to prompt me for the time or to include a time, like > it includes month and day, etc. I've spent some time with the manual and > searching the archives, but my search skills haven't prevailed. Any advice? What you get is really a date time prompt and not just a date prompt. You could enter date in any of the ways given in the org-manual [1]. There is just one example on how to enter the time, given in the manual 22 sept 0:34 --> 2006-09-22 0:34 But, entering time this way works with whatever format you use for entering the date. Enter the date and then enter time with a space separating the date and time. HTH, Puneeth [1] http://orgmode.org/manual/The-date_002ftime-prompt.html#The-date_002ftime-prompt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] OT: Python help
On Tue, Jul 20, 2010 at 4:43 PM, Carsten Dominik wrote: > > On Jul 20, 2010, at 1:03 PM, Giovanni Ridolfi wrote: > >> Carsten Dominik writes: >> >> >>> a python question: How do I prefix every line in a multiline string >>> with a string. For example, I would like to add "> " before all lines >>> in a string >> >> how about replacing "\n" with "\n > " ? > > Please show me the full line of code, I am currently editing a python script > without any knowledge of python... my_string = "Hello\nWorld" my_new_string = my_string.replace("\n", "\n> ") HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] OT: Python help
On Tue, Jul 20, 2010 at 4:50 PM, Puneeth wrote: > On Tue, Jul 20, 2010 at 4:43 PM, Carsten Dominik wrote: >> Please show me the full line of code, I am currently editing a python script >> without any knowledge of python... > > my_string = "Hello\nWorld" > my_new_string = my_string.replace("\n", "\n> ") Sorry, this code (obviously) doesn't prepend ">" to the first line Add this line to do that. my_new_string = "> " + my_new_string > HTH, > Puneeth > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Minor fix to beamer export docs
A patch to fix beamer class export documentation. -- Puneeth diff --git a/doc/org.texi b/doc/org.texi index 639abf1..7eb2ce9 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -9909,9 +9909,9 @@ different level - then the hierarchy above frames will produce the sectioning structure of the presentation. A template for useful in-buffer settings or properties can be inserted into -the buffer with @kbd{M-x org-beamer-settings-template}. Among other things, -this will install a column view format which is very handy for editing -special properties used by beamer. +the buffer with @kbd{M-x org-insert-beamer-options-template}. Among other +things, this will install a column view format which is very handy for +editing special properties used by beamer. You can influence the structure of the presentation using the following properties: @@ -9976,7 +9976,7 @@ environment or the @code{BEAMER_col} property. Column view provides a great way to set the environment of a node and other important parameters. Make sure you are using a COLUMN format that is geared toward this special purpose. The command @kbd{M-x -org-beamer-settings-template} defines such a format. +org-insert-beamer-options-template} defines such a format. Here is a simple example Org document that is intended for beamer export. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [BUG] Org-capturing items to clock
Hi all, I've found a bug with capturing as item to a running clock. I reduced my dot-emacs to the bare minumum(given below), but the problem continues. Here is how it goes. + refile.org is in state 0. + C-M-r t + TODO task One entered. Clock is running. I switch to firefox and save the link. C-c C-c. + refile.org is in state 1. The link is correctly saved + C-M-r t (again) + TODO task Two entered. Clock is running. I switch to firefox and save the link. C-c C-c. + refile.org is in state 1. The link is wrongly saved. The item is appended to a wrong (existing list) instead of starting a new list. If I change my capture template to make the link to be an entry instead of an item, things work as expected. ;;refile.org-state 0 * Tasks ;;refile.org-state 1 * Tasks ** TODO One CLOCK: [2010-07-23 Fri 15:57]--[2010-07-23 Fri 15:57] => 0:00 - [[http://orgmode.org/][Org-Mode: Your Life in Plain Text]] ;;refile.org-state 2 * Tasks ** TODO One CLOCK: [2010-07-23 Fri 15:57]--[2010-07-23 Fri 15:57] => 0:00 - [[http://orgmode.org/][Org-Mode: Your Life in Plain Text]] - [[http://orgmode.org/worg/][Hello Worg!]] ** TODO Two CLOCK: [2010-07-23 Fri 15:59]--[2010-07-23 Fri 16:00] => 0:01 ;;dot-emacs ;; Load up Org Mode and Babel (setq load-path (cons "~/.emacs.d/elisp/org/lisp" load-path)) (setq load-path (cons "~/.emacs.d/elisp/org/contrib/lisp" load-path)) (require 'org-install) (require 'org-capture) (global-set-key (kbd "C-M-r") 'org-capture) (server-start) ;; org-protocol (require 'org-protocol) (setq org-capture-templates '(("t" "task" entry (file+headline "refile.org" "Tasks") "* TODO %? \n\n\n " :clock-in t :clock-resume t) ("x" "save relevant links" item (clock) "- [[%:link][%:description]]" :immediate-finish t))) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] startup in column view
Hi all, I know that it is possible to open a file with various views using #+STARTUP: overview or content or ... Is there a way to get a file to open in Column view? -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] startup in column view
Hi, On Fri, Jul 30, 2010 at 7:10 PM, Juan wrote: > On Fri, Jul 30, 2010 at 05:46:22PM +0530, Puneeth wrote: >> Is there a way to get a file to open in Column view? > > You can use the startup hooks to call the column view functions you > need. > > http://orgmode.org/worg/org-configs/org-hooks.php > > You probably need to call 'org-columns I want a particular file to open in column-view. I don't think hooks are the right thing to use for that or are they? I'm unable to figure out how to go about using hooks to do what I want to. > > .j. > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [BUG] Org-capturing items to clock
Hi, On Sun, Aug 8, 2010 at 12:19 PM, Carsten Dominik wrote: > Hi, > > I think this bug has been fixed with Bernd's patch. Can you > please try and confirm? No. It doesn't seem to have been fixed. I have been able to reproduce it with the exact method as sent in the previous mail. I'm at Org-mode version 7.01trans (release_7.01h.90.gdff9) -- Puneeth > Thanks! > > - Carsten > > On Jul 23, 2010, at 12:42 PM, Puneeth wrote: > >> Hi all, >> >> I've found a bug with capturing as item to a running clock. I reduced >> my dot-emacs to the bare minumum(given below), but the problem >> continues. >> >> Here is how it goes. >> >> + refile.org is in state 0. >> + C-M-r t >> + TODO task One entered. Clock is running. I switch to firefox and >> save the link. C-c C-c. >> + refile.org is in state 1. The link is correctly saved >> + C-M-r t (again) >> + TODO task Two entered. Clock is running. I switch to firefox and >> save the link. C-c C-c. >> + refile.org is in state 1. The link is wrongly saved. The item is >> appended to a wrong (existing list) instead of starting a new list. >> >> If I change my capture template to make the link to be an entry >> instead of an item, things work as expected. >> >> >> ;;refile.org-state 0 >> * Tasks >> >> >> ;;refile.org-state 1 >> * Tasks >> ** TODO One >> CLOCK: [2010-07-23 Fri 15:57]--[2010-07-23 Fri 15:57] => 0:00 >> - [[http://orgmode.org/][Org-Mode: Your Life in Plain Text]] >> >> >> ;;refile.org-state 2 >> * Tasks >> ** TODO One >> CLOCK: [2010-07-23 Fri 15:57]--[2010-07-23 Fri 15:57] => 0:00 >> - [[http://orgmode.org/][Org-Mode: Your Life in Plain Text]] >> - [[http://orgmode.org/worg/][Hello Worg!]] >> ** TODO Two >> CLOCK: [2010-07-23 Fri 15:59]--[2010-07-23 Fri 16:00] => 0:01 >> >> >> ;;dot-emacs >> ;; Load up Org Mode and Babel >> (setq load-path (cons "~/.emacs.d/elisp/org/lisp" load-path)) >> (setq load-path (cons "~/.emacs.d/elisp/org/contrib/lisp" load-path)) >> >> (require 'org-install) >> >> (require 'org-capture) >> (global-set-key (kbd "C-M-r") 'org-capture) >> >> (server-start) >> ;; org-protocol >> (require 'org-protocol) >> >> (setq org-capture-templates >> '(("t" "task" entry >> (file+headline "refile.org" "Tasks") >> "* TODO %? \n\n\n " :clock-in t :clock-resume t) >> ("x" "save relevant links" item >> (clock) >> "- [[%:link][%:description]]" :immediate-finish t))) >> ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Writing a custom export.
Hi Alex, On Fri, Aug 13, 2010 at 11:39 PM, Alex wrote: > I've been using emacs + org-mode for ~6 months and haven't done any elisp > hacking beyond a custom .emacs file. I would like to write a custom org-mode > export to markdown to play around with elisp and so that I can write readmes > for my github projects in org-mode. Are there any good tutorials on writing > a custom export? A couple of things, 1. Github understands org files. README can be written in org mode also. 2. You should look at org-export-generic [http://orgmode.org/worg/org-contrib/org-export-generic.php] in case you wish to continue with writing your custom export to markdown. > Thanks, Alex Henning > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export TODO keyword
On Mon, Aug 16, 2010 at 9:12 PM, Carsten Dominik wrote: > Hi everyone, > > this has now been a 10-message thread about a bug that was fixed a while > ago. > Please, if you submit a bug report, one part of your required homework > is to try with the latest version of Org-mode available before claiming > there is a bug. Sure! I think this should go onto org-mode site too - http://orgmode.org/org.html#Feedback > > Thanks! > > - Carsten > > On Aug 16, 2010, at 5:37 PM, Nick Dokos wrote: > >> Rares Pop wrote: >> >>> From what I found so far there are no macros involved here. >>> >>> I'll perform the upgrade to the latest version and see how if it's fixed. >>> >> >> It *was* a bug: it was fixed by this commit: >> >> , >> | >> | commit be232c4c212283ca6311cfe35c0bae7719146e55 >> | Author: Carsten Dominik >> | Date: Thu May 13 08:47:26 2010 +0200 >> | >> | LaTeX export: Fix TODO keyword export >> | >> | diff --git a/lisp/ChangeLog b/lisp/ChangeLog >> | index 45c9ec7..04c9ecb 100644 >> | --- a/lisp/ChangeLog >> | +++ b/lisp/ChangeLog >> | @@ -1,3 +1,8 @@ >> | +2010-05-13 Carsten Dominik >> | + >> | + * org-latex.el (org-export-latex-keywords-maybe): Protect the >> | + TODO markup. >> | + >> | 2010-05-13 Mikael Fornius >> | >> | * org-habit.el (org-habit-build-graph): Help-echo date when >> | diff --git a/lisp/org-latex.el b/lisp/org-latex.el >> | index e3544bf..afa0be2 100644 >> | --- a/lisp/org-latex.el >> | +++ b/lisp/org-latex.el >> | @@ -1289,7 +1289,8 @@ links, keywords, lists, tables, fixed-width" >> | (cdr todo-markup) (car todo-markup))) >> | (t (cdr (or (assoc (match-string 1) todo-markup) >> | (car todo-markup)) >> | - (replace-match (format fmt (match-string 1)) t t))) >> | + (replace-match (org-export-latex-protect-string >> | + (format fmt (match-string 1))) t t))) >> | ;; convert priority string >> | (when (re-search-forward "\\[#.\\]" nil t) >> | (if (plist-get remove-list :priority) >> ` >> >> so an upgrade should fix it. > > - Carsten > > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Git pull breaks agenda?
On Tue, Aug 17, 2010 at 12:09 AM, Markus Heller wrote: > Hello, > > I just pulled: M-x org-version is 7.01trans (release_7.01h.140.g3082). > Now, C-c a a does not work anymore, instead, I get an empty agenda. Has > somebody else noticed this behavior? I can confirm this. > > What to do? > > Thanks > Markus > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Git pull breaks agenda?
On Tue, Aug 17, 2010 at 12:43 PM, Bastien wrote: > Hi Markus, > > Markus Heller writes: > >> Now `C-c C-x C-o' seems to be broken for me ... Anybody else see this? >> >> M-x org-version is 7.01trans (release_7.01h.142.g1ab9). > > Working fine here: > > Org-mode version 7.01trans (release_7.01h.143.g17ace.dirty) The problem is fixed now. It was fixed in the following commit. commit 1ab9b17ee8154d8b5d7794cc28b367bf6960c338 Author: David Maus Date: Mon Aug 16 21:06:12 2010 +0200 Delete excluded lines directly after call to sorting filter function. * org-agenda.el (org-finalize-agenda-entries): Delete excluded lines directly after call to sorting filter function. > > I think you need to pull. Let me know, > > -- > Bastien > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Archive Tasks
Karl, On Wed, Aug 18, 2010 at 10:36 AM, Karl Maihofer wrote: > Is there a way to tell org, that there should be a first level called > "Tasks" and a second called "Client 1"? Bernt's setup describes how to do this. http://doc.norang.ca/org-mode.html#OrgFileStructure -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] EmacsForMacOSX - copy & paste in orgmode
Hi Erwin, On Wed, Aug 18, 2010 at 3:31 PM, Erwin Panen wrote: > Hi Juan, > > I hope you don't mind me mailing you directly. I copied orgmode list in cc. > > Do you have a way to copy / paste between say Firefox and Emacs / orgmode? I don't use MacOSX. But, I have the following elisp code in my dot-emacs (Linux). (setq x-select-enable-clipboard t) I think this should work for you too. I'm not sure, though. HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org capture templates - file paths
2010/8/19 Gustav Wikström : > Hello! > I'm having some trouble with org-capture. Could someone explain to me why > the following is not working? (And what to do to get it to work..) > Code: > (defvar my-gtd-inbox-file (concat my-gtd-root "inbox.org")) > ;;; Capture templates > (setq org-capture-templates > '(("n" "Note" entry (file my-gtd-inbox-file) > "* %?\n %i\n %a") > ("j" "Journal" entry (file+datetree my-gtd-journal-file) > "* %?\nEntered on %U\n %i\n %a"))) > End code. > what I've figured so far is that variables cannot be used in templates... Is > there some workaround for this, or could it possibly be implemented? I need > it since i'm on multiple systems where paths to the same files might differ > depending on the system in use... >From what I understand from the docs (I didn't look at the code), variables cannot be used. One way to work around this problem is to use the org-directory variable. (setq org-directory "~/life-in-plain-text/") Then, you need not specify the path in the capture templates. You can just specify the file name (inbox.org) HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org capture templates - file paths
On Thu, Aug 19, 2010 at 5:26 PM, Magnus Henoch wrote: > Gustav Wikström writes: > >> (setq org-capture-templates >> '(("n" "Note" entry (file my-gtd-inbox-file) >> "* %?\n %i\n %a") >> ("j" "Journal" entry (file+datetree my-gtd-journal-file) >> "* %?\nEntered on %U\n %i\n %a"))) > > Backquotes and commas are your friends: Thanks! I didn't know this. > > (setq org-capture-templates > `(("n" "Note" entry (file ,my-gtd-inbox-file) > "* %?\n %i\n %a") > ("j" "Journal" entry (file+datetree ,my-gtd-journal-file) > "* %?\nEntered on %U\n %i\n %a"))) > > Read more at > http://www.gnu.org/s/emacs/manual/html_node/elisp/Backquote.html . > > Magnus > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [unimportant] A few org quotes
I was just digging twitter for some interesting stuff people do with org-mode. I found a few quotes that could possibly get into org-quotes.org on Worg. + Emacs org-mode makes me happy. That is all. http://orgmode.org/ -- Ben Martin on [[http://twitter.com/captaindomestic/status/11365764258][Twitter]] + I'll use org mode, goodbye strange and uncompatible software, hello pure text. João Brito http://bit.ly/9qkfRc #orgmode, #emacs -- Aris Bezas on [[http://twitter.com/igoumeninja/status/15914621527][Twitter]] + @middleclasstool Been reading about orgmode too, huh? That's the only reason I'm considering betraying vi -- dusty/coriolisdave on [[http://twitter.com/coriolisdave/status/19606734765][Twitter]] + Org-Mode is the handiest application I have ever used. #orgmode #emacs -- Jason Scroggins on [[http://twitter.com/Jason_Scroggins/status/20248854640][Twitter]] In general, how does a quote get into Worg? Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [unimportant] A few org quotes
Hi Carsten, On Fri, Aug 20, 2010 at 1:50 AM, Carsten Dominik wrote: > > > If you have write access to Worg (you get write access by > writing to Bastien that you want it), then you can edit > the file org-quotes.org. Just append new quotes to the > appropriate first section, using the same format as other > quotes do. I do have write access to Worg, but I was wondering who decides which quotes are worth going there and which are not. -- Puneeth > > Thanks! > > - Carsten > > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] export to latex broken
Hi, Exporting from org to LaTeX is broken on the master. Git bisect gives the bad commit as 034dbac3eecd "Search for LaTeX setup case-insensitively" -- Puneeth ps : Thanks to ngz for a patient IRC tutorial on git bisect. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export to latex broken
On Fri, Aug 20, 2010 at 9:55 PM, Carsten Dominik wrote: > > On Aug 20, 2010, at 4:36 PM, Puneeth wrote: > >> Hi, >> >> Exporting from org to LaTeX is broken on the master. >> >> Git bisect gives the bad commit as 034dbac3eecd >> "Search for LaTeX setup case-insensitively" > > OK, I have reverted it. > > Can you please describe what happened? Sorry for the incomplete report. I'd been using C-c C-e ?d and getting a direct pdf output which was garbled. Getting a LaTeX output and compiling gives me a clearer picture. The documentclass is getting appended with a "random" character. pdflatex gave me this error --- ! Undefined control sequence. l.2 \documentclassT {article} --- Removing that "T" from the end of documentclass solves the problem. (and I think the T is coming from the org file itself. I get a different character in different documents.) HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output
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 to me which changes > he had to do for that, nor if that is available to free wordpress > users... I do not understand the part about wordpress shortcodes and stuff. For the theme I use on my wordpress.com blog, I do not get any syntax highlighting from the direct html export of org(2blog). I only learnt, recently that wordpress has a special way to include code for syntax highlighting. (Some themes seem to highlight code in documents generated directly using org's export. for eg: [1]) > Oh, and by the way, with Org-mode version 7.01h I concur with Eric in > that I unfortunately still lose the linebreaks and get LaTeX code > modified with Benjamin's new version.. 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 org-export-as-html. It checks for and tags and leaves out the newlines within those tags. This is (most) probably what is causing trouble. I'll only be able to look into it in the weekend. Anybody is free to beat me to that. :) HTH, Puneeth [1] - http://rvftestblog.wordpress.com/2010/08/14/testing-code-blocks/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [BUG] export to latex breaks
Hi All, I'm on Org-mode version 7.01trans (release_7.01h.205.ge3d2) The LaTeX export of document test.org breaks. The headings Day 1 and Day 2 and content under them is not visible. [I have org-odd-levels-only set] Git bisect says - bb0a1f190be361ce1d717d79d411b88406d74c33 is the first bad commit commit bb0a1f190be361ce1d717d79d411b88406d74c33 Author: Stephen Eglen Date: Tue Jul 27 20:04:42 2010 + The patch below fixes the problem partially. Export of test.org works. But, export of test2.org breaks. The subheading Day 2 does not show up. [test2.org produces the same output without applying the patch, too. I'm do not think that is an acceptable output.] HTH, Puneeth - PARTIAL FIX - diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 4f27f42..6bc6f71 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -966,10 +966,10 @@ If ODD Is non-nil, assume subcontent only contains odd sections." (number-to-string (+ (if odd 4 2) level)) ",\\}\\) \\(.*\\)$") nil t) - (setq nstars (1- (- (match-end 1) (match-beginning 1 + (setq nstars (- (match-end 1) (match-beginning 1))) (setq new-level (if odd - (/ (+ 3 nstars) 2);; not entirely sure why +3! - nstars))) + (- nstars 2) + (1- nstars (if nstars (org-export-latex-parse-global new-level odd) nil) ; subcontent is nil - test.org Description: Binary data test2.org Description: Binary data ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output
On Wed, Aug 25, 2010 at 6:21 PM, Puneeth wrote: >> Oh, and by the way, with Org-mode version 7.01h I concur with Eric in >> that I unfortunately still lose the linebreaks and get LaTeX code >> modified with Benjamin's new version.. > > 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 > org-export-as-html. It checks for and tags and > leaves out the newlines within those tags. This is (most) probably > what is causing trouble. > > I'll only be able to look into it in the weekend. Anybody is free to > beat me to that. :) This has been fixed. Thanks to a patch from Benjamin Beckwith. You can now use any WP shortcode blocks in your org2blog posts, without losing line breaks. Also, org2blog now directly posts babel src blocks as WP's sourcecode blocks, without modifying the src blocks in your org file. Just like with Benjamin's hook function, :syntaxhl header option can still be used to pass additional arguments to WP's syntaxhighlighter. Happy Blogging, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output
Rafael, This has been Done. Happy Blogging, Puneeth On Sun, Aug 29, 2010 at 11:48 PM, Rafael wrote: > > Now, in case you wanted to have some more feature requests, ;-), here > they are: > > 1. Making an option to disable the inclusion of ':light="true"'. > > 2. Note that Wordpress also includes support for inline math expressions > written in LaTeX, like this: $latex E=mc^2$, and displayed expressions, > like this: $latex \displaystyle E=mc^2$ > (http://rvftestblog.wordpress.com/2010/08/24/code-blocks-again/ to see > what I mean). So it would be great if, the > exporter could translate $$ into $latex $ and > > \begin{equation} > ... > \end{equation} > > into > > $latex \displaystyle .. $. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [manual] Update solution for orgmode and yasnippet conflict
Hi all, I was trying to configure yasnippet for org-mode with the help of the conflicts page [1] in the emacs manual. But I could not get it working. Apparently the latest version of yasnippet does not work with the solution given in the manual. After some searching, I found a solution in Eric Schulte's emacs-starter-kit[2]. Can someone update the manual? Thanks, Puneeth [1] - http://orgmode.org/manual/Conflicts.html [2] - https://github.com/eschulte/emacs-starter-kit/raw/master/starter-kit-org.org ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode][PATCH] How do I include text between a range of line numbers with #INCLUDE
Hi Bastien On Tue, Jan 18, 2011 at 6:18 AM, Bastien wrote: > Hi Puneeth, > > Puneeth writes: > >> Here is a patch with a ChangeLog entry and documentation for the >> manual. > > I applied it -- thanks for it! Great! Thanks! > > I added minor modifications to the code and the documentation. > You can check them from http://orgmode.org/w/org-mode.git I have seen them. Thanks for the clean up! :) >> Please tell me if it looks OK. Also, I hope using >> git-format-patch is the right way to send this page. If not, what is >> the right way? > > It is *one* of the right way. > > For those patches -- as produced with git format-patch and attached to > emails -- I should apply them directly, not using pw (my bad I used pw > this time). > > Some people send patches using git send-mail: > > http://www.kernel.org/pub/software/scm/git/docs/git-send-email.html > > This way I can safely use pw: the commit summary will be the subject > line, and the commit message will be the ChangeLog entry (that you had > right btw.) Ok. Will look into that. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Not opening .tex file when exporting to pdf?
On Wed, Jan 19, 2011 at 5:30 PM, Noorul Islam wrote: > On Wed, Jan 19, 2011 at 5:11 PM, Rainer M Krug wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi >> >> I export my org files quite often to a pdf, but I am not interested in >> the .tex file --- I don't mind it (it is needed) and I would not like it >> to be deleted after the pdf has been created, but is there an option to >> *not* opening it in emacs? >> >> The same applies by the way also for export to html - how can I avoid of >> having the html opened in a buffer - my browser is fine for me. >> > > Did you try C-c e d ? > > and C-c e b? You will need to set the variable `org-export-kill-product-buffer-when-displayed' for this to work. HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug involving *bold* text in second level headings
On Tue, May 18, 2010 at 2:53 AM, Ali Tofigh wrote: > i'm using org version 6.36. writing *bold* text does not work in > second level headings, which is very weird since it works in all other > levels (i've tried up to 60 levels...). For example try the following: > > * text *bold* text > ** text *bold* text > *** text *bold* text I use Org-mode version 6.36trans (release_6.36.65.g2139) on GNU Emacs 23.2.1 I thought it works fine for me, until I realised that I have org-odd-levels-only set. > /ali > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Puneeth Chaganti ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Fix typo in documentation
Hi, Fixed mis-spelt variable org-columns-skip-archived-trees. Thanks, Puneeth diff --git a/doc/org.texi b/doc/org.texi index 0ff76b6..eee5c5c 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -6440,9 +6440,9 @@ Archived trees are not exported (@pxref{Exporting}), only the headline is. Configure the details using the variable @code{org-export-with-archived-trees}. @item -...@vindex org-columns-skip-arrchived-trees +...@vindex org-columns-skip-archived-trees Archived trees are excluded from column view unless the variable -...@code{org-columns-skip-arrchived-trees} is configured to @code{nil}. +...@code{org-columns-skip-archived-trees} is configured to @code{nil}. @end itemize The following commands help managing the ARCHIVE tag: diff --git a/lisp/ChangeLog.01 b/lisp/ChangeLog.01 index 38b1fad..946e533 100644 --- a/lisp/ChangeLog.01 +++ b/lisp/ChangeLog.01 @@ -3343,7 +3343,7 @@ `truncate-lines'. (org-columns): Remember the value of `truncate-lines'. - * org.el (org-columns-skip-arrchived-trees): New option. + * org.el (org-columns-skip-archived-trees): New option. * org-agenda.el (org-agenda-export-html-style): Define color for org-agenda-done face. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] sup-mail link
On Sun, Jun 13, 2010 at 1:49 AM, Eric S Fraga wrote: > On Sat, 12 Jun 2010 11:25:40 -0700, Daniel Goldin > wrote: >> >> Anybody know of a way to link to a sup-mail email? > > What is a "sup-mail" email? Sorry if I'm being ignorant here... I think he's referring to this mail client - http://sup.rubyforge.org/ -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Fix typo in date/time prompt documentation
Hi, A patch to fix an error in documentation of date/time prompt section. Thanks, Puneeth ps: Interestingly, today is June 13th too. :) diff --git a/doc/org.texi b/doc/org.texi index eee5c5c..56728b4 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -5137,7 +5137,7 @@ in @b{bold}. 2/5/3 --> 2003-02-05 14--> @b{200...@b{06}-14 12--> @b{200...@b{07}-12 -2/5 --> @b{2003}-02-05 +2/5 --> @b{2007}-02-05 Fri --> nearest Friday (defaultdate or later) sep 15--> @b{2006}-09-15 feb 15--> @b{2007}-02-15 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] any idea how to convert org file to MS WORD an retain text structure?
Hi, On Tue, Jun 15, 2010 at 5:57 PM, Rainer Stengele wrote: > Hi! > > I love to edit documents in Org. > Unfortunately I have to finally deliver text in MS Word. > > Any idea how to best export/convert my org file to Word? > > I tried HTML export and then imported the html in Word but > I end up in an unusable xml style document which word wants an stylesheet for > which I do not have. I don't have MS Word around, so I can't be sure. But, stripping off the the xml header [ ] and then opening it in OpenOffice works fine for me. I tested with a simple document, with a couple of sections and sub-sections and some unnumbered lists. Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Footnote incorrect in Worg
Hi, The How to page on using git for Worgers has a mistake at http://orgmode.org/worg/worg-git.php#fnr.1. The footnote does not contain the actual error message displayed. Thanks, Puneeth ps: I am actually behind a http proxy and it does not allow me to access git urls (git://), but I can ssh through the proxy. When I clone using (git+ssh://) I get the following error ssh: connect to host repo.or.cz port 22: Connection timed out fatal: The remote end hung up unexpectedly Is this because, I haven't dropped a mail to Bastien? or is it because my proxy doesn't allow me to connect using the git:// url? Is there a way out, in that case? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Footnote incorrect in Worg
On Mon, Jun 21, 2010 at 1:51 AM, Puneeth Chaganti wrote: [..] > I am actually behind a http proxy and it does not allow me to access > git urls (git://), but I can ssh through the proxy. When I clone using > (git+ssh://) I get the following error > > ssh: connect to host repo.or.cz port 22: Connection timed out > fatal: The remote end hung up unexpectedly > > Is this because, I haven't dropped a mail to Bastien? or is it because > my proxy doesn't allow me to connect using the git:// url? Is there a > way out, in that case? Sorry. My bad. ssh wasn't working during that time. Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [O] Release 7.6
On Thu, Jul 7, 2011 at 12:46 PM, Bastien wrote: > Dear all, > > I'm releasing Org 7.6. Congratulations to Bastien and everybody else who made this release possible! -- Puneeth
Re: [O] Release 7.6
Bastien On Thu, Jul 7, 2011 at 12:46 PM, Bastien wrote: > Dear all, > > I'm releasing Org 7.6. > > You can get it from the website as an archive: > > http://orgmode.org/org-7.6.zip > http://orgmode.org/org-7.6.tar.gz Looks like a new tag with release_7.6 has not been created. Shouldn't one be created? Thanks, Puneeth
Re: [O] Exporting to wiki syntax from org mode
On Sun, Jul 17, 2011 at 1:21 PM, damitr wrote: > Hi, > > Is there any option for exporting .org file to a wiki syntax? > If there is none, are there any people working on it? There's an experimental generic exporter written by Bastien. It comes along with an experimental exporter to Mediawiki format[1]. It can be easily ported to any other wiki system. I have something that works for MoinMoin syntax [2]. Thanks, Puneeth [1] - http://orgmode.org/w/?p=org-mode.git;a=tree;f=EXPERIMENTAL;h=9403cfb0871d25c64c4aa9704ebaeacfcd42498c;hb=HEAD [2] - https://github.com/punchagan/omnium-gatherum/blob/master/org-moinmoin.el
Re: [O] Exporting to wiki syntax from org mode
Hi Bastien, On 7/18/11, Bastien wrote: [..] > >> I have something that works for MoinMoin syntax [2]. > > Looks great, looking forward an official release :) I'm not sure, what you mean by an "official" release. I'm attaching the org-mm.el file here. Please add it to the EXPERIMENTAL directory, if you think that's the right way to go about it. Otherwise, tell me what would be the best way to "officially" release it. > > PS: Maybe you can just fix s/Bastien G./Puneeth Chaganti in this > file, so that I will not be credited for this piece of code? :) :) Sorry for leaving your name, against code that you didn't write. I had been using this exporter for a particular task I had been doing, during a period of time. Didn't really bother about minor details and making the code public. -- Puneeth ;;; org-mm.el --- MoinMoin backend for org-export.el ;; ;; Copyright 2010, 2011 Puneeth Chaganti ;; ;; Emacs Lisp Archive Entry ;; Filename: org-mm.el ;; Version: 0.2 ;; Author: Puneeth Chaganti ;; Keywords: MoinMoin Org export ;; Description: MoinMoin exporter for Org ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 3, or (at your option) ;; any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with this program; if not, write to the Free Software ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ;; ;; A portion of this code is based on org-mw.el by Bastien Guerry. ;; ;;; Commentary: ;; ;; org-mm.el lets you convert Org files to MoinMoin files using ;; the org-export.el experimental engine. ;; ;; Put this file into your load-path and the following into your ~/.emacs: ;; (require 'org-mm) ;; ;; You also need to fetch Org's git repository and add the EXPERIMENTAL/ ;; directory in your load path. ;; ;; Fetch Org's git repository: ;; ;; ~$ cd ~/install/git/ ;; ~$ git clone git://repo.or.cz/org-mode.git ;; ;; Put this in your .emacs.el: ;; ;; (add-to-list 'load-path "~/install/git/org-mode/EXPERIMENTAL/") ;; ;; Export Org files to MoinMoin: M-x org-mm-export RET ;; ;;; Todo: ;; ;; - handle radio links ;; - support caption and attributes in tables ;; - better handline of source code and examples ;; - handle inline HTML ;; ;;; Code: (require 'org-export) (defvar org-mm-emphasis-alist '(("*" "'''%s'''" nil) ("/" "''%s''" nil) ("_" "__%s__" nil) ("+" "--%s--" nil) ("=" "`%s`" nil)) "The list of fontification expressions for MoinMoin.") (defvar org-mm-export-table-table-style "") (defvar org-mm-export-table-header-style "") (defvar org-mm-export-table-cell-style "") (defun org-mm-export () "Export the current buffer to MoinMoin." (interactive) (setq org-export-current-backend 'mm) (org-export-set-backend "mm") ;; FIXME see the problem `org-mm-export-footnotes' ;; (add-hook 'org-export-preprocess-final-hook 'org-mm-export-footnotes) (add-hook 'org-export-preprocess-before-backend-specifics-hook 'org-mm-export-src-example) (org-export-render) ;; (remove-hook 'org-export-preprocess-final-hook 'org-mm-export-footnotes) (remove-hook 'org-export-preprocess-before-backend-specifics-hook 'org-mm-export-src-example)) (defun org-mm-export-header () "Export the header part." (let* ((p (org-combine-plists (org-infile-export-plist) org-export-properties)) (title (plist-get p :title)) (author (plist-get p :author)) (date (plist-get p :date)) (level (plist-get p :headline-levels))) (insert (format "= %s by %s =\n\n" title author)) (if (plist-get p :table-of-contents) (insert (format "<>\n" level) (defun org-mm-export-first-lines (first-lines) "Export first lines." (insert (org-export-render-content first-lines) "\n") (goto-char (point-max))) (defun org-mm-export-heading (section-properties) "Export MoinMoin heading" (let* ((p section-properties) (h (plist-get p :heading)) (s (make-string (1+ (plist-get p :level)) ?=))) (insert (format "%s %s %s\n" s h s (defun org-mm-export-quote-verse-center () "Export #+BEGIN_QUOTE/VERSE/CENTER environments." (let (rpl e) (while
[O] [bug] Lists get appended with
Hi Bastien, Exporting an org-file using org-mw-export appends a
Re: [O] Use org for jobs/resume writing?
Hi Nathan, On 7/19/11, Nathan Neff wrote: [..] > Now that org has odt-export and of course HTML, etc. I'm re-thinking using > .org > for resume writing. > > Anyone else? I have recently started using Org-mode for my Resume [1]. I have created a custom LaTeX stylesheet, that I use, for the LaTeX export. HTH, Puneeth [1] - https://github.com/punchagan/resume
[O] [bug] Org-capture bug due to recent dired-buffers related feature
Hi Nicolas, The recent commit that adds a dired-buffer related feature, breaks org-capture when dired-mode has not been loaded. The dired-buffers variable becomes available only when dired-mode has been loaded atleast once. Thanks, Puneeth Git bisect output, just for reference. 819fbec64160c3c33884b116734c01f56be7606b is the first bad commit commit 819fbec64160c3c33884b116734c01f56be7606b Author: Nicolas Goaziou Date: Mon Jul 18 17:42:01 2011 +0200 org-capture: %F is directory when capture starts in a dired buffer * lisp/org-capture.el (org-capture): if no file is associated to current buffer, check dired buffer and try to retreive a possibly directory associated. :04 04 2ae961f6f609dbc28aa8e727df5a04465991645d 02aef5b5063d0642d4b260b7567a1e135bf73a14 M lisp
Re: [O] [bug] Org-capture bug due to recent dired-buffers related feature
Nicolas, On 7/19/11, Nicolas Goaziou wrote: > Hello, > > Puneeth Chaganti writes: > >> The recent commit that adds a dired-buffer related feature, breaks >> org-capture when dired-mode has not been loaded. The dired-buffers >> variable becomes available only when dired-mode has been loaded >> atleast once. > > True. This should be fixed now. Let me know if this isn't the case. Fixed, thanks! -- Puneeth
Re: [O] convert html file into orgmode .org file?
On Thu, Jul 21, 2011 at 2:08 PM, Jude DaShiell wrote: > Can org-mode do this so that a user of orgmode can edit the page in > orgmode then export the edited work back out to an html file? Org-mode cannot import html files. But, you could try using Pandoc[1] for this. [1] - http://johnmacfarlane.net/pandoc/ -- Puneeth
Re: [O] howto paste html table in org-mode
On Wed, Jul 27, 2011 at 3:20 AM, OSiUX wrote: > How to paste (and convert automatically) html table in org-table? There was a discussion [1], very recently, on converting a html doc to an org file. It should help. HTH, Puneeth [1] - http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg01226.html
Re: [O] Reg: Publishing in html using property tags
Hi Bodhi, On Sun, Aug 14, 2011 at 9:43 PM, Bodhi wrote: > Hi, > I am trying to publish my content in html using the ID and PROPERTY tags. > But the end result is a href with no content. > Can you give a more detailed description of what you are trying to do? A simplified example to replicate what you are trying to do, would be handy. -- Puneeth
Re: [O] Reg: Publishing in html using property tags
Hi Bodhi, On Mon, Aug 15, 2011 at 9:20 AM, Bodhi wrote: > Hi Puneeth, > Let us assume I have two files: foo.org and bar.org. > foo.bar contains: > :PROPERTIES: > :CUSTOM_ID: testing > :END: > > bar.org contains > [[CUSTOM_ID:testing]] > > Now, I wish to click on bar.org's link, and it should open up the file > foo.org. Is there a way to do so? To be more specific, I wish to put any > link without any relative or absolute addressing, and I should still be able > to jump to links, using some kind of invisible data base which org-mode > uses. And I wish to convert it to html for publishing these documents, using > the htmlize.el by Niksic. To be able to do this, you should let org-mode create a universal ID for the heading that you want to link to. The following steps should help you do this. 1. Make sure you have the org-id module loaded. : (require 'org-id) 2. In the file foo.org, go to the first heading (presuming that's the heading you want to link to). 3. Call the function =org-store-link=. : M-x org-store-link 4. Go to the location in bar.org, where you want to insert the link. 5. Call the function =org-insert-link=. : M-x org-insert-link Use the arrow keys to select the link you want to insert, from the list. HTH, Puneeth
Re: [O] Reg: Publishing in html using property tags
On Mon, Aug 15, 2011 at 1:44 PM, Bodhi wrote: > Dear Puneeth, > The org-mode link works magically. Thanks! > But the same doesn't work for the generated html page. > The pages get built, and the ID gets created, the html href contains that > unique ID, but the browser is unable to load foo.html from the link in > bar.html. > > Did you get any success on that front? Any ideas? I'm running org-mode 7.4. If both the files are exported, it seems to work, doesn't it? Make sure both, foo.org and bar.org are exported. -- Puneeth
Re: [O] Reg: Publishing in html using property tags
On Tue, Aug 16, 2011 at 11:01 PM, Bodhi wrote: > Nope. No luck. :( > Both files are exported, because I can individually access foo.html and > bar.html. Where does the link in foo.html point to? Can you send the sample files that you are using? Or a simplified version of them? -- Puneeth
Re: [O] Reg: Publishing in html using property tags
On Wed, Aug 17, 2011 at 8:51 AM, Bodhi wrote: > Here you go. I'm not able to make my org-mode use the PROPERTY ID that's already been defined by you. I got rid of it and created a new ID. The export works for me. I tested with realease_7.4 without any of my customizations. (`emacs -Q`). I don't know what could be wrong with your setup. But, I noticed one thing. Your IDs had capital alphabets, where as my ID never gets capital alphabets. I don't think this should be the cause of the problem, but that's the only difference I could notice. Can someone with more knowledge about org-id and the html export help? -- Puneeth
Re: [O] Org Mode export: xelatex
On Thu, Aug 18, 2011 at 9:09 PM, Rainer Thiel wrote: > I am aware I am not the only one who wants to export text written in > org-mode in pfd through XeLaTeX. In fact, I am aware of Kieran > Healy's blog and of > <http://emacs-fu.blogspot.com/2011/04/nice-looking-pdfs-with-org-mode-and.html>, > but can't seem to find a solution that wotks for me. I use Emacs 23 > on a Windows Vista machine. > > I do manage to persuade org-mode to use XeLaTeX instead of pdfLaTeX, > but org-mode insists upon including the fontenc and inputenc packages > even though in org-export-latex-default-packages-alist both packages > are set to "nil". So compilation of the tex-file produced by org-mode > fails. I can heal this by manually removing both packages from the > tex-file, but this, of course, detracts much from the convenience I am > used to in using org-mode. > > Any hints how to solve this problem? Did you look at this FAQ entry[1]? I think this is what you are looking for. [1] - http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export -- Puneeth
Re: [O] missing todo's in agenda after emacs/org upgrade
On Thu, Aug 18, 2011 at 11:11 PM, wrote: > Hi Suvayu, > > On 18 Aug 2011, at 18:44, suvayu ali wrote: > >> It might be helpful to know how your TODO entries are formatted. Maybe >> its not the setup, but how the agenda files are formatted that was >> causing the issue? >> >> In any case, good to hear it is resolved now. > > That’s the problem, the issue is *not* resolved… the todo items show up in > the global todo list, but still not in the daily agenda view. As far as I understand, this has been changed. Agenda view doesn't show the TODO list anymore, by default. Look at the following commit for details. -- commit 770c2ddfba5c173d1b33e7b247b49a8188994f76 Author: Bernt Hansen Date: Tue Apr 5 01:05:43 2011 + Remove obsolete functionality to add todo list in front of agenda * lisp/org-agenda.el: Remove obsolete code for adding todo list in front of the agenda Todo lists should be built with the TODO list or a block agenda instead. This code was triggered for C-u R in block agendas which is used to limit the clock report to the current tags filter applied to the agenda. -------- HTH, Puneeth
Re: [O] github: (partial) support for Org-mode files
Hi Karl, Org-mode support in GitHub is provided by the package org-ruby[1][2]. Looking at the source code and test-cases here would give you a fair idea of what is supported and what is not. Also, the version of org-ruby presently deployed on GitHub is a bit old, and the latest release comes with quite a few fixes and new features. One of us could probably write to GitHub, asking them to update the package being deployed. I tried contacting them on twitter a few weeks back, but didn't work. Thanks, Puneeth [1] - https://github.com/bdewey/org-ruby [2] - http://lists.gnu.org/archive/html/emacs-orgmode/2011-09/msg00067.html On Sun, Oct 9, 2011 at 7:10 PM, Karl Voit wrote: > Hi! > > Some of you might have already noticed that github[1] does provide > some basic support[2] for Org-mode files. Therefore you can use > files like «README.org» instead of «README» or «README.txt». > > I started to use Org-mode format for readme files recently[3]. I > realized, that there is only partial support of Org-mode syntax on > github. > > In order to test those settings I ended up in committing various > tests in my project just to look how github presents my readme file. > > Today I created a simple github project for testing purposes (only): > > https://github.com/novoid/github-orgmode-tests > > Probably you might have the very same demand for testing and want to > join me in using this Org-mode-github test repository instead of > creating one for your own :-) > > > PS: is there an already existing Org-mode demofile containing all > basic syntax examples? > > 1. http://github.com > 2. https://github.com/github/markup#readme > 3. https://github.com/novoid/Memacs > -- > Karl Voit > > > -- Puneeth
Re: [O] Minimal overhead Org-mode blogging system
On 12/4/11, Karl Voit wrote: > Hi! > > I got a nice idea on how a very easy to use Org-mode blog system > should look like. > > Currently, I am using Serendipidy with web-based editor to write > HTML. Org-mode enabled me to write blog entries and export it to > HTML. Then I paste the HTML and have to modify minor things (images, > ...) a bit. I guess the time from finishing the Org-mode entry to > the final blog entry is approximately ten to twenty minutes. > > Overall, I do not want to do this process when I just want to > quickly write a view paragraphs within a couple of minutes. I need > a workflow with much less annoying overhead. > > Therefore I sat down and thought about a workflow that should be > enough for writing simple weblog entries: > > - create an Org-mode heading (anywhere!) > - make sure that there is an (uniq) :ID: property > - add the tag :blog: to heading > - > - change state of top-heading to DONE > - this enables blog entries «in the queue» > - (manually) invoke generation-script > > This enables me quick blogging with a list of advantages: > > - a blog entry can be located anywhere in all of my Orgmode files > - no extra formatting steps > - very small (almost non-existent) overhead to create a blog entry > - no duplicate information > - updates only in Orgmode, not HTML or any in-between format > - static (fast) pages > - self-hosting without any fancy services behind like RDBS I have a system, that does most of what you are looking for. https://github.com/punchagan/blog-files Though it seems to be a little more complicated than it needs to be, it works for me and I haven't had the time and motivation to simplify it. -- Puneeth
Re: [O] Minimal overhead Org-mode blogging system
Hi Kurt, On Thu, Dec 8, 2011 at 6:01 AM, Karl Voit wrote: > * Puneeth Chaganti wrote: >> On 12/4/11, Karl Voit wrote: >>> >>> Therefore I sat down and thought about a workflow that should be >>> enough for writing simple weblog entries: >>> >>> - create an Org-mode heading (anywhere!) >>> - make sure that there is an (uniq) :ID: property >>> - add the tag :blog: to heading >>> - >>> - change state of top-heading to DONE >>> - this enables blog entries «in the queue» >>> - (manually) invoke generation-script >>> >>> This enables me quick blogging with a list of advantages: >>> >>> - a blog entry can be located anywhere in all of my Orgmode files >>> - no extra formatting steps >>> - very small (almost non-existent) overhead to create a blog entry >>> - no duplicate information >>> - updates only in Orgmode, not HTML or any in-between format >>> - static (fast) pages >>> - self-hosting without any fancy services behind like RDBS >> >> I have a system, that does most of what you are looking for. >> >> https://github.com/punchagan/blog-files > > ... I really do like your blog (and found several very interesting > entries *g*) but I (can not and) do not want to use Wordpress. I'm sorry that the repository doesn't have a README, but this solution doesn't use Wordpress. It basically uses the publishing mechanism of org-mode and is based on ideas (and code) from org-jekyll and reprise.py (https://github.com/uggedal/reprise). -- Puneeth
Re: [O] Minimal overhead Org-mode blogging system
On Thu, Dec 8, 2011 at 7:49 PM, Karl Voit wrote: > * Puneeth Chaganti wrote: >> Hi Kurt, > > Almost :-) Aarrgggh! Really sorry about that! My sleep deprivation showing it's effect. :-) > >> On Thu, Dec 8, 2011 at 6:01 AM, Karl Voit wrote: >>> * Puneeth Chaganti wrote: >>>> >>>> https://github.com/punchagan/blog-files >>> >>> ... I really do like your blog (and found several very interesting >>> entries *g*) but I (can not and) do not want to use Wordpress. >> >> I'm sorry that the repository doesn't have a README, > > You have to add a README.org to the project - it's definitely worth > it :-) > > I'd wish for a short description of: > * software requirements > * blog workflow > * limits > > It's part of my letter to Santa Claus already *g* I've added a short README that tries to include the things that you are looking for. But, it's something I wrote up quickly. Feel free to ask any specific questions. Hope that helps, Puneeth
Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks
On 12/11/11, Sankalp wrote: > Hi, > I've been using org mode's #+BEGIN_SRC ... #+END_SRC feature to > display source code. > > I was wondering if there's a way to include code from an external file. > Like the *\lstinputlisting* feature in the LaTeX *listings* package. You could use the #+INCLUDE directive. http://orgmode.org/manual/Include-files.html HTH, Puneeth