[Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-13 Thread Tassilo Horn
Hi all, I use an own function to save the current agenta to a text file, which I display in a tooltip on my desktop: --8---cut here---start-8--- (defun th-org-mode-init () (add-hook 'after-save-hook 'th-org-update-agenda-file t t)) (add-hook 'org-mode-hook

[Orgmode] CJK LaTeX strangeness

2009-05-13 Thread Jianshi Huang
Hi, I wanted to export a org file that contains some Japanese characters to PDF. I used CJK package but when exporting the file, it hung my emacs. I was doing something like this: #+LATEX_HEADER: \usepackage{CJK} #+LATEX: \begin{CJK}{UTF8}{gothic} * 日本語テスト こんにちは #+LATEX: \end{CJK} Also

[Orgmode] Re: Help debugging a problem when saving org-agenda files with C-x s

2009-05-13 Thread Tassilo Horn
Tassilo Horn tass...@member.fsf.org writes: I use an own function to save the current agenta to a text file, which I display in a tooltip on my desktop: (defun th-org-mode-init () (add-hook 'after-save-hook 'th-org-update-agenda-file t t)) (add-hook 'org-mode-hook 'th-org-mode-init) ;;

Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-13 Thread Sebastian Rose
I like the idea of publishing the sources. Shouldn't we do something like this on worg too? It's amazing to see the too files side by side - both perfectly readable - visible simplicity and a great source of examples for (potentially new) users. BTW: it would be real fun to tranform links for

Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-13 Thread Rick Moynihan
2009/5/13 Sebastian Rose sebastian_r...@gmx.de: I like the idea of publishing the sources. Shouldn't we do something like this on worg too? It's amazing to see the too files side by side - both perfectly readable - visible simplicity and a great source of examples for (potentially new)

Re: [Orgmode] Quote blocks face

2009-05-13 Thread Scot Becker
Eric S. sent this to me : I use [^\000]+ for a multiline regexp (learned this from the org-mode code actually). It seems to match pretty much everything. In that case something like this should work as a regexp value for M-x hi-lock-face-buffer: ^#\+BEGIN_QUOTE[^\000]+?\+END_QUOTE face:

Re: [Orgmode] Some Javascript Adventures

2009-05-13 Thread Sebastian Rose
= ---8-8-8--- #+STYLE: script type=text/javascript src=jquery-1.3.2.min.js/script #+STYLE: script type=text/javascript #+STYLE: !--/*--![CDATA[/*!--*/ #+STYLE: $(document).ready( #+STYLE: function(){ #+STYLE: $(#text-1

[Orgmode] org-feed broken?

2009-05-13 Thread John Rakestraw
Hi -- Emacs 22.3.1 Org-mode latest fetch from git repository Several weeks ago I tested org-feed.el. I suppose I could be losing my mind, but I'm quite sure I had it working. I'm only now getting around to integrating the use of reQall into my regular practice, and I've discovered that the

[Orgmode] Re: org-feed broken?

2009-05-13 Thread Magnus Henoch
John Rakestraw li...@johnrakestraw.com writes: [...] I don't know lisp (or any programming language). Can someone give me an idea whether I'm running any risk of data loss by running org-feed.el without these calls? Not really. org-feed will 'leak' memory each time you run org-feed-update

Re: [Orgmode] Some Javascript Adventures

2009-05-13 Thread Carsten Dominik
That is pretty cool, thanks. - Carsten On May 12, 2009, at 5:51 PM, Sebastian Rose wrote: If your Sitmap looks like this normaly: * Folder 1 - item 1.1 - item 1.2 * folder 1.1 - file 1.1.1 * folder 1.2 - file 1.2.1 * Folder 2 - item 2.1 - item 2.2 It

Re: [Orgmode] Checking for tags efficiently

2009-05-13 Thread Carsten Dominik
On May 13, 2009, at 12:36 AM, Samuel Wales wrote: Using org-map-entries, I check for expired done tasks and then archive them. I would like to skip archiving any subtree that has the tags[1] :data: or :repurpose:.[2] Is there a function for checking for the presence of tags efficiently

Re: [Orgmode] org-feed broken?

2009-05-13 Thread Carsten Dominik
It seems that in Emacs 22, ignore-errors is defined in cl-macs.el, in Emacs 23 it has moved to subr.el. Try adding (eval-when-compile (require 'cl) (require 'cl-macs)) early on in org-feed.el, does that help? - Carsten On May 13, 2009, at 5:17 PM, John Rakestraw wrote: Hi -- Emacs

Re: [Orgmode] org-feed broken?

2009-05-13 Thread John Rakestraw
Thanks to Carsten and Magus for prompt replies. It seems that in Emacs 22, ignore-errors is defined in cl-macs.el, in Emacs 23 it has moved to subr.el. Try adding (eval-when-compile (require 'cl) (require 'cl-macs)) early on in org-feed.el, does that help? Adding the above

Re: [Orgmode] source code block HTML appearance under linux firefox

2009-05-13 Thread Nick Dokos
Dan Davison davi...@stats.ox.ac.uk wrote: When source code blocks are rendered in HTML, in firefox under linux I see a thick lower border to the box enclosing the code, however I don't see this in firefox under windows and OS X, nor IE under Windows. As an example (for linux users at least)

Re: [Orgmode] source code block HTML appearance under linux firefox

2009-05-13 Thread Ian Barton
Hi Dan, It looks fine here in Firefox 3.0.10 on Ubuntu Jaunty. What version of FF are you using? Ian. When source code blocks are rendered in HTML, in firefox under linux I see a thick lower border to the box enclosing the code, however I don't see this in firefox under windows and OS X,

Re: [Orgmode] source code block HTML appearance under linux firefox

2009-05-13 Thread Dan Davison
Ian Barton li...@manor-farm.org writes: Hi Dan, It looks fine here in Firefox 3.0.10 on Ubuntu Jaunty. What version of FF are you using? Also Firefox 3.0.10 on Ubuntu Jaunty. Same problem with ff 3.0.8 running on remote fedora core machine with graphics displayed locally via ssh -X. OK,

[Orgmode] latex export todo:nil option only hides some todo keywords.

2009-05-13 Thread Alexander
Hi all, First, of course thanks for org-mode. I want to export an org-mode file to latex and then pdf, and I want to hide TODO keywords in the pdf. I've several per-file defined TODO keywords, and I can only get todo:nil to turn off some of them. Here is the file #+TODO: TODO(t) GET(g)

[Orgmode] [PATCH] agenda startup: log-mode should be customizable as well

2009-05-13 Thread Benjamin Andresen
Hey there, I was curious as to why a value such log-mode wasn't customizable to be run on start-up as follow-mode and clock-report-mode are. If Carsten thinks this is a good idea, I've attached a patch that may shave of 5 seconds of him adding it. It applies cleanly to current git HEAD. br,