Re: [Orgmode] latex wrap
On Jun 26, 2009, at 11:13 PM, hello world wrote: Hi all, having only used latex before: is there a way to prevent emacs/org-mode---upon pressing M-q---to wrap a paragraph bla bla \begin{equation} 1+1=2 \end{equation} into bla bla \begin{equation} 1+1=2 \end{equation} Why would you press M-q in such a location? Can I make org-mode more aware of latex constructs? A different font- face would also be really nice! Turn on both org-export-with-LaTeX-fragments and org-highlight-latex-fragments-and-specials I just like the M-q command. It's like the C-j of Pine. (I know, there's auto-fill-mode in emacs). cheers, josef ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] cycling bug
I don't understand what the problem is - Carsten On Jun 27, 2009, at 12:55 AM, Samuel Wales wrote: Hi, here is a bug, a test case, and a poss workaround if the bug is not fixable. Thanks. * bug: cycling a headline with body reveals too much of children * it only occurs with org-cycle-include-plain-lists set to t * to reproduce, try cycling the following *** regular -- this works * one *** one one * two * three *** text -- this works text * one *** one one * two * three *** WAIT logbook -- bug :LOGBOOK: - State "WAIT" from "" [2009-06-26 Fri 15:46] :END: * one *** one one * two * three *** tree -- bug - test - test - test - test - test - test * one *** one one * two * three * poss workaround for if there is no fix *** that variable could control cycling only when point is on list items -- Myalgic encephalomyelitis is causing death and severe suffering worse than MS. Conflicts of interest are destroying research. People get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem with latest orgmode ascii export
On Jun 23, 2009, at 8:37 PM, Robert Goldman wrote: Just pulled a git update this morning, and was trying to do an org-export as ascii. Got the following error: (invalid-function (interblock (start end type) (save-match-data (when (setf func (cadr (assoc type org-export-interblocks))) (funcall func start end) This is a function that's defined by the FLET in org-export-blocks-preprocess. See org-exp-blocks.el, line 184. I'm not exactly sure what is going wrong here --- is it possible that this requires 'cl and somehow CL is not properly available? This may be it, org-exp-blocks does not say (require 'cl) it does now, please upgrade and let me know if it fixes the problem. - Carsten Or the version of CL in my emacs (Aquamacs 1.8) is not compatible? I'll be happy to do some debugging if someone can give me some suggestions about what line to pursue... thanks, r ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] recurring TODO's & diary sexps
Excerpts from Dirk-Jan Binnema's message of Fri Jun 26 12:58:00 +0300 2009: > Now, I could work around it by: > a) make five 'normal' recurring entries for each weekday > b) don't use TODO, but just leave the item > but that is not really nice... > > Is there some trick I am missing? This is not pretty but: *** TODO <2009-06-29 Mon +1w> Foobar *** TODO <2009-06-30 Tue +1w> Foobar *** TODO <2009-07-01 Wed +1w> Foobar *** TODO <2009-07-02 Thu +1w> Foobar *** TODO <2009-07-03 Fri +1w> Foobar ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-follow-link-in-same-window
Hi all, when clicking on a link, I whish I could choose between - following it in another window (the current behaviour, which I'm often fine with, but not always); - following it in the same window I tried to create a new function, org-follow-link-in-same-window, and bind it to a key. As for the key binding, I couldn't get down-mouse-2 to work, as initially expected. I tried the following bindings: (add-hook 'org-load-hook '(lambda () (define-key org-mouse-map [C-down-mouse-1] 'org-follow-link-in-same-window) (define-key org-mouse-map [down-mouse-2] 'org-follow-link-in-same-window) (define-key org-mouse-map [C-down-mouse-2] 'org-follow-link-in-same-window) (define-key org-mouse-map [s-down-mouse-1] 'org-follow-link-in-same-window) (define-key org-mouse-map [s-mouse-1] 'org-follow-link-in-same-window))) I found none of them to work *but* the latest, [s-mouse-1]. (I'm not fond of incantations, so when emacs leaves me under the impression that some kind of black magic is happening, I always feel a little upset. Anyway, i'm digressing, and after all I'm fine with [s-mouse-1].) Now, as for the function, I came to the following: (defun org-follow-link-in-same-window (ev) (interactive "e") (let ((org-display-internal-link-with-indirect-buffer t)) (save-excursion (set-buffer (window-buffer (posn-window (event-end ev (select-window (posn-window (event-end ev))) (org-open-at-mouse ev))) which doesn't work. I mean, it does follow the link, but not in the same window. Could you please give me a hand on this ? Thanks in advance, Nicolas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-follow-link-in-same-window
On Jun 27, 2009, at 10:41 AM, Nicolas Girard wrote: Hi all, when clicking on a link, I whish I could choose between - following it in another window (the current behaviour, which I'm often fine with, but not always); - following it in the same window I tried to create a new function, org-follow-link-in-same-window, and bind it to a key. As for the key binding, I couldn't get down-mouse-2 to work, as initially expected. I tried the following bindings: (add-hook 'org-load-hook '(lambda () (define-key org-mouse-map [C-down-mouse-1] 'org-follow- link-in-same-window) (define-key org-mouse-map [down-mouse-2]'org-follow- link-in-same-window) (define-key org-mouse-map [C-down-mouse-2] 'org-follow- link-in-same-window) (define-key org-mouse-map [s-down-mouse-1] 'org-follow- link-in-same-window) (define-key org-mouse-map [s-mouse-1] 'org-follow- link-in-same-window))) I found none of them to work *but* the latest, [s-mouse-1]. (I'm not fond of incantations, so when emacs leaves me under the impression that some kind of black magic is happening, I always feel a little upset. Anyway, i'm digressing, and after all I'm fine with [s-mouse-1].) Now, as for the function, I came to the following: (defun org-follow-link-in-same-window (ev) (interactive "e") (let ((org-display-internal-link-with-indirect-buffer t)) (save-excursion (set-buffer (window-buffer (posn-window (event-end ev (select-window (posn-window (event-end ev))) (org-open-at-mouse ev))) which doesn't work. I mean, it does follow the link, but not in the same window. When following a link, Org does all kinds of things, including possibly searching for a particular place in a file. So it is best to let Org do its thing, but to scope a different value of org-link-frame-setup. Like so: (defun org-open-at-mouse-same-window (ev) "Open file link or URL at mouse." (interactive "e") (mouse-set-point ev) (if (eq major-mode 'org-agenda-mode) (org-agenda-copy-local-variable 'org-link-abbrev-alist-local)) (let ((org-link-frame-setup '((vm . vm-visit-folder) (gnus . gnus) (file . find-file (org-open-at-point))) HTH - Carsten Could you please give me a hand on this ? Thanks in advance, Nicolas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: bug#3597: [Orgmode] 23.0.94; [PATCH] org-store-link broken within kbd macros
Thanks, I'll check it out. - Carsten On Jun 27, 2009, at 2:43 AM, Stefan Monnier wrote: This sounds like interactive-p is working as documented and the excplicit check I proposed would be neccessary. True enough, and I am applying your fix. IIUC you may want to use called-interactively-p instead. Stefan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Plain list structured editing question
Hi Steve, you are right this is an inconsistency. Structure-editing plain lists always does do the entire plain-list-subtree. I distinctly do remember that I had a reason for doing it like this. I can unfortunately not remember what this reason was. Part of it may be handling different bullet types. Fixing this would require more focus time that I have on my hands now. - Carsten On Jun 27, 2009, at 1:18 AM, Steve Cothern wrote: Hi folks (and Carsten in particular!), I have just started playing with org-mode and have to say WOW! What a fantastic tool! The more I use it the more I like it! I am puzzled about something tho' that may be just due to my level of experience with the tool. I am using 6.28b and from the documentation, it seems that the Meta-Left and Meta-Right should act on plain lists as well as headlines; that is, should demote/promote just the current level, not the children, which you use Shift-Meta-Left/Right for, correct? Here's what I see - if I have: 1. item 1 1. item 2 2. item 3 and I promote (Meta-Left) item 2 I see 1. item 1 2. item 2 2. item 3 If I then demote (Meta-Right) item 2, I see 1. item 1 1. item 2 2. item 3 Where I would have thought I would see this using Shift-Meta-Right, and for Meta-Right should have returned the list to the primary state. Does the structured editing not work this way for plain lists? Thanks, Steve This email, its contents and attachments contain information from j2 Global Communications, Inc. and/or its affiliates which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is prohibited. If you have received this email in error please notify the sender by reply e-mail and delete the original message and any copies. j2 Global Communications. 6922 Hollywood Blvd., Hollywood, CA 90028.. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] html publish problem
I have never seen this bug and cannot reproduce it. Please make a least a backtrace with uncompiled code, as described in the manual. Thanks! - Carsten On Jun 26, 2009, at 6:03 PM, Snyder, Charles, L (MD) wrote: Hi I am trying to export a small org file to html and view it. Any export to html (h,H,R,b) gives me the following error message: Exporting... [3 times] Saving file c:/Documents and Settings/csnyder/Desktop/My Dropbox/ emacs_org/eateftut.html... make-directory: Creating directory: invalid argument, c:/Documents and Settings/csnyder/Desktop/My Dropbox/emacs_org/emacs-backupc:/ Documents and Settings How do I correct the directory it is trying to create? Interestingly, if I rename the org file to something else, it will work once, but any further exports give the error message. Prior to this, I was modifying how GNU emacs (23.0.94.1 Win XP) backs up files…. Thanks clsnyder ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-agenda-todo-list-sublevels and tags-todo
On Jun 26, 2009, at 7:01 PM, Patrick Bahr wrote: Hello, I use tags-todo searches in my custom agenda commands. Unfortunately, tags-todo does not honour the org-agenda-todo-list-sublevels variable which I want to use in order to ignore nested todo items. Is there a way to persuade tags-todo to do this? I know that there is a variable org-agenda-tags-todo-honor- ignore-options which does this for org-agenda-todo-ignore-with-date etc. It would be nice if there is something similar to this for org-agenda-todo-list-sublevels. You know, interesting that you bring this up. Not showing sublevels is something from the early days of Org-mode. For a simple tag search, this might have made some sense. However, I was afraid that TODO items could get missing when turning this on, so when we do a tags search that should list TODO entries only, Org assumes that this is really a TODO search and *forces* listing sublevels. First of all, for tag searches, there is a separate variable org-tags-match-list-sublevels which must be used. However, as I said, the value is currently overruled during tags-todo searches. Even better would be if this could be adjusted per individual tags-todo search. For example for certain cases I do not want to see nested TODO items but I do want to see nested WAITING items. With two tags-todo searches having different behaviour on nested todo items this would be feasible. I am now removing this restriction (hoping that no-one relies on it), so setting the above variable should now work. In fact I would urge you to *not* set it to nil globally, but to *only* set it for specific searches, by using the options section of the custom agenda command. See Matt's excellent tutorial http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php for example on how to do this. HTH - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-follow-link-in-same-window
2009/6/27 Carsten Dominik > > On Jun 27, 2009, at 10:41 AM, Nicolas Girard wrote: > (defun org-open-at-mouse-same-window (ev) > "Open file link or URL at mouse." > (interactive "e") > (mouse-set-point ev) > (if (eq major-mode 'org-agenda-mode) > (org-agenda-copy-local-variable 'org-link-abbrev-alist-local)) > (let ((org-link-frame-setup > '((vm . vm-visit-folder) > (gnus . gnus) > (file . find-file >(org-open-at-point))) Thanks ! This works great ! >> >> I found none of them to work *but* the latest, [s-mouse-1]. Now, I must have been mistaken because none of the bindings I tried actually worked. I'm sure I could trigger my own function thanks to a debugging message, but it was after a bit of trial and error, and I can't see how. Here's what I tried and which didn't work: (add-hook 'org-load-hook '(lambda () (define-key org-mouse-map [s-mouse-1] 'org-open-at-mouse-same-window) (define-key org-mouse-map [s-down-mouse-1] 'org-open-at-mouse-same-window) (define-key org-mode-map [(control button1)] 'org-open-at-mouse-same-window) (define-key org-mouse-map [C-down-mouse-1] 'org-open-at-mouse-same-window) (define-key org-mouse-map [C-down-mouse-2] 'org-open-at-mouse-same-window) )) I could only get the behaviour I want by de-defining org-mouse-move-tree-start with the body of your org-open-at-mouse-same-window function. Nicolas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Timestamp question
At Fri, 26 Jun 2009 23:10:52 +0800, Louis A. Turk wrote: > > 2. I would also like a reminder window to pop up 15 minutes before the > meeting starts. Bernt has answered your first question. For this one, have a look at these links: ;; and from RichardRiley's entry: http://www.emacswiki.org/emacs/OrgMode-OSD ;; and from Nick Dokos: http://article.gmane.org/gmane.emacs.orgmode/5271 (from my comments in my .emacs which sets up org-mode for window popups) which interface org-mode, Emacs's own appointment mechanism and on-screen display features in Linux. HTH. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem with latest orgmode ascii export
At Sat, 27 Jun 2009 09:20:10 +0200, Carsten Dominik wrote: > > > On Jun 23, 2009, at 8:37 PM, Robert Goldman wrote: > > > Just pulled a git update this morning, and was trying to do an > > org-export as ascii. Got the following error: > > > > (invalid-function (interblock (start end type) (save-match-data (when > > (setf func (cadr (assoc type org-export-interblocks))) (funcall func > > start end) > > > > This is a function that's defined by the FLET in > > org-export-blocks-preprocess. See org-exp-blocks.el, line 184. > > > > I'm not exactly sure what is going wrong here --- is it possible that > > this requires 'cl and somehow CL is not properly available? > > This may be it, org-exp-blocks does not say (require 'cl) > > it does now, please upgrade and let me know if it fixes the problem. Carsten, just to add a data point to this: I had exactly the OP's problem yesterday when I pulled the git updates and did a make. The problem was resolved by doing a 'make clean' first for some reason. eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] recurring TODO's & diary sexps
At Sat, 27 Jun 2009 11:01:49 +0300, Taru Karttunen wrote: > > Excerpts from Dirk-Jan Binnema's message of Fri Jun 26 12:58:00 +0300 2009: > > Now, I could work around it by: > > a) make five 'normal' recurring entries for each weekday > > b) don't use TODO, but just leave the item > > but that is not really nice... > > > > Is there some trick I am missing? > > This is not pretty but: > > > *** TODO <2009-06-29 Mon +1w> Foobar > *** TODO <2009-06-30 Tue +1w> Foobar > *** TODO <2009-07-01 Wed +1w> Foobar > *** TODO <2009-07-02 Thu +1w> Foobar > *** TODO <2009-07-03 Fri +1w> Foobar You could simplify this to: *** TODO Foobar <2009-06-29 Mon +1w> <2009-06-30 Tue +1w> <2009-07-01 Wed +1w> <2009-07-02 Thu +1w> <2009-07-03 Fri +1w> Still maybe not pretty but works just fine. I do this for the lectures I have to give for a given course, for instance. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Timestamp question
(HANACHIRUSATO) Organization: DJCBSoftware > "BH" == Bernt Hansen writes: BH> Sorry that should be BH> * TODO Meeting DEADLINE: <%%(diary-float t 2 1) BH> 13:00>--<%%(diary-float t 2 1) 15:00 +1m -3d> However, it seems it does not recur; ie., org does not see it as a recurring item, so once you mark it as 'DONE', it marks it as CLOSED and the item does not show up in your agenda anymore -- including future occurences. diary-sexps and recurring items don't mix, it seems. Best wishes, Dirk. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Timestamp question
(HANACHIRUSATO) Organization: DJCBSoftware > "BH" == Bernt Hansen writes: BH> Sorry that should be BH> * TODO Meeting DEADLINE: <%%(diary-float t 2 1) BH> 13:00>--<%%(diary-float t 2 1) 15:00 +1m -3d> However, it seems it does not recur; ie., org does not see it as a recurring item, so once you mark it as 'DONE', it marks it as CLOSED and the item does not show up in your agenda anymore -- including future occurences. diary-sexps and recurring items don't mix, it seems. Or? Best wishes, Dirk. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] license item
On Jun 26, 2009, at 11:34 PM, Andreas Röhler wrote: Carsten Dominik wrote: This is the Carsten-AI speeking. Link to GPL on homepage established... Thank you. Thanks too. Seeing the progress. What about to link directly to the license text applying? Which should provide for the case, people looking for org-mode don't have much time to spent for this or another reason. There is a link to it in the "contributing to Org" section. - Carsten Anyway, understood it's an org-mode for the relaxed. :) Andreas On Jun 26, 2009, at 2:31 PM, Giovanni Ridolfi wrote: --- Ven 26/6/09, Sebastian Rose ha scritto: Anyway, if you receive Org-mode with emacs, it has just the same license as emacs. In the site is written: It's free! Org is [[http://en.wikipedia.org/wiki/Open-source_software] [open source software]] , it is free, like Emacs. -- I think that this is enough. If we think that an explicit link to the GPL is necessary we can link: [[http://www.gnu.org/philosophy/free-sw.html][free]] like Emacs or [[http://www.gnu.org/licenses/licenses.html#GPL][free (GPL)]] like [[http://www.gnu.org/software/emacs/][Emacs]] Interestingly enough also the GNU Emacs web page does NOT have an *explicit* link to the licence of Emacs itself neither to "free software" ;-) cheers, Giovanni ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Timestamp question
"Dirk-Jan C. Binnema" writes: > (HANACHIRUSATO) > Organization: DJCBSoftware > >> "BH" == Bernt Hansen writes: > > BH> Sorry that should be > > BH> * TODO Meeting DEADLINE: <%%(diary-float t 2 1) > BH> 13:00>--<%%(diary-float t 2 1) 15:00 +1m -3d> > > However, it seems it does not recur; ie., org does not see it as a recurring > item, so once you mark it as 'DONE', it marks it as CLOSED and the item does > not show up in your agenda anymore -- including future occurences. > > diary-sexps and recurring items don't mix, it seems. Ah sorry I didn't try to close it. I just noticed that it did show up on the agenda for multiple months in the future. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Inconsistent exporting of underscore character
I notice that when text containing an underscore (as happens frequently with database table names) is exported as HTML, the exporter decides to covert the rest of the word to a subscript. I tried escaping the underscore with a backslash, but then exporting to ASCII is broken, with the backslash passed through as part of the text. What's the correct way to escape the underscore so that the HTML exporter doesn't garble the output, without mucking up ASCII export? Or is org-mode designed in such a way that users are expected to mark up documents for one specific output (which would be a step backward)? -- Bob Kline http://www.rksystems.com mailto:bkl...@rksystems.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Inconsistent exporting of underscore character
You can put an OPTIONS line in you file. #+OPTIONS ^:nil Turn off superscript/subscript or, my prefered #+OPTIONS ^:{} Works for foo^{bar} & foo_{bar} but not foo^bar & foo_bar This is in "12.3 Export options" of the org manual. Edd On Sat, Jun 27, 2009 at 8:01 AM, Bob Kline wrote: > I notice that when text containing an underscore (as happens frequently with > database table names) is exported as HTML, the exporter decides to covert > the rest of the word to a subscript. I tried escaping the underscore with a > backslash, but then exporting to ASCII is broken, with the backslash passed > through as part of the text. > > What's the correct way to escape the underscore so that the HTML exporter > doesn't garble the output, without mucking up ASCII export? Or is org-mode > designed in such a way that users are expected to mark up documents for one > specific output (which would be a step backward)? > > -- > Bob Kline > http://www.rksystems.com > mailto:bkl...@rksystems.com > > > > ___ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Inconsistent exporting of underscore character
Eddward DeVilla wrote: You can put an OPTIONS line in you file. #+OPTIONS ^:nil Turn off superscript/subscript or, my prefered #+OPTIONS ^:{} Works for foo^{bar} & foo_{bar} but not foo^bar & foo_bar This is in "12.3 Export options" of the org manual. Perfect! I looked, but obviously not carefully enough (I think I was too focused on looking for occurrences of the word 'underscore' and didn't think outside the box as much as I should have). Thanks! -- Bob Kline http://www.rksystems.com mailto:bkl...@rksystems.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] cycling bug
Hi Carsten, Cycling goes children, subtree, folded. Try children on each of the test cases below. You will find that the presence of a body on the top level node will cause children to be more like subtree. Thanks. On Sat, Jun 27, 2009 at 00:06, Carsten Dominik wrote: > I don't understand what the problem is > > - Carsten > > On Jun 27, 2009, at 12:55 AM, Samuel Wales wrote: > >> Hi, here is a bug, a test case, and a poss workaround if the bug is not >> fixable. >> >> Thanks. >> >> * bug: cycling a headline with body reveals too much of children >> * it only occurs with org-cycle-include-plain-lists set to t >> * to reproduce, try cycling the following >> *** regular -- this works >> * one >> *** one one >> * two >> * three >> *** text -- this works >> text >> * one >> *** one one >> * two >> * three >> *** WAIT logbook -- bug >> :LOGBOOK: >> - State "WAIT" from "" [2009-06-26 Fri 15:46] >> :END: >> * one >> *** one one >> * two >> * three >> *** tree -- bug >> - test >> - test >> - test >> - test >> - test >> - test >> * one >> *** one one >> * two >> * three >> * poss workaround for if there is no fix >> *** that variable could control cycling only when point is on list items >> >> -- >> Myalgic encephalomyelitis is causing death and severe suffering >> worse than MS. Conflicts of interest are destroying research. >> People get the disease at any time permanently. Do science and >> justice matter to you? >> http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm >> >> >> ___ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Myalgic encephalomyelitis is causing death and severe suffering worse than MS. Conflicts of interest are destroying research. People get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem with org-info.js?
Hi Sebastian, Thanks for your quick fix. Just curious, what was the problem before? Shall I just download the new js file? Xin On Fri, Jun 26, 2009 at 7:21 PM, Sebastian Rose wrote: > Xin Shi writes: > > Hi Sebastian, > > > > I've attached a simple test org (a.org), please check it it works for > you. > > > OK. Seems fixed now. > > Here is the link to the commit: > > > http://repo.or.cz/w/Worg.git?a=commit;h=ddc3cf413702914a2c1a1f1fac063d4e4e367b6c > > > > Thanks again for sending the test file (i.e. locating the bug). > > > > Best wishes > > >Sebastian > ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] A tool for creating source code files from example and src blocks in org files
"Eric Schulte" writes: > Bastien writes: > >> "Eric H. Neilsen, Jr." writes: >> >>> Is there any interest in this? >> >> Yes. It's been a long time I want to use Org for literate programming, >> I think it's just the right tool to do this. >> >> Please send any code we can test! >> >>> (If anyone feels like rewriting it, that would be even better; aside >>> from a fairly straightforward .emacs, this is my first ever lisp code, >>> so it is likely to need cleaning and refactoring.) >> >> I may help if I have some time. > > I have started re-implementing this as part of org-babel [1], please > checkout the "tangle" branch [2] of org-babel for source-code and more > information. > This tangle implementation has now reached an initial level of functionality. It is able to extract blocks from an org-mode file by language and by session (which has a specific meaning in org-babel) and create source-code files. This doesn't yet have support for fine-grained control for inserting into specific locations of source-code files, and I'm not familiar enough with literate programming to know the best way to structure such support. This is now merged into the master branch of org-babel. To give it a try, open the test-tangle.org file in the base of the repo, and run `org-babel-tangle'. Best -- Eric > > Cheers -- Eric > > Footnotes: > [1] http://github.com/eschulte/org-babel/tree/master > > [2] http://github.com/eschulte/org-babel/tree/tangle ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] bug [?] writing ics files
With previous org-mode versions (up to 6.25, I think), I could write agenda-views to ics-files. This doesn't seem to work anymore; I am getting the error message "Symbol's function definition is void: org-export-icalendar" when trying to do so. It was useful to export dates and todos from org-mode to pdas etc. Is there any hope this feature will come back to life? Thanks in advance, and as usual kudos to Castens Dominik for this great mode, Rainer -- Prof. Dr. Rainer Thiel Dekan Philosophische Fakultät 07737 Jena, Germany (EU) r.th...@uni-jena.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug [?] writing ics files
Fixed, thanks. - Carsten On Jun 27, 2009, at 10:45 PM, Rainer Thiel wrote: With previous org-mode versions (up to 6.25, I think), I could write agenda-views to ics-files. This doesn't seem to work anymore; I am getting the error message "Symbol's function definition is void: org-export-icalendar" when trying to do so. It was useful to export dates and todos from org-mode to pdas etc. Is there any hope this feature will come back to life? Thanks in advance, and as usual kudos to Castens Dominik for this great mode, Rainer -- Prof. Dr. Rainer Thiel Dekan Philosophische Fakultät 07737 Jena, Germany (EU) r.th...@uni-jena.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem with org-info.js?
Xin Shi writes: > Hi Sebastian, > > Thanks for your quick fix. > > Just curious, what was the problem before? getElementsByTagName() is not recursive when called on certain HTML elements. I had to use `document.getElementsByTagName("a");' instead to catch links inside list elements. Before I did that for each sections block level elements (the headline and the ). I wonder how no one noticed that for such a long time :) links in a list is not too strange... > Shall I just download the new js file? Yes. Nothing else has changed, just added that fix. It looks as if some more stuff has changed sometimes, because I minify the script. That leads to bigger chunks if you diff it. The diff of the org-info-src.js file shows what has actually changed. Best wishes Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem with org-info.js?
Hi Sebastian, Thanks for the explanation! I guess one reason for me to spot that is I use org to publish all my working notes into HTML and use it on our group meetings all the time :) By the way, for the org-info-src.js and org-info.js, is the "white spaces" only difference between them? We can probly keep the version number in the org-info.js, so that people are easier to follow. Thanks again! Xin On Sat, Jun 27, 2009 at 5:49 PM, Sebastian Rose wrote: > Xin Shi writes: > > Hi Sebastian, > > > > Thanks for your quick fix. > > > > Just curious, what was the problem before? > > > getElementsByTagName() is not recursive when called on certain HTML > elements. I had to use `document.getElementsByTagName("a");' instead to > catch links inside list elements. Before I did that for each sections > block level elements (the headline and the ). > > I wonder how no one noticed that for such a long time :) links in a list > is not too strange... > > > > > Shall I just download the new js file? > > Yes. Nothing else has changed, just added that fix. > > It looks as if some more stuff has changed sometimes, because I minify > the script. That leads to bigger chunks if you diff it. The diff of the > org-info-src.js file shows what has actually changed. > > > Best wishes > > Sebastian > ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem with org-info.js?
Xin Shi writes: > Hi Sebastian, > > Thanks for the explanation! I guess one reason for me to spot that is I use > org to publish all my working notes into HTML and use it on our group > meetings all the time :) > > By the way, for the org-info-src.js and org-info.js, is the "white spaces" > only difference between them? We can probly keep the version number in the > org-info.js, so that people are easier to follow. No. The yuicompressor (http://developer.yahoo.com/yui/compressor/) has no option to keep comments intact - at least I couldn't fine one. But from now on (since the one I pushed 20 seconds ago), the version number is always visible below the table of shortcuts (`?' or click the `HELP' link). Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] name of face for dates in org agenda?
Hi all, I've changed my overall emacs colour scheme and, as a result, the dates in the weekly agenda view are a bit hard to read (dark blue on black). I've looked through the interface that M-x org-customize brings up, but I don't seem able to find the governing face variable name. Little help? Thanks and best, Brian vdB ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Debian Mono / Tomboy
Slightly offtopic, but I was reading /. where they are arguing over the inclusion of Mono in Debian in order to support the Tomboy app. I won't get into the whole Mono debate, but I was curious why the angst over one application? Whats it do? Its a note taking app for Gnome written in Mono! In fact, it sounds like they are trying for some similar Org functionality, but with a GUI frontend. I think it ironic they are arguing over including this in Debian, when they already have Emacs and Org out of the box. ;] -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Debian Mono / Tomboy
On Sun, Jun 28, 2009 at 2:25 AM, Russell Adams wrote: > Slightly offtopic, but I was reading /. where they are arguing over > the inclusion of Mono in Debian in order to support the Tomboy app. > > I won't get into the whole Mono debate, but I was curious why the > angst over one application? Whats it do? > > Its a note taking app for Gnome written in Mono! In fact, it sounds > like they are trying for some similar Org functionality, but with a > GUI frontend. > > I think it ironic they are arguing over including this in Debian, when > they already have Emacs and Org out of the box. ;] > > -- > Russell Adamsrlad...@adamsinfoserv.com I used to use Tomboy as my main desktop wiki. Then I switched to emacs-wiki, and more recently from that to org-mode. Tomboy gets the linking aspect of a wiki in a simple GUI. This gives it a lot of power over simple note taking, but the power of any wiki. Some features in Tomboy and emacs-wiki which as far as I have discovered are not in org-mode though are backlinks (ie "what links here"), and simple text searches accross the entire wiki. emacs-wiki does this by a simple shell pipe using find which should be easy to do in org-mode. There is also a lot of talk going on in the Tomboy cotroversies involving gnote. That is a new app, which ports Tomboy out from mono to straight C++. It attempts to duplicate the user experience of Tomboy as much as possible, though I did read on the gnote web site there is one feature (pinning) that they are changing. I have run Tomboy and gnote and they do look very similar. There is also a lot of talk about this in Ubuntu, and apparently Ubuntu is about to drop Tomboy and replace it with gnote, over the mono issue, and similarly for other mono apps. One nice GUI feature of Tomboy and gnote. The default is new notes are opened in their own window, which is small. So you can readily get many notes on screen side by side, and use the window manager to organize them by placement. > _ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- David Libert email :libert.da...@gmail.com web: http://web.ncf.ca/ah170/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] cycling bug
Hi Samuel, well, you can't have the cake and eat it. If you want plain list items to be treated like headlines for cycling, then they will be. What it happening that outline looks for the first "headline" after the one where the cursor is on. Then it decides that this is a child, the first and oldest, and then it shows all headings below that are hierarchically equal or higher than this child. plain list item are level 100 I believe. Including plain list items into cycling works by simply temporarily extending outline-regexp in include list items. It is a hack, not a full implementation. Too complex for now to be fixed. - Carsten On Jun 27, 2009, at 12:55 AM, Samuel Wales wrote: Hi, here is a bug, a test case, and a poss workaround if the bug is not fixable. Thanks. * bug: cycling a headline with body reveals too much of children * it only occurs with org-cycle-include-plain-lists set to t * to reproduce, try cycling the following *** regular -- this works * one *** one one * two * three *** text -- this works text * one *** one one * two * three *** WAIT logbook -- bug :LOGBOOK: - State "WAIT" from "" [2009-06-26 Fri 15:46] :END: * one *** one one * two * three *** tree -- bug - test - test - test - test - test - test * one *** one one * two * three * poss workaround for if there is no fix *** that variable could control cycling only when point is on list items -- Myalgic encephalomyelitis is causing death and severe suffering worse than MS. Conflicts of interest are destroying research. People get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode