[O] adapted org-flag-drawer to hide newlines of consecutive drawers to save lines

2013-11-12 Thread Gregor Kappler
Often several consecutive drawers follow the headline in my setup. Maybe this code to hide newlines after drawers is of some use. When drawers are hidden this wastes three lines of screen real estate : * heading : :LOGBOOK:... : :CLOCK:... : :PROPERTIES:... per line. I adapted org-flag-drawer to

Re: [O] [New exporter] custom emphasis in org-emphasis-alist

2013-02-14 Thread Gregor Kappler
t-properties (match-beginning 2) (match-end 2) '(font-lock-multiline t org-emphasis t)) (when org-hide-emphasis-markers (add-text-properties (match-end 4) (match-beginning 5) '

[O] [PATCH] org babel execution and new exporter

2013-02-14 Thread Gregor Kappler
>From a955c54f3ecda02b70933f6b98b8043a4f40d634 Mon Sep 17 00:00:00 2001 From: Gregor Kappler Date: Thu, 14 Feb 2013 18:12:39 +0100 Subject: [PATCH] Export: Prevent babel src blocks from being evaluated if org-export-babel-evaluate is nil * lisp/ox.el (org-export-as): Make sure org-export-babel-evaluate is

[O] [New exporter] custom emphasis in org-emphasis-alist

2013-02-09 Thread Gregor Kappler
uot;question %s" contents) (format (or (cdr (assq 'emph-question org-html-text-markup-alist)) "%s") contents)) (org-export-define-derived-backend my-html html :translate-alist ((emph-comment . my-emph-comment) (emph-exclamation . my-emph-exclamation) (emph-question . my-emph-question))) #+END_SRC (again, this seems a lot of duplicate code...) With this change, contents always was passed nil... So I digged further into org-element.el - and finally by experimenting found that adding my new elements to #+BEGIN_SRC emacs-lisp (defconst org-element-recursive-objects '(emph-question emph-exclamation emph-comment bold italic link subscript radio-target strike-through superscript table-cell underline) "List of recursive object types.") #+END_SRC resulted in a (partly) working solution. Yet, bold and italic occur quite often hard-coded in org-element.el. -- Dr. Gregor Kappler Fakultät für Psychologie Institut für Angewandte Psychologie: Gesundheit, Entwicklung, Förderung Universität Wien Liebiggasse 5 A-1010 Wien http://www.univie.ac.at/Psychologie tel: +43 1 4277 47276

Re: [O] Best way to set up Org mode with MobileOrg over Dropbox

2011-11-03 Thread Gregor Kappler
Hi Nikolai, > As I can hardly be the only person with two computers, a mobile, and a > desire to keep my org-agenda-files in sync between these three > computers, I’ll pose this question here: How do you have this set up? I am using git to sync several laptops and Desktop computers. Every 5 minu

Re: [Orgmode] org-git-link does not support locational information within file

2011-02-15 Thread Gregor Kappler
ate}" format for > storing links by default, so I hacked something that uses SHA1 > instead... I could post a patch if anyone is curious. I would be interested, and I think SHA1 should be supported as it is so common with git. Cheers, Gregor -- -- Dr. Gregor Kappler Fakultät

Re: [Orgmode] org-git-link does not support locational information within file

2011-02-15 Thread Gregor Kappler
y welcome! > > org-git-link.el is quite readable, and I'd welcome ideas on how to > extend it to fulfill your wishes without extending Org's link syntax > too much... I try to learn elisp bit by bit. Found a good tutorial finally. I got busy times around me - need to constra

[Orgmode] org-git-link does not support locational information within file

2011-02-04 Thread Gregor Kappler
ls are limited. With the great work in org-git-link all backend stuff seems there, only needing more glue. Any hints how to achieve this would be very welcome! Thanks, Gregor -- -- Dr. Gregor Kappler Fakultät für Psychologie Institut für Entwicklungspsychologie und Psychologi