Re: [O] [PATCH] Add ob-J.el
Hi all, The doc for ob-J is now available at http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-J.html regards, Oleh On Fri, Dec 20, 2013 at 6:22 PM, Thomas S. Dye t...@tsdye.com wrote: Aloha Oleh, Oleh ohwoeo...@gmail.com writes: Hi all, Here's a patch to add babel support for J. I couldn't figure out how to make ob-J.elc a target for make, maybe someone can fix this. regards, Oleh Are you willing to draft documentation for ob-J.el? You can find a link for a documentation template here: http://orgmode.org/worg/org-contrib/babel/languages.html#develop I'm happy to proof-read and edit draft documentation, if you'd like. We're slowly catching up with the documentation for babel languages. Thanks for your contribution to Org mode! All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[O] --more--?
I'm publishing a rather long org-mode document and want it to break after the first paragraph so that you have to explicitly click the document title to get it all to show. In WordPress its done with '--more--' but what is it done with in org-mode please? I've been looking at the org-mode 'org manual 8.2.3c' but cant find it. Is there such a thing in org-mode please? Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk efever = http://www.efever.blogspot.com/ efever = http://sharon04.livejournal.com/ my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2 Registered Linux user 561944 signature.asc Description: PGP signature
Re: [O] --more--?
On Tue, Dec 24, 2013 at 6:24 PM, Sharon Kimble boudic...@talktalk.net wrote: I'm publishing a rather long org-mode document and want it to break after the first paragraph so that you have to explicitly click the document title to get it all to show. In WordPress its done with '--more--' but what is it done with in org-mode please? I've been looking at the org-mode 'org manual 8.2.3c' but cant find it. Is there such a thing in org-mode please? You just put it in as raw html. See the last item in org2blog's FAQ [1]. [1] - https://github.com/punchagan/org2blog#faq
Re: [O] --more--?
On Tue, 24 Dec 2013 18:28:49 +0530 Puneeth Chaganti puncha...@gmail.com wrote: On Tue, Dec 24, 2013 at 6:24 PM, Sharon Kimble boudic...@talktalk.net wrote: I'm publishing a rather long org-mode document and want it to break after the first paragraph so that you have to explicitly click the document title to get it all to show. In WordPress its done with '--more--' but what is it done with in org-mode please? I've been looking at the org-mode 'org manual 8.2.3c' but cant find it. Is there such a thing in org-mode please? You just put it in as raw html. See the last item in org2blog's FAQ [1]. [1] - https://github.com/punchagan/org2blog#faq Thanks, its working brilliantly now, so much quicker than using wordpresses own editor! :) Sharon. -- A taste of linux = http://www.sharons.org.uk efever = http://www.efever.blogspot.com/ efever = http://sharon04.livejournal.com/ my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2 Registered Linux user 561944 signature.asc Description: PGP signature
Re: [O] Colorizing 'emacs-lisp' when it is exported?
On Mon, 23 Dec 2013 00:07:22 + Sharon Kimble boudic...@talktalk.net wrote: On Sun, 22 Dec 2013 23:49:04 + Sean O'Halpin sean.ohal...@gmail.com wrote: On Sun, Dec 22, 2013 at 4:03 PM, Sharon Kimble boudic...@talktalk.net wrote: Thanks to auntie google I've found out how to keep the formatting of elisp on export to html using '#+BEGIN_SRC emacs-lisp' at the beginning of the code block, and '#+END_SRC' at the end. Whilst its in .emacs its nicely colorized, but how do I colorize the output when its been exported please? For once, google has drawn a blank, unfortunately! Sharon. Have you set this? (setq org-src-fontify-natively t) No I haven't, but I have now. I'll have a further play with it tomorrow I think. Thanks :) Sharon. I've just been trying this out, and its not colorizing the source-code once its published. You can see it here http://www.sharons.org.uk/2013/12/19/hello-world/ and how do I get it so that the block of source-code is shown completely instead of being folded away please? Sharon. -- A taste of linux = http://www.sharons.org.uk efever = http://www.efever.blogspot.com/ efever = http://sharon04.livejournal.com/ my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2 Registered Linux user 561944 signature.asc Description: PGP signature
[O] Fwd: property drawer search -- org-element-headline-parser
Between the version 7.9.3f and 8.2.3a, the org team changed the property drawer from lowercase to capital letters for the org-element-headline-parser -- this resulted in several hours of lost time tracking down the issue. The issue is now resolved -- I hope there was a good reason for changing it. Keith --- Begin forwarded message: From: Keith David Bershatsky e...@lawlist.com Date: December 23, 2013 6:46:57 PM PST To: emacs-orgmode@gnu.org Subject: property drawer search -- org-element-headline-parser The property drawer search (which was working with Org version 7.9.3f) is no longer working with Org version 8.2.3a. The following 'example' function works correctly when using the prior version of org-element-headline-parser. Emacs Trunk (built today) comes with Org version 8.2.3a. (require 'org) (require 'org-element) (defun example () For this example to work, it will need to create a file -- 'org-agenda-files' You may adjust the location of the file. The file will not be deleted automatically. (interactive) (let ((sample-todo (concat ** Active [#A] smith @ drawer-one (fishing) | drawer-two (tennis). :lawlist:\n DEADLINE: 2013-12-21 Sat 17:00 SCHEDULED: 2013-12-21 Sat\n :PROPERTIES:\n :DRAWER-ONE: fishing\n :DRAWER-TWO: tennis\n :END:\n\n ** Next-Action [#B] doe @ drawer-one (football) | drawer-two (bowling). :fred:\n DEADLINE: 2013-12-22 Sun 08:30 SCHEDULED: 2013-12-22 Sun\n :PROPERTIES:\n :DRAWER-ONE: football\n :DRAWER-TWO: bowling\n :END:\n\n ** Reference [#C] john @ drawer-one (fishing) | drawer-two (sky-diving). :george:\n DEADLINE: 2013-12-23 Mon 10:15 SCHEDULED: 2013-12-23 Mon\n :PROPERTIES:\n :DRAWER-ONE: fishing\n :DRAWER-TWO: sky-diving\n :END:\n\n ** Someday [#D] jane @ drawer-one (basket-ball) | drawer-two (bowling). :sam:\n DEADLINE: 2013-12-24 Tues 12:00 SCHEDULED: 2013-12-24 Tues\n :PROPERTIES:\n :DRAWER-ONE: basket-ball\n :DRAWER-TWO: bowling\n :END:))) (if (get-buffer foo.org) (progn (switch-to-buffer foo.org) (erase-buffer) (delete-other-windows)) (switch-to-buffer (get-buffer-create foo.org))) (org-mode) (insert sample-todo) (goto-char (point-min)) (or (y-or-n-p (format For this example work, you must save this buffer as a file. Proceed with example?)) (error Canceled.)) (write-file ~/Desktop/foo.org t) (let* ( (display-buffer-alist nil) ;; lawlist custom setting (filename (buffer-file-name)) (org-agenda-files (list filename)) (org-agenda-only-exact-dates t) (org-agenda-show-all-dates nil) (org-deadline-warning-days 0) (org-agenda-time-grid nil) (org-agenda-span 'month) (org-agenda-entry-types '(:deadline)) (month 12) (year 2013) (org-agenda-start-day (concat year - month - 01)) (drawer-content (read-string basket-ball | bowling | fishing | football | sky-diving | tennis: nil)) (org-agenda-skip-function (lambda () (org-back-to-heading t) (let* ( (element (org-element-at-point)) (drawer-one (org-element-property :drawer-one element)) (drawer-two (org-element-property :drawer-two element))) (cond ((not (or (equal drawer-one drawer-content) (equal drawer-two drawer-content))) (message drawer-one: %s drawer-one) (message drawer-two: %s drawer-two) (org-end-of-subtree t)) (t nil) )) ))) (org-agenda-list)) )) (defalias 'org-element-headline-parser 'lawlist-org-element-headline-parser) (defun lawlist-org-element-headline-parser (limit optional raw-secondary-p) Parse an headline. Return a list whose CAR is `headline' and CDR is a plist containing `:raw-value', `:title', `:begin', `:end', `:pre-blank', `:hiddenp', `:contents-begin' and `:contents-end', `:level', `:priority', `:tags', `:todo-keyword',`:todo-type', `:scheduled', `:deadline', `:timestamp', `:clock', `:category', `:quotedp', `:archivedp', `:commentedp' and `:footnote-section-p' keywords. The plist also contains any property set in the property drawer, with its name in lowercase, the underscores replaced with hyphens and colons at the beginning (i.e. `:custom-id'). When RAW-SECONDARY-P is non-nil, headline's title will not be parsed as a secondary string, but as a plain string instead. Assume point is at beginning of the headline. (save-excursion (let* ((components (org-heading-components))
Re: [O] Org-mode c-c a
Ha, never mind. After several hours of work, I finally figured out my configuration file was being saved as #.emacs # always. Once I changed it to .emacs it seems to have kicked in. Sorry for the bother. Possibly more information on how to get started with the configuration file might be useful, but maybe it's just me. Happy holidays and new year, todd On 12/23/2013 10:26 PM, Todd Neufeld wrote: Hi. I apologize for the very very beginner question, but.. I can't figure out how to get c-c a defined in org-mode. I am using emacs 24.3 on Ubuntu 12.04. I believe I have updated the emacs configuration file with (global-set-key \C-ca 'org-agenda) Yet, somehow I only get c-c a is undefined when I enter that command. I have my emacs configuration file in my home folder, not in an emacs buffer. Not sure if that's right... Though I think that's not the problem as other commands in the file seem to take effect. Anyway, any help would be MUCH appreciated, as I'm enthusiastic to get going with org-mode. So, happy holidays, and many thanks ! todd neufeld
[O] property drawer search -- org-element-headline-parser
The property drawer search (which was working with Org version 7.9.3f) is no longer working with Org version 8.2.3a. The following 'example' function works correctly when using the prior version of org-element-headline-parser. Emacs Trunk (built today) comes with Org version 8.2.3a. (require 'org) (require 'org-element) (defun example () For this example to work, it will need to create a file -- 'org-agenda-files' You may adjust the location of the file. The file will not be deleted automatically. (interactive) (let ((sample-todo (concat ** Active [#A] smith @ drawer-one (fishing) | drawer-two (tennis). :lawlist:\n DEADLINE: 2013-12-21 Sat 17:00 SCHEDULED: 2013-12-21 Sat\n :PROPERTIES:\n :DRAWER-ONE: fishing\n :DRAWER-TWO: tennis\n :END:\n\n ** Next-Action [#B] doe @ drawer-one (football) | drawer-two (bowling). :fred:\n DEADLINE: 2013-12-22 Sun 08:30 SCHEDULED: 2013-12-22 Sun\n :PROPERTIES:\n :DRAWER-ONE: football\n :DRAWER-TWO: bowling\n :END:\n\n ** Reference [#C] john @ drawer-one (fishing) | drawer-two (sky-diving). :george:\n DEADLINE: 2013-12-23 Mon 10:15 SCHEDULED: 2013-12-23 Mon\n :PROPERTIES:\n :DRAWER-ONE: fishing\n :DRAWER-TWO: sky-diving\n :END:\n\n ** Someday [#D] jane @ drawer-one (basket-ball) | drawer-two (bowling). :sam:\n DEADLINE: 2013-12-24 Tues 12:00 SCHEDULED: 2013-12-24 Tues\n :PROPERTIES:\n :DRAWER-ONE: basket-ball\n :DRAWER-TWO: bowling\n :END:))) (if (get-buffer foo.org) (progn (switch-to-buffer foo.org) (erase-buffer) (delete-other-windows)) (switch-to-buffer (get-buffer-create foo.org))) (org-mode) (insert sample-todo) (goto-char (point-min)) (or (y-or-n-p (format For this example work, you must save this buffer as a file. Proceed with example?)) (error Canceled.)) (write-file ~/Desktop/foo.org t) (let* ( (display-buffer-alist nil) ;; lawlist custom setting (filename (buffer-file-name)) (org-agenda-files (list filename)) (org-agenda-only-exact-dates t) (org-agenda-show-all-dates nil) (org-deadline-warning-days 0) (org-agenda-time-grid nil) (org-agenda-span 'month) (org-agenda-entry-types '(:deadline)) (month 12) (year 2013) (org-agenda-start-day (concat year - month - 01)) (drawer-content (read-string basket-ball | bowling | fishing | football | sky-diving | tennis: nil)) (org-agenda-skip-function (lambda () (org-back-to-heading t) (let* ( (element (org-element-at-point)) (drawer-one (org-element-property :drawer-one element)) (drawer-two (org-element-property :drawer-two element))) (cond ((not (or (equal drawer-one drawer-content) (equal drawer-two drawer-content))) (message drawer-one: %s drawer-one) (message drawer-two: %s drawer-two) (org-end-of-subtree t)) (t nil) )) ))) (org-agenda-list)) )) (defalias 'org-element-headline-parser 'lawlist-org-element-headline-parser) (defun lawlist-org-element-headline-parser (limit optional raw-secondary-p) Parse an headline. Return a list whose CAR is `headline' and CDR is a plist containing `:raw-value', `:title', `:begin', `:end', `:pre-blank', `:hiddenp', `:contents-begin' and `:contents-end', `:level', `:priority', `:tags', `:todo-keyword',`:todo-type', `:scheduled', `:deadline', `:timestamp', `:clock', `:category', `:quotedp', `:archivedp', `:commentedp' and `:footnote-section-p' keywords. The plist also contains any property set in the property drawer, with its name in lowercase, the underscores replaced with hyphens and colons at the beginning (i.e. `:custom-id'). When RAW-SECONDARY-P is non-nil, headline's title will not be parsed as a secondary string, but as a plain string instead. Assume point is at beginning of the headline. (save-excursion (let* ((components (org-heading-components)) (level (nth 1 components)) (todo (nth 2 components)) (todo-type (and todo (if (member todo org-done-keywords) 'done 'todo))) (tags (let ((raw-tags (nth 5 components))) (and raw-tags (org-split-string raw-tags : (raw-value (or (nth 4 components) )) (quotedp (let ((case-fold-search nil)) (string-match (format ^%s\\( \\|$\\) org-quote-string) raw-value))) (commentedp (let ((case-fold-search nil)) (string-match
[O] Org-mode c-c a
Hi. I apologize for the very very beginner question, but.. I can't figure out how to get c-c a defined in org-mode. I am using emacs 24.3 on Ubuntu 12.04. I believe I have updated the emacs configuration file with (global-set-key \C-ca 'org-agenda) Yet, somehow I only get c-c a is undefined when I enter that command. I have my emacs configuration file in my home folder, not in an emacs buffer. Not sure if that's right... Though I think that's not the problem as other commands in the file seem to take effect. Anyway, any help would be MUCH appreciated, as I'm enthusiastic to get going with org-mode. So, happy holidays, and many thanks ! todd neufeld
Re: [O] [PATCH] Add ob-J.el
Aloha Oleh, The documentation looks good. Thanks for this contribution to Org mode. All the best, Tom Oleh ohwoeo...@gmail.com writes: Hi all, The doc for ob-J is now available at http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-J.html regards, Oleh On Fri, Dec 20, 2013 at 6:22 PM, Thomas S. Dye t...@tsdye.com wrote: Aloha Oleh, Oleh ohwoeo...@gmail.com writes: Hi all, Here's a patch to add babel support for J. I couldn't figure out how to make ob-J.elc a target for make, maybe someone can fix this. regards, Oleh Are you willing to draft documentation for ob-J.el? You can find a link for a documentation template here: http://orgmode.org/worg/org-contrib/babel/languages.html#develop I'm happy to proof-read and edit draft documentation, if you'd like. We're slowly catching up with the documentation for babel languages. Thanks for your contribution to Org mode! All the best, Tom -- Thomas S. Dye http://www.tsdye.com -- Thomas S. Dye http://www.tsdye.com
[O] [BUG] LaTeX command inside TITLE
Hi Orgers, I just pull the latest git commit from orgmode and I face a strange behavior when exporting orgmode document to LaTeX to PDF. Here is a very minimal orgmode file #+BEGIN_SRC org #+TITLE: Using \alpha or \beta in orgmode title #+END_SRC when running emacs -q over this file and then doing M-x org-latex-export-to-pdf, the generated LaTeX file does not wrap neither the \alpha nor the \beta. Do I miss a recent (important) change to handle such title ? Cheers, Xavier