[Orgmode] Macro does not expand when exporting

2009-08-12 Thread Stephan Schmitt
Hello, using this minimal setup: --8---cut here---start-8--- (add-to-list 'load-path /usr/local/emacs/org-mode/lisp) (add-to-list 'auto-mode-alist '(\\.org$ . org-mode)) (require 'org-install) --8---cut here---end---8---

Re: [Orgmode] Macro does not expand when exporting

2009-08-12 Thread Stephan Schmitt
Thanks! One of these too-obvious-bugs... Greetings Carsten Dominik wrote: There is a colon missing after #+macro HTH - Carsten On Aug 12, 2009, at 12:19 PM, Stephan Schmitt wrote: Hello, using this minimal setup: --8---cut here---start-8

Re: [Orgmode] $LR syntax in tables

2009-08-12 Thread Stephan Schmitt
Andrew wrote: I'm afraid I can't quite wrap my head around this puzzle. I have a little table: | Budget | 640 | 640 | | Some expense | -165 | 475 | #+TBLFM: $3=$LR3+$2 So col C is supposed to add the previous line's col C to the current line's col B. However, it seems that $LR3 is

Re: [Orgmode] $LR syntax in tables

2009-08-12 Thread Stephan Schmitt
Stephan wrote: Andrew wrote: I'm afraid I can't quite wrap my head around this puzzle. I have a little table: | Budget | 640 | 640 | | Some expense | -165 | 475 | #+TBLFM: $3=$LR3+$2 So col C is supposed to add the previous line's col C to the current line's col B. However, it

Re: [Orgmode] $LR syntax in tables

2009-08-12 Thread Stephan Schmitt
Stephan wrote: Stephan wrote: Andrew wrote: I'm afraid I can't quite wrap my head around this puzzle. I have a little table: | Budget | 640 | 640 | | Some expense | -165 | 475 | #+TBLFM: $3=$LR3+$2 So col C is supposed to add the previous line's col C to the current line's col B.

[Orgmode] patch: added macro to org-additional-option-like-keywords

2009-08-13 Thread Stephan Schmitt
From 8e59b595b855f7cd9377598219a7b8dbb22e41f6 Mon Sep 17 00:00:00 2001 From: Stephan Schmitt drmab...@cs.tu-berlin.de Date: Thu, 13 Aug 2009 11:19:30 +0200 Subject: [PATCH] added MACRO to org-additional-option-like-keywords '#+MACRO' can now be auto-completed using M-Tab --- lisp/org.el |2

Re: [Orgmode] org-babel

2009-09-15 Thread Stephan Schmitt
Hi Eric, apropos require: if the result of an emacs-lisp source block is a list, a function from org-table.el is needed (orgtbl-to-orgtbl, or so) which is not loaded by default. In other words, somewhere a (require org-table) is missing. Nice tool, btw, Stephan Eric Schulte wrote:

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-29 Thread Stephan Schmitt
under X of course: I suspect that on a console, things would be simpler. HTH, Nick Yes, thanks, it works. Water Lin -- Stephan Schmitt Neural Information Processing Group Fac. IV - Electrical Engineering Computer Science Berlin

Re: [Orgmode] Spreadsheet field referencing problem

2009-10-01 Thread Stephan Schmitt
Hi Tassilo, one solution would be: | Datum| Anzahlung | Sonderzahlung | Monatsrate | Restbetrag | |--+---+---++| | | | || 79000 |

[Orgmode] bug: clock in/out from agenda throws error (release_6.31.35.g7ce8)

2009-10-07 Thread Stephan Schmitt
Hello Carsten, when I clock in/out from the agenda (using I/O) the function 'org-format-agenda-item' is called with a non-nil 'noprefix' argument. This leads to an error because the variable 'thecategory' is nil in line 4610 of file org-agenda.el. I would supply a patch if I understood the

Re: [Orgmode] bug: clock in/out from agenda throws error (release_6.31.35.g7ce8)

2009-10-07 Thread Stephan Schmitt
thx! for both fix and explanation Stephan Carsten Dominik wrote: Hi Stephan, On Oct 7, 2009, at 10:25 AM, Stephan Schmitt wrote: Hello Carsten, when I clock in/out from the agenda (using I/O) the function 'org-format-agenda-item' is called with a non-nil 'noprefix' argument

Re: [Orgmode] field formula referencing field from other table?

2009-10-08 Thread Stephan Schmitt
Hi Marco, take a look at section 3.5.1 of the org-mode info in *scratch*: (info (org)References) C-x C-e in particular at the last section of this page. HTH, Stephan Marko Schütz wrote: Dear All, I have two tables in a file, each being summed separately. Now I'd like to have a

Re: [Orgmode] Re: Tagging a region of text without creating a branch

2009-10-09 Thread Stephan Schmitt
bar tomas wrote: Thanks very much for your reply and your help. I also think in terms of containers, but I was trying to figure out if it is possible to have a container that has both subcontainers and content that is not contained in a subcontainer. For instance, in XML, this is the notion of

Re: [Orgmode] Repeat time ranges

2009-10-13 Thread Stephan Schmitt
Hi Nicolas, I think org-clone-subtree-with-time-shift was implemented exactly for this use case: (org-clone-subtree-with-time-shift n optional shift) Clone the task (subtree) at point n times. The clones will be inserted as siblings. In interactive use, the user will be

Re: [Orgmode] Arrow keys in agenda view

2009-10-21 Thread Stephan Schmitt
`Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Stephan Schmitt Neural Information Processing Group Fac. IV - Electrical Engineering Computer Science Berlin University

[Orgmode] bug in org-agenda.el; (release_6.31.146.gba46)

2009-10-21 Thread Stephan Schmitt
Hi, the following line (1398) in org-agenda.el (org-defkey org-agenda-mode-map \\d 'org-agenda-show-scroll-down) causes the following error when loading the file: org-defkey: Key sequence \ d starts with non-prefix key \ Greetings, Stephan Emacs : GNU Emacs 23.1.1

Re: [Orgmode] Org-mode version 6.32trans (release_6.32b.22.gfbe1); Symbol not found in org-src-switch-to-buffer

2009-10-29 Thread Stephan Schmitt
Hi, I noticed the same problem. However, the function org-src-switch-to-buffer (with the breaking case-form) runs without problems when it is not compiled. hth, Stephan Gregory J. Grubbs wrote: When running C-c ' (org-edit-special) on the file attached to

Re: [Orgmode] Org-mode version 6.31a; conflicting packages section lacks some (tiny) viper info

2009-10-29 Thread Stephan Schmitt
Hi Stefano, I don't know if this helps, but did you try (global-unset-key (kbd C-c /)) in your init file (before org-mode is loaded)? Greetings, Stephan Stefano Zacchiroli wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You

Re: [Orgmode] Re: Org-mode version 6.32trans (release_6.32b.22.gfbe1); Symbol not found in org-src-switch-to-buffer

2009-10-29 Thread Stephan Schmitt
now - let me know if not. - Carsten On Oct 29, 2009, at 4:49 PM, Stephan Schmitt wrote: Hi, I noticed the same problem. However, the function org-src-switch-to- buffer (with the breaking case-form) runs without problems when it is not compiled. hth, Stephan Gregory J. Grubbs wrote

Re: [Orgmode] [babel] Uses for :session buffers

2009-11-04 Thread Stephan Schmitt
Thomas S. Dye wrote: Aloha all, I'm trying to comprehend the possibilities created by org-babel, and would like to draw on the experience of others if I could. I recently discovered the buffer created by :session. In my case, this is an R session that I am building to track the data

Re: [Orgmode] Adding org files

2009-11-10 Thread Stephan Schmitt
Hi Andrea, andrea Crotti wrote: I added this function to my org conf ;; We also want to check that this is actually in base directories (defun org-add-eventually() Adding a file to org-agenda when saved, with (interactive) (if (string= major-mode org-mode)

Re: [Orgmode] Re: Adding org files

2009-11-10 Thread Stephan Schmitt
andrea Crotti wrote: I would also like to check that the new org-file created is in a subdirectory of the org-directories, how could that be easily done? no warranty: (string-match (concat ^ (regexp-quote (expand-file-name org-directory))) (expand-file-name default-directory)) Greetings,

Re: [Orgmode] Speed commands (was: Release 6.33)

2009-11-13 Thread Stephan Schmitt
Carsten Dominik wrote: On Nov 13, 2009, at 6:48 PM, Eric S Fraga wrote: Excellent addition! This makes org-mode even /more/ usable on systems with very small keyboards (like smartphones etc). I'd been using viper-mode to have single key movement in org-mode buffers but you've not only made

Re: [Orgmode] Speed commands

2009-11-13 Thread Stephan Schmitt
such a clash in the default map. Best, Stephan Carsten Dominik wrote: On Nov 13, 2009, at 8:16 PM, Stephan Schmitt wrote: When you use it, please make a note when you notice additional commands hat would be useful in this way - the keymap is far from full. - Carsten ... so there are keys left

Re: [Orgmode] Speed commands

2009-11-20 Thread Stephan Schmitt
Hi Eric, try this: (progn (org-cycle-agenda-files) (when (not (and (bolp) (org-on-heading-p))) (outline-previous-visible-heading 1) (or (and (bolp) (org-on-heading-p)) (outline-next-visible-heading 1 Greetings, Stephan Also sprach Eric S

Re: [Orgmode] Beamer support in Org-mode

2009-11-27 Thread Stephan Schmitt
Carsten Dominik wrote: On Nov 26, 2009, at 7:40 PM, Dan wrote: ... using the heading title to set the column width feels wrong; the natural reaction is to think that that sort of metadata should be in a property. OK, I hear you all pull the same string, that Org-mode files should be

[Orgmode] [PATCH] bugfix in org-agenda-fix-displayed-tags

2010-01-11 Thread Stephan Schmitt
An error was thrown when all tags of a headline are hidden by org-agenda-hide-tags-regexp (in this case the function get-text-property got nil as third argument) --- lisp/org-agenda.el | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lisp/org-agenda.el

Re: [Orgmode] Re: org-agenda-files variable

2010-01-18 Thread Stephan Schmitt
Hi Andrea, Also sprach andrea: Carsten Dominik carsten.domi...@gmail.com writes: ... - Carsten I'm really sorry you're right, I should write a sort for this kind of questions, I always forget important details... Anyway emacs-version: 23.1.50.1 org-version: 6.33trans The code

Re: [Orgmode] Org-mode and searching for multiple occurances

2010-02-10 Thread Stephan Schmitt
Hello Evita, you may want to try M-x org-occur: org-occur is an interactive compiled Lisp function in `org.el'. (org-occur regexp optional keep-previous callback) Make a compact tree which shows all matches of regexp. The tree will show the lines where the regexp matches, and all higher

Re: [Orgmode] Re: Organizing a students live

2010-02-10 Thread Stephan Schmitt
Hi Daniel, Also sprach Daniel Martins: BTW Is there an easy /practical way to convert holidays dates to number of weeks? the only way I'm aware of: M-x calendar navigate to the holiday date (type ? for the info node) type p c (print the ISO date in the message area) or take a look in your

Re: [Orgmode] Re: Org-mode and searching for multiple occurances

2010-02-11 Thread Stephan Schmitt
Also sprach Matt Lundin: evita moreno evitamoren...@live.com writes: I am a teacher trying to teach young people how to use org-mode for writing. We have created a database with notes on literature review outlined in org-mode in the following format: * jones2000 blah blah blah keyword1

[Orgmode] [PATCH] avoid infinite loop in org-babel-execute-buffer

2010-02-16 Thread Stephan Schmitt
--- contrib/babel/lisp/org-babel.el |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/babel/lisp/org-babel.el b/contrib/babel/lisp/org-babel.el index 01b730d..7fe4302 100644 --- a/contrib/babel/lisp/org-babel.el +++ b/contrib/babel/lisp/org-babel.el @@ -300,9

Re: [Orgmode] PROPERTIES before the first headline

2010-02-17 Thread Stephan Schmitt
Forgot to say: yes, I think it is intentional that this does not work before the first headline (properties belong to headlines not to files) But maybe it would make sense to allow for file properties. Also sprach Stephan Schmitt: Hi Christian, you forgot the colon after PROPERTY, i.e

Re: [Orgmode] Shortcut for adding text item?

2010-02-18 Thread Stephan Schmitt
Hi Nathan, put this in your dotemacs file: (eval-after-load org '(org-defkey org-mode-map (kbd M-j) (lambda () (interactive) (end-of-line) (org-return-indent Hth, Stephan Also sprach Nathan Neff: I'm aware of the M-Ret shortcut for inserting a new heading. Is

Re: [Orgmode] Re: Shortcut for adding text item?

2010-02-19 Thread Stephan Schmitt
Hi Łukasz, Stephan Schmitt drmab...@cs.tu-berlin.de writes: Also sprach Nathan Neff: For example, I have a headline, with the cursor at cursor position: * Somecursorthing And I want to add a text line under the heading, with proper indentation. Currently, I press Ctrl-E, then Return

[Orgmode] BUG: refreshing org buffer discards setting of local file variables

2010-03-01 Thread Stephan Schmitt
Hi, in this little example file: --8---cut here---start-8--- # -*- org-tags-column: -40; -*- #+TAGS: foo(f) bar(b) * testing indentation of tag :foo: --8---cut here---end---8--- the value of org-tags-column is set

Re: [Orgmode] BUG: refreshing org buffer discards setting of local file variables

2010-03-03 Thread Stephan Schmitt
Sure... applied. I'll report back soon. Thx, Stephan Also sprach Carsten Dominik: Hi Stefan, On Mar 1, 2010, at 5:06 PM, Stephan Schmitt wrote: Hi, in this little example file: --8---cut here---start-8--- # -*- org-tags-column: -40

[Orgmode] reference to same row in spreadsheet

2008-12-18 Thread Stephan Schmitt
Hello, the reference to the last row @0 led to incompatible changes: * spreadsheet: relative reference to same row (using Org mode version 6.15d) The Org mode version 6.15 introduced @0 as a reference to the last row for spreadsheet (org-table) formulas. This leads to problems if you

Re: [Orgmode] reference to same row in spreadsheet

2008-12-18 Thread Stephan Schmitt
are obliged to keep the old convention - Carsten On Dec 18, 2008, at 4:01 PM, Stephan Schmitt wrote: Hello, the reference to the last row @0 led to incompatible changes: * spreadsheet: relative reference to same row (using Org mode version 6.15d) The Org mode version 6.15

Re: [Orgmode] Docs submitted

2009-02-11 Thread Stephan Schmitt
(eval-after-load 'org '(progn ;;^--HERE. (add-to-list 'org-todo-setup-filter-hook #'org-choose-setup-filter) (add-to-list 'org-todo-get-default-hook #'org-choose-get-default-mark) (add-to-list 'org-trigger-hook

[Orgmode] typo in org-babel

2009-07-23 Thread Stephan Schmitt
Hello, evaluating a source-block with org-babel raised an error about 'looking-at-p' not defined. Best, Stephan diff --git lisp/org-babel.el lisp/org-babel.el index a6345eb..e2a24eb 100644 --- lisp/org-babel.el +++ lisp/org-babel.el @@ -454,7 +454,7 @@ relies on

Re: [Orgmode] Spreadsheet bug?

2009-07-24 Thread Stephan Schmitt
Andreas Burtzlaff wrote: On Thu, 23 Jul 2009 02:29:30 +0200 meingbg mein...@gmail.com wrote: | a | b | c | |---++---| | a | 2 | 2 | | b | 3 | 7 | | c | -3 | 4 | | d | 5 | 9 | #+TBLFM: $3=...@-1::@2$3=$2 If @2$3 is manually set to 2 in the table, then the formulas produce

[Orgmode] Bug when following a link (org-open-at-point)

2006-09-27 Thread Stephan Schmitt
hello, i just downloaded org-mode 4.50 and got an error when i tried to follow an internal link (C-c C-o, Mouse-2). i traced the problem back to following function in org.el: (defun org-file-remote-p (file) Test whether FILE specifies a location on a remote system. Return non-nil if the

[Orgmode] Re: Interpretation of priorities in org-mode

2007-08-01 Thread Stephan Schmitt
Hello, I think there are two possible interpretations of 'priority', /importance/ and /urgency/. It is up to the user which is preferred. You propose the interpretation as urgency: I have to do that thing today/this week/sometime. Importance may come into play with your daily decision,

[Orgmode] slow formula evaluation

2007-10-31 Thread Stephan Schmitt
Hello, if you're annoyed by slow formula evaluation in tables (org version 5.13h), kill (or comment out) line 9783 in org.el: (message form %s f) (sit-for 1) best regards, Stephan ___ Emacs-orgmode mailing list Remember: use `Reply All' to

[Orgmode] org-table export to elisp

2008-07-17 Thread Stephan Schmitt
Hello, is there an easy way to export an org-table to an elisp data structure, e.g. a list of lists or an array of arrays? Or, to be more exact, to get this data structure as a return value from a function like orgtbl-to-elisp. I was looking at the org-table-export function, but found

Re: [Orgmode] org-table export to elisp

2008-07-18 Thread Stephan Schmitt
On Jul 17, 2008, at 12:27 AM, Stephan Schmitt wrote: Hello, is there an easy way to export an org-table to an elisp data structure, e.g. a list of lists or an array of arrays? Or, to be more exact, to get this data structure as a return value from a function like orgtbl-to-elisp. I

RE: [Orgmode] Problem with date calculations in a table

2008-08-15 Thread Stephan Schmitt
Nick Dokos wrote: Chris Randle wrote: I had problems getting date arithmetic to work in tables. I posted my findings and solutions here: http://article.gmane.org/gmane.emacs.orgmode/6536/ Don't know if it will fix your problem (too lazy to try!) but I suspect it will. It did! I don't

Re: [Orgmode] Moving Subtree Weirdness

2008-08-18 Thread Stephan Schmitt
Hi Scott, for me it works like intended. Perhaps you're confusing the keystrokes: M-S-down does not mean Meta-Shift-s down but Meta-Shift-down i.e. the capital S denotes the Shift key. Then you just have to press two keys with the left hand... hth, Stephan [EMAIL PROTECTED] wrote:

[Orgmode] Re: Emacs-orgmode Digest, Vol 30, Issue 39

2008-08-26 Thread Stephan Schmitt
Eric Schulte wrote: On Tuesday, August 26, at 14:36, Sebastian Rose wrote: The buffer is modified after C-M-g and emacs asks if I want to save it. That is certainly something to figure out. This happens already if you press tab with the cursor located inside a table, so this is probably

Re: [Orgmode] Re: CONTENTS visibility for subtrees

2010-04-26 Thread Stephan Schmitt
or try C-c C-k (org-kill-note-or-show-branches) on a folded heading. Bernt Hansen wrote: Ali Tofigh alix.tof...@gmail.com writes: Hi everyone, I love the CONTENTS visibility state for my org documents. But when I visit headings and use TAB to expand them revealing the text they contain, I

Re: [Orgmode] Final Question: Usage

2010-04-29 Thread Stephan Schmitt
Sven Bretfeld wrote: David Frascone d...@frascone.com writes: How do I work with multiple files? Is there an easy way to jump back and forth from them, if I start making one file for Bugs, one for Escalations, one for projects, one for notes, etc? You can use bookmarks, buffer-cycling,

Re: [Orgmode] begin_src generic source code

2010-04-30 Thread Stephan Schmitt
Maybe one of these fits your needs: #+begin_example #+begin_quote hth, Stephan Also sprach Jason McBrayer: On Fri, Apr 30, 2010 at 2:18 PM, Robert Klein rokl...@roklein.de wrote: is there a way to include generic source code in an org document? I'm trying to put excerpts from configuration

Re: [Orgmode] Poll: Who is using these commands

2010-05-08 Thread Stephan Schmitt
On 05/08/2010 07:46 PM, Scot Becker wrote: I use those four combos, but not too often, and I think I'd prefer to map them to CM-[npud]. same for me. Stephan On Sat, May 8, 2010 at 5:44 PM, Sebastian Rosesebastian_r...@gmx.de wrote: Carsten Dominikcarsten.domi...@gmail.com writes: Hi

Re: [Orgmode] Re: Poll: Who is using these commands

2010-05-09 Thread Stephan Schmitt
On 05/09/2010 04:26 PM, Also sprach Leo: On 2010-05-09 12:43 +0100, Carsten Dominik wrote: what do you think about C-M-f, C-M-b, C-M-n, C-M-p as alternative bindings? These seem to make *a lot* of sense, because, as many here have pointed out, they are so much better repeatable (Keep C-M-

Re: [Orgmode] Re: Frequently used files/headings

2010-05-10 Thread Stephan Schmitt
Hi Nathan, when the lambda form is evaluated (when you press f6) the variable shortcut-def doesn't exist any more. The problem is that elisp doesn't support closures. See this info page: (elisp) Top Variables Variable Scoping Extent As a workaraound you can save the table in a global

Re: [Orgmode] spreadsheet table limitations, specifically summing hours?

2010-05-14 Thread Stephan Schmitt
Hi Nick, are you aware of the table editor? Type C-c ' (single quote) when the point is somewhere in the table. Greetings, Stephan Also sprach Nick: ps I wonder if a long set of formulae like this could be split over several +TBLFM lines? The answer seems to be no.

Re: [Orgmode] Heirarchy and indenting of plain text belonging to headline of same indent

2010-05-20 Thread Stephan Schmitt
Hi Robin, No, there is no possibility to return to a higher level without a new headline. The concept of book chapters and sections is here more appropriate than code blocks. Although this restricts somewhat the flexibility of the outline structure, it is unlikely to be changed in the future.

Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-26 Thread Stephan Schmitt
Also sprach Eric Schulte: Štěpán Němecstep...@gmail.com writes: Eric Schulteschulte.e...@gmail.com writes: Štěpán Němecstep...@gmail.com writes: [...] How come some of your rewrites above still use the `org-babel-' prefix? (As a side note, I don't see what Emacs guidelines suggest