[O] Performance of org-mode with BIDI (was: Largest org file you have + performance)

2011-08-02 Thread Reiner Steib
On Mon, Aug 01 2011, Florian Beck wrote: If you are using the current bzr version of emacs, make sure to set `bidi-display-reordering' to nil. Please don't. Instead, report problems caused by `bidi-display-reordering' with M-x report-emacs-bug RET so the Emacs developers can fix the problem.

Re: [O] fatal: The remote end hung up unexpectedly

2011-08-02 Thread Sebastien Vauban
Hello, Sebastien Vauban wrote: For a couple of weeks (2 to 3 weeks, I would say), I often experience the above message when git pull'ing. It does not bother me: I just retry later, and it often works then, but I thought it'd be worth mentioning. It appears I was still referring to

[O] [PATCH 0/8] Org mode macros, refactored

2011-08-02 Thread David Maus
Following series of patches is product of some refactoring of macro-usage in Org mode. It defines two new macros and applies those macros in other macros in org-macs and batch-agenda functions. Comments are welcome. I'll create a bundle for the patches in patchwork. If there are no objections I

[O] [PATCH 1/7] New macro: Execute BODY in enviroment with uninterned SYMBOLS

2011-08-02 Thread David Maus
* org-macs.el (org-with-uninterned): New macro. Execute BODY in enviroment with uninterned SYMBOLS. --- lisp/org-macs.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index 906be61..53c60e5 100644 --- a/lisp/org-macs.el +++

[O] [PATCH 3/7] Use new macro org-with-uninterned

2011-08-02 Thread David Maus
* org-macs.el (org-preserve-lc, org-with-point-at) (org-with-remote-undo, org-save-outline-visibility): Use new macro org-with-uninterned. --- lisp/org-macs.el | 90 -- 1 files changed, 47 insertions(+), 43 deletions(-) diff --git

[O] [PATCH 7/7] Make org-batch-store-agenda-views a fun, use org-eval-in-environment

2011-08-02 Thread David Maus
* org-agenda.el (org-batch-store-agenda-views): Make it a function, use org-eval-in-environment. --- lisp/org-agenda.el | 20 +--- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 6079377..9215d2a 100644 ---

[O] [PATCH 2/7] New macro: Evaluate FORM in ENVIRONMENT

2011-08-02 Thread David Maus
* org-macs.el (org-eval-in-environment): New macro. Evaluate FORM in ENVIRONMENT. (org-with-uninterned): Move to top of file. --- lisp/org-macs.el | 23 ++- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index

[O] [PATCH 4/7] New function: Substitute posix classes in regular expression

2011-08-02 Thread David Maus
* org-macs.el (org-substitute-posix-classes): New function. Substitute posix classes in regular expression. (org-re): Rewritten to use new function. --- lisp/org-macs.el | 28 +++- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/lisp/org-macs.el

[O] [PATCH 5/7] Use macro org-with-uninterned

2011-08-02 Thread David Maus
* org-agenda.el (org-agenda-with-point-at-orig-entry): Use macro org-with-uninterned. --- lisp/org-agenda.el | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index d47013b..25a556e 100644 --- a/lisp/org-agenda.el +++

[O] [PATCH 6/7] Use org-eval-in-environment, make macros functions

2011-08-02 Thread David Maus
* org-agenda.el (org-batch-agenda, org-batch-agenda-csv): Make a function, use org-eval-in-environment. --- lisp/org-agenda.el | 59 ++- 1 files changed, 26 insertions(+), 33 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index

Re: [O] [PATCH 0/8] Org mode macros, refactored

2011-08-02 Thread David Maus
*sigh* These patches should apply to current master but I somehow messed up my development tree. Two separate commits where squashed to 2/7 -- will post a follow up this afternoon. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de

Re: [O] [PATCH 0/8] Org mode macros, refactored

