[Orgmode] Re: org-mhe-store-link alters window layout

2011-02-08 Thread Thomas Baumann

Looks good to me, thank you for bringing this up.

Carsten, could you please check the patch in?

Thanks again
Thomas

Stephen Eglen s.j.eg...@damtp.cam.ac.uk writes:

 If I run M-x org-store-link when my current emacs frame is just showing
 one MH-E window (and nothing else in the frame), e.g. the show-+inbox
 buffer, then the link to that email is created okay, but the window
 frames are altered so that the +inbox summary window is also shown.
 In general, the previous window contents are forgotten.  I suggest
 adding a 'save-window-excursion' into org-mhe-store-link so that the
 window arrangement is preserved on exit from the function.

 Patch below is long just because of the extra indentation.

 Stephen

 diff --git a/lisp/org-mhe.el b/lisp/org-mhe.el
 index c384062..c9b0481 100644
 --- a/lisp/org-mhe.el
 +++ b/lisp/org-mhe.el
 @@ -83,27 +83,28 @@ supported by MH-E.
Store a link to an MH-E folder or message.
(when (or (equal major-mode 'mh-folder-mode)
   (equal major-mode 'mh-show-mode))
 -(let* ((from (org-mhe-get-header From:))
 -(to (org-mhe-get-header To:))
 -(message-id (org-mhe-get-header Message-Id:))
 -(subject (org-mhe-get-header Subject:))
 -(date (org-mhe-get-header Date:))
 -(date-ts (and date (format-time-string
 -(org-time-stamp-format t) (date-to-time date
 -(date-ts-ia (and date (format-time-string
 -   (org-time-stamp-format t t)
 -   (date-to-time date
 -link desc)
 -  (org-store-link-props :type mh :from from :to to
 - :subject subject :message-id message-id)
 -  (when date
 - (org-add-link-props :date date :date-timestamp date-ts
 - :date-timestamp-inactive date-ts-ia))
 -  (setq desc (org-email-link-description))
 -  (setq link (org-make-link mhe: (org-mhe-get-message-real-folder) #
 - (org-remove-angle-brackets message-id)))
 -  (org-add-link-props :link link :description desc)
 -  link)))
 +(save-window-excursion
 +  (let* ((from (org-mhe-get-header From:))
 +  (to (org-mhe-get-header To:))
 +  (message-id (org-mhe-get-header Message-Id:))
 +  (subject (org-mhe-get-header Subject:))
 +  (date (org-mhe-get-header Date:))
 +  (date-ts (and date (format-time-string
 +  (org-time-stamp-format t) (date-to-time 
 date
 +  (date-ts-ia (and date (format-time-string
 + (org-time-stamp-format t t)
 + (date-to-time date
 +  link desc)
 + (org-store-link-props :type mh :from from :to to
 +   :subject subject :message-id message-id)
 + (when date
 +   (org-add-link-props :date date :date-timestamp date-ts
 +   :date-timestamp-inactive date-ts-ia))
 + (setq desc (org-email-link-description))
 + (setq link (org-make-link mhe: (org-mhe-get-message-real-folder) #
 +   (org-remove-angle-brackets message-id)))
 + (org-add-link-props :link link :description desc)
 + link
  
  (defun org-mhe-open (path)
Follow an MH-E message link specified by PATH.



 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [PATCH] org-bbdb: allow anniversaries with unknown years

2011-02-08 Thread Thomas Baumann
Christoph Groth c...@falma.de writes:

 Anniversaries in BBDB can be now also specified in the format MM-DD
 next to -MM-DD.
 ---
  doc/org.texi |   11 ++-
  lisp/org-bbdb.el |   27 ++-
  2 files changed, 24 insertions(+), 14 deletions(-)

 diff --git a/doc/org.texi b/doc/org.texi
 index b406d29..bfcef06 100644
 --- a/doc/org.texi
 +++ b/doc/org.texi
 @@ -7098,14 +7098,15 @@ following to one your your agenda files:
  
  You can then go ahead and define anniversaries for a BBDB record.  Basically,
  you need to press @kbd{C-o anniversary @key{RET}} with the cursor in a BBDB
 -record and then add the date in the format @code{-MM-DD}, followed by a
 -space and the class of the anniversary (@samp{birthday} or @samp{wedding}, or
 -a format string).  If you omit the class, it will default to @samp{birthday}.
 -Here are a few examples, the header for the file @file{org-bbdb.el} contains
 -more detailed information.
 +record and then add the date in the format @code{-MM-DD} or @code{MM-DD},
 +followed by a space and the class of the anniversary (@samp{birthday} or
 +@samp{wedding}, or a format string).  If you omit the class, it will default 
 to
 +@samp{birthday}. Here are a few examples, the header for the file
 +@file{org-bbdb.el} contains more detailed information.
  
  @example
  1973-06-22
 +06-22
  1955-08-02 wedding
  2008-04-14 %s released version 6.01 of org-mode, %d years ago
  @end example
 diff --git a/lisp/org-bbdb.el b/lisp/org-bbdb.el
 index 4155f58..c04b7ff 100644
 --- a/lisp/org-bbdb.el
 +++ b/lisp/org-bbdb.el
 @@ -136,12 +136,12 @@
'((birthday lambda
   (name years suffix)
   (concat Birthday: [[bbdb: name ][ name  (
 -  (number-to-string years)
 +  (format %s years); handles numbers as well as strings
suffix )]]))
  (wedding lambda
   (name years suffix)
   (concat [[bbdb: name ][ name 's 
 -  (number-to-string years)
 +  (format %s years)
suffix  wedding anniversary]])))
How different types of anniversaries should be formatted.
  An alist of elements (STRING . FORMAT) where STRING is the name of an
 @@ -239,11 +239,16 @@ italicized, in all other cases it is left unchanged.
  
  (defun org-bbdb-anniv-extract-date (time-str)
Convert -MM-DD to (month date year).
 -Argument TIME-STR is the value retrieved from BBDB.
 -  (multiple-value-bind (y m d) (values-list (bbdb-split time-str -))
 -(list (string-to-number m)
 -   (string-to-number d)
 -   (string-to-number y
 +Argument TIME-STR is the value retrieved from BBDB.  If - is omitted
 +it will be considered unknown.
 +  (multiple-value-bind (a b c) (values-list (bbdb-split time-str -))
 +(if (eq c nil)
 +(list (string-to-number a)
 +  (string-to-number b)
 +  nil)
 +  (list (string-to-number b)
 +(string-to-number c)
 +(string-to-number a)
  
  (defun org-bbdb-anniv-split (str)
Split multiple entries in the BBDB anniversary field.
 @@ -326,8 +331,12 @@ This is used by Org to re-create the anniversary hash 
 table.
class org-bbdb-anniversary-format-alist t))
 class))   ; (as format string)
   (name (nth 1 rec))
 - (years (- y (car rec)))
 - (suffix (diary-ordinal-suffix years))
 + (years (if (eq (car rec) nil)
 +unknown
 +  (- y (car rec
 + (suffix (if (eq (car rec) nil)
 + 
 +   (diary-ordinal-suffix years)))
   (tmp (cond
 ((functionp form)
  (funcall form name years suffix))

Thanks for adding this feature.

Carsten, could you please check this in?

The ChangeLog should mention that any customized
org-bbdb-anniversary-format-alist has to be updated, otherwise there
will be an Bad sexp at line 637 in /home/tb/org/diary.org:
(org-bbdb-anniversaries) error with the new format.

Thomas


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-bbdb: anniversaries with unknown years

2010-10-25 Thread Thomas Baumann
I will look into that.

Thomas


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-bbdb and 1. March

2008-10-06 Thread Thomas Baumann
confirmed, thanks for reporting.
Carsten surely will checkin the following patch soon.

Thomas

diff --git a/lisp/org-bbdb.el b/lisp/org-bbdb.el
index ad5265f..044b74b 100644
--- a/lisp/org-bbdb.el
+++ b/lisp/org-bbdb.el
@@ -291,11 +291,16 @@ This is used by Org to re-create the anniversary hash 
table.
  (y (nth 2 date))  ; year
  (annivs (gethash (list m d) org-bbdb-anniv-hash))
  (text ())
- split class form rec)
+ split class form rec recs)
 
 ;; we don't want to miss people born on Feb. 29th
-(when (and (= m 3) (= d 1) (not (calendar-leap-year-p y)))
-  (setq annivs (cons annivs (gethash (list 2 29) org-bbdb-anniv-hash
+(when (and (= m 3) (= d 1)
+   (not (null (gethash (list 2 29) org-bbdb-anniv-hash)))
+   (not (calendar-leap-year-p y)))
+  (setq recs (gethash (list 2 29) org-bbdb-anniv-hash))
+  (while (setq rec (pop recs))
+(push rec annivs)))
+



___
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] Re: strange bug using emacs -nw and org.mode

2008-09-27 Thread Thomas Baumann
Hi Richard,

could you please send not working example files for this behaviour.
Please also take a close look at the coding systems, they might be
different on X and in the terminal.

Things seem to be fine with emacs 23 although the umlauts are not coded
correctly.

Thomas



___
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] Re: spreadsheet in org

2008-09-08 Thread Thomas Baumann
Richard G Riley [EMAIL PROTECTED] writes:

 Here is a straightforward spreadsheet:


 * Test org-mode spreadsheet for cash books


 |   | Name |   Cash |
 |---+--+|
 | _ |  |cashforward |
 |   |  |  68000 |
 | _ |  |   cashtake |
 |   | cash takings |   2340 |
 | _ |  |   cashbank |
 |   | moved to bank|   2000 |
 |---+--+|
 | _ |  |   cash |
 | # | subtotal |  68340 |
 |---+--+|
 |   | emp1 |315 |
 |   | emp2 |289 |
 |   |  |  0 |
 |   |  |  0 |
 |---+--+|
 | _ |  |  wages |
 | # | total wages  |604 |
 |---+--+|
 | _ |  | cashafterwages |
 | # | Cash After Wages |  67736 |
 |---+--+|
 #+TBLFM: 
 $cash=$cashforward+$cashtake-$cashbank::$cashafterwages=$cash-$wages::$wages=vsum(@[EMAIL
  PROTECTED])

 My questions are:

 Can one not actually name a specific cell? Or must the name itself be
 stored above or below the cell?

C-c'
gives you a nice interface to the table formulas, making names
almost obsolete

 The wages field : how to generalise this to allow for rows to be
 added/deleted in the emp1,emp2 block?

$wages = vsum(@[EMAIL PROTECTED])
will do the trick (sum between hlines)
apart from that, if you add rows using M-S-down your formulas will be
adjusted automatically.

 Or is there a totally better way to do this? I didnt see a way for all
 fields to auto calculate when a certain field was changed. One has to
 tab over the # in the left hand column. Or?

As the manual says: C-u C-c *
you might also want to look at the Tbl menu


 Oh yes, can one change the enter mode so that the field only edits if
 you press enter first? And then it preselects the previous contents so a
 single key other than cursor keys will wipe the previous contents?
 Currently if I type 5 in the wages field above then, depending where
 the cursor is, I get (for example) 6504.

The interface is already outstandingly smart: Try moving with the TAB
from one field to another or use enter to stay inside the column. You
will notice that the requested features are already present. Maybe, also
try another couple of spreadsheets :-) 

Thomas



___
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] Re: org-plot (generating graphs from org-mode)

2008-09-02 Thread Thomas Baumann
Awesome, thanks.

Thomas



___
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] Re: org-mhe has trouble with message-ids containing dashes in the host part

2008-07-12 Thread Thomas Baumann
Friedrich Delgado Friedrichs [EMAIL PROTECTED] writes:

 which results in a link like

 mhe:[EMAIL PROTECTED]

 The link looks correct, but when I try to follow it, mhe tries to open

 +mhe-index/[EMAIL PROTECTED]

 And I get the following messages:

 Executing mairix...
 Processing mairix output...
 Scanning +mhe-index/[EMAIL PROTECTED]
 No messages in +mhe-index/[EMAIL PROTECTED], range (all)
 Mairix found 0 matches in 0 folders

you did update the mairix index in between? Otherwise mairix, namazu and
others won't know about knewly arrived mails. Of course pick does
because it works w/o index.

Thomas




___
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] Re: Remember in Agenda buffers

2008-06-16 Thread Thomas Baumann
 Hi Thomas,

 have made changes that will allow to do this, and more.  Thanks for this
 idea, I think it is good new stuff.


Thank you very much, Carsten, I think I owe you a beer and/or a big
cake, whenever your in Munich :-)

Once again a fine example why using and developing org-mode is fun and
thankfully we do not have the discussions other lists are known
for. Let's continue like this.



___
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] Re: Link to MH-E message that has been refiled

2008-06-13 Thread Thomas Baumann
Hi,

there are two possibilities:

a) use namazu, mairix or another search engine which is supported by
   MH-E and customize mh-searcher to use that engine

b) customize org-mhe-search-all-folders

Thomas



___
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] Re: Link to MH-E message that has been refiled

2008-06-13 Thread Thomas Baumann
and there's a bug with org-mhe-get-message-folder-from-index returning
nil instead of nil

fixed with the patch below

diff --git a/lisp/org-mhe.el b/lisp/org-mhe.el
index eb2c9ab..7f0d7f4 100644
--- a/lisp/org-mhe.el
+++ b/lisp/org-mhe.el
@@ -141,8 +141,8 @@ So if you use sequences, it will now work.
   Return the name of the message folder in a index folder buffer.
   (save-excursion
 (mh-index-previous-folder)
-(re-search-forward ^\\(+.*\\)$ nil t)
-(message %s (match-string 1
+(if (re-search-forward ^\\(+.*\\)$ nil t)
+(message %s (match-string 1)
 
 (defun org-mhe-get-message-folder ()
   Return the name of the current message folder.


___
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] Re: Org-mode version 6.04c : org-remember

2008-06-08 Thread Thomas Baumann
Richard G Riley [EMAIL PROTECTED] writes:

 If I call org-remember with text hilited I get and: Symbol's value as
 variable is void: use-empty-active-region.

 Can someone suggest what I might have wrong here?

I assume you are marking a region with active region highlighting
set. How does your remember template look like? 

Could you please post the output of the debugger/backtrace?  What
version of emacs?

Things are perfect with emacs23 and org-mode 6.04c.



___
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] Re: Org-mode version 6.04c : org-remember

2008-06-08 Thread Thomas Baumann

seems to have something to do with org-region-active-p.

I do not have any old emacs sitting around could you please check the
result of 

(fbound 'use-region-p)

use-empty-active-region was introduced for emacs23, I think



___
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] Re: Org-mode version 6.04c : org-remember

2008-06-08 Thread Thomas Baumann
Ooops,

(fboundp 'use-region-p)



___
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] Re: Org-mode version 6.04c : org-remember

2008-06-08 Thread Thomas Baumann

Richard G Riley [EMAIL PROTECTED] writes:

 t

 Thomas Baumann [EMAIL PROTECTED] writes:

 Ooops,

 (fboundp 'use-region-p)

please check if you can customize use-empty-active-region and if so,
set it to nil (the default in emacs23). please also check whether you
have undefined this variable somewhere in your settings (how does it
look like if you run emacs -Q)

The error seems to be unrelated to org-mode, but has to be somewhere in
use-region-p which is part of emacs. There are many, many calls to
use-region-p from different packages so it might also be your settings
or your lisp-files being mixed up. After checking all this, you might
want to consider to file a bug report to the emacs-list.

A temporary workaround is to set the variable in your .emacs

Ciao
Thomas



___
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] Remember in Agenda buffers

2008-06-01 Thread Thomas Baumann
Hi,

my workflow for new appointments is

1. check agenda for free dates
   (cursor will be on the day/time of the free time slot)
2, use remember to record the appointment
   (currently inserting the timestamp manually)

I know I can insert new entries into the diary with i. However, I do
not use the diary and keep all appointments in org.

Maybe someone has a remember template which automatically inserts the
timestamp from the cursor position (date in month and week modes, date
and time in day grid mode)

Thanks
Thomas



___
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] Re: get bbdb entry from org-agenda

2008-05-30 Thread Thomas Baumann
Hi,

the display of bbdb-anniversaries can be customized to use a function to
insert a link to bbdb:

M-x customize-option org-bbdb-anniversary-format-alist

and then add/change


((birthday lambda
  (name years suffix)
  (concat Birthday: [[bbdb: name ][ name  (
  (number-to-string years)
  suffix )]]))
 (wedding lambda
  (name years suffix)
  (concat [[bbdb: name ][ name 's 
  (number-to-string years)
  suffix  wedding anniversary]])))

If one doesn't like to use a function, an alternative would be

((birthday . Birthday: [[bbdb:%s]] (%d%s))
 (wedding . [[bbdb:%s]]'s %d%s wedding anniversary))

but this leaves the agenda with bbdb:Name links.

I don't think I know how to make TAB jump to the bbdb-buffer
instead to the org-file

Ciao
Thomas

PS. Carsten should we make the function the default behaviour?



___
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] typo in org.texi breaks make info

2008-05-29 Thread Thomas Baumann

patch below

Cheers
Thomas


diff --git a/doc/org.texi b/doc/org.texi
index e6fde29..1934b09 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -572,7 +572,7 @@ the file's name is.  See also the variable
 @cindex author
 
 If you find problems with Org, or if you have questions, remarks, or ideas
-about it, please mail to the Org mailing list @[EMAIL PROTECTED]
+about it, please mail to the Org mailing list @code{emacs-orgmode@@gnu.org}.
 If you are not a member of the mailing list, your mail will be reviewed by a
 moderator and then passed through to the list.



___
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] Re: Bug fix: org-mhe links don't work with mairix

2008-05-17 Thread Thomas Baumann
Hi Nick,

your patch actually breaks namazu, swish and grep searches. 

A look at mh-search-choices (mh-search.el) reveals that for namazu,
swish and grep mh-search-regexp-builder is nil and therefore 

(funcall mh-search-regexp-builder ...

raises an error. One might be tempted to solve this on the mh-e side but
there's no reason to add a mh-search-regexp-builder for those search
engines. There's a patch against todays git below.

BTW. Namazu and pick searches work fine without angular brackets, however, it
doesn't harm to have them.


Greetings
Thomas


--- /data/cvs/org-mode/lisp/org-mhe.el  2008-05-17 12:54:07.0 +0200
+++ org-mhe.el  2008-05-17 16:55:22.0 +0200
@@ -204,8 +204,10 @@
  (not (org-mhe-get-message-real-folder)))
 (kill-this-buffer)
 (mh-search + (list --message-id article
-  (mh-search + (funcall mh-search-regexp-builder
- (list (cons 'message-id article)
+  (if mh-search-regexp-builder
+  (mh-search + (funcall mh-search-regexp-builder
+ (list (cons 'message-id article
+(mh-search + article)))
 (if (org-mhe-get-message-real-folder)
 (mh-show-msg 1)
   (kill-this-buffer)


Nick Dokos [EMAIL PROTECTED] writes:

 Pete Phillips had run into a problem back in November 2007 with mhe
 links to emails not working (he was using mairix as the mh search
 method). I just sent a patch to Bill Wohler about the mh-e part (and
 copied both the mh-e list and the org list: the problem is described in
 more detail there). Here is the org-mode patch.

 I've tested the patch both with the default pick search in mh-e and
 with mairix search. Pete Phillips also did some testing (I believe
 with mairix) - thanks Pete!

 I would feel better if there had been some swish++/namazu/etc testing as
 well, but it's unlikely that I'll find the time in the foreseeable
 future. In particular, I'm not sure where the angle brackets are needed:
 it's clear they are needed for the pick search and I've found out that
 they are *not* needed for mairix search, but if swish++ needs them, that
 would complicate things. The patch assumes that they are not needed for
 any search method, other than pick. If somebody on the list could try it
 and report success/failure, I, for one, would appreciate it very much.

 If it looks OK to you, could you please apply it?

 Thanks very much,
 Nick

 --- a/lisp/org-mhe.el
 +++ b/lisp/org-mhe.el
 @@ -194,16 +194,16 @@ folders.
(mh-find-path)
(if (not article)
(mh-visit-folder (mh-normalize-folder-name folder))
 -(setq article (org-add-angle-brackets article))
  (mh-search-choose)
  (if (equal mh-searcher 'pick)
  (progn
 +  (setq article (org-add-angle-brackets article))
(mh-search folder (list --message-id article))
(when (and org-mhe-search-all-folders
   (not (org-mhe-get-message-real-folder)))
  (kill-this-buffer)
  (mh-search + (list --message-id article
 -  (mh-search + article))
 +  (mh-search + (funcall mh-search-regexp-builder (list (cons 
 'message-id article)
  (if (org-mhe-get-message-real-folder)
  (mh-show-msg 1)
(kill-this-buffer)




 ___
 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


[Orgmode] Re: New structure GIT repository

2008-03-28 Thread Thomas Baumann
Hi Carsten,

Here's my first feedback:

+ tables ok.
+ orgtbl-mode ok.
+ agenda ok
+ links (bbdb, mhe, files) ok

wouldn't it be appropriate to install org into site-lisp/org?

Thanks
Thomas



___
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] Re: Bug? Link to network file/dir does not work

2008-03-28 Thread Thomas Baumann
Wanrong Lin [EMAIL PROTECTED] writes:

 Hi,

 On my Windows machine, I tried to access a link like this from my org file:

 file://host/dir/file_name

shouldn't that be 

file://host:/dir/file_name

note the second colon after host.

Thomas



___
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] Re: Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Thomas Baumann
Hi,

I usually use remember for this kind of stuff:

(require 'remember)
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(define-key global-map [(control meta ?r)] 'remember)


You might want to have a look into the info file to take full advantage
of the flexibility of this approach.

Thomas



___
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] Re: Testers needed

2008-03-25 Thread Thomas Baumann

Hi Carsten,

just started playing with start-splitting (checked out a few minutes
ago), here are first results

C-cC-e in an org-file:

Symbol's function definition is void: org-export

unless org-exp is loaded explicitely.



M-x orgtbl-mode in a LaTeX-buffer

ad-handle-definition: `org-open-at-point' got redefined
call-interactively: Autoloading failed to define function orgtbl-mode


unless org-table is loaded explicitely.

Ciao
Thomas



___
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: Add anniversary and org-mode

2008-03-23 Thread Thomas Baumann
Carsten Dominik [EMAIL PROTECTED] wrote:

 
 Should we put this into CONTRIB?
 
 - Carsten


There are most likely some changes within the next few days.

Should the code, which is for those who don't make use
of the integration of anniversaries in the diary, rely on bbdb-anniv.el
(which is itself a contrib to bbdb)?

Or should it better be a stand-alone interface?

Thomas


___
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] Re: Timestamp rounding not working

2008-03-22 Thread Thomas Baumann
Manish [EMAIL PROTECTED] writes:


 Not in my case.  I would prefer the clock times to show exact times
 and do the rounding only when S-cursor keys are used.

 -- Manish

+1

Thomas



___
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] Re: Add anniversary and org-mode

2008-03-21 Thread Thomas Baumann
Bastien,

just another question, did you include the anniversaries via inclusion
of the diary (does work here) or directly with
%%(bbdb-include-anniversaries) or alike?

Thanks
Thomas



___
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] Re: Add anniversary and org-mode

2008-03-21 Thread Thomas Baumann
Bastien Guerry [EMAIL PROTECTED] writes:

 I use this:

 (add-hook 'list-diary-entries-hook 'bbdb-include-anniversaries)

 -- 
 Bastien


For those who hardly use the diary (like me), here's a
wrapper/replacement to bbdb-anniv.el.

Add 

%%(org-bbdb-anniversaries) 

somewhere in your org-file and all the anniversaries from the bbdb will
be included in the diary. The format for birthdays, weddings, ... , can
be customized in bbdb-anniv.

Thomas



;;; org-bbdb-anniv.el --- Get anniversaries from BBDB

;; Copyright (C) 2008 Thomas Baumann

;; Author: Thomas Baumann [EMAIL PROTECTED]
;; based on bbdb-anniv.el by Ivar Rummelhoff [EMAIL PROTECTED]
;; Maintainer: Thomas Baumann [EMAIL PROTECTED]
;; Created: 21 March 2008
;; Keywords: calendar org

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; If you have not received a copy of the GNU General Public License
;; along with this software, it can be obtained from the GNU Project's
;; World Wide Web server (http://www.gnu.org/copyleft/gpl.html), from
;; its FTP server (ftp://ftp.gnu.org/pub/gnu/GPL), by sending an electronic
;; mail to this program's maintainer or by writing to the Free Software
;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

;;; Commentary:

;; (require 'org-bbdb-anniv)
;; %%(org-bbdb-anniversaries)
;;
;; will include BBDB-anniversaries in the agenda view
;;
;; From bbdb-anniv.el
;; The anniversaries are stored in BBDB in the field `anniversary'
;; in the format
;;
;; [-MM-DD CLASS-OR-FORMAT-STRING]
;; {\n-MM-DD CLASS-OR-FORMAT-STRING}*
;;
;; CLASS-OR-FORMAT-STRING is one of two things:
;;
;;  * an identifier for a class of anniversaries (eg. birthday or
;;wedding) from `bbdb-anniversary-format-alist'.
;;  * the (format) string displayed in the diary.
;;
;; It defaults to the value of `bbdb-default-anniversary-format'
;; (birthday by default).
;;
;; The substitutions in the format string are (in order):
;;  * the name of the record containing this anniversary
;;  * the number of years
;;  * an ordinal suffix (st, nd, rd, th) for the year
;;
;; See the documentation of `bbdb-anniversary-format-alist' for
;; further options.
;;
;; Example (my own record):
;;
;;   1973-06-22 
;;   20??-??-?? wedding
;;   1998-03-12 %s created bbdb-anniv.el %d years ago
;;
;; If you use the hook `sort-diary-entries', you should make sure that
;; it is executed after `bbdb-include-anniversaries'.
;;

(require 'bbdb-anniv)

;;;###autoload
(defun org-bbdb-anniversaries ()
  Extract anniversaries from BBDB for display in the agenda. 
  (let ((dates (list (cons (cons (extract-calendar-month date)
 (extract-calendar-day date))
   (extract-calendar-year date
(text ())
annivs date years
split class form)
(dolist (rec (bbdb-records))
  (when (setq annivs (bbdb-record-getprop
  rec bbdb-anniversary-field))
(setq annivs (bbdb-split annivs \n))
(while annivs
  (setq split (bbdb-anniv-split (pop annivs)))
  (multiple-value-bind (m d y)
  (funcall bbdb-extract-date-fun (car split))

(when (and (or (setq date (assoc (cons m d) dates))
   (and (= d 29)
(= m 2)
(setq date (assoc '(3 . 1) dates))
(not (calendar-leap-year-p (cdr date)
   ( 0 (setq years (-  (cdr date) y
  (let* ((class (or (cadr split)
bbdb-default-anniversary-format))
 (form (or (cdr (assoc class
   bbdb-anniversary-format-alist))
   class))  ; (as format string)
 (name (bbdb-record-name rec))
 (suffix (diary-ordinal-suffix years))
 (tmp (cond
   ((functionp form)
(funcall form name years suffix))
   ((listp form) (eval form))
   (t (format form name years suffix)
(if text
(setq text (append text (list tmp)))
  (setq text (list tmp
  )
(when text
  (mapconcat 'identity text ; 
  
(provide 'org-bbdb-anniv)

;;; org-bbdb-anniv.el ends here



___
Emacs-orgmode mailing list

Re: [Orgmode] jump to iso-week in agenda

2008-03-20 Thread Thomas Baumann
Hi Carsten,

thanks you so much for adding the week features, which sometimes are
necessary even inside universities :-)

  How difficult would it be to
  (a) add the current iso-week into the headline of the Week-View
 
 That does not work, because the week view may or may not start
 on a Monday, so it may contain days from two different weeks.
 For now I am adding the ISO week number to every date in the
 agenda, if this seems too cluttered we need to think of a
 different solution.

Hmmh, the view get a little busy, and I don't know about performance
issues when iso weekdays are calculated for each day (speed is an issue
on my N810). There's a lot of redundant information now.



Donnerstag  6 Dezember 2007   W49 4
Freitag7 Dezember 2007   W49 5

BTW:(format %-9s %2d %s %4d   %s
dayname day monthname year weekstring)))

doesn't work as expected for German locale

What about

Week-agenda (W01-02):

if the view does not start on weekday one. Similarly the day/month view
could show:

Day-Agenda (W01):
Month-agenda (W01-05):

I don't think we need weeks for the year view :-)

 I have just pushed the necessary changes into the git repo.  Here is the
 user interface:
 

There seem's to be a problem with '.':


Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (sd span n) 
Compute starting date and number of days for agenda.
SPAN may be `day', `week', `month', `year'.  The return value
is a cons cell with the starting date and the number of days,
so that the date SD will be in that range. (let* ((greg 
(calendar-gregorian-from-absolute sd)) (dg (nth 1 greg)) (mg (car greg)) (yg 
(nth 2 greg)) nd w1 y1 m1 thisweek) (cond ((eq span (quote day)) (when n (setq 
sd (+ (calendar-absolute-from-gregorian (list mg 1 yg)) n -1))) (setq nd 1)) 
((eq span (quote week)) (let* ((nt (calendar-day-of-week 
(calendar-gregorian-from-absolute sd))) (d (if org-agenda-start-on-weekday (- 
nt org-agenda-start-on-weekday) 0))) (setq sd (- sd (+ (if ( d 0) 7 0) d))) 
(when n (require (quote cal-iso)) (setq thisweek (car 
(calendar-iso-from-absolute sd))) (when ( n 99) (setq y1 
(org-small-year-to-year (/ n 100)) n (mod n 100))) (setq sd 
(calendar-absolute-from-iso (list n 1 (or y1 (nth 2 (calendar-iso-from-absolute 
sd))) (setq nd 7))) ((eq span (quote month)) (when (and n ( n 99)) (setq 
y1 (org-small-year-to-year (/ n 100)) n (mod n 100))) (setq sd 
(calendar-absolute-from-gregorian (list (or n mg) 1 (or y1 yg))) nd (- 
(calendar-absolute-from-
 gregorian (list (1+ (or n mg)) 1 (or y1 yg))) sd))) ((eq span (quote year)) 
(setq sd (calendar-absolute-from-gregorian (list 1 1 (or n yg))) nd (- 
(calendar-absolute-from-gregorian (list 1 1 (1+ (or n yg sd (cons sd 
nd))) 2)
  org-agenda-compute-time-span(733121 day)
  (let* ((sd ...) (comp ...) (org-agenda-overriding-arguments 
org-agenda-last-arguments)) (setf (nth 1 org-agenda-overriding-arguments) (car 
comp)) (setf (nth 2 org-agenda-overriding-arguments) (cdr comp)) 
(org-agenda-redo) (org-agenda-find-same-or-today-or-agenda))
  (cond (tdpos (goto-char tdpos)) ((eq org-agenda-type ...) (let* ... ... ... 
... ...)) (t (error Cannot find today)))
  (let ((tdpos ...)) (cond (tdpos ...) (... ...) (t ...)))
  org-agenda-goto-today()
  call-interactively(org-agenda-goto-today nil nil)


And there's a general problem with emacs23 (which seems to be rather
unstable at the moment): Due to some changes in calendar,
calendar-absolute-from-iso is _not_ autoloaded. (require 'cal-iso) does
the trick.

 Enjoy!

Definitely, thanks again

Thomas


___
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] jump to iso-week in agenda

2008-03-20 Thread Thomas Baumann
Hi Carsten,

the view is much clearer now, thanks. Personally, I don't need the Week
on Mondays but this is a matter of taste (or customize).

 Performance is not an issue, certainly not in comparison with the other
 stuff that is going on to compute the agenda.

Yes, I already moved most old stuff to archives which are included only
on my desktop.

  BTW:(format %-9s %2d %s %4d   %s
  dayname day monthname year weekstring)))
 
 
  doesn't work as expected for German locale
 
 
 In what way does it not work?

just an cosmetic issue, Donnerstag has 10 letters and does not fit
into %-9s.

Ciao
Thomas


___
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] Re: Add anniversary and org-mode

2008-03-20 Thread Thomas Baumann
Bastien Guerry [EMAIL PROTECTED] writes:


 FYI I'm using bbdd-anniversary.el and it works fine:

 http://stuff.mit.edu/afs/sipb/contrib/emacs/packages/bbdb-2.34/bits/bbdb-anniv.el

Nice suggestion, would you mind to send me an example record? Somehow I
don't seem to get the format of the bbdb-file right.

Thanks
Thomas



___
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] Re: Please test links

2008-03-16 Thread Thomas Baumann
tested ok:

mhe,
bbdb,
info



___
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] jump to iso-week in agenda

2008-03-15 Thread Thomas Baumann
Hi,

I really like the most advanced (pure magic working ...) and easy way of
entering dates in org mode. When answering a phone call it's only a few
keystrokes to jump to the date and settle the appointment. However there
are some people thinking in weeks (iso-week). So when those friends call
it get's much more complicated. Currently when I would like to jump to
say week 46, I might find an old paper calendar or M-x
calendar-goto-iso-week.

How difficult would it be to
(a) add the current iso-week into the headline of the Week-View
(b) include magic jump to a certain week eg. *46 to jump to week 46

Thomas




___
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] Re: Please test links

2008-03-15 Thread Thomas Baumann
Hi Carsten,

I just had a quick look at the following link types

bbdb: works ok both ways

mh-e: links already present work.
setting links is broken and the format of the description is weird

Below is the result from debugging org-mhe-store-link. It seems that the
function is ok, but then the link is stored as file link.

Cheers
Thomas


Result: mh-folder-mode

Result: t

Result: t
 [3 times]
Result: Carsten Dominik [EMAIL PROTECTED]
 [2 times]
Result: [EMAIL PROTECTED]
 [2 times]
Result: [EMAIL PROTECTED]
 [2 times]
Result: Re: Copyright mh support org-mode 
 [2 times]
Result: Carsten Dominik [EMAIL PROTECTED]

Result: [EMAIL PROTECTED]

Result: Re: Copyright mh support org-mode 

Result: [EMAIL PROTECTED]

Result: (:type mh :from Carsten Dominik [EMAIL PROTECTED] :to [EMAIL 
PROTECTED] :subject Re: Copyright mh support org-mode  :message-id [EMAIL 
PROTECTED] :fromname Carsten Dominik :fromaddress [EMAIL PROTECTED] 
:toname thomas baumann :toaddress [EMAIL PROTECTED] :fromto from %f)
 [3 times]
Result: Email from Carsten Dominik: Re: Copyright mh support org-m

Result: Email from Carsten Dominik: Re: Copyright mh support org-m
 [4 times]
Result: +iwc
 [2 times]
Result: [EMAIL PROTECTED]

Result: [EMAIL PROTECTED]

Result: mhe:[EMAIL PROTECTED]

Result: mhe:[EMAIL PROTECTED]
 [2 times]
Result: mhe:[EMAIL PROTECTED]

Result: Email from Carsten Dominik: Re: Copyright mh support org-m

Result: nil

Result: nil

Result: nil

Stored: file:~/GMXmail/iwc/::11108 t03 14 Carsten Dominik Re Copyright
mh support org mode Apple Mail 1 453904482 Conte




___
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] Re: Please test links

2008-03-15 Thread Thomas Baumann
quickly installing and learning git
... and mhe-links still failing

I guess the error comes from 

(defun org-add-link-props (rest plist)
  Add these properties to the link property list.
  (let (key value)
(while plist
  (setq key (pop plist) value (pop plist))
  (setq org-store-link-plist
(plist-put org-store-link-plist key value)

returning always nil because of (while plist ...

thus

(defun org-mhe-store-link ()
  Store a link to an MHE folder or message.
  (when (or (equal major-mode 'mh-folder-mode)
(equal major-mode 'mh-show-mode))
(let ((from (org-mhe-get-header From:))
  (to (org-mhe-get-header To:))
  (message-id (org-mhe-get-header Message-Id:))
  (subject (org-mhe-get-header Subject:))
  link desc)
  (org-store-link-props :type mh :from from :to to
:subject subject :message-id message-id)
  (setq desc (org-email-link-description))
  (setq link (org-make-link mhe: (org-mhe-get-message-real-folder) #
(org-remove-angle-brackets message-id)))
  (org-add-link-props :link link :description desc

returns nil and therefore org-store-link will not recognize the
successful mhe-link.

Cheers
Thomas



___
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] Re: Please test links

2008-03-15 Thread Thomas Baumann
Forgot to add:

(defun org-add-link-props (rest plist)
  Add these properties to the link property list.
  (let (key value)
(while plist
  (setq key (pop plist) value (pop plist))
  (setq org-store-link-plist
(plist-put org-store-link-plist key value)))
t))

does the trick but might be what we call Jungbauernmethode :-)



___
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: table calculation broken again

2007-11-01 Thread Thomas Baumann
Hi Carsten and others who might help,

I thought this had been solved in between but somehow

|+--++--+|
| 26.10.2007 | Cost | 68 | 0.30 | 110.40 |
|+--++--+|
|| Sum  ||  | 110.40 |
#+TBLFM: $5=$3*$4;%.2f::@2$5=vsum(@[EMAIL PROTECTED]);%.2f

won't work (I almost sent an incorrect invoice ...) whereas

|   Test | tt   | tt |  |   |
|+--++--+---|
| 26.10.2007 | Cost | 68 | 0.30 | 20.40 |
|+--++--+---|
|| Sum  ||  | 20.40 |
#+TBLFM: $5=$3*$4;%.2f::@3$5=vsum(@[EMAIL PROTECTED]);%.2f

works fine.

Orgmode is 5.13h

And again, thanks for this wonderful extension.

Thomas



___
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 in help string for org-remember

2007-08-29 Thread Thomas Baumann

org version 5.06e
'(org-remember-store-without-prompt t)

The following text shows up when a new note is created using remember:

## `C-c C-c' to file interactively, `C-u C-c C-c' to file directly.
## Target file ~/org/tb.org, headline Notes
## To switch templates, use `M-x org-remember'.

However, the meaning of the keys is exactly the opposite, C-c C-c files
directly, C-u C-c C-c files interactively

Ciao
Thomas



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug with org-remember integration

2007-08-29 Thread Thomas Baumann
emacs 23 from cvs
org version 5.06e
remember settings as described by John Wiegleys very nice article

When I try to add a note or todo with

M-x remember (C-M-r)

and I have not yet visited any org buffer

I get the following error:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match(\\S- nil)
  org-make-link-string(nil nil)
  org-store-link(nil)
  org-remember-annotation()
  run-hook-with-args-until-success(org-remember-annotation)
  (if remember-run-all-annotation-functions-flag (mapconcat (quote identity) 
(delq nil ...) \n) (run-hook-with-args-until-success (quote 
remember-annotation-functions)))
  (let* ((annotation ...) (buf ...)) (run-hooks (quote 
remember-before-remember-hook)) (switch-to-buffer-other-window buf) 
(remember-mode) (when (= ... ...) (when initial ...) (setq remember-annotation 
annotation) (when remember-initial-contents ...) (when ... ...) (setq 
remember-initial-contents nil) (goto-char ...)) (message Use C-c C-c to 
remember the data.))
  remember(nil)
  call-interactively(remember)


However, this did work with version 5.04, although there was
(obviously) no way to file the note directly.

Maybe I'm missing something?

Ciao
Thomas



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: C-c l failing to create link in BBDB??

2007-05-10 Thread Thomas Baumann
Angel de Vicente [EMAIL PROTECTED] writes:

 Hi,

 before my query, let me say that ORG just rocks... I've been using for a 
 couple
 of weeks now, and I'm not looking back...

 Now, about my problem. I've got ORG 4.71, Emacs 21.3.1 and BBDB 2.35. When I
 insert by hand a link to a bbdb record, such as

 [[bbdb:Emma Mallon][Emma]]  

 all is well, and the link works fine. BUT, when I try to automatically 
 generate
 the link to this record from within the BBDB buffer by pressing C-c l I get 
 the
 following error:

 Invalid function: (macro . #[(vector) Á^HÂE\207 [vector aref 3] 3])

 Any idea what could be wrong? (Automatically generating links in regular files
 or in Gnus articles works fine. So far it seems that it just complains in BBDB
 files). 

Could it be that there is a mismatch between the coding systems?
Things are working ok here (org 4.73, bbdb from cvs, emacs 22.1.50)

Thomas



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] bug: keymap interference with calc

2007-03-26 Thread Thomas Baumann
Hi Carsten and others

there seems to be an interference with the way org-mode captures 
DEL. This happens with emacs 22.0.96 strated with emacs -Q

Load org, visit an org-buffer, load and start calc,
in the calc buffer backspace is bound to

DEL (translated from backspace) runs the command delete-backward-char
  which is an interactive built-in function in `C source code'.
It is bound to DEL.
(delete-backward-char n optional killflag)

...

which causes an error in calc because there DEL should be bound to

DEL (translated from backspace) runs the command calc-pop
  which is an interactive compiled Lisp function in `calc.el'.
It is bound to DEL, C-d.
(calc-pop n)

...

If calc is started _before_ org-mode everything is ok. This behaviour
is present in all versions since 4.57 and also in emacs-cvs.

Best wishes
Thomas



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: POLL: should we export text before the first headline

2007-03-18 Thread Thomas Baumann
Carsten Dominik [EMAIL PROTECTED] writes:

 Hi everyone,

 I would like to collect opinions on this issue:

 Currently, exporting only starts at the first headline,
 ignoring anything before it.  There have been request to change
 this, I'd like to know if this would break someone's habits.

 So do you use the space before the first headline to put notes/text
 that should not be exported?

 Thanks

 - Carsten

I do use the space before the 1st headline for internal links, notes
and alike which I definitely don't want to be exported.

Thanks
Thomas



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Org-mode version 4.62 released

2007-01-27 Thread Thomas Baumann
Carsten Dominik [EMAIL PROTECTED] writes:

 Details about the changes to the spreadsheet
 

- It is now much easier to assign formulas to individual fields.
  In particular, the field does not have to be a named field
  anymore. Just type an equation preceeded by =: and it will be
  defined for the current field only.


Hi Carsten,

should the assignment be := as in Pascal? This is how it works in the tables
but the docs say =:

I like this feature a lot, will the next step be a A1..B4 reference?

Thanks and greetings

Thomas



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Emacs-orgmode] Re: Version 4.19c

2006-04-05 Thread Thomas Baumann
Hi Pete and Carsten

confirmed.

I haven't gone through all the details, only so far:

* the mhe:links in [[]] look ok.
* org-follow-mhe-link is not called when following an [[]] link!
* every thing works nice with  links :-(

Thomas


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode