Re: [O] iCal-Export: Strange Results

2014-03-21 Thread G. Martin Butz

Am 21.03.2014 13:25, schrieb Bastien:


[...]


The default value of `org-export-with-tasks' is `t', which will export
all tasks.  You can narrow to not-done tasks with:

   (setq org-export-with-tasks 'todo)



Ah, thanks. I studied all the ical export settings, that's why I missed 
this generic setting for all exports.


Probably this will do it. I'll check.

Best
Martin

--
~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] iCal-Export: Strange Results

2014-03-21 Thread G. Martin Butz

Hi Bastien,

thanks for getting back to this. Meanwhile I can live with exporting the 
whole agenda to ics.


Am 21.03.2014 09:03, schrieb Bastien:

Hi,

"G. Martin Butz"  writes:


While importing and viewing one of my org files, I do get strange results:

+ I only see dates from DONE-entries
+ There might be e.g. an entry in the ical file/Iceowl dated to
   09:57, 2nd of December 2013
+ The body of the calendar entry in ical file/Iceowl contains:
   • State "DONE" from "TODO" [2013-12-02 Mo 09:57] meaning
   the entry is dated to the date and time I set the entry to "DONE"
+ I do not see any active TODO-entries at all


I checked with the file I tested in February with. I now do get active 
TODO-entries. No idea what I changed meanwhile. But I also get entries 
for the DONE-state, which I do not want.



we would need a minimal example of the .org file you try to export to
iCalendar in order to reproduce those problems.  Probably some come
from the export options you are using, independantly of the iCal
export backend.


This is my test file:

8<-
#+STARTUP:nologdone

* TODO A Scheduled Event
SCHEDULED: <2014-03-03 Mo 16:00>
:PROPERTIES:
:ID:   d092bad5-6559-405f-8afd-a9515b372323
:END:
* TODO A Scheduled Event with Deadline
DEADLINE: <2014-03-13 Do 10:00> SCHEDULED: <2014-03-16 So 15:00>
:PROPERTIES:
:ID:   53958c17-4a83-4150-8213-895a76bf4db1
:END:
* DONE A Scheduled Event Already Done
SCHEDULED: <2014-02-24 Mo>
- State "DONE"   from "TODO"   [2014-02-27 Do 09:14]
:PROPERTIES:
:ID:   745d0dc5-0ebd-40cc-80fd-e06d1170fa44
:END:
* DONE Another Scheduled Event Already Done
SCHEDULED: <2014-02-07 Fr 15:00>
- State "DONE"   from "TODO"   [2014-02-27 Do 09:21]
:PROPERTIES:
:ID:   45b90294-7807-4aa0-a5a4-93a285be8624
:END:
8<-

I get the following ics-file with C-c C-e c f:

--------8<-
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:test
PRODID:-//G. Martin Butz//Emacs with Org mode//EN
X-WR-TIMEZONE:CET
X-WR-CALDESC:test
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-d092bad5-6559-405f-8afd-a9515b372323
DTSTART:20140303T16
DTEND:20140303T18
SUMMARY:S: A Scheduled Event
CATEGORIES:TODO
END:VEVENT
BEGIN:VTODO
UID:TODO-d092bad5-6559-405f-8afd-a9515b372323
DTSTAMP:20140321T120206Z
DTSTART:20140303T16
SUMMARY:A Scheduled Event
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:DL-53958c17-4a83-4150-8213-895a76bf4db1
DTSTART:20140313T10
DTEND:20140313T12
SUMMARY:DL: A Scheduled Event with Deadline
CATEGORIES:TODO
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-53958c17-4a83-4150-8213-895a76bf4db1
DTSTART:20140316T15
DTEND:20140316T17
SUMMARY:S: A Scheduled Event with Deadline
CATEGORIES:TODO
END:VEVENT
BEGIN:VTODO
UID:TODO-53958c17-4a83-4150-8213-895a76bf4db1
DTSTAMP:20140321T120206Z
DTSTART:20140316T15
SUMMARY:A Scheduled Event with Deadline
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-745d0dc5-0ebd-40cc-80fd-e06d1170fa44
DTSTART;VALUE=DATE:20140224
DTEND;VALUE=DATE:20140225
SUMMARY:S: A Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:TS1-745d0dc5-0ebd-40cc-80fd-e06d1170fa44
DTSTART:20140227T091400
DTEND:20140227T111400
SUMMARY:A Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-45b90294-7807-4aa0-a5a4-93a285be8624
DTSTART:20140207T15
DTEND:20140207T17
SUMMARY:S: Another Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:TS1-45b90294-7807-4aa0-a5a4-93a285be8624
DTSTART:20140227T092100
DTEND:20140227T112100
SUMMARY:Another Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
END:VCALENDAR
8<-

My settings at the time:
8<-
(setq org-combined-agenda-icalendar-file "~/org/ical/org.ics")
 (setq org-icalendar-combined-agenda-file "~/org/ical/org.ics")
 (setq org-icalendar-categories (quote (todo-state)))
 (setq org-icalendar-combined-name "OrgIcal")
 (setq org-icalendar-include-body nil)
 (setq org-icalendar-include-todo t)
 (setq org-icalendar-use-deadline (quote (event-if-todo)))
 (setq org-icalendar-store-UID t)
 (setq org-icalendar-use-plain-timestamp nil)
 (setq org-icalendar-use-scheduled nil)
 (setq org-icalendar-with-timestamps nil)
 (setq org-icalendar-use-scheduled '(todo-start event-if-todo))
8<-


Or maybe this got sorted out in the meantime, who knows.


See 

[O] ical export: Still trying to clarify strange results

2014-02-27 Thread G. Martin Butz

Hi,

I am turning again to the list, because after some extensive testing, 
reading the manual and googeling I am still not able to configurate the 
ical export the way I expect it to be. Sorry for the long post and sorry 
for bothering the list again, but I am hoping that someone might be able 
to help.


What I want is:

+ Export all TODO items with the beginning date set to the scheduled
  date in org mode.
+ Export also the deadlines in case of TODO items
+ If possible: Do not export DONE items at all

The resulting ical file I get displays:

+ For TODO entries DTSTART set to the timestamp an hour later (not to
  /scheduled/ date)
+ Deadlined items are included; the deadline is corre, the TODO date
  also set to the timestamp an hour later
+ state changes of entries (set to DONE) as DTSTART entry; as these are
  DONE I expected they would be skiped because of org-icalendar-
  include-todo set to /t/.

Obviously the date in SCHEDULED is not recognized. Did I miss the 
relevant variable to set (see my configuration below)?


I also tried to supress any logging of the change of TODO entries (which 
would not really solve my problem but seemed to me a way to clear the 
export from the state changes); in the emacs customization group 
/org-todo/ it is being said that /org-log-done/ set to /nil/ means 
"Don't add anything, just change the keyword", which does not work for 
me. Also the inbuffer setting /#+STARTUP: nologdone/ does not have any 
effect.


This is my testfile to export to ical:

--8<--
#+STARTUP:nologdone

* TODO A Scheduled Event
SCHEDULED: <2014-03-03 Mo 16:00>
:PROPERTIES:
:ID:   d092bad5-6559-405f-8afd-a9515b372323
:END:
* TODO A Scheduled Event with Deadline
DEADLINE: <2014-03-13 Do 10:00> SCHEDULED: <2014-03-16 So 15:00>
:PROPERTIES:
:ID:   53958c17-4a83-4150-8213-895a76bf4db1
:END:
* DONE A Scheduled Event Already Done
SCHEDULED: <2014-02-24 Mo>
- State "DONE"   from "TODO"   [2014-02-27 Do 09:14]
:PROPERTIES:
:ID:   745d0dc5-0ebd-40cc-80fd-e06d1170fa44
:END:
* DONE Another Scheduled Event Already Done
SCHEDULED: <2014-02-07 Fr 15:00>
- State "DONE"   from "TODO"   [2014-02-27 Do 09:21]
:PROPERTIES:
:ID:   45b90294-7807-4aa0-a5a4-93a285be8624
:END:
--8<--

This is the ical export:

--8<------
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:test
PRODID:-//G. Martin Butz//Emacs with Org mode//EN
X-WR-TIMEZONE:CET
X-WR-CALDESC:test
CALSCALE:GREGORIAN
BEGIN:VTODO
UID:TODO-d092bad5-6559-405f-8afd-a9515b372323
DTSTAMP:20140227T082604Z
DTSTART:20140227T092600
SUMMARY:A Scheduled Event
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140227T082604Z
UID:DL-53958c17-4a83-4150-8213-895a76bf4db1
DTSTART:20140313T10
DTEND:20140313T12
SUMMARY:DL: A Scheduled Event with Deadline
CATEGORIES:TODO
END:VEVENT
BEGIN:VTODO
UID:TODO-53958c17-4a83-4150-8213-895a76bf4db1
DTSTAMP:20140227T082604Z
DTSTART:20140227T092600
SUMMARY:A Scheduled Event with Deadline
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140227T082604Z
UID:TS1-745d0dc5-0ebd-40cc-80fd-e06d1170fa44
DTSTART:20140227T091400
DTEND:20140227T111400
SUMMARY:A Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140227T082604Z
UID:TS1-45b90294-7807-4aa0-a5a4-93a285be8624
DTSTART:20140227T092100
DTEND:20140227T112100
SUMMARY:Another Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
END:VCALENDAR
--8<--

And this is my config via /.custom/ as far as org-mode and ical-export 
are concerned (I tripple checked: no other customizations concerning the 
issue is involved):


--8<--
(custom-set-variables
 '(org-combined-agenda-icalendar-file "~/org/ical/org.ics")
 '(org-icalendar-categories (quote (todo-state)))
 '(org-icalendar-combined-name "OrgIcal")
 '(org-icalendar-include-body nil)
 '(org-icalendar-include-todo t)
 '(org-icalendar-use-deadline (quote (event-if-todo)))
 '(org-icalendar-store-UID t)
 '(org-icalendar-use-plain-timestamp nil)
 '(org-icalendar-use-scheduled nil)
 '(org-icalendar-with-timestamps nil)
 '(org-log-done nil))
--8<--

Maybe I am doing something terribly wrong. I would appreciate any hint 
to solve the problem or to do some more investigation.


Thanks
Martin

--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




[O] iCal-Export: Strange Results

2014-02-20 Thread G. Martin Butz

Hi,

today I tried to setup iCal-Export of one org file contributing to my 
agenda. As I use Mozilla Sunbird (resp. Iceowl) to keep track of my 
company dates synchronizing with a remote ical file, it seemed to be a 
good idea to have also my org dates available in Iceowl.


While importing and viewing one of my org files, I do get strange results:

+ I only see dates from DONE-entries
+ There might be e.g. an entry in the ical file/Iceowl dated to
  09:57, 2nd of December 2013
+ The body of the calendar entry in ical file/Iceowl contains:
  • State "DONE" from "TODO" [2013-12-02 Mo 09:57] meaning
  the entry is dated to the date and time I set the entry to "DONE"
+ I do not see any active TODO-entries at all

I tried the export using the default values of the export function (C-c 
C-e c f) described in <http://orgmode.org/manual/iCalendar-export.html>


I then set (org-icalendar-store-UID t) thinking it had something to do 
with it.


After some googling without any definite results I I scanned the 
org-icaendar-group an set some further variables. My setup now looks as 
following:


(org-combined-agenda-icalendar-file "~/ical/org.ics")
(org-icalendar-categories (quote (todo-state)))
(org-icalendar-include-todo t)
(org-icalendar-store-UID t)
(org-icalendar-use-plain-timestamp nil)

My org-mode-version is 8.2.4 with Emacs 24.3.1

Can anyone provide a hint, what am I doing wrong?

Best Regards
Martin

--
~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Strange Behaviour while rescheduling date

2013-09-23 Thread G. Martin Butz

Hello Sebastian,

Am 23.09.2013 09:46, schrieb Sebastien Vauban:

Hello,

"G. Martin Butz" wrote:

In case I try to reschedule a date from the weekly agenda view I get the
following backtrace; I am under the impression, that this seems not to be the
bug, which I have tried to describe in the last message, but at least it
shows, that something is wrong (with my setup/emacs/org?)

Debugger entered--Lisp error: (error "Before first headline at position 1 in
buffer date.org")


FYI, I also experience that (annoying) message now and then, but I never
understood which conditions did make it appear -- and, no, it's not an advised
split-window in my case ;-(.


well, I am not entirely sure, that the backtrace I manage to get  was 
actually directly related to the initially described behaviour. Seemed 
to be two differnt things but somehow connected. As I could not savely 
reproduce the rescheduling and replacing of an org-buffer by the 
calendar (no backtrace/no 'official' error) I did use the rescheduling 
of a date starting from the agenda buffer as a test case. This led to 
the offendig config /split-window/.


Now everything seems to work fine.

So far
Martin


Best regards,
   Seb




--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Strange Behaviour while rescheduling date

2013-09-21 Thread G. Martin Butz

Hi,

once more me - in case anyone is interested. I finally went through my 
config file step by step. The responsible lines in my .emacs were:


---8<
(defadvice split-window (after move-point-to-new-window activate)
  "Moves the point to the newly created window after splitting."
  (other-window 1))
---8<

Martin

Am 20.09.2013 21:12, schrieb G. Martin Butz:

Hi,

I tried to describe this error a while ago, but did not get any response
- probably due to the fact, that I can not find out, how to securely
reproduce this very annoying behaviour; I will try to describe:

1. I try to reschedule an entry (C-c C-s)
2. The buffer with the org file seems to be replaced by a calendar
3. Futhermore 2 additional buffers appear with the calendar in it
4. If can not assign a date meaning cursor movement (Shift Left/Right)
seems to be random e.g. skipping a few day and also going in the wrong
direction (e.g. left means right)
5. If I try quitting emacs, I am asked if I want to save the original
org-mode buffer (in which I tried to reschedule a date)
6. If I dare to do this, emacs will write the calender into this buffer
thereby erasing the original org mode file.

I tried to deliver a backtrace (load org-mode and activate the debugger
according to [1]) but: There is no error message at all (!sic)!

The only thing I could do is to make a screenshot showing state no. 3 [2].

This makes keeping track of dates in org-mode almost unusable for me.
Does anyone have an idea, what I could do to pinpoint this behaviour?

I am running org-mode 8.2 (updated today, but have had this error since
a while) on emacs 24.3.1 on Linux Crunchbang Waldorf.

Thanks for any hints and thanks alot for wonderful org-mode in general
Martin

[1] <http://orgmode.org/manual/Feedback.html>
[2] <http://www.mkblog.org/download/emacs-org-mode-calendar.png>



--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Strange Behaviour while rescheduling date

2013-09-21 Thread G. Martin Butz
In case I try to reschedule a date from the weekly agenda view I get the 
following backtrace; I am under the impression, that this seems not to 
be the bug, which I have tried to describe in the last message, but at 
least it shows, that something is wrong (with my setup/emacs/org?)


8<-
Debugger entered--Lisp error: (error "Before first headline at position 
1 in buffer date.org")

  signal(error ("Before first headline at position 1 in buffer date.org"))
  error("Before first headline at position %d in buffer %s" 1 #date.org>)
  (condition-case nil (outline-back-to-heading invisible-ok) (error 
(error "Before first headline at position %d in buffer %s" (point) 
(current-buffer

  org-back-to-heading(t)
(...)
8<-

(I post the full backtrace message as txt-attachment).

Thanks
Martin


Am 20.09.2013 21:12, schrieb G. Martin Butz:

Hi,

I tried to describe this error a while ago, but did not get any response
- probably due to the fact, that I can not find out, how to securely
reproduce this very annoying behaviour; I will try to describe:

1. I try to reschedule an entry (C-c C-s)
2. The buffer with the org file seems to be replaced by a calendar
3. Futhermore 2 additional buffers appear with the calendar in it
4. If can not assign a date meaning cursor movement (Shift Left/Right)
seems to be random e.g. skipping a few day and also going in the wrong
direction (e.g. left means right)
5. If I try quitting emacs, I am asked if I want to save the original
org-mode buffer (in which I tried to reschedule a date)
6. If I dare to do this, emacs will write the calender into this buffer
thereby erasing the original org mode file.

I tried to deliver a backtrace (load org-mode and activate the debugger
according to [1]) but: There is no error message at all (!sic)!

The only thing I could do is to make a screenshot showing state no. 3 [2].

This makes keeping track of dates in org-mode almost unusable for me.
Does anyone have an idea, what I could do to pinpoint this behaviour?

I am running org-mode 8.2 (updated today, but have had this error since
a while) on emacs 24.3.1 on Linux Crunchbang Waldorf.

Thanks for any hints and thanks alot for wonderful org-mode in general
Martin

[1] <http://orgmode.org/manual/Feedback.html>
[2] <http://www.mkblog.org/download/emacs-org-mode-calendar.png>



--
~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |

Debugger entered--Lisp error: (error "Before first headline at position 1 in 
buffer date.org")
  signal(error ("Before first headline at position 1 in buffer date.org"))
  error("Before first headline at position %d in buffer %s" 1 #)
  (condition-case nil (outline-back-to-heading invisible-ok) (error (error 
"Before first headline at position %d in buffer %s" (point) (current-buffer
  org-back-to-heading(t)
  (let (col list elt ts buffer-invisibility-spec) (org-back-to-heading t) 
(looking-at (concat org-outline-regexp "\\( *\\)[^
\n]*")) (goto-char (match-end 1)) (setq col (current-column)) (goto-char 
(match-end 0)) (if (eobp) (insert "\n") (forward-char 1)) (if (and (not what) 
(not (looking-at (concat "[  ]*" org-keyword-time-not-clock-regexp 
(progn (throw (quote exit) nil))) (if (and (not (looking-at 
org-outline-regexp)) (looking-at (concat "[^
\n]*?" org-keyword-time-regexp "[^
\n]*")) (not (equal (match-string 1) org-clock-string))) (narrow-to-region 
(match-beginning 0) (match-end 0)) (insert-before-markers "\n") (backward-char 
1) (narrow-to-region (point) (point)) (and org-adapt-indentation 
(org-indent-to-column col))) (setq list (cons what remove)) (while list (setq 
elt (car (prog1 list (setq list (cdr list) (if (or (and (eq elt (quote 
scheduled)) (re-search-forward org-scheduled-time-regexp nil t)) (and (eq elt 
(quote deadline)) (re-search-forward org-deadline-time-regexp nil t)) (and (eq 
elt (quote closed)) (re-search-forward org-closed-time-regexp nil t))) (progn 
(replace-match "") (if (looking-at "--+<[^>]+>") (replace-match "") (and 
(looking-at "[  ]+") (replace-match "")) (and org-adapt-indentation (bolp) 
(org-indent-to-column col)) (if what (progn (insert (if (not (or (bolp) (eq ... 
32))) " " "") (cond ((eq what (quote scheduled)) org-scheduled-string) ((eq 
what (quote deadline)) org-deadline-string) ((eq what (quote closed)) 
org-closed-string)) " ") (setq ts (org-insert-time-stamp time (or 
org-time-was-given (and (eq what ...) org-log-done-with-time)) (eq what (quote 
closed)) nil 

[O] Strange Behaviour while rescheduling date

2013-09-20 Thread G. Martin Butz

Hi,

I tried to describe this error a while ago, but did not get any response 
- probably due to the fact, that I can not find out, how to securely 
reproduce this very annoying behaviour; I will try to describe:


1. I try to reschedule an entry (C-c C-s)
2. The buffer with the org file seems to be replaced by a calendar
3. Futhermore 2 additional buffers appear with the calendar in it
4. If can not assign a date meaning cursor movement (Shift Left/Right) 
seems to be random e.g. skipping a few day and also going in the wrong 
direction (e.g. left means right)
5. If I try quitting emacs, I am asked if I want to save the original 
org-mode buffer (in which I tried to reschedule a date)
6. If I dare to do this, emacs will write the calender into this buffer 
thereby erasing the original org mode file.


I tried to deliver a backtrace (load org-mode and activate the debugger 
according to [1]) but: There is no error message at all (!sic)!


The only thing I could do is to make a screenshot showing state no. 3 [2].

This makes keeping track of dates in org-mode almost unusable for me. 
Does anyone have an idea, what I could do to pinpoint this behaviour?


I am running org-mode 8.2 (updated today, but have had this error since 
a while) on emacs 24.3.1 on Linux Crunchbang Waldorf.


Thanks for any hints and thanks alot for wonderful org-mode in general
Martin

[1] <http://orgmode.org/manual/Feedback.html>
[2] <http://www.mkblog.org/download/emacs-org-mode-calendar.png>
--
~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




[O] Strange behaviour while assigning date to task

2013-08-19 Thread G. Martin Butz

Hello,

since I upgraded to Emacs 24 (24.3.50) using org (8.0.7) I sometimes 
encounter a strange behaviour while assigning or reassignig a date to a 
task. The calendar buffer is being displayed at least in two windows; 
the agenda window disappeards and when trying to choose a date Emacs 
says e.g.: No window up from selected window. When I hit enter the 
debugger says:


Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  org-agenda-switch-to()
  call-interactively(org-agenda-switch-to nil nil)
  command-execute(org-agenda-switch-to)

See a screenshot here to illustrate, what I see: 
<http://www.mkblog.org/download/emacs-org-mode-calendar.png>


I can not reliably reproduce this behaviour, sometimes it happens, 
sometimes not. Usually I have to restart Emacs in order to get the date 
assignment to work at all.


Any tipps how I could find out, what this behaviour is about?

Thanks
Martin

--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




[O] Agenda Search and org-agenda-text-search-extra-files

2013-07-20 Thread G. Martin Butz

Hello,

I have some questions concerning the search function in org-mode:

(1) I have several files in listed in the variable 
/org-agenda-text-search-extra-files/. At lease one file is definitely 
not searched using /org-agenda-search-view/. It is an ordinary org file:


--8<
#+DATE: [2013-07-05 Di 09:10]
#+CATEGORY:
#+TAGS:
#+DESCRIPTION:
#+TITLE: Man kann nicht nicht zitieren - Ein Sammelsurium

Some Text here. Some more Text here...
--8<
I have now idea why the search function skips that file. Can anyone give 
a hint?


Using /org-occur/ the file will be searched like any other listed in 
/org-agenda-text-search-extra-files/.


(2) I also tried to set up the org-agenda-text-search-extra-files using 
an expression I found on the mailing list [1]; it would be easier if I 
had not to manually extend the variable any time a new file is added.


--8<
(directory-files "~/" t "^[^.#].*\\.\\(org$\\|org_archive$\\)")
--8<

I tried different versions because I was not sure how to interpret the 
example, e.g.:

--8<
 '(org-agenda-text-search-extra-files (quote (
(directory-files "~/org" t "^[^.#].*\\.\\(org$\\|org_archive$\\)")
)))

and

'(org-agenda-text-search-extra-files (quote (
  ("~/org" t "^[^.#].*\\.\\(org$\\|org_archive$\\)")
)))

and

'(org-agenda-text-search-extra-files (quote (
("~/org/" t "^[^.#].*\\.\\(org$\\|org_archive$\\)")
)))

but after committing a search org-mode tells me that "/org" or "/org/" 
ist not an org-file (which is obviously true and tells me that the 
directory and the regex is not concatenated, but how should it look?)


Many thanks for pointers to the right direction!

Thanks
Martin

--
[1] http://lists.gnu.org/archive/html/emacs-orgmode/2011-09/msg00267.html

--
~~
| G. Martin Butz | m.b...@hfk-bremen.de | www.mkblog.org |
~~



Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-03 Thread G. Martin Butz

Hi Itai,

you have been given a lot of detailed advice, so I do not know, if my 
contribution will add anything.


I have made good experiences with a combination of unison and git. I 
currently synchonise my netbook and my laptop; it is a rather simple and 
homebrew setup but it works for my pupose.


I wrote a blog entry about the issue [1], but it's in German. If you 
interested I can give further information in English.


For my android phone and org I do not use dropbox, because I do not want 
my org-files on a public server. I do not have the newest android 
version so I can not easily encrypt the content. I am a bit ancious to 
put all my org content on my phone (in case of loss), so I export one 
org-file with important dates via USB to have the dates in the phone's 
calendar.


Thanks
Martin

[1] 
<http://www.mkblog.org/2011/12/zwei-rechner-daten-verloren-dokumente-fehlen/>


Am 01.07.2013 14:06, schrieb Xebar Saram:

Hi all

I have been using dropbox since i started using orgmode a few weeks ago
(yeah im a neewb :)), which kinda works but i find it very annoying as it
keeps creating conflicted copies, isnt reliable on my Linux main machine
etc etc..

I was wondering what you guys do for syncing org files between PC's, Os's,
devices (android etc)..

Best

Itai




--
~~~~~~
| G. Martin Butz | m.b...@hfk-bremen.de | www.mkblog.org |
~~



Re: [O] A t-shirt idea;)

2013-03-27 Thread Martin Butz

Hi Marcin,

I would buy one;)

Regards
Martin

Am 26.03.2013 21:18, schrieb Marcin Borkowski:

Hi list,

I listened to Sacha Chua's talk with Carsten, and the topic of
"Org-mode consuming all one's life" appeared yet another time...
Maybe the Org community should celebrate the 8.0 version with a t-shirt?

Top: unicorn pic
Caption below: "We are the Org.  You will be assimilated.  Resistance
is futile."

:)




--
~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Possible to collapse State List by default?

2013-03-20 Thread Martin Butz

Hi Bastian,

great! Thanks a lot.

Best
Martin

Am 20.03.2013 14:58, schrieb Bastien:

Hi Martin,

Martin Butz  writes:


I wonder if it is possible to collapse the list of state changes below
"SCHEDULED" by default; as I have lots of tasks which I'll be working on
several days and use to clock in to track the time I have also lots of
entries like the following example.


(setq org-log-into-drawer t)

or

(setq org-log-into-drawer "LOGBOOK")

Both are equivalent.

You can also use this startup option in an Org file:

   #+STARTUP: logdrawer

This is a FAQ, perhaps "LOGBOOK" is a better default value for
`org-log-into-drawer'.

What do you all think?




--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




[O] Possible to collapse State List by default?

2013-03-20 Thread Martin Butz

Hi,

I wonder if it is possible to collapse the list of state changes below 
"SCHEDULED" by default; as I have lots of tasks which I'll be working on 
several days and use to clock in to track the time I have also lots of 
entries like the following example.


SCHEDULED: <2013-01-30 Mi>
- State "WAITING"from "STARTED"[2013-03-13 Mi 15:12]
- State "STARTED"from "STARTED"[2013-03-13 Mi 11:01]
- State "WAITING"from "STARTED"[2013-03-13 Mi 10:42]
- State "STARTED"from "STARTED"[2013-03-13 Mi 10:25]
- State "WAITING"from "STARTED"[2013-03-13 Mi 10:11]
- State "STARTED"from "STARTED"[2013-03-13 Mi 10:06]
- State "WAITING"from "STARTED"[2013-03-12 Di 19:10]
- State "STARTED"from "STARTED"[2013-03-12 Di 15:01]
- State "WAITING"from "STARTED"[2013-03-12 Di 13:48]
- State "STARTED"from "STARTED"[2013-03-12 Di 10:33]
...

It would be nice if I had something like:

SCHEDULED: <2013-01-30 Mi>...

similar to:

:LOGBOOK:...

I know, the list is not contained within a drawer but may someone can 
point to a solution.


Thanks
Martin

--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Upgrade to org 7.9.3.: clock in/out and org-odt export

2013-01-10 Thread Martin Butz

Hi Jambunathan,

thanks for the information about your name. So now I know how I can 
adress you - and not your father;)


As to the other very detailed infos about org-odt-export: Right now I 
have some work to do, but will have a closer look probably next week...


Thanks a lot
Martin

Am 09.01.2013 21:19, schrieb Jambunathan K:

Martin Butz  writes:


Hello K. Jambunathan,

(I guess Jambunathan is your sirname, but do not want to call you just
"K").


No, don't do that :-).  You will be addressing my father.

Confusion is arises because of differences in naming across cultures.

I live in India.  In the state where I am from (Tamilnadu), we usually
have just a single component to the name. i.e., there is no First,
Middle or Last names and I really don't know what a "Surname" is.

So "Jambunathan" is my given name.  "K" is my Father's name that is
abbreviated to just the initials.

People usually call me "Jambu".


one of the problems was my fault, I forgot to insert a
"#+end_quote". After completed the missing comment, all went well.

I encounter different problems, e.g. like an image link with missing
source.


Try to narrow it down and pass across a simple snippet to me.  I will be
happy to fix it.  You can also look at *Messages* buffer, you may get
some clues.


The exporter will not accept this. Also I had cases, where the
export will work, but LibreOffice will crash trying to load the
generated .odt-file. But I guess, this has nothing to do with org.


LibreOffice crashes usually when XML files are malformed.

If you don't have rnc files, (use M-x rng-what-schema RET while in an
XML file) then validation wouldn't catch errors. If you are running from
git, rnc files are installed for you and you can do the following right
within Emacs.

 1. C-x C-f test.odt.  Buffer will now be in archive-mode.
 2. RET on content.xml and/or any of the other XML files/
 3. C-c C-n. nXML will tell you where validation has failed.

This will give you clue on how to proceed further.  It is quite possible
that ODT exporter creates corrupt files.

You can also run the exported file through any of the OpenDOcument
validators in the cloud.  They seem to come and go.  So I will let you
google around, instead of providing any pointers.

See following node in the manual

 (info "(org) Validating OpenDocument XML")


In another case the content.xml of the gererated .odt had some not
closed elements (LibreOffice gave an error message), which I could fix
and then repack the archive.


You should report this issue.  I will be happy to fix.


I now do at least have some means to cope with problems. Thanks for
you help.





--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Upgrade to org 7.9.3.: clock in/out and org-odt export

2013-01-09 Thread Martin Butz

Hello K. Jambunathan,

(I guess Jambunathan is your sirname, but do not want to call you just "K").

one of the problems was my fault, I forgot to insert a "#+end_quote". 
After completed the missing comment, all went well.


I encounter different problems, e.g. like an image link with missing 
source. The exporter will not accept this. Also I had cases, where the 
export will work, but LibreOffice will crash trying to load the 
generated .odt-file. But I guess, this has nothing to do with org.


In another case the content.xml of the gererated .odt had some not 
closed elements (LibreOffice gave an error message), which I could fix 
and then repack the archive.


I now do at least have some means to cope with problems. Thanks for you 
help.


Martin

Am 09.01.2013 06:31, schrieb Jambunathan K:

Martin Butz  writes:


(2) I did some tests with the org-odt-exporter, which where successful
in case of a small test file but failed with some of my daily used file.
In one case the emacs message buffer seemed to contain the whole export
output (pasting just a few lines here)


org-odt.el - The old exporter - hasn't changed much for most of one full
year.  I wouldn't be surprised, if the problem is elsewhere.

If you can git bisect well and good.

 Or

You can post the BEGINNING of stack trace.  (Your stacktrace doesn't
seem to be from the beginning).  Btw, it is not clear to me whether you
are getting a backtrace.

 Or

Try minimal Emacs:  emacs  -L ~/src/org-mode/lisp  -L 
~/src/org-mode/contrib/lisp


I am willing to address whatever problem that you are seeing.




--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Upgrade to org 7.9.3.: clock in/out and org-odt export

2013-01-09 Thread Martin Butz

Thank you, Bastien and Jabunathan,

as often I failed to answer to the list and sent instead private 
messages back. Sorry for that.


I will try to pinpoint the org-export-problem and deliver some more 
detailed information.


Best
Martin

Am 09.01.2013 06:31, schrieb Jambunathan K:

Martin Butz  writes:


(2) I did some tests with the org-odt-exporter, which where successful
in case of a small test file but failed with some of my daily used file.
In one case the emacs message buffer seemed to contain the whole export
output (pasting just a few lines here)


org-odt.el - The old exporter - hasn't changed much for most of one full
year.  I wouldn't be surprised, if the problem is elsewhere.

If you can git bisect well and good.

 Or

You can post the BEGINNING of stack trace.  (Your stacktrace doesn't
seem to be from the beginning).  Btw, it is not clear to me whether you
are getting a backtrace.

 Or

Try minimal Emacs:  emacs  -L ~/src/org-mode/lisp  -L 
~/src/org-mode/contrib/lisp


I am willing to address whatever problem that you are seeing.




--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




[O] Upgrade to org 7.9.3.: clock in/out and org-odt export

2013-01-08 Thread Martin Butz

Hello,

I just upgraded from 7.6 to 7.9.3. I went through the installation 
process as described in [1]. I dicovered two things, which I do not know 
how to solve on my own:


(1) Clock in/out just by toggeling the task state does not work anymore. 
For starting and stopping the clock I have the code from Sacha Chua [2] 
in my dot-emacs. I suppose, that this does not work any more with the 
new org-code. As I frequently rely on the clock I would be glad to solve 
the problem. Does someone have a hint for me?


(2) I did some tests with the org-odt-exporter, which where successful 
in case of a small test file but failed with some of my daily used file. 
In one case the emacs message buffer seemed to contain the whole export 
output (pasting just a few lines here)

---8<
#("  " 0 10 (face org-indent)) wrap-prefix #("  " 0 10 
(face org-indent))) 48810 49241 (fontified nil org-category 
"hfk-design-durch-aneignung" line-prefix #("  " 0 10 (face 
org-indent)) wrap-prefix #(" " 0 13 (face org-indent))) 
49241 49242 (fontified nil org-category "hfk-design-durch-aneignung" 
line-prefix #("  " 0 10 (face org-indent)) wrap-prefix #(" 
" 0 10 (face org-indent))) 49242 49340 (fontified nil org-category 
"hfk-design-durch-aneignung" line-prefix #("  " 0 10 (face 
org-indent)) wrap-prefix #(" " 0 13 (face org-indent))) 
49341 49361 (original-indentation 0) 49361 49362 (fontified nil 
org-category "hfk-design-durch-aneignung" line-prefix #("  " 0 
10 (face org-indent)) wrap-prefix #(" " 0 13 (face 
org-indent))) 49362 49374 (fontified nil org-category 
"hfk-design-durch-aneignung" line-prefix #(

---8<

I did get nothing else and wonder, what's the best way to debug such a case?

Greetings
Martin

[1] <http://orgmode.org/manual/Installation.html>
[2] <http://sachachua.com/blog/2007/12/clocking-time-with-emacs-org/>

--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Org Mobile and Adroid 2.3.6

2013-01-02 Thread Martin Butz

Hi Brian,

Am 02.01.2013 16:36, schrieb Brian van den Broek:

[...]


Have you considered using the SD card for syncing? It is a bit more of a
hassle than syncing with a server, but it works well enough to satisfy this
owner of a tin foil hat :-)


yes and no;) I briefly thought of it and might give it a try.

Anyway, both solutions bring up a more general issue which I haven't 
really thought of, since I owned the smartphone only recently: the 
encryption of all relevant data on the smartphone (which to me seems 
even more important, if I carry my org-mode files on a phone).


But this is beyond this list...

Nevertheless I am courious: Do you encrypt your data in case of loss of 
the phone?


Thanks for the response
Martin

--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Org Mobile and Adroid 2.3.6

2013-01-02 Thread Martin Butz

Hello,

in case anyone is interested, here is a short report what I found out:

+ I tested mobileorg on my Android phone without encryption and with 
synchronization via Ubuntu one. Seems to work. However: I do not want to 
store unencrypted org-files on a remote server.


+ I am able to enscrypt files through emacs but I am not able to decrypt 
these files on my smartphones.


+ I was confused reading something like "Be sure you are using MobileOrg 
1.5+ and Org-mode 7.02+" and "Next, open MobileOrg and enter your 
encryption password in the Settings tab. Perform a sync, and you are 
done." [1] It turned out, that this is only meant for the iPhone version.


+ It seems to be possible to set up decryption via APG on an Android 
phone but I have not found out how. See e.g. [2] I found other hints on 
the web, which state, that all files to be used by mobileorg and 
enscryption should have a file ending like "pgp". Some people say you 
have to decrypt files manually. I stopped experimenting though, it 
obviously seems quite complecated.


+ Nevertheless it's very tempting to have all my org-notes and schedules 
on my phone. I will wait until I can manage to make sure that encryption 
is being used.


Thanks
Martin

[1] <http://mobileorg.ncogni.to/doc/getting-started/encryption/>
[2] 
<https://groups.google.com/forum/?fromgroups=#!topic/mobileorg-android/LqswbeNoyAQ>



Am 22.12.2012 12:40, schrieb Martin Butz:

Hi,

does anyone have a working and fully functional orgmobile installation
on a smartphone with Android 2.3.6 (meine: Samsung Ace)?

It seems, that mine is not complete. E.g. using the setup wizard I was
prompted to provide a folder for the storage of the org-files. But I
could not set this option, because I was not able to choose a folder.
Nevertheless the synchronization with Ubuntu One basically works
although I do not have a clue, where mobileorg stores the files.

The next problem is, I use encryption (org-mobile-use-encryption), which
works. But how can I bring orgmobile to descrypt the files?

Thanks
Martin




--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Org Mobile and Adroid 2.3.6

2012-12-26 Thread G. Martin Butz

Hi Dave,

Am 26.12.2012 19:02, schrieb J. David Boyd:
[...]


I'm using MobileOrg and an Android 2.2, but I'm syncing through
Dropbox, which works fine.  Sorry I know nothing about the items you
mentioned.


It seems, that the synchronisation does work. I will have a try without 
encryption to see whether it works.


But as my org-mode-files contain private data (as is probably the usual 
case), I do not feel like storing these on a remote server without any 
encryption.


Thanks for your answer
Martin


--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Org Mobile and Adroid 2.3.6

2012-12-24 Thread Martin Butz

Am 22.12.2012 15:57, schrieb J. David Boyd:

Martin Butz  writes:

[...]

The next problem is, I use encryption (org-mobile-use-encryption),
which works. But how can I bring orgmobile to descrypt the files?


[...]



I think the docs in Org describe some of the pieces you are missing
There are variables in Org-mode that control parts of that.


I am afraid not. I browsed the available documentation [1] [2] and some 
additional postings at various pages on the web [3], but could not get 
answers to my question.


E.g. concerning the decryption with mobileorg-app [2] says,

"Next, open MobileOrg and enter your encryption password in the Settings 
tab. Perform a sync, and you are done."


I do not have this option within the mobileorg-app (version 0.7.9).

[3] says, "MobileOrg supports encryption with APG on Android.  This 
feature was added a while ago and works by encrypting the files on the 
emacs side and having the key available in APG on the Android device for 
decryption on the fly such that the files are stored encrypted on the 
server."


I did install APG on my smartphone but I do not know, if setting the option

(setq org-mobile-encryption-password "someKey") in my .emacs has 
anything to do with the options APG provides (public key, private key)? 
Or if these are totally different things.


So, if someone uses orgmobile on a smartphone running Android 2.x I'd be 
gratefull to know something about the configuration (especially on the 
smartphones side).


Thanks and merry Christmas to all
Martin


[1] https://github.com/matburt/mobileorg-android/wiki/Documentation
[2] http://mobileorg.ncogni.to/doc/
[3] e.g.: 
https://groups.google.com/forum/#!msg/mobileorg-android/LqswbeNoyAQ/wIto-zZBd7oJ



--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




[O] Org Mobile and Adroid 2.3.6

2012-12-22 Thread Martin Butz

Hi,

does anyone have a working and fully functional orgmobile installation 
on a smartphone with Android 2.3.6 (meine: Samsung Ace)?


It seems, that mine is not complete. E.g. using the setup wizard I was 
prompted to provide a folder for the storage of the org-files. But I 
could not set this option, because I was not able to choose a folder. 
Nevertheless the synchronization with Ubuntu One basically works 
although I do not have a clue, where mobileorg stores the files.


The next problem is, I use encryption (org-mobile-use-encryption), which 
works. But how can I bring orgmobile to descrypt the files?


Thanks
Martin

--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] org 7.9.2 - Search - Args out of range [SOLVED]

2012-10-14 Thread G. Martin Butz
Sorry for the false alarm. Some messup in my org mode installation. 
Definitely not a problem of 7.9.2.


Martin

Am 14.10.2012 11:05, schrieb G. Martin Butz:

Hi,

I recently upgraded to org 7.9.2. A simple search (e.g. for "Jullien")
now brings the following error (which does not seem to be related to the
search itself, but some font face problem)

--8<---
org-get-todo-face: Args out of range: #("  jullien:" 0 14
(org-category "jullien" tags nil org-highest-priority 65
org-lowest-priority 67 time-of-day nil ...)), 14, 18
--8<---

Does anyone know, what I can do about it?

Cheers
Martin






[O] org 7.9.2 - Search - Args out of range

2012-10-14 Thread G. Martin Butz

Hi,

I recently upgraded to org 7.9.2. A simple search (e.g. for "Jullien") 
now brings the following error (which does not seem to be related to the 
search itself, but some font face problem)


--8<---
org-get-todo-face: Args out of range: #("  jullien:" 0 14 
(org-category "jullien" tags nil org-highest-priority 65 
org-lowest-priority 67 time-of-day nil ...)), 14, 18

--8<---

Does anyone know, what I can do about it?

Cheers
Martin

--
~~~~~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




Re: [O] Agenda view with bibliographic references

2012-05-14 Thread G. Martin Butz

Hallo Darlan,

thanks for the input, which gives me new insights. E.g. I found out, 
that I can just display CATEGORY in one column of the column view (not 
the whole file path), which solves one of my minor problems.


Nevertheless, I wanted to avoid any redundant data input (such as the 
authors sirname as 'category', which would make sense because I would 
like to sort the the references according to authors alphabetically).


Thanks and greetings
Martin

Am 14.05.2012 15:50, schrieb Darlan Cavalcante Moreira:


What if you manually set the category property of each reference to a short
title for the reference? The category appears in the agenda and you can use
it as a sort strategy.

--
Darlan

At Mon, 14 May 2012 09:42:23 +0200,
"G. Martin Butz"  wrote:


Hallo to all,

as I have quite a few bibliographic references scattered around several
files, I build myself a custom agenda view, gathering all references
(tagged with "bib") using the column view.

(setq org-agenda-custom-commands
'(("l" "Literaturliste" tags "Bib"
  ((org-agenda-remove-tags t)
(org-agenda-overriding-columns-format "%80ITEM %20FILE")
(org-agenda-view-columns-initially t))
(org-agenda-sorting-strategy '(alpha-up))
(org-agenda-compact-blocks t))
))

I wonder, if it is possible to get an alphabetically sorted list of all
entries without having them displayed filewise. Right now my agenda view
displayes the entries like:

a_item | x.org
m_item | x.org
b_item | y.org
n_item | y.org
aso.

What I would like is the following

a_item | x.org
b_item | y.org
m_item | x.org
n_item | y.org
aso.

Or - if this is not possible - can I at least show a short version of
the file name (like in the ordinary agenda view)? Right now the column
"file" displays the full file path which I do not need.

Can anybody help?

Many thanks in advance
Martin

--

| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |









[O] Agenda view with bibliographic references

2012-05-14 Thread G. Martin Butz

Hallo to all,

as I have quite a few bibliographic references scattered around several 
files, I build myself a custom agenda view, gathering all references 
(tagged with "bib") using the column view.


(setq org-agenda-custom-commands
  '(("l" "Literaturliste" tags "Bib"
((org-agenda-remove-tags t)
(org-agenda-overriding-columns-format "%80ITEM %20FILE")
(org-agenda-view-columns-initially t))
(org-agenda-sorting-strategy '(alpha-up))
(org-agenda-compact-blocks t))
))

I wonder, if it is possible to get an alphabetically sorted list of all 
entries without having them displayed filewise. Right now my agenda view 
displayes the entries like:


a_item | x.org
m_item | x.org
b_item | y.org
n_item | y.org
aso.

What I would like is the following

a_item | x.org
b_item | y.org
m_item | x.org
n_item | y.org
aso.

Or - if this is not possible - can I at least show a short version of 
the file name (like in the ordinary agenda view)? Right now the column 
"file" displays the full file path which I do not need.


Can anybody help?

Many thanks in advance
Martin

--
~~~~
| G. Martin Butz, m...@mkblog.org, 0421 98749324, www.mkblog.org |




[O] Special Tag Search

2012-02-28 Thread Martin Butz

Hello to all,

I have a question, I could not find an answer myself using the 
org-manual or googling. Mayby someone can help.


I have several org-files with headings and subheadings similar to this:

File #1:

* Literatur, Quellen :Bib:
** AuthorSirName-1 ...
** AuthorSirName-2 ...
** AuthorSirName-3 ...

File #2:

* Literatur, Quellen :Bib:
** AuthorSirName-4 ...
** AuthorSirName-5 ...
** AuthorSirName-6 ...

File #3:

* Literatur, Quellen :Bib:
** AuthorSirName-7 ...
** AuthorSirName-8 ...
** AuthorSirName-9 ...


all tagged with the same tags e.g. "Bib"

Is it possible to generate a list using this tag, which displays the 
information shown above scattered over several org-files in a way like that:


** AuthorSirName-1 ...
** AuthorSirName-2 ...
** AuthorSirName-3 ...
** AuthorSirName-4 ...
** AuthorSirName-5 ...
** AuthorSirName-6 ...
** AuthorSirName-7 ...
** AuthorSirName-8 ...
** AuthorSirName-9 ...

to get a list of all sources mentioned in my org-files (meaning only the 
entries/subheadings beneath the heading containing the tag which was 
searched for)? Is it further possible to sort this list according to 
AuthorSirName alphabetically?


Greetings and thanks to all org-mode-contributors. I probably will use 
this mode as long as I will use computers at all!

Martin

--
~~~~
| Martin Butz - m...@mkblog.org - 0421 98749324 - www.mkblog.org |




[O] Lisp nesting exceeds `max-lisp-eval-depth'"

2011-09-15 Thread Martin Butz

Hello all,

I get the following error message while using org-mode during the last 
weeks quite frequently (unfortunately I am not able to link it to an 
update of the installation of some lisp file); I can reproduce the 
behaviour by opening the agenda buffer (C-c a a) and trying to quit with 
"q"; this will open a new frame with the backtrace buffer and leave the 
agenda buffer in the other frame open.


There are loads of other events, which trigger the same behaviour; can 
anybody give a hint how I can solve this rather annoying problem?


Thanks in advance
Martin

 Backtrace --8<

Debugger entered--Lisp error: (error "Lisp nesting exceeds 
`max-lisp-eval-depth'")

  (- (nth 2 edges) (nth 0 edges))
  (let ((edges ...)) (- (nth 2 edges) (nth 0 edges)))
  sr-speedbar-current-window-take-width()
  (let ((win-width ...)) (if (and ... ... ...) (setq sr-speedbar-width 
win-width)))

  sr-speedbar-remember-window-width()
  old-delete-window(#)

 following lines are repeated several times--8<

  (if (one-window-p t) (delete-frame) (old-delete-window 
(selected-window)))
  (save-current-buffer (setq window (or window ...)) (select-window 
window) (if (one-window-p t) (delete-frame) (old-delete-window ...)))

  ad-Orig-delete-window(#)
  old-delete-window(#)

 /following lines are repeated several times--8<---

  (if (one-window-p t) (delete-frame) (old-delete-window 
(selected-window)))
  (save-current-buffer (setq window (or window ...)) (select-window 
window) (if (one-window-p t) (delete-frame) (old-delete-window ...)))

  ad-Orig-delete-window(nil)
  delete-window()
  (and (not (eq org-agenda-window-setup ...)) (not (one-window-p)) 
(delete-window))
  (if (eq org-agenda-window-setup (quote other-frame)) (progn 
(kill-buffer buf) (org-agenda-reset-markers) 
(org-columns-remove-overlays) (setq org-agenda-archives-mode nil) 
(delete-frame)) (and (not ...) (not ...) (delete-window)) (kill-buffer 
buf) (org-agenda-reset-markers) (org-columns-remove-overlays) (setq 
org-agenda-archives-mode nil))
  (let ((buf ...)) (if (eq org-agenda-window-setup ...) (progn ... ... 
... ... ...) (and ... ... ...) (kill-buffer buf) 
(org-agenda-reset-markers) (org-columns-remove-overlays) (setq 
org-agenda-archives-mode nil)))
  (if org-agenda-columns-active (org-columns-quit) (let (...) (if ... 
... ... ... ... ... ...)) (and org-agenda-restore-windows-after-quit 
(not ...) org-pre-agenda-window-conf (set-window-configuration 
org-pre-agenda-window-conf)))

  org-agenda-quit()
  call-interactively(org-agenda-quit nil nil)

 /Backtrace --8<---

--
~
sym.net  ||  butz & siefer gbr  ||  50670 koeln  ||  hansaring 78
phone +49(0)221/3762591 -  twitter.com/symnet  - mail b...@sym.net
~~ www.sym.net | www.moodalis.de 



Re: [O] org-contacts after org-mode update from 7.4 to 7.5

2011-04-03 Thread Martin Butz

Hi Michael,

Am 03.04.2011 13:18, schrieb Michael Markert:

Hi Martin,
On 3 Apr 2011, Martin Butz wrote:

[...]

Using `org-contacts-template-*` in the capture template depends on you
using Gnus and thus having a '*Article*' Buffer.
So you might prefer using `%^{Name}` and `%^{Email}` instead, if you do
not use Gnus.


Yes, that did the trick! Ok, thanks a lot. This used to work with my 
previous release of org-contacts.



In case you use Wanderlust I posted template functions here:
http://article.gmane.org/gmane.emacs.orgmode/40165


I'm still working with Thunderbird although being able to link to mails 
from within org is a strong argument to switch to an emacs-based mailclient.



Greetings,
Michael


Cheers and thanks
Martin


--
~
sym.net  ||  butz & siefer gbr  ||  50670 koeln  ||  hansaring 78
phone +49(0)221/3762591 -  twitter.com/symnet  - mail b...@sym.net
~~ www.sym.net | www.moodalis.de 



[O] org-contacts after org-mode update from 7.4 to 7.5

2011-04-03 Thread Martin Butz

Hi,

after updating from org-mode 7.4 to org-mode 7.5 I keep getting an 
error. While trying to create a new contact the template for my contacts 
says:


* %![Error: (error No buffer named *Article*)]
:PROPERTIES:
:EMAIL: %![Error: (error No buffer named *Article*)]
:PHONE_OFFICE: %^{Telefon (Büro)}
:FAX_OFFICE: %^{Fax (Büro)}
:PHONE_MOBILE: %^{Telefon (mobil)}
:PHONE_PRIVATE: %^{Telefon (privat)}
:SKYPE: %^{Skype-Name}
:URL: %^{Web}
:COMPANY: %^{Firmenname}
:POSITION: %^{Position/Stellung}
:COUNTRY: %^{Land}
:POSTCODE: %^{Postleitzahl}
:CITY: %^{Stadt}
:STREET: %^{Straße, Hausnummer}
:END:

thus preventing me to input the new contact's name. The prompt asks for 
the input of tags.


The last org-contacts.el I downloaded from 
git.naquadah.org/org-contacts.git. As the org-contacts home page says, 
org-contacts.el is now part of org-mode in the contrib folder I 
downloaded org-mode from clone git://orgmode.org/org-mode.git and used 
the included org-contacts.el with no difference.


I'd be grateful for a hint. Googeling and scanning the mailing list did 
not bring me any result. Probably I'm doing something wrong.


Thanks
Martin




--
~
sym.net  ||  butz & siefer gbr  ||  50670 koeln  ||  hansaring 78
phone +49(0)221/3762591 -  twitter.com/symnet  - mail b...@sym.net
~~ www.sym.net | www.moodalis.de 



[Orgmode] org-contacts.el

2011-02-22 Thread Martin Butz

Hi to all,

I'm using org-mode since a year or so. Its a great peace of software and 
I could not imagine using another organizer and notes tool anymore! 
Thanks a lot for all this work!


I tried to use org-contacts.el using the current version from 
git://git.naquadah.org/org-contacts.git


My org-mode version is 7.4.

I keep getting the initialization warning:

Symbol's value as variable is void: org-property-set-functions-alist

on emacs startup. Can anybody give a hint, what I'm doing wrong?

Martin

--
~
sym.net  ||  butz & siefer gbr  ||  50670 koeln  ||  hansaring 78
phone +49(0)221/3762591 -  twitter.com/symnet  - mail b...@sym.net
~~ www.sym.net | www.moodalis.de 

___
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] org-mode and claws

2010-10-13 Thread Martin Butz

Hello to All,

I'm using org-mode since a couple of months. I would like to be able to
link to emails from within org-files and I am wondering whether this is
possible using claws-mail. I have googled a few hours but was only able
to solve the problem partly based on a solution integrating mutt [1].

As I do not know very much about lisp - besides extending my .emacs
with snippets I have collected over the time - my adaption is amateurish
and - which is worse - does not work as desired.

I added to my .emacs:

-8<-
(defun open-mail-in-claws (message)
  "Open a mail message in Claws.
Message can be specified either by a path pointing inside a
Maildir by Message-ID."
  (interactive "Message-ID: ")
  (shell-command
   (format "claws-mail --select \"%s<%s>\""
 (substitute-in-file-name
"$HOME/.claws-mail/imapcache/mail.sym.net/b...@sym.net/INBOX/")message)))

;; add support for "claws:ID" links
(org-add-link-type "claws" 'open-mail-in-claws)
-8<-

The script has a major problem (besides some more or less grave
restrictions): calling the open-mail-in-claws function makes the buffer
from which I call the script unusable; probably because I do not call
claws in the background (or whatever).

Can anybody give a hint, how this could be done in a better way. Or has
anybody a working solution to open mails in claws-mail from within
org-mode?

Thanks and cheers
Martin

[1]
http://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/
--
~
sym.net  ||  butz & siefer gbr  ||  50670 koeln  ||  hansaring 78
phone +49(0)221/3762591 -  twitter.com/symnet  - mail b...@sym.net
~~ www.sym.net | www.moodalis.de 

___
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