2011-08-02 Thread Štěpán Němec
On Tue, 02 Aug 2011 11:23:33 +0200 David Maus wrote: Note: The usage of make-symbol works but has one drawback: The new uninterned symbols have the same name as the maybe interned symbols in BODY. An oft-used workaround (also occuring in the Emacs core code) is to add some line-noise (e.g.

Re: [O] [PATCH 2/7] New macro: Evaluate FORM in ENVIRONMENT

2011-08-02 Thread Štěpán Němec
On Tue, 02 Aug 2011 11:23:35 +0200 David Maus wrote: * org-macs.el (org-eval-in-environment): New macro. Evaluate FORM in ENVIRONMENT. (org-with-uninterned): Move to top of file. --- lisp/org-macs.el | 23 ++- 1 files changed, 18 insertions(+), 5 deletions(-) diff

[O] how to make org-clock-in close the files it opens

2011-08-02 Thread Julian Burgos
Dear list, When using org-clock-in, all files in my agenda list are opened. This makes sense, as org mode is looking for clocks already opened. But it is possible to make org mode to close all these files? I do keep lots of files in my agenda, and it is a pain to have to close them by hand.

Re: [O] fatal: The remote end hung up unexpectedly

2011-08-02 Thread John Hendy
On Tue, Aug 2, 2011 at 3:12 AM, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hello, Sebastien Vauban wrote: For a couple of weeks (2 to 3 weeks, I would say), I often experience the above message when git pull'ing. It does not bother me: I just retry later, and it often works then,

[O] How to add entry in the Agenda view

2011-08-02 Thread Xin Shi
Hello Experts, I am using orgmode 7.7 in Emacs 23.3. I usually have a dedicated window (frame) for Org Agenda view. I found it would be very convient to be able to add item directly from the Agenda buffer, however, I don't see that command in the manual. (A closer one is the refill, which moves

Re: [O] [PATCH 2/7] New macro: Evaluate FORM in ENVIRONMENT

2011-08-02 Thread David Maus
At Tue, 02 Aug 2011 12:50:05 +0200, Štěpán Němec wrote: On Tue, 02 Aug 2011 11:23:35 +0200 David Maus wrote: * org-macs.el (org-eval-in-environment): New macro. Evaluate FORM in ENVIRONMENT. (org-with-uninterned): Move to top of file. --- lisp/org-macs.el | 23

Re: [O] [PATCH 1/7] New macro: Execute BODY in enviroment with uninterned SYMBOLS

2011-08-02 Thread David Maus
Supersedes 1/7: Define macro at top of the file. From 3a97836940b18ea2f50d53218e51fa81d617e788 Mon Sep 17 00:00:00 2001 From: David Maus dm...@ictsoc.de Date: Tue, 2 Aug 2011 15:39:49 +0200 Subject: [PATCH] New macro: Execute BODY in enviroment with uninterned SYMBOLS * org-macs.el

Re: [O] [PATCH 2/7] New macro: Evaluate FORM in ENVIRONMENT

2011-08-02 Thread David Maus
Fix smashed up commits: these two replace 2/7 From d55980b50dea594912b38bd7d9b96989c6a54129 Mon Sep 17 00:00:00 2001 From: David Maus dm...@ictsoc.de Date: Tue, 2 Aug 2011 15:41:36 +0200 Subject: [PATCH] New macro: Evaluate FORM in ENVIRONMENT * org-macs.el (org-eval-in-environment): New macro.

Re: [O] How to add entry in the Agenda view

2011-08-02 Thread Stephen Eglen
Xin Shi shixin...@gmail.com writes: I usually have a dedicated window (frame) for Org Agenda view. I found it would be very convient to be able to add item directly from the Agenda buffer, however, I don't see that command in the manual. (A closer one is the refill, which moves the entry to

[O] C-x n s no longer works in outline mode

2011-08-02 Thread Leo
I have been using this outside of org-mode for many years but it is broken in 7.7. Debugger entered--Lisp error: (error Before first headline at position 134230 in buffer init) signal(error (Before first headline at position 134230 in buffer init)) error(Before first headline at position %d

Re: [O] how to make org-clock-in close the files it opens

2011-08-02 Thread Matt Lundin
Julian Burgos jmbur...@uw.edu writes: When using org-clock-in, all files in my agenda list are opened. This makes sense, as org mode is looking for clocks already opened. But it is possible to make org mode to close all these files? I was going to suggest M-x org-agenda-exit, but that

Re: [O] Org-babel results preamble

2011-08-02 Thread Eric Schulte
Hi Derek, If you name your code block, then it should be possible to update results without any need to replace the lines preceding the results. For example, #+source: disk-usage #+begin_src sh df #+end_src #+PLOT: title:Disk Usage ind:6 deps:(5) type:2d with:histograms set:yrange [0:100]

[O] ebib configuration for org-bibtex

2011-08-02 Thread Thomas S. Dye
Aloha all, I'm trying, partially successfully, to configure org-bibtex so it mimics some useful features of ebib. In particular, I'm wanting to add several optional fields that ebib uses. I have this in .emacs: #+begin_src emacs-lisp :tangle yes (dolist (type org-bibtex-types) (push

[O] possible org to html internal link problem.

2011-08-02 Thread jack song
Dear All, When I publish html from org. I could not get correct sec link for html file, although org link worked. After googling it, I found page below I think there is a bug in orgmode where if you use file:file1::#my_section_link_id it generates incorrect html link, but correct org link. If

[O] Gather properties for use by babel source block?

2011-08-02 Thread Tim Burt
I want to gather data from properties into something that can be used by a babel source block (e.g. plot the data). Searches in the manual, worg, and gmane have not yielded the method, but my best guess is that I've missed it. If so, this is simply a request for a pointer to the documentation I

Re: [O] Inline tasks in agenda search

2011-08-02 Thread suvayu ali
Hi again, On Mon, Aug 1, 2011 at 6:49 PM, suvayu ali fatkasuvayu+li...@gmail.com wrote: On Mon, Aug 1, 2011 at 5:57 PM, suvayu ali fatkasuvayu+li...@gmail.com wrote: Hi Orgers, Is there any way to ignore the END entries in inline tasks in agenda search results? Strangely now this works!