[O] Bernt Hansen's setup for recent orgmode versions

2017-07-03 Thread Markus Heller
Hi,

Is anybody aware of an adaptation of Bernt Hansen's orgmode setup for the
current orgmode version?  His setup is for 8.x...

Thanks
Markus


Re: [O] Clock setup stopped working after update

2017-03-09 Thread Markus Heller
Hi Nic,



On Tue, Mar 7, 2017 at 12:44 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Markus Heller <helle...@gmail.com> writes:
>
> > So, I did some more digging into this.  First, I installed an older
> version
> > of org:
> >
> > M-x org -version: Org-mode version 8.2.10 (8.2.10-41-g42228a-elpa @
> > c:/Users/mheller/AppData/Roaming/.emacs.d/elpa/org-20150601/)
>
> I cannot help you with such an old release.
>
> However, did you check that `bh/organization-task-id' points to an
> actual headline?
>
>
Yes, it does.

I rolled back to older version of emacs (24.3) and org-mode, and my set up
works, which is what I need.  If I ever find the time, I'll re-visit this
issue.


Re: [O] Clock setup stopped working after update

2017-03-06 Thread Markus Heller
01] \201d !\202\240 M\201e \232\203\263 \201d Q\206\241 \201f Q R Q
S\201] R!+\202\240 M\201g \232\203\306 \201] \201h !\202\240 M\201i
\232\203\354 \201h Q\206\332 \201j Q R Q S\201] R!+\202\240 M\201k
\232\203\377 \201] \201l !\202\240 M\201m \232\203 \201h \306\201n
\"\210\201o \201p \201q \337\211$\202\240 M\201r \232\203` \201s \201t
!\204; \201W \201u !\210 N?\205\240 \321\322\323 AC#\210\201v Q Q R Q
S\201] R!+\202\240 M\201w \232\203s \201] \201x !\202\240 M\201y
\232\203\206 \201] \201z !\202\240 M\201{ \232\203\231 \201[ \201|
!\202\240 \201W \201} !. \207" [prefix-descriptions org-agenda-buffer-name
org-agenda-window-setup org-agenda-custom-commands
org-agenda-custom-commands-orig org-agenda-custom-commands-contexts nil
buffer-name current-window delq mapcar #[(x) " A;\203\f B \302\207 A@;\203
\207 A@\204' @\303 \211 AA)BB\207 @\303 ABB\207" [x prefix-descriptions nil
""] 4] org-contextualize-keys buffer-file-name buffer-base-buffer boundp
org-agenda-keep-restricted-file-list put org-agenda-files org-restrict
org-agenda-redo-command org-lprops last-args
org-agenda-get-restriction-and-command format "*Org Agenda(%s)*" region
region-beginning region-end subtree org-back-to-heading t
org-end-of-subtree assoc 2 functionp eval 3 4 "*Org Agenda(%s:%s)*" agenda
org-let (org-agenda-list current-prefix-arg) agenda* (org-agenda-list
current-prefix-arg nil nil t) alltodo (org-todo-list current-prefix-arg)
search (org-search-view current-prefix-arg org-match nil) stuck ...] 6)
  org-agenda(nil)
  funcall-interactively(org-agenda nil)
  call-interactively(org-agenda nil nil)
  command-execute(org-agenda)



#+STARTUP: content
#+STARTUP: hidestars
#+STARTUP: indent


* NEXT Organization
:CLOCK:
CLOCK: [2017-03-06 Mon 11:48]
:END:
:PROPERTIES:
:ORDERED:  t
:END:


On Fri, Mar 3, 2017 at 3:29 PM, Markus Heller <helle...@gmail.com> wrote:

> Yes, it does.  Copy mistake error and my mistake.
>
> This lead me to think that the issue is a headline where the * or copies
> thereof have been deleted by accident.  So I cycled through my agenda files
>
> ;; Org-Agenda Files
> (setq org-agenda-files (quote("h:/org/general.org")))
> ;;  "h:/org/projects.org"
> ;;  "h:/org/strategic.org"
> ;;  "h:/org/ffs.org"
> ;;  "h:/org/refile.org")))
>
> but the error occurs in every single one, and as best I could tell, there
> are no lines that should be headlines.
>
> If somebody who speaks elisp could help me with a way to shrink the code
> from Bernt's set up, that would be great!
>
> On Fri, Mar 3, 2017 at 2:01 PM, Nick Dokos <ndo...@gmail.com> wrote:
>
>> Markus Heller <helle...@gmail.com> writes:
>>
>> > This used to work though, before the update.  Here is an "ECM"
>> consisting
>> > of test.org, a minimal agenda file, and a .emacs, which I have strip
>> off
>> > everything except org-mode related code including Bernt's clock set up.
>> > It's not minimal by any means, but I don't have the skills to decide
>> what
>> > else can be removed without introducing missing functions.
>> >
>> > 
>> > #+STARTUP: content
>> > #+STARTUP: hidestars
>> > #+STARTUP: indent
>> >
>> > Organization
>>
>> Does it work if you add a '*' and make this a headline?
>>
>> > :PROPERTIES:
>> > :ID:   kth92m81qwe0
>> > :END:
>> > 
>> >
>>
>> --
>> Nick
>>
>>
>>
>>
>


Re: [O] Clock setup stopped working after update

2017-03-03 Thread Markus Heller
Yes, it does.  Copy mistake error and my mistake.

This lead me to think that the issue is a headline where the * or copies
thereof have been deleted by accident.  So I cycled through my agenda files

;; Org-Agenda Files
(setq org-agenda-files (quote("h:/org/general.org")))
;;  "h:/org/projects.org"
;;  "h:/org/strategic.org"
;;  "h:/org/ffs.org"
;;  "h:/org/refile.org")))

but the error occurs in every single one, and as best I could tell, there
are no lines that should be headlines.

If somebody who speaks elisp could help me with a way to shrink the code
from Bernt's set up, that would be great!

On Fri, Mar 3, 2017 at 2:01 PM, Nick Dokos <ndo...@gmail.com> wrote:

> Markus Heller <helle...@gmail.com> writes:
>
> > This used to work though, before the update.  Here is an "ECM" consisting
> > of test.org, a minimal agenda file, and a .emacs, which I have strip off
> > everything except org-mode related code including Bernt's clock set up.
> > It's not minimal by any means, but I don't have the skills to decide what
> > else can be removed without introducing missing functions.
> >
> > 
> > #+STARTUP: content
> > #+STARTUP: hidestars
> > #+STARTUP: indent
> >
> > Organization
>
> Does it work if you add a '*' and make this a headline?
>
> > :PROPERTIES:
> > :ID:   kth92m81qwe0
> > :END:
> > 
> >
>
> --
> Nick
>
>
>
>


Re: [O] Clock setup stopped working after update

2017-03-03 Thread Markus Heller
; activate calfw
;;(add-to-list 'load-path "~/.emacs.d/site-lisp/calfw1.0/")
;;(require 'calfw-org)

;; Taskjuggler mode for emacs
;;(require 'taskjuggler-mode)

;; ditaa and babel
;;(setq org-ditaa-jar-path "~/.emacs.d/org-mode/contrib/scripts/ditaa.jar")

(add-hook 'org-babel-after-execute-hook 'org-display-inline-images)

(org-babel-do-load-languages
 'org-babel-load-languages
 '((emacs-lisp . t)
   (latex . t)
   (ditaa . t)))

;; enable pdb-mode
;;(load-file
"c:/Users/mheller/AppData/Roaming/.emacs.d/site-lisp/pdb-mode.el")
(setq auto-mode-alist
  (cons (cons "pdb$" 'pdb-mode)
   auto-mode-alist))
(autoload 'pdb-mode "PDB")

;; set up ELPA
;;(require 'package)
;;(package-initialize)
;;(unless package-archive-contents (package-refresh-contents))
;;(unless (package-installed-p 'org) (package-install 'org))
;;
;;
;;
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(TeX-output-view-style
   (quote
(("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "dvips %d -o && start \"\"
%f")
 ("^dvi$" "." "yap -1 %dS %d")
 ("^pdf$" "." "gsview64.exe %o")
 ("^html?$" "." "start \"\" %o"
 '(TeX-view-program-list (quote (("gsview" "gsview64.exe %o"
 '(TeX-view-program-selection
   (quote
(((output-dvi style-pstricks)
  "dvips and start")
 (output-dvi "Yap")
 (output-pdf "gsview")
 (output-html "start"
 '(ansi-color-names-vector
   ["#002b36" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198"
"#839496"])
 '(ansi-term-color-vector
   [unspecific "#586e75" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682"
"#2aa198" "#002b36"])
 '(canlock-password "d956c608d952dc7a21822967382659482ed41a55" t)
 '(custom-enabled-themes nil)
 '(custom-safe-themes
   (quote
("bb749a38c5cb7d13b60fa7fc40db7eced3d00aa93654d150b9627cabd2d9b361"
"8c239ccd90e1e4483a9da693bf66dd1b792fe5aff97d0a2f02b016e86fbd8728"
"01ce486c3a7c8b37cf13f8c95ca4bb3c11413228b35676025fdf239e77019ea1"
"0a90958236c1b6ecb4a8f91ce6b4c13a7c71faf3022d557d9d6b392dc7308e0f"
"8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4"
"3486508cb95981a7003e376c1e6a54593c35c448bc7a8fea07eee37aad41512d"
"4ab86c7682db09485a6e046ee0a6c45b5462f514c89844f4ed8b329aa1708067"
"12b7ed9b0e990f6d41827c343467d2a6c464094cbcc6d0844df32837b50655f9"
default)))
 '(package-selected-packages
   (quote
(pdb-mode org-bullets org-beautify-theme org-autolist org-alert
org-agenda-property org color-theme boxquote batch-mode auctex)))
 '(show-paren-mode t))
;;
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )




On Thu, Mar 2, 2017 at 12:44 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Markus Heller <helle...@gmail.com> writes:
>
> > I just updated emacs to GNU Emacs 25.1.1 (x86_64-w64-mingw32) of
> 2016-09-21
> > and orgmode to Org mode version 9.0.5 (9.0.5-elpa @
> > c:/Users/mheller/AppData/Roaming/.emacs.d/elpa/org-20170210/).
> >
> > I've been using Bernt Hansen's clock setup for over a year now, without
> > issues.  I realize that this is not readily reproduced, but I'm hoping
> that
> > somebody will be able to spot what's going on based on experience.  So,
> > now, after this update, punching in after starting emacs results in an
> > error:
> >
> > org-back-to-heading: Before first headline at position 1121 in buffer
> > *Messages*
> >
> > Debugger:
> >
> > Debugger entered--Lisp error: (error "Before first headline at position
> 71
> > in buffer *GNU Emacs*")
>
> You are trying to clock in from *GNU Emacs* buffer, which is not in Org
> mode. Could you send an ECM for that?
>
> Regards,
>
> --
> Nicolas Goaziou
>


[O] Clock setup stopped working after update

2017-03-02 Thread Markus Heller
Hello,

I just updated emacs to GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-21
and orgmode to Org mode version 9.0.5 (9.0.5-elpa @
c:/Users/mheller/AppData/Roaming/.emacs.d/elpa/org-20170210/).

I've been using Bernt Hansen's clock setup for over a year now, without
issues.  I realize that this is not readily reproduced, but I'm hoping that
somebody will be able to spot what's going on based on experience.  So,
now, after this update, punching in after starting emacs results in an
error:

org-back-to-heading: Before first headline at position 1121 in buffer
*Messages*

Debugger:

Debugger entered--Lisp error: (error "Before first headline at position 71
in buffer *GNU Emacs*")
  signal(error ("Before first headline at position 71 in buffer *GNU
Emacs*"))
  error("Before first headline at position %d in buffer %s" 71 #)
  org-back-to-heading(t)
  org-clock-mark-default-task()
  org-clock-in((16))
  (save-restriction (widen) (goto-char (or --mpom (point))) (org-clock-in
(quote (16
  (save-excursion (save-restriction (widen) (goto-char (or --mpom (point)))
(org-clock-in (quote (16)
  (save-excursion (if (markerp --mpom) (set-buffer (marker-buffer --mpom)))
(save-excursion (save-restriction (widen) (goto-char (or --mpom (point)))
(org-clock-in (quote (16))
  (let ((--mpom (org-id-find bh/organization-task-id (quote marker
(save-excursion (if (markerp --mpom) (set-buffer (marker-buffer --mpom)))
(save-excursion (save-restriction (widen) (goto-char (or --mpom (point)))
(org-clock-in (quote (16)))
  bh/clock-in-organization-task-as-default()
  (if (and (equal major-mode (quote org-mode)) (not
(org-before-first-heading-p)) (eq arg 4)) (org-clock-in (quote (16)))
(bh/clock-in-organization-task-as-default))
  (save-restriction (widen) (if (and (equal major-mode (quote org-mode))
(not (org-before-first-heading-p)) (eq arg 4)) (org-clock-in (quote (16)))
(bh/clock-in-organization-task-as-default)))
  (if (equal major-mode (quote org-agenda-mode)) (let* ((marker
(org-get-at-bol (quote org-hd-marker))) (tags (let ((--mpom marker))
(save-excursion (if (markerp --mpom) (set-buffer ...)) (save-excursion
(save-restriction ... ... ...)) (if (and (eq arg 4) tags)
(org-agenda-clock-in (quote (16))) (bh/clock-in-organization-task-as-default)))
(save-restriction (widen) (if (and (equal major-mode (quote org-mode)) (not
(org-before-first-heading-p)) (eq arg 4)) (org-clock-in (quote (16)))
(bh/clock-in-organization-task-as-default
  bh/punch-in(1)
  funcall-interactively(bh/punch-in 1)
  call-interactively(bh/punch-in nil nil)
  command-execute(bh/punch-in)

I did not change anything in my .emacs.  Is somebody able to give me a hint
as to what's going on?

Thanks
Markus


Re: [O] Displaying property values in agenda search result

2016-03-20 Thread Markus Heller
Christophe Schockaert  citadels.eu> writes:

> 
> 
> Markus Heller writes:
> 
> > Hello,
> >
> > how can I display property values in the agenda, more specifically, 
in 
> > the results of an agenda search?
> >
> > [...]
> >

[...]

> I defined the entry that way, using the "%(expression)" specifier in 
"org-agenda-prefix-format" :
> 

[...] 

org-agenda-prefix-format is exactly what I was looking for.

Thank you very much!

[O] %? has no effect for org-agenda-prefix-format

2016-03-19 Thread Markus Heller
Excerpt from describe-variable org-agenda-prefix-format:

If the first character after `%' is a question mark, the entire field
will only be included if the corresponding value applies to the current
entry.  This is useful for fields which should have fixed width when
present, but zero width when absent.  For example, "%?-12t" will
result in a 12 character time field if a time of the day is specified,
but will completely disappear in entries which do not contain a time.

This does not work for me (emacs 24.3, Org-mode version 8.2.10 (8.2.10-
41-g42228a-elpa)).

Excerpt from agenda view:


Project Subtasks
  INFRA nil : TODO Purchase Fragment Library


Excerpt from org file (Not that the task in question has no Property 
drawer at all):


* Other Infrastructure Development
:PROPERTIES:
:CATEGORY: INFRA
:END:
** TODO NMR-based Fragment Screen
*** TODO Purchase Fragment Library


Here's the definition of org-agenda-prefix-format from my .emacs:


((org-agenda-prefix-format "  %-5c %?-4(setq type (org-entry-get (point) 
\"Type\")): ")


There is a similar thread on stackexchange from March 10 on this 
(http://stackoverflow.com/questions/35910204/org-agenda-prefix-format-
does-not-work).

Is this a bug?

Thanks
Markus





Re: [O] Displaying property values in agenda search result

2016-03-15 Thread Markus Heller
Herbert Sitz  gmail.com> writes:

> 
> Markus Heller  gmail.com> writes:
> 
> > 
> > Hello,
> > 
> > how can I display property values in the agenda, more specifically, 
in 
> > the results of an agenda search?
> > 
> 
> I think the straigtforward way would be to use column view, and set up 
your
> column view to show, in your case, the PROJECT property.
> 
> See, sect. 10.8 of the manual, "Using column view in the agenda":
> http://orgmode.org/manual/Agenda-column-view.html#Agenda-column-view
> 
> as well as reviewing the basic column view info and directions for 
setup in
> sect 7.5, "Column view":
> http://orgmode.org/manual/Column-view.html#Column-view
> 

Thanks for the suggestion, but column view is *not* what I'm after.  I 
was able to tweak my approach a bit to make it workable.






[O] Displaying property values in agenda search result

2016-03-14 Thread Markus Heller
Hello,

how can I display property values in the agenda, more specifically, in 
the results of an agenda search?

Consider the following example:

* Some Project
:PROPERTIES:
:Project:  1234
:END:
** TODO Some Task
:PROPERTIES:
:CATEGORY: foo
:END:
*** NEXT Some subtask

I search using the following in my .emacs as part of a custom agenda 
command:

  ("i" "Text here" tags "CATEGORY=\"foo\""
   ((org-agenda-overriding-header "Header here")))

This search displays Some Task and Some subtask as expected, but how can 
I also display 1234 as value of the property Project for both Some Task 
as well as Some subtask?

Not sure if this is relevant, but my .emacs includes

(setq org-use-property-inheritance (quote ("Project")))

Thanks
Markus






Re: [O] commenting out a SCHEDULED line does not remove todo from agenda.

2013-01-16 Thread Markus Heller
Rainer Stengele rainer.steng...@online.de writes:

 Hi!

 Imagine you have a todo like this:

 * TODO a task
   SCHEDULED: 2013-01-16 Mi +2m

 Now suppose you want to put that todo on hold. In order to no more see
 the scheduled date in the agenda I comment out the SCHEDULED line.
 I do not want to delete it because I maybe need it later again:


 * TODO a task
   # SCHEDULED: 2013-01-16 Mi +2m

 The todo still appears in the agenda.
 Is this not counterintuitive?

No, not IMHO.  You commented out the date on which you were scheduled to
start working on the task, but the task remains TODO.

What about changing the TODO state from TODO to WAITING?

Markus




Re: [O] commenting out a SCHEDULED line does not remove todo from agenda.

2013-01-16 Thread Markus Heller
Rainer Stengele rainer.steng...@online.de writes:

 Am 16.01.2013 17:49, schrieb Markus Heller:
 Rainer Stengele rainer.steng...@online.de writes:
 
 Hi!

 Imagine you have a todo like this:

 * TODO a task
   SCHEDULED: 2013-01-16 Mi +2m

 Now suppose you want to put that todo on hold. In order to no more see
 the scheduled date in the agenda I comment out the SCHEDULED line.
 I do not want to delete it because I maybe need it later again:


 * TODO a task
   # SCHEDULED: 2013-01-16 Mi +2m

 The todo still appears in the agenda.
 Is this not counterintuitive?
 
 No, not IMHO.  You commented out the date on which you were scheduled to
 start working on the task, but the task remains TODO.
 
 What about changing the TODO state from TODO to WAITING?
 
 Markus
 
 
 
 Markus,

 I create the agenda for today.
 Why do I see the todo although it is no more scheduled for today?

Ah, now I get it.

But this works for me, i.e. if I comment the SCHEDULED property out, the
task doesn't show up in the agenda.

M-x org-version: Org-mode version 7.9.2 (7.9.2-84-g89b8a8-elpa @ 
c:/Users/mheller/AppData/Roaming/.emacs.d/elpa/org-20121126/)

M-x emacs-version: GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on 
MARVIN

Markus




Re: [O] Org-mode version N/A-fixup

2012-09-21 Thread Markus Heller
Bastien b...@altern.org writes:

 Hi Markus,

 Markus Heller helle...@gmail.com writes:

 please forgive if this is an RTFM question, but how would I go about
 updating the org git archive from within emacs?  This is what you are
 referring to, correct?

 If I may try to help -- Achim suggests that the directory where you have
 your git executable is not known by Emacs.

 Can you try this?

 M-x getenv RET PATH RET
   = [returns the directories in your PATH environment variable]

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\Git\cmd;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files 
(x86)\sparky\bin;C:\Program Files (x86)\Mozilla Firefox;C:\Program Files 
(x86)\OpenBabel-2.3.1;C:\texmf\miktex\bin\x64

 M-! whereis git RET
   = [returns the path for your git executable]

'whereis' is not recognized as an internal or external command,
operable program or batch file.

 If the two are not in sync, then Emacs will not find your git
 executable and you'll not be able to update a git repo from Emacs.

So I don't use emacs under cygwin, and I guess this is why whereis
doesn't work ...

Anyhow, git *is* in my PATH, but I think my issue is that I don't know
how to update a git repo from *within* emacs.

Would you be able to give pointers please?

Thanks
Markus




Re: [O] Org-mode version N/A-fixup

2012-09-21 Thread Markus Heller
Bastien b...@altern.org writes:

 Hi Markus,

 Markus Heller helle...@gmail.com writes:

 please forgive if this is an RTFM question, but how would I go about
 updating the org git archive from within emacs?  This is what you are
 referring to, correct?

 If I may try to help -- Achim suggests that the directory where you have
 your git executable is not known by Emacs.

 Can you try this?

 M-x getenv RET PATH RET
   = [returns the directories in your PATH environment variable]

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\Git\cmd;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files 
(x86)\sparky\bin;C:\Program Files (x86)\Mozilla Firefox;C:\Program Files 
(x86)\OpenBabel-2.3.1;C:\texmf\miktex\bin\x64

 M-! whereis git RET
   = [returns the path for your git executable]

'whereis' is not recognized as an internal or external command,
operable program or batch file.

 If the two are not in sync, then Emacs will not find your git
 executable and you'll not be able to update a git repo from Emacs.

So whereis is not recognized, maybe because I'm not using cygwin ...
But anyhow, git *is* in my PATH, and I think my issue really is that I
don't know how to update a git repo *from within emacs*.

Would you be able to provide some hints please?

Thanks
Markus




Re: [O] Org-mode version N/A-fixup

2012-09-19 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller writes:
 BTW, how exactly did you update?  A tarball should not need this and if
 it's a Git directory the version should be found automatically.

 Here are the steps:

 1. git pull in ~/.emacs.d/org-mode
 2. M-x org-reload

 Then Emacs apparently does not know how to call git (it probably can't
 be found in path), otherwise it would know the version from git.  You
 should fix, that it would help to show the correct version number, for
 instance in bug reports.

Achim,

please forgive if this is an RTFM question, but how would I go about
updating the org git archive from within emacs?  This is what you are
referring to, correct?

I couldn't find any info on the org web pages ...

Markus




Re: [O] Org-mode version N/A-fixup

2012-09-18 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller writes:
 worked like a charm, thanks!!

 BTW, how exactly did you update?  A tarball should not need this and if
 it's a Git directory the version should be found automatically.

Here are the steps:

1. git pull in ~/.emacs.d/org-mode
2. M-x org-reload

Followed by the steps outlined on the web page pointed out by you.

Cheers
Markus




Re: [O] Org-mode version N/A-fixup

2012-09-17 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller writes:
 What's going on?  I did run M-x org-reload ...

 http://orgmode.org/worg/org-hacks.html#compiling-org-without-make


Hi Achim,

worked like a charm, thanks!!

Markus




[O] Mixed installation on Windoze

2012-05-31 Thread Markus Heller
Hello all,

since the last update this morning, M-x org-version reports a mixed
installation; see below:

,
| Org-mode version 7.8.11 (release_7.8.11-24-g4144c5 @ mixed installation!
| c:/Program Files (x86)/emacs-23.3/lisp/org/ and
| c:/Users/mheller/AppData/Roaming/.emacs.d/org-mode/lisp/)
`

Here's the relevant part of my .emacs (taken from Bernt's documentation):

,
| ;; no need to compile the sources
| (add-to-list 'load-path ~/.emacs.d/org-mode/lisp/)
| (add-to-list 'load-path ~/.emacs.d/org-mode/contrib/lisp/)
| (add-to-list 'auto-mode-alist '(\\.\\(org\\|org_archive\\|txt\\)$ . 
org-mode))
| (require 'org-install)
`

Any idea how this happened?  And how to get rid of the unwanted path in
c:/Program Files (x86)/...?

Thanks and Cheers
Markus




Re: [O] Mixed installation on Windoze

2012-05-31 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller writes:
 ,
 | ;; no need to compile the sources
 | (add-to-list 'load-path ~/.emacs.d/org-mode/lisp/)
 | (add-to-list 'load-path ~/.emacs.d/org-mode/contrib/lisp/)
 | (add-to-list 'auto-mode-alist '(\\.\\(org\\|org_archive\\|txt\\)$ . 
 org-mode))
 | (require 'org-install)
 `

 Any idea how this happened?  And how to get rid of the unwanted path in
 c:/Program Files (x86)/...?

 You don't, this is the org version that came with Emacs and even if you
 remove the path and the files in it, the real problem ― the autoload
 definitions that were generated from it ― would still be there.  You
 need to do either of:

 make uncompiled
 make compile

 to produce a complete uncompiled or compiled orgmode in the git work
 tree.

Ok, I didn't know that, thanks for mentioning.

Where do I run either of these commands?  In ~/.emacs/org-mode/lisp?  Or
just anywhere?  Or from within emacs?

Also, I guess M-x org-version has been extended recently to report a
mixed installation?

Cheers
Markus




Re: [O] Mixed installation on Windoze

2012-05-31 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller writes:
 Where do I run either of these commands?  In ~/.emacs/org-mode/lisp?  Or
 just anywhere?  Or from within emacs?

 In ~/.emacs/org-mode (you need GNU make).  If you don't have that you
 can do it with Emacs itself, but I haven't had time yet to thoroughly
 document it.


As a follow-up to this, I have switched my emacs/org-installation to a
Oracle VM running ubuntu linux.

Installation went smoothly, but now M-x org-version yields:

,
| Org-mode version 7.8.11 (release_7.8.11-24-g4144c5 @ org-install.el can not 
be found!)
`

As far as I can tell, org-mode itself works fine though.  Searching the
web, I found an older thread where Sebastian had an issue that
org-install-el could not be made, but he was building from source ...

Any ideas?

Thanks and Cheers
Markus




Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Markus Heller
Nick Dokos nicholas.do...@hp.com writes:

 Markus Heller helle...@gmail.com wrote:

 Hello all,
 
 I have an OT request that can hopefully be answered by emacs gurus in
 less than a minute:
 
 I'm looking for an emacs search expression that finds :PROPERTIES:
 *without* a matching :END: ...
 

 If you mean a regexp, you are wasting your time[fn:1]. Regexps are
 powerful, but their range of applicability is limited to regular
 languages and even then, you have to worry about their efficiency. The
 above *is* a regular language: if P stands for :PROPERTIES: and E stands
 for :END:, then the regexp is

 ([^EP]*P[^EP]*E)*

 In words, the stuff inside the parens says: 0 or more other things
 (non-P and non-E), followed by a P, followed by 0 or more other
 things, followed by an E. You can then have 0 or more of the
 parenthesized things. This will succeed on well formed sentences and
 fail on others.  But it might have to backtrack over the inner [^EP]*
 matches and then the outer matches, and rescan arbitrarily long
 stretches, which in the worst case, can turn your search into an
 exponentially slow descent into the abyss. You might be able to write
 non-greedy regexps that might behave better in this case. In most cases,
 you'd end up with a horrendous-looking regexp: good luck trying to
 understand it next week. That's my biggest problem with complicated regexps.

 However, a change of tool will simplify the problem enormously. E.g. here's
 a simple algorithm that can be used for this kind of problem:  start a
 nesting depth at 0 - when you see a P, increment the nesting depth by 1;
 when you see an E, decrement it by 1. If the nesting depth ever becomes
 something other than 0 or 1, you got a problem - also, if at EOF, the
 nesting depth is not 0, you got a problem. Easy variations of this will
 check well-formedness even when nesting *is* allowed.

 You can easily write such a program in any language you are familiar
 with (it does not have to be elisp, although you *can* write it in
 elisp - personally, I'd use awk).

 But assuming that you are getting some error from org, you don't know
 where the problem is and you are trying to find it, it will be simpler
 to just use egrep:

 grep -E -n ':PROPERTIES:|:END:' foo.org

 will filter out the relevant lines, so all you have to do is scan the
 output by eye and spot any irregularity (consecutive :PROPERTIES: or
 consecutive :END: lines). Even if you have hundreds of them, that's
 *easy* for humans to do.[fn:2]

 Or, if you prefer, you can write trivial validation programs to operate
 on the output, e.g.:

 grep -E -n ':PROPERTIES:|:END:' foo.org | tee foo.out | grep PROP | 
 wc -l
   grep END foo.out | wc -l

 (the counts 'd better be the same).

 or

   grep -E -n ':PROPERTIES:|:END:' foo.org | foo.awk

 where foo.awk implements the nesting depth algorithm above - something
 like this:

 #! /bin/bash

 awk '
 BEGIN  { d = 0;}
 /:PROPERTIES:/ { d++; if (d  1) { print $1, $d; exit; }}
 /:END:/{ d--; if (d  0) { print $1, $d; exit; }}
 END{ if (d != 0) { print $1, $d; }}'


 Even on Windoze, you can probably do all this stuff with cygwin.

Hi Nick, 

thanks for this informative reply.

Unfortunately, I cannot install cygwin on my work computer.  I'll have
to figure something else out ...

AS for an example, I'm in one of my org files and I do C-TAB and get the
following error:

OVERVIEW
CONTENTS...done
SHOW ALL
if: :END: line missing at position 18720
Quit
Mark set

Where is position 18720?  I apologize if this is a stupid question, but
I can't seem to figure this out ...

Thanks again
Markus




Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Markus Heller
Nick Dokos nicholas.do...@hp.com writes:

 Markus Heller helle...@gmail.com wrote:


 AS for an example, I'm in one of my org files and I do C-TAB and get the
 following error:
 
 OVERVIEW
 CONTENTS...done
 SHOW ALL
 if: :END: line missing at position 18720
 Quit
 Mark set
 
 Where is position 18720?  I apologize if this is a stupid question, but
 I can't seem to figure this out ...
 

 M-x goto-char RET 18720 RET

 will take you there, but it's probably at the very end of the buffer: search 
 backwards
 for :PROPERTIES: and you should be able to find it (if your diagnosis is
 indeed correct).

Thanks to Nick and the other posters for an enlightening answer.  This
worked beautifully :)

Thanks again and Cheers
Markus, who knew that there was some easy way to solve this but couldn't
figure it out himself




[O] Problem after updating org: C-c a a broken

2011-10-28 Thread Markus Heller
Hello all,

just pulled from git.

When I type C-c a a to pull up the agenda, I get the error shown below.

This used to work prior to the update.

Org version is 7.7, pulled 5 min ago on emacs 23.3.1.

Help please, can't access my agenda anymore :(

Thanks
Markus

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  format(nil COMMENT)
  (setq re (format org-heading-keyword-regexp-format org-comment-string))
  (save-excursion (remove-text-properties (point-min) (point-max) pall) (when 
org-agenda-skip-archived-trees (goto-char ...) (while ... ...)) (goto-char 
(point-min)) (setq re (format org-heading-keyword-regexp-format 
org-comment-string)) (while (re-search-forward re nil t) (add-text-properties 
... ... pc)))
  (catch (quote nextfile) (if (bufferp file) (set-buffer file) 
(org-check-agenda-file file) (set-buffer ...)) (widen) (setq bmp 
(buffer-modified-p)) (org-refresh-category-properties) (setq 
org-todo-keywords-for-agenda (append org-todo-keywords-for-agenda 
org-todo-keywords-1)) (setq org-done-keywords-for-agenda (append 
org-done-keywords-for-agenda org-done-keywords)) (setq 
org-todo-keyword-alist-for-agenda (append org-todo-keyword-alist-for-agenda 
org-todo-key-alist)) (setq org-drawers-for-agenda (append 
org-drawers-for-agenda org-drawers)) (setq org-tag-alist-for-agenda (append 
org-tag-alist-for-agenda org-tag-alist)) (save-excursion 
(remove-text-properties ... ... pall) (when org-agenda-skip-archived-trees ... 
...) (goto-char ...) (setq re ...) (while ... ...)) (set-buffer-modified-p bmp))
  (while (setq file (pop files)) (catch (quote nextfile) (if ... ... ... ...) 
(widen) (setq bmp ...) (org-refresh-category-properties) (setq 
org-todo-keywords-for-agenda ...) (setq org-done-keywords-for-agenda ...) (setq 
org-todo-keyword-alist-for-agenda ...) (setq org-drawers-for-agenda ...) (setq 
org-tag-alist-for-agenda ...) (save-excursion ... ... ... ... ...) 
(set-buffer-modified-p bmp)))
  (save-restriction (while (setq file ...) (catch ... ... ... ... ... ... ... 
... ... ... ... ...)))
  (save-excursion (save-restriction (while ... ...)))
  (let ((pa ...) (pc ...) (pall ...) (inhibit-read-only t) (rea ...) bmp file 
re) (save-excursion (save-restriction ...)) (setq org-todo-keywords-for-agenda 
(org-uniquify org-todo-keywords-for-agenda)) (setq 
org-todo-keyword-alist-for-agenda (org-uniquify 
org-todo-keyword-alist-for-agenda) org-tag-alist-for-agenda (org-uniquify 
org-tag-alist-for-agenda)))
  org-prepare-agenda-buffers((h:/org/NMR.org h:/org/Office.org 
h:/org/refile.org))
  (if org-agenda-multi (progn (setq buffer-read-only nil) (goto-char ...) 
(unless ... ...) (narrow-to-region ... ...)) (org-agenda-reset-markers) (setq 
org-agenda-contributing-files nil) (setq org-agenda-columns-active nil) 
(org-prepare-agenda-buffers (org-agenda-files nil ...)) (setq 
org-todo-keywords-for-agenda (org-uniquify org-todo-keywords-for-agenda)) (setq 
org-done-keywords-for-agenda (org-uniquify org-done-keywords-for-agenda)) (setq 
org-drawers-for-agenda (org-uniquify org-drawers-for-agenda)) (let* (... ...) 
(cond ... ... ... ... ... ... ...) (unless ... ...)) (setq buffer-read-only 
nil) (let (...) (erase-buffer)) (org-agenda-mode) (and name (not 
org-agenda-name) (org-set-local ... name)))
  org-prepare-agenda(Day/Week)
  (let* ((span ...) (today ...) (sd ...) (ndays ...) 
(org-agenda-start-on-weekday ...) (thefiles ...) (files thefiles) (start ...) 
(day-numbers ...) (day-cnt 0) (inhibit-redisplay ...) s e rtn rtnall file date 
d start-pos end-pos todayp clocktable-start clocktable-end filter) (setq 
org-agenda-redo-command (list ... ... start-day ...)) (dotimes (n ...) (push 
... day-numbers)) (setq day-numbers (nreverse day-numbers)) (setq 
clocktable-start (car day-numbers) clocktable-end (1+ ...)) (org-prepare-agenda 
Day/Week) (org-set-local (quote org-starting-day) (car day-numbers)) 
(org-set-local (quote org-arg-loc) arg) (org-set-local (quote 
org-agenda-current-span) (org-agenda-ndays-to-span span)) (unless 
org-agenda-compact-blocks (let* ... ... ...) (add-text-properties s ... ...) 
(org-agenda-mark-header-line s)) (while (setq d ...) (setq date ... s ...) (if 
... ... ...) (setq files thefiles rtnall nil) (while ... ...) (if 
org-agenda-include-diary ...) (if ... ...)) (when (and 
org-agenda-clockreport-mode clocktable-start) (let ... ... ... ... ... ... ... 
...)) (goto-char (point-min)) (or org-agenda-multi (org-fit-agenda-window)) 
(unless (and ... ...) (goto-char ...) (recenter -1) (if ... ...)) (goto-char 
(or start-pos 1)) (add-text-properties (point-min) (point-max) (quote ...)) (if 
(eq org-agenda-show-log ...) (org-agenda-show-clocking-issues)) 
(org-finalize-agenda) (setq buffer-read-only t) (message ))
  org-agenda-list(nil)
  call-interactively(org-agenda-list)
  (cond ((setq entry ...) (if ... ... ...)) ((equal keys C) (setq 
org-agenda-custom-commands org-agenda-custom-commands-orig) (customize-variable 
...)) ((equal keys a) (call-interactively ...)) 

Re: [O] Problem after updating org: C-c a a broken

2011-10-28 Thread Markus Heller
Nick Dokos nicholas.do...@hp.com writes:

 Markus Heller helle...@gmail.com wrote:

 Hello all,
 
 just pulled from git.
 
 When I type C-c a a to pull up the agenda, I get the error shown below.
 
 This used to work prior to the update.
 
 Org version is 7.7, pulled 5 min ago on emacs 23.3.1.
 
 Help please, can't access my agenda anymore :(
 
 Thanks
 Markus
 
 Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   format(nil COMMENT)
   (setq re (format org-heading-keyword-regexp-format org-comment-string))

 I can't reproduce this: Org-mode version 7.7 (release_7.7.485.gcfed6.dirty)
 (this is a pull from about 30mins ago plus Eric Schulte's code block keywords 
 patch).

 org-heading-keyword-regexp-format is initialized to nil and made
 buffer-local in org.el It is set to a non-nil value in
 org-set-regexps-and-options which is called from org-mode.  So if the
 visited files's major mode is indeed org, I cannot imagine how this
 error can come about.

 What happens if you visit the three files in your agenda list and *then*
 do C-c a a?  While visiting each file, do C-h v
 org-heading-keyword-regexp-format RET and see if it is nil or not.


Hi Nick,

I've visited all 3 agenda files.  C-c a a doesn't work in any of them,
and org-heading-keyword-regexp-format is NIL in all 3 of them.

Other thoughts?

Markus




Re: [O] Problem after updating org: C-c a a broken

2011-10-28 Thread Markus Heller
Markus Heller helle...@gmail.com writes:

 Nick Dokos nicholas.do...@hp.com writes:

 Markus Heller helle...@gmail.com wrote:

 Hello all,
 
 just pulled from git.
 
 When I type C-c a a to pull up the agenda, I get the error shown below.
 
 This used to work prior to the update.
 
 Org version is 7.7, pulled 5 min ago on emacs 23.3.1.
 
 Help please, can't access my agenda anymore :(
 
 Thanks
 Markus
 
 Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   format(nil COMMENT)
   (setq re (format org-heading-keyword-regexp-format org-comment-string))

 I can't reproduce this: Org-mode version 7.7 (release_7.7.485.gcfed6.dirty)
 (this is a pull from about 30mins ago plus Eric Schulte's code block 
 keywords patch).

 org-heading-keyword-regexp-format is initialized to nil and made
 buffer-local in org.el It is set to a non-nil value in
 org-set-regexps-and-options which is called from org-mode.  So if the
 visited files's major mode is indeed org, I cannot imagine how this
 error can come about.

 What happens if you visit the three files in your agenda list and *then*
 do C-c a a?  While visiting each file, do C-h v
 org-heading-keyword-regexp-format RET and see if it is nil or not.


 Hi Nick,

 I've visited all 3 agenda files.  C-c a a doesn't work in any of them,
 and org-heading-keyword-regexp-format is NIL in all 3 of them.

 Other thoughts?

 Markus

Hm, so ok, restarting emacs actually solved it.

Kinda weird, because I never had to do this when updating org (I don't
compile the sources, I just do C-c C-x !).

Seems a bit odd to me but it's working again so I'm happy :)

I apologize for the noise.




Re: [O] Org-mode as a replacement for LaTeX

2011-06-30 Thread Markus Heller
Hi Tom,

Would you be willing to share your set-up for using LaTeX with org?
That would be fantastic :-)

Cheers
Markus




[O] Re: Accessing CATEGORY for custom agenda command

2011-03-21 Thread Markus Heller
Matt Lundin m...@imapmail.org writes:

 Markus Heller helle...@gmail.com writes:

 I'm trying to get the following to work:

 (org-add-agenda-custom-command
  '(X tags Task
((org-agenda-skip-function '(org-agenda-skip-entry-if 
  'notregexp Admin))
 (org-agenda-overriding-header   Test


 I want all entries that have the tag TASK and that have the category
 Admin shown in the agenda.

 Sorry for the late reply, but a simple way to do this is to change the
 query. This will pick up categories regardless of whether they are
 defined in the subtree or at the top of the file:

 (org-add-agenda-custom-command
  '(X tags TASK+CATEGORY=\Admin\
((org-agenda-overriding-header   Test

Hi Matt,

thanks for the reply.  Looks good to me, will play around with it.  Now
if I could only figure out how to use CATEGORY in my clock report ...

Cheers
Markus




Re: [O] CATEGORY in clock report?

2011-03-15 Thread Markus Heller
Markus Heller helle...@gmail.com writes:

 Hello *,

 a quick question: is it possible to include the CATEGORY of (sub)trees
 in the clock report?  I've read that tags can be included, but I'd like
 to get CATEGORY in there ...

 Thanks and Cheers
 Markus

Hello,

this is a bump to my original question.

I'm wondering, is it possible to have a column in the clock report that

1. contains either the CATEGORY of a (sub)tree OR
2. contains the TAGS that were matched in the header (e.g. :tags
   work|science)? 

The org manual describes how to filter for tags, but that doesn't help
me much. :-(

Any help is appreciated!

Thanks and Cheers!!
Markus




[O] CATEGORY in clock report?

2011-03-14 Thread Markus Heller
Hello *,

a quick question: is it possible to include the CATEGORY of (sub)trees
in the clock report?  I've read that tags can be included, but I'd like
to get CATEGORY in there ...

Thanks and Cheers
Markus




Re: [O] if: Wrong type argument: stringp, \.\.\.

2011-03-10 Thread Markus Heller
Bernt Hansen be...@norang.ca writes:

 Hi Markus,

 It looks like you have a drawer in your org files that is missing
 a closing :END: tag.  Possibly in file h:/org/600_install.org

Hi Bernt and Nick,

yes, there is/was an issue with a missing :END: in that particular
file.  I kept adding it, but for some weird reason, it was automatically
removed again.

But doesn't matter, I'm in the process of overhauling my orgmode files
and use anyway :-)

Thanks and Cheers
Markus




[O] if: Wrong type argument: stringp, \.\.\.

2011-03-09 Thread Markus Heller
Hello group,

I'm stumped.  When I try to bring up the agenda with C-c a, I get the
error message mentioned in the subject line.

I'm using 23.2.1 on Windoze 7 64 bit, and the orgmode from today:

M-x org-version: 7.5

Here's my entire org-mode related part of my .emacs:

,
| ;;
| ;; Org Mode
| ;;
| 
| ;; save all org buffers at 1 minute before the hour
| (run-at-time 00:59 3600 'org-save-all-org-buffers)
| 
| ;; no need to compile the sources
| (add-to-list 'load-path ~/.emacs.d/org-mode/lisp/)
| (add-to-list 'load-path ~/.emacs.d/org-mode/contrib/lisp/)
| (setq org-directory h:/org/)
| (require 'org-install)
| 
| ;; Custom Key Bindings
| (global-set-key \C-cl 'org-store-link)
| (global-set-key \C-ca 'org-agenda)
| (global-set-key \C-cb 'org-iswitchb)
| (global-set-key (kbd f6) 'bh/clock-in-600-install-default-task)
| (global-set-key (kbd f8) 'org-cycle-agenda-files)
| (global-set-key (kbd f9 b) 'bh/clock-in-NMR-booking-task)
| (global-set-key (kbd f9 g) 'gnus)
| (global-set-key (kbd f9 m) 'bh/clock-in-email-task)
| (global-set-key (kbd f9 o) 'bh/clock-in-organization-task)
| (global-set-key (kbd f9 p) 'bh/clock-in-phone-task)
| (global-set-key (kbd f9 r) 'bh/clock-in-read-task)
| (global-set-key (kbd f9 R) 'bh/clock-in-repair-task)
| (global-set-key (kbd f9 SPC) 'bh/clock-in-last-task)
| (global-set-key (kbd f10) 'hist-org-clock-in-select)
| (global-set-key (kbd f11) 'org-clock-goto)
| (global-set-key (kbd f12) 'org-agenda)
`

Any hints are highly appreciated.

Thanks
Markus




Re: [O] if: Wrong type argument: stringp, \.\.\.

2011-03-09 Thread Markus Heller
Nick Dokos nicholas.do...@hp.com writes:

 Markus Heller helle...@gmail.com wrote:

 Hello group,
 
 I'm stumped.  When I try to bring up the agenda with C-c a, I get the
 error message mentioned in the subject line.
 
 I'm using 23.2.1 on Windoze 7 64 bit, and the orgmode from today:
 
 M-x org-version: 7.5
 
 Here's my entire org-mode related part of my .emacs:
 
 ,
 | ;;
 | ;; Org Mode
 | ;;
 | 
 | ;; save all org buffers at 1 minute before the hour
 | (run-at-time 00:59 3600 'org-save-all-org-buffers)
 | 
 | ;; no need to compile the sources
 | (add-to-list 'load-path ~/.emacs.d/org-mode/lisp/)
 | (add-to-list 'load-path ~/.emacs.d/org-mode/contrib/lisp/)
 | (setq org-directory h:/org/)
 | (require 'org-install)
 | 
 | ;; Custom Key Bindings
 | (global-set-key \C-cl 'org-store-link)
 | (global-set-key \C-ca 'org-agenda)
 | (global-set-key \C-cb 'org-iswitchb)
 | (global-set-key (kbd f6) 'bh/clock-in-600-install-default-task)
 | (global-set-key (kbd f8) 'org-cycle-agenda-files)
 | (global-set-key (kbd f9 b) 'bh/clock-in-NMR-booking-task)
 | (global-set-key (kbd f9 g) 'gnus)
 | (global-set-key (kbd f9 m) 'bh/clock-in-email-task)
 | (global-set-key (kbd f9 o) 'bh/clock-in-organization-task)
 | (global-set-key (kbd f9 p) 'bh/clock-in-phone-task)
 | (global-set-key (kbd f9 r) 'bh/clock-in-read-task)
 | (global-set-key (kbd f9 R) 'bh/clock-in-repair-task)
 | (global-set-key (kbd f9 SPC) 'bh/clock-in-last-task)
 | (global-set-key (kbd f10) 'hist-org-clock-in-select)
 | (global-set-key (kbd f11) 'org-clock-goto)
 | (global-set-key (kbd f12) 'org-agenda)
 `
 
 Any hints are highly appreciated.
 

 We need a backtrace: see section 1.4, Feedback, of the Org manual on how
 to get one.

 Nick

Ok, below is the backtrace.  Geez, how can one read anything useful out
of this? ;-)

Cheers
Markus

Debugger entered--Lisp error: (error :END: line missing at position 15207)
  signal(error (:END: line missing at position 15207))
  error(:END: line missing at position %s 15207)
  (if (re-search-forward ^[]*:END: (save-excursion ... ...) t) 
(outline-flag-region b (point-at-eol) flag) (error :END: line missing at 
position %s b))
  (let ((b ...) (outline-regexp org-outline-regexp)) (if (re-search-forward ^[ 
]*:END: ... t) (outline-flag-region b ... flag) (error :END: line 
missing at position %s b)))
  (progn (let (... ...) (if ... ... ...)))
  (if (looking-at ^[   ]*:[a-zA-Z][a-zA-Z0-9]*:) (progn (let ... ...)))
  (when (looking-at ^[ ]*:[a-zA-Z][a-zA-Z0-9]*:) (let (... ...) (if 
... ... ...)))
  (save-excursion (beginning-of-line 1) (when (looking-at ^[   
]*:[a-zA-Z][a-zA-Z0-9]*:) (let ... ...)))
  org-flag-drawer(t)
  (while (re-search-forward org-drawer-regexp end t) (org-flag-drawer t))
  (let* ((globalp ...) (beg ...) (end ...)) (goto-char beg) (while 
(re-search-forward org-drawer-regexp end t) (org-flag-drawer t)))
  (save-excursion (let* (... ... ...) (goto-char beg) (while ... ...)))
  (progn (save-excursion (let* ... ... ...)))
  (if (and (org-mode-p) (not ...)) (progn (save-excursion ...)))
  (when (and (org-mode-p) (not ...)) (save-excursion (let* ... ... ...)))
  org-cycle-hide-drawers(all)
  (if (eq org-startup-folded (quote showeverything)) nil (if 
org-hide-block-startup (org-hide-block-all)) 
(org-set-visibility-according-to-property (quote no-cleanup)) 
(org-cycle-hide-archived-subtrees (quote all)) (org-cycle-hide-drawers (quote 
all)) (org-cycle-show-empty-lines t))
  (unless (eq org-startup-folded (quote showeverything)) (if 
org-hide-block-startup (org-hide-block-all)) 
(org-set-visibility-according-to-property (quote no-cleanup)) 
(org-cycle-hide-archived-subtrees (quote all)) (org-cycle-hide-drawers (quote 
all)) (org-cycle-show-empty-lines t))
  org-set-startup-visibility()
  (if org-inhibit-startup-visibility-stuff nil (org-set-startup-visibility))
  (unless org-inhibit-startup-visibility-stuff (org-set-startup-visibility))
  (if org-inhibit-startup nil (when org-startup-align-all-tables (let ... ... 
...)) (when org-startup-with-inline-images (org-display-inline-images)) (when 
org-startup-indented (require ...) (org-indent-mode 1)) (unless 
org-inhibit-startup-visibility-stuff (org-set-startup-visibility)))
  (unless org-inhibit-startup (when org-startup-align-all-tables (let ... ... 
...)) (when org-startup-with-inline-images (org-display-inline-images)) (when 
org-startup-indented (require ...) (org-indent-mode 1)) (unless 
org-inhibit-startup-visibility-stuff (org-set-startup-visibility)))
  (let ((delay-mode-hooks t)) (outline-mode) (setq major-mode (quote org-mode)) 
(setq mode-name Org) (progn (if ... ...) (unless ... ...) (let ... ...)) 
(use-local-map org-mode-map) (set-syntax-table org-mode-syntax-table) (setq 
local-abbrev-table org-mode-abbrev-table) (if (featurep ...) (when ... ... ... 
...) (define-key org-mode-map [menu-bar headings] ...) (define-key org-mode-map 
[menu-bar hide] ...) (define-key org-mode-map [menu-bar show] ...)) 
(org-load-modules

[Orgmode] Accessing CATEGORY for custom agenda command

2011-02-11 Thread Markus Heller
Hi all,

I'm trying to get the following to work:

(org-add-agenda-custom-command
 '(X tags Task
   ((org-agenda-skip-function '(org-agenda-skip-entry-if 
'notregexp Admin))
(org-agenda-overriding-header   Test


I want all entries that have the tag TASK and that have the category
Admin shown in the agenda.

I set the category in my org files like this:

#+CATEGORY: Admin
#+FILETAGS: ADMIN
* Tasks [5/6]  :TASK:
** TODO Drop off Stuff
** DONE F'up on other stuff

I also tried using 'notregexp ADMIN to go after the FILETAG, but
either way, the search yields no hits.

I have the feeling that I'm misunderstanding something pretty badly and
would appreciate any help :-)

Thanks and Cheers
Markus


___
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: [OT] M-x not working anymore

2011-02-01 Thread Markus Heller
Tassilo Horn tass...@member.fsf.org writes:

 Markus Heller helle...@gmail.com writes:

 Hi Markus,

 M-x doesn't work anymore!!  The M key works, e.g. M-w still does what
 it's supposed to if a region is active, and I can use ESC x instead.

 What does C-h k M-x say?

For C-h k M-x, it doesn't say anything.

For C-h k ESC-x, it says the following:


M-x (translated from escape x) runs the command
execute-extended-command, which is an interactive built-in function in
`C source code'.

It is bound to execute, menu, M-x.

(execute-extended-command PREFIXARG)

Read function name, then read its arguments and call it.

To pass a numeric argument to the command you are invoking with, specify
the numeric argument to this command.

Noninteractively, the argument PREFIXARG is the prefix argument to
give to the command you invoke, if it asks for an argument.


Not sure what to make of this ...

Markus


___
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: [OT] M-x not working anymore

2011-02-01 Thread Markus Heller
Erik Iverson er...@ccbr.umn.edu writes:

 Markus Heller wrote:
 Tassilo Horn tass...@member.fsf.org writes:

 Markus Heller helle...@gmail.com writes:

 Hi Markus,

 M-x doesn't work anymore!!  The M key works, e.g. M-w still does what
 it's supposed to if a region is active, and I can use ESC x instead.
 What does C-h k M-x say?

 For C-h k M-x, it doesn't say anything.

 For C-h k ESC-x, it says the following:

 snip

 You should start emacs with the -q flag and see if it still
 happens.  Assuming M-x returns, comment out 1/2 of your .emacs
 file and determine by binary search where the problem is.

That might be a stupid question, but how do I do this under Win 7?  I
just double-click on runemacs.exe ...

Markus


___
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: [OT] M-x not working anymore

2011-02-01 Thread Markus Heller
Erik Iverson er...@ccbr.umn.edu writes:

 Markus Heller wrote:
 Tassilo Horn tass...@member.fsf.org writes:

 Markus Heller helle...@gmail.com writes:

 Hi Markus,

 M-x doesn't work anymore!!  The M key works, e.g. M-w still does what
 it's supposed to if a region is active, and I can use ESC x instead.
 What does C-h k M-x say?

 For C-h k M-x, it doesn't say anything.

 For C-h k ESC-x, it says the following:

 snip

 You should start emacs with the -q flag and see if it still
 happens.  Assuming M-x returns, comment out 1/2 of your .emacs
 file and determine by binary search where the problem is.

Since I don't know how to use flags when starting emacs under Windoze (I
just double-click the runemacs.exe icon), I moved my .emacs to a
different folder and then started emacs without any customizations.

Same result: M-x doesn't work.  What's going on here?

Markus


___
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] No Time Grid in Agenda View

2011-01-04 Thread Markus Heller
Hello all,

I noticed a few mintues ago that my agenda view does not display the
time grid anymore.

I'm using Org-mode version 7.4 (release_7.4.124.gde39b) on Windoze 7.

Org-agenda-use-timegrid is set to standard, and I did not change it.

Any ideas where my time grid went?

Thanks and Cheers
Markus


___
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: No Time Grid in Agenda View

2011-01-04 Thread Markus Heller
suvayu ali fatkasuvayu+li...@gmail.com writes:

 Hi,

 On Tue, Jan 4, 2011 at 10:56 AM, Markus Heller helle...@gmail.com wrote:
 Hello all,

 I noticed a few mintues ago that my agenda view does not display the
 time grid anymore.

 I'm using Org-mode version 7.4 (release_7.4.124.gde39b) on Windoze 7.

 Org-agenda-use-timegrid is set to standard, and I did not change it.

 Any ideas where my time grid went?


 What is the value of `org-agenda-time-grid'?

Hi Suvayu,

rats, you obviously read and replied to my pointless posting before I
could cancel it :(

Thanks for the reply anyway, I've figured it out, too,
org-agenda-time-grid was the culprit.

My apologies.

Markus


___
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] [OT] Emacs for Windows 7

2010-12-16 Thread Markus Heller
Hello all,

I know this is OT, but I'm going to have to have my work computer
upgraded to 


___
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] [OT] Emacs for 64 bit Windows 7

2010-12-16 Thread Markus Heller
Hello all,

first, my apologies for my previous posting, that was posted by
accident, and when trying to cancel the article in gnus, it prompted me
for a Canlock password which I don't know, so I wasn't able to cancel
the posting.

Anyhow, my question is: is there an emacs version that runs under 64 bit
Windoze 7?  I have to have my work computer upgraded, and I've read on
the gnu ftp site in the Windoze readme that emacs has yet to be ported
to 64 bit Windoze.  Is this true?  I'm starting to get really nervous at
the prospect of not being able to use org-mode anymore ...

Any pointers are highly appreciated!

Thanks and Cheers
Markus


___
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: [OT] Emacs for Windows 7

2010-12-16 Thread Markus Heller
Erik Iverson er...@ccbr.umn.edu writes:

 Markus Heller wrote:
 Hello all,

 I know this is OT, but I'm going to have to have my work computer
 upgraded to 

 Apparently that's a good idea! :)

LOL!

Well, to be honest, this pre-mature posting was due to user-failure and
my apparent inability to figure out how to get prompted for a Canlock
password by gnus when trying to cancel an article ...


___
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: [OT] Emacs for 64 bit Windows 7

2010-12-16 Thread Markus Heller
Nick Parker ni...@developernotes.com writes:

 Markus,

 I run a 32 bit version of GNU Emacs in Windows 7 Ultimate x64 with no
 issues.  Good luck.

Good to know!

Thanks!!


___
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: [OT] Emacs for 64 bit Windows 7

2010-12-16 Thread Markus Heller
Tassilo Horn tass...@member.fsf.org writes:

 Markus Heller helle...@gmail.com writes:

 first, my apologies for my previous posting, that was posted by
 accident, and when trying to cancel the article in gnus, it prompted
 me for a Canlock password which I don't know, so I wasn't able to
 cancel the posting.

 ,[ (info (message)Canceling News) ]
 | The `message-cancel-news' command cancels the article in the current
 | buffer.
 | 
 |The value of `message-cancel-message' is inserted in the body of the
 | cancel message.  The default is `I am canceling my own article.'.
 | 
 |When Message posts news messages, it inserts `Cancel-Lock' headers
 | by default.  This is a cryptographic header that ensures that only you
 | can cancel your own messages, which is nice.  The downside is that if
 | you lose your `.emacs' file (which is where Gnus stores the secret
 | cancel lock password (which is generated automatically the first time
 | you use this feature)), you won't be able to cancel your message.  If
 | you want to manage a password yourself, you can put something like the
 | following in your `~/.gnus.el' file:
 | 
 |  (setq canlock-password geheimnis
 |canlock-password-for-verify canlock-password)
 | 
 |Whether to insert the header or not is controlled by the
 | `message-insert-canlock' variable.
 | 
 |Not many news servers respect the `Cancel-Lock' header yet, but this
 | is expected to change in the future.
 `

Thanks Tassilo.

Man I really have to learn how to use the manpages/info thingy ...

Cheers
Markus


___
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: Clock report: ignore empty entries (7.3)

2010-12-09 Thread Markus Heller
Bernt Hansen be...@norang.ca writes:

 Markus Heller helle...@gmail.com writes:

 Hello everybody,

 I also like the new looks of the clock report, but I have one question.

 My scope is set to agenda-with-archives, and I'm wondering if it is
 possible to ignore files with no clock info for the tstart tend
 interval.

 Yes it's possible.

 Add :fileskip0 t and :stepskip0 t

 #+BEGIN: clocktable :maxlevel 2 :scope agenda :tstart 2010-10-30 Sat 
 :tend 2010-11-05 Fri :step day :fileskip0 t :stepskip0 t
 #+END:

Bernt,

thanks for your help, as usual.

I have org.pdf for Release 7.3, but the word ``fileskip'' cannot be
found.  I assume this is not in the docu then?

Thanks and Cheers
Markus


___
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: [MobileOrg] Specify files to be sync'ed

2010-12-09 Thread Markus Heller
Matthew Jones bsdmatb...@gmail.com writes:

 Hey 
 Markus,http://orgmode.org/manual/Pushing-to-MobileOrg.html#Pushing-to-MobileOrgIf
  you configure org-mobile-files to contain just the files you want copied 
 over, then that is all that will be synced during an org-mobile-push

D'oh, you'd *think* I'd be able to read the manual a bit more thoroughly
...  Thanks for banging my head on it, Matthew!!

Markus


___
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] Clock report: ignore empty entries (7.3)

2010-12-07 Thread Markus Heller
Hello everybody,

I also like the new looks of the clock report, but I have one question.

My scope is set to agenda-with-archives, and I'm wondering if it is
possible to ignore files with no clock info for the tstart tend
interval.

Thanks and Cheers!
Markus


___
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] [MobileOrg] Specify files to be sync'ed

2010-12-07 Thread Markus Heller
Hello list,

I'm wondering if it is possible to specify a list of files for use with
MobileOrg, as opposed to having all agenda files sync'ed.

In case you're wondering why I would like to do this:  I'm working for a
company, and I cannot put confidential information on a public webserver
(I know Dropbox is encrypted and I can encrypt my org files).  I'd like
to be able to just have one file with appointments etc. and one file
with TODO items, nothing else.

Is this possible?  From looking at the org manual, it doesn't seem like
it.

Thanks and Cheers
Markus


___
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: moving in the agenda view is slow

2010-11-26 Thread Markus Heller
Martin Stemplinger mstemplin...@gmx.de writes:

 Hallo Rainer Stengele,

 am 26.11.2010 schriebst Du:

 Hi all,

 I am struggling more and more with slowness in my agenda view.
 Moving from line to line with n and p is slow.
 Pressing the n key for 2 seconds will result in the cursor not following 
 every keypress
 but jumping down after 2 or 3 seconds.

 I switched off all minor modes and found no improvements.
 What is the agenda doing when I am moving from item to item?
 Follow-mode is off.

 I use about 10 org files with a total of 35.000 lines.
 The slowness is true for customized agenda views as well as for default ones 
 like C-a t
 (List of all todo entries).

 GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-11-04 on LENNART-69DE564 
 (patched)
 Org-mode version 7.3 (release_7.3.157.ga98a)

 Rainer

 Maybe it's something completely different but I found org-mode to be
 ridicilous slow when the org-files were under git version control. No
 idea when this started and why it happened.  

I've had a similar issue.  Somebody here suggested to put the line below
in my .emacs, which helped.  But beware, this disables the vc backend of
emacs completely, so you'll have to run git manually.

Here is the line:

;; no vc-git
(setq vc-handled-backends nil)


HTH
Markus


___
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: ditaa set-up on windows box

2010-09-29 Thread Markus Heller
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi everyone,

 once this is resolved, I believe this would be important to be added
 to the FAQ.
 Can someone please take care of this?

 Thanks!

 - Carsten

Ah, yes, thanks for reminding me to follow up on this.

 On Sep 28, 2010, at 7:00 PM, Achim Gratz wrote:

 John Hendy jw.he...@gmail.com writes:
 Can you check your CLASSPATH environment variable? Mine is (not sure
 if it's correct, but it works...):

 .;C:\Program Files\Java\jre6\lib\ext\QTJava.zip

 Unset this variable and try again.  The default CLASSPATH is simply
 .,
 but you don't need to set the environment variable then.

 http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html

 BTW, you can run 'java -verbose' to get more output that may show you
 where the problem really is (like looking for files in the wrong place
 or something like that).

The problem has not been solved, but I have confirmed that the cause is
*NOT* related to org-mode, so there's no need for a FAQ entry :)

Thanks to all the folks who tried to help, on the list and off the list.

Cheers
Markus

PS: Here's a quick summary for those interested:

The root of all evil is *NOT* org-mode, but rather the fact that my OS
(windoze XP) insists on finding an outdated Java version (1.4).  I have
installed the Java 1.6 runtime environment, and as far as I can tell, all
my environment variables contain only pointers to this installation, yet
java -version shows 1.4.2_03.

I just figured out that this old installation is connected to another
piece of software, which is annoying as hell in itself.


___
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: ditaa set-up on windows box

2010-09-29 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller helle...@gmail.com writes:
 The root of all evil is *NOT* org-mode, but rather the fact that my OS
 (windoze XP) insists on finding an outdated Java version (1.4).  I have
 installed the Java 1.6 runtime environment, and as far as I can tell, all
 my environment variables contain only pointers to this installation, yet
 java -version shows 1.4.2_03.

 That should be fixable by removing the part of the %PATH% environment
 variable that contains the 1.4.2 java executable.  Once you know where
 that is, it should suggest itself which software is responsible for this.

 I just figured out that this old installation is connected to another
 piece of software, which is annoying as hell in itself.

 You confirmed this or is this just a guess?  I'd run the Software
 panel and check if the old JRE is still listed there, if yes that's a
 way to do a clean uninstall.  If not you can still use the Java control
 panel from the new JRE and disable the old one (it should find and list
 all JRE on your computer if you let it do a search).  I don't think this
 takes care of the %PATH%, which can most likely be (un)set from the
 System control panel.

I removed the old Java version from %PATH%, and now java -version gives
the correct version (1.6.0_21).

I can use ditaa on the command line:

H:\org\testjava -jar ditaa.jar ditaa_test.txt

DiTAA version 0.8, Copyright (C) 2004--2009  Efstathios Sideris

Running with options:
Reading file: ditaa_test.txt
Locale: en_US
Dialog.bold
Rendering to file: ditaa_test_4.png
Done in 0sec

But when I try to run the same ditaa code from within org-mode using
babel, I get error messages:

java.lang.UnsupportedClassVersionError: 
org/stathissideris/ascii2image/core/CommandLineConverter (Unsupported 
major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread main 

Here's my source:

#+begin_src ditaa :file folder_structure.png :cmdline -r -s 0.8

+---$COMPOUND_REGISTRY/
|
|--- 1H/
|
|--- 13C/
|
+--- MS/

#+end_src

#+results:
[[file:folder_structure.png]]


And my babel set up from my .emacs:

(setq org-ditaa-jar-path ~/.emacs.d/org-mode/contrib/scripts/ditaa.jar)

(add-hook 'org-babel-after-execute-hook 'org-display-inline-images)

(org-babel-do-load-languages
 'org-babel-load-languages
 '((emacs-lisp . t)
   (ditaa . t)))

Am I still missing something here?

Thanks and Cheers
Markus


___
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: ditaa set-up on windows box

2010-09-29 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller helle...@gmail.com writes:
 I removed the old Java version from %PATH%, and now java -version gives
 the correct version (1.6.0_21).

 Good.

 But when I try to run the same ditaa code from within org-mode using
 babel, I get error messages:

 Sure, you've only changed the %PATH% in the cmd window, all other
 processes still see the old value.  You need to remove it from the
 %PATH% on system level, then it should also work from Emacs.  If you
 customize exec-path in Emacs you might be able to remove the wrong path
 there (if you try, just save it for this session only), but you should
 really remove the old JRE completely if only for security reasons.

Actually, I did change the system %PATH% through the control panel and
environment variables, but I did not re-start emacs.  After doing that,
everything works fine :)

Oh, and I'd *love* to remove the old JRE, but that's part of another
software installation (I'm working in a company), and unfortunately, I
can't just wipe that thing off my hard drive.

Anyway, issue solved :)

Thanks to all and Cheers!!
Markus


___
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: ditaa set-up on windows box

2010-09-27 Thread Markus Heller
Sebastian Rose sebastian_r...@gmx.de writes:

 Markus Heller helle...@gmail.com writes:
 Hello everyone,

 this might be a little OT, but I'm having a hard time to get ditaa to
 run properly.  The org-mode part works, it's the Java part that's giving
 me trouble, I'm getting loads of Exception in thread main
 java.lang.misc stuff goes here errors, and I have no Java experience
 whatsoever. 

 I'm on a windoze XP box, and I was wondering if a fellow user might be
 willing to share his/her set-up.

 Thanks and Cheers
 Markus


 Hi Markus,



 does `org-ditaa-jar-path' have the correct value?
 You can find out this way:

 M-: org-ditaa-jar-path RET

Yes, it does.

 Can you execute 

java -jar c:\path\to\ditaa.jar --help

 on the command line using the value of that variable? 

Doing this gives the following error:

C:\Documents and Settings\mhellerjava -jar C:\Documents and Settings\mheller\.e
macs.d\org-mode\contrib\scripts\ditaa.jar --help
Exception in thread main java.util.zip.ZipException: The system cannot find th
e file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)

 If not, I suspect you use an outdated version of Org mode and need to
 set `org-ditaa-jar-path' to the correct value yourself.  Nowadays this
 variable is set to the correct value automatically and ditaa.jar comes
 with the development version of Org mode.

M-x org-version:  7.01trans (release_7.01h.580.g2157)

Is this a java problem?

Thanks
Markus


___
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: ditaa set-up on windows box

2010-09-27 Thread Markus Heller
Sebastian Rose sebastian_r...@gmx.de writes:

 Markus Heller helle...@gmail.com writes:
 C:\Documents and Settings\mhellerjava -jar C:\Documents and 
 Settings\mheller\.e
 macs.d\org-mode\contrib\scripts\ditaa.jar --help
 Exception in thread main java.util.zip.ZipException: The system cannot 
 find th
 e file specified
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)
 at java.util.jar.JarFile.init(Unknown Source)


 Oh - or could the spaces in the path trigger that problem?

 You could try to put ditaa.jar to 

C:\ditaa.jar

 and retry.

 That would move the error to Org-mode.

I did this, and now I get:

C:\java -jar ditaa.jar --help
Exception in thread main java.lang.UnsupportedClassVersionError: org/stathissi
deris/ascii2image/core/CommandLineConverter (Unsupported major.minor version 49.
0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

And neither java.util.zip nor java.util.jar exist on my system, although
I've just re-installed the Java Runtime Environment jre1.6.0_07.

I wish I was using a Mac or Linux ...



___
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] ditaa set-up on windows box

2010-09-24 Thread Markus Heller
Hello everyone,

this might be a little OT, but I'm having a hard time to get ditaa to
run properly.  The org-mode part works, it's the Java part that's giving
me trouble, I'm getting loads of Exception in thread main
java.lang.misc stuff goes here errors, and I have no Java experience
whatsoever. 

I'm on a windoze XP box, and I was wondering if a fellow user might be
willing to share his/her set-up.

Thanks and Cheers
Markus


___
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: Interactive Search in Agenda

2010-09-07 Thread Markus Heller
Bastien bastien.gue...@wikimedia.fr writes:

 Markus Heller helle...@gmail.com writes:

 Yes, that would be nice.  What would it look like then?  Like this:

 1. Hit C-c a
 2. Hit `m'
 3. Type +S and then hit TAB which expands to +Sample
 4. Continue with =S0002

 Is this what you're thinking about?

 Yes.  But I haven't looked into the details now, so I don't know how
 hard it is to implement this.

That's ok.  I'm excited that you are looking into it, though.

Thanks and Cheers
Markus


___
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: Interactive Search in Agenda

2010-09-03 Thread Markus Heller
Bastien bastien.gue...@wikimedia.fr writes:

 Markus Heller helle...@gmail.com writes:

 1. Hit C-c a
 2. In the dispatcher, hit `X'
 3. I get prompted which Property I want to search for, and I enter `Sample'
 4. I get prompted which value I want that property to have, and I enter
`S0002'
 5. I get a list of all hits

 Now, I know that I can achieve this by using

 1. Hit C-c a
 2. Hit `m'
 3. Enter `+Sample=S0002'

 but that's too much typing for my taste.

 Is there a way to achieve what I want?

 One small but (maybe) useful improvement here would be to make `C-c a m'
 allow completion over properties.  That would spare you a few keystrokes
 already...  

Yes, that would be nice.  What would it look like then?  Like this:

1. Hit C-c a
2. Hit `m'
3. Type +S and then hit TAB which expands to +Sample
4. Continue with =S0002

Is this what you're thinking about?

Cheers
Markus


___
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: Orgmode: exporter for taskjuggler

2010-09-03 Thread Markus Heller
Christian Egli christian.e...@sbszh.ch writes:

 Markus Heller helle...@gmail.com writes:

 Hello Christian,

 I'm very interested in using your taskjuggler export from orgmode.
 Unfortunately, I'm on a Windoze box, and getting TJ2 to work is a big
 pain ...  However, TJ3 is fairly straightforward, since it's Ruby, so
 I'm wondering, do you have any plans of including support for TJ3 as
 well?  I know it's still in alpha, but just asking :)

 I myself use tj2, so the exporter is tested for that. Initially I had
 thought that the exporter was also working for tj3 since the differences
 in the syntax are supposedly very minor. But I've had reports by users
 that the exporter generates code that doesn't work with tj3.

 I just installed tj3 and tested it with a generated tjp file. There are
 a number of problems: you need to replace all occurrences of purge
 allocations with purge allocate. Also you seem to be required to mark
 all milestones explicitly (with milestone). Thirdly you need to
 change the report definitions.

 - The issue with purge allocate needs to be changed in the exporter
   code. For now you will have to search and replace as mentioned above.

 - The milestone issue can be dealt with by assigning the milestone
   property to an item. It would be nicer if this just worked if an item
   doesn't have an effort property.

 - The problems with reports can be solved by changing the report
   definition (via customize) 

 I'll have to work with the taskjuggler list to see if and what we can do
 about these issues, if we can somehow ease the migration.

Christian,

thanks for looking into this.

After a lot of googling, I actually managed to get TJ2 to run on my box,
but it's a pain ...  TJ3 would certainly make life easier.

I'll look into the issues you mentioned ...

Thanks and Cheers
Markus


___
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] Effort estimates for multi-day tasks

2010-09-02 Thread Markus Heller
Hello all,

please consider the following scenario:

* Task A
** Task B
   This task requires 3 full days @ 8 h each day.
   :PROPERTIES:
   :Effort: 
   :END:

How would I estimate the effort for task B?  Set it to 24:00?  That's
unhandy if you have something like the following in your .emacs:

;; global Effort estimate values
(setq org-global-properties (quote ((Effort_ALL . 0:05 0:15 0:30 1:00 1:30 
2:00 2:30 3:00 3:30 4:00 4:30 5:00 5:30 6:00 6:30 7:00 7:30 8:00

The other option would be to break up task B in 3 subtasks like this:

* Task A
** Task B
   This is now just a container task
*** Task B1
:PROPERTIES:
:Effort: 8:00
:END:
*** Task B2
:PROPERTIES:
:Effort: 8:00
:END:
*** Task B3
:PROPERTIES:
:Effort: 8:00
:END:

What do the org-mode experts consider to be the best solution to
estimating the efforts of multi-day tasks?

Any input is appreciated.

Thanks and Cheers
Markus


___
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] Issue with non-existing agenda file

2010-08-30 Thread Markus Heller
Hello all,

I'm stuck with a weird issue:

When I tried to invoke any agenda view, e.g. C-c a a, I get the
following message in the minibuffer:

non-existing agenda file h:/org/career.org [R]emove from list or
[A]bort?

I type R to remove it, get my agenda view, and then I switch the
buffer to Career.org and hit C-[ and get file added to front of agenda
list, but when I try C-c a a again, I get the message above about the
non-existing agenda file.

What's going on here?

Thanks and Cheers
Markus

PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1


___
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: Issue with non-existing agenda file

2010-08-30 Thread Markus Heller
Eric S Fraga ucec...@ucl.ac.uk writes:

 On Mon, 30 Aug 2010 11:57:14 -0700, Markus Heller helle...@gmail.com wrote:
 
 Hello all,
 
 I'm stuck with a weird issue:
 
 When I tried to invoke any agenda view, e.g. C-c a a, I get the
 following message in the minibuffer:
 
 non-existing agenda file h:/org/career.org [R]emove from list or
 [A]bort?
 
 I type R to remove it, get my agenda view, and then I switch the
 buffer to Career.org and hit C-[ and get file added to front of agenda
 list, but when I try C-c a a again, I get the message above about the
 non-existing agenda file.
 
 What's going on here?
 
 Thanks and Cheers
 Markus
 
 PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1

 I assume you're on MS Windows here...  what is the value of
 org-agenda-files after you add the file?  is case (Career versus
 career) an issue?  You say I switch the buffer to Career.org; have
 you actually saved the file?

Err, how do I check the value of org-agenda-files?

Wow, this just makes me realize how much of a newbie I still am ...

Thanks for everyone's patience!

Markus


___
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: Issue with non-existing agenda file

2010-08-30 Thread Markus Heller
Eric S Fraga ucec...@ucl.ac.uk writes:

 On Mon, 30 Aug 2010 11:57:14 -0700, Markus Heller helle...@gmail.com wrote:
 
 Hello all,
 
 I'm stuck with a weird issue:
 
 When I tried to invoke any agenda view, e.g. C-c a a, I get the
 following message in the minibuffer:
 
 non-existing agenda file h:/org/career.org [R]emove from list or
 [A]bort?
 
 I type R to remove it, get my agenda view, and then I switch the
 buffer to Career.org and hit C-[ and get file added to front of agenda
 list, but when I try C-c a a again, I get the message above about the
 non-existing agenda file.
 
 What's going on here?
 
 Thanks and Cheers
 Markus
 
 PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1

 I assume you're on MS Windows here...  what is the value of
 org-agenda-files after you add the file?  is case (Career versus
 career) an issue?  You say I switch the buffer to Career.org; have
 you actually saved the file?

So I checked, and org-agenda-files contains the correct capitalization.

After repeatedly getting stuck in the add-remove cycle (hitting R
followed by the same message, about 5 or 6 times), I am happy to
report that everything is back to working, and I will attribute this
event to me being a noob.

Sorry for the noise.

@Eric: Yes, the file was saved.


___
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: a bit offtopic, fonts in exported PDF documents

2010-08-26 Thread Markus Heller
Erik Iverson er...@ccbr.umn.edu writes:

 John,

 Thank you for your reply.

 For those that don't want to read all that follows, please note my
 conclusion, given here:

 Since orgmode is automatically telling latex to use T1 encoding,
 perhaps we should somewhere document to the user that Type 1
 fonts should be available to get the best looking PDF possible.
 Otherwise, type 3 fonts will be substituted. I got suitable
 Type-1 fonts by installing the texlive-fonts-extra package
 under Ubuntu.

Note that T1 *font encoding* has nothing to do with Type 1 fonts!

As far as I understand, you need Type 1 fonts for good looking pdfs
(Type 3 are bitmap fonts and thus not scalable), but the actual font
encoding shouldn't matter.

Just my 2 cents
Markus


___
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: a bit offtopic, fonts in exported PDF documents

2010-08-26 Thread Markus Heller
Erik Iverson er...@ccbr.umn.edu writes:

 Markus Heller wrote:
 Erik Iverson er...@ccbr.umn.edu writes:

 John,

 Thank you for your reply.

 For those that don't want to read all that follows, please note my
 conclusion, given here:

 Since orgmode is automatically telling latex to use T1 encoding,
 perhaps we should somewhere document to the user that Type 1
 fonts should be available to get the best looking PDF possible.
 Otherwise, type 3 fonts will be substituted. I got suitable
 Type-1 fonts by installing the texlive-fonts-extra package
 under Ubuntu.

 Note that T1 *font encoding* has nothing to do with Type 1 fonts!

 Yes, thank you.  I gathered that eventually, but it did take some
 time to appreciate they are completely different concepts.  Is
 the following correct?

 Some Type 1 fonts *support* the T1 encoding.  Computer Modern is
 not one of those, so you need some that do.  CM-super or Latin
 Modern are two Type 1 font packages that do support the T1 encoding.

To my knowledge, the above is correct.  I make no guarantees, though ...

Cheers
Markus


___
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] Interactive Search in Agenda

2010-08-20 Thread Markus Heller
Hello all,

I'd like to implement some sort of interactive search in the agenda,
as the subject says.

Consider a.org that contains something like this:

:PROPERTIES:
:Sample: S0001
:Request: R0001
:END:

and a second file that contains

:PROPERTIES:
:Sample: S0001
:Request: R0001
:END:

Both files are agenda files.  What I'd like to be able to do is the
following:

1. Hit C-c a
2. In the dispatcher, hit `X'
3. I get prompted which Property I want to search for, and I enter `Sample'
4. I get prompted which value I want that property to have, and I enter
   `S0002'
5. I get a list of all hits

Now, I know that I can achieve this by using

1. Hit C-c a
2. Hit `m'
3. Enter `+Sample=S0002'

but that's too much typing for my taste.

Is there a way to achieve what I want?

Thanks and Cheers
Markus


___
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: Git pull breaks agenda?

2010-08-17 Thread Markus Heller
Bastien bastien.gue...@wikimedia.fr writes:

 Hi Markus,

 Markus Heller helle...@gmail.com writes:

 Now `C-c C-x C-o' seems to be broken for me ...  Anybody else see this?

 M-x org-version is 7.01trans (release_7.01h.142.g1ab9).

 Working fine here: 

   Org-mode version 7.01trans (release_7.01h.143.g17ace.dirty)

 I think you need to pull.  Let me know,

Just did, still not working.  Org-mode version 7.01trans
(release-7.01h.146.g8e12). 

Below is the message from the minibuffer after the following sequence:

1. Hit C-c a a
2. Hit C-x C-c C-o

Note that C-x C-c C-o works in an org-mode file.

Hope this helps to figure out what's going on ...

Cheers
Markus

PS: Message from minibuffer

call-interactively: Wrong number of arguments: (lambda nil Stop the currently 
running clock. (interactive P) (unless (marker-buffer org-clock-marker) 
(error No running clock)) (let ((marker (make-marker)) newhead) 
(org-with-remote-undo (marker-buffer org-clock-marker) (with-current-buffer 
(marker-buffer org-clock-marker) (save-excursion (save-restriction (widen) 
(goto-char org-clock-marker) (org-back-to-heading t) (move-marker marker 
(point)) (org-clock-out) (setq newhead (org-get-heading)) 
(org-agenda-change-all-lines newhead marker) (move-marker marker nil))), 1 [2 
times]


___
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: Git pull breaks agenda?

2010-08-17 Thread Markus Heller
Bastien bastien.gue...@wikimedia.fr writes:

 Markus Heller helle...@gmail.com writes:

 Just did, still not working.  Org-mode version 7.01trans
 (release-7.01h.146.g8e12). 

 Below is the message from the minibuffer after the following sequence:

 1. Hit C-c a a
 2. Hit C-x C-c C-o

 Note that C-x C-c C-o works in an org-mode file.

 Hope this helps to figure out what's going on ...

 Yes, thanks!  Please pull again, it should work now.

Bastien,

it works now.  :)

Thanks and Cheers!
Markus


___
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: Git pull breaks agenda?

2010-08-17 Thread Markus Heller
David Maus dm...@ictsoc.de writes:

 Markus Heller wrote:

Just did, still not working.  Org-mode version 7.01trans
(release-7.01h.146.g8e12).

Below is the message from the minibuffer after the following sequence:

 Could I ask you to provide a full backtrace?

 M-x toggle-debug-on-error RET

 And hit the problem.

David,

your message came a few minutes too late. :(

If you explained me how to revert org-mode to the previous version with
git (I'm not good at using git), I'd be happy to do so ...

Cheers
Markus


___
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: Remove WAITING Task from Global TODO List

2010-08-17 Thread Markus Heller
Memnon Anon gegendosenflei...@googlemail.com writes:

 Markus Heller helle...@gmail.com writes:

 But that will only give me a *list* of the items, correct?

 What I'd like to get is the *calendar* view that you get by hitting C-c
 a a which only shows TODO and STARTED tasks.

 Ui, custom agenda; I am not got at this, but please try this:

 (setq org-agenda-custom-commands 
   '((! Testing agenda  
  ((org-agenda-skip-function 
  '(org-agenda-skip-entry-if 'nottodo '(TODO STARTED)))


This works, thanks a lot.

 This can be totally wrong, but I did some very quick testing and it
 seems to work... Just eval it in your *scratch* buffer and try.

 Whether this works or not, I suggest you have a look at the excellent
 Introduction to custom agendas here:

 http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

 by Matt Lundin.

 hth

Yep, this helped.

Thanks a lot!!
Markus


___
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] Remove WAITING Task from Global TODO List

2010-08-16 Thread Markus Heller
Hello fellow orgers,

I have a quick question to which I couldn't find an answer in the org
manual.

How can I remove WAITING tasks from the global TODO list?

Thanks
Markus


___
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] Git pull breaks agenda?

2010-08-16 Thread Markus Heller
Hello,

I just pulled: M-x org-version is 7.01trans (release_7.01h.140.g3082).

Now, C-c a a does not work anymore, instead, I get an empty agenda.  Has
somebody else noticed this behavior?

What to do?

Thanks
Markus



___
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: Git pull breaks agenda?

2010-08-16 Thread Markus Heller
Markus Heller helle...@gmail.com writes:

 Hello,

 I just pulled: M-x org-version is 7.01trans (release_7.01h.140.g3082).

 Now, C-c a a does not work anymore, instead, I get an empty agenda.  Has
 somebody else noticed this behavior?

 What to do?

Here's the content of the *Messages* buffer, maybe this helps:

Restoring clock data
Loading c:/Documents and Settings/mheller/.emacs.d/org-clock-save.el 
(source)...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
Resume clock (Model Compounds for Assignment of Modified HPG) (y or n) 
Matched 2010-08-16 Mon 11:01
Clock starts at [2010-08-16 Mon 11:01] - showing entire task time.
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
if: Wrong type argument: listp, #(   8:00.. 
  R0029:  10:00-10:30 DONE Subject: Reaxys Training :R0029:TASK::MEETING:
  10:00.. 
  12:00.. 
  14:00.. 
  16:00.. 
  18:00.. 
  20:00.. 
  G0630:  Sched.110x:  WAITING Retire SDMS; move to Retrospect 
:G0630:DATA::WAITING:
  S0423:  Sched.47x:  TODO Shimming and Lock Parameters (400) 
:S0423:MAINTENANCE::
  GTD:In -94 d.:  TODO Call German Embassy/Consulate re: Ry's 
Passport/Dual Citizenship :GTD:PRIVATE::
  R0029:  In -38 d.:  WAITING Synthesis/Characterization of HPGs [0/3] 
:R0029:PUBLICATION::WAITING:
  R0029:  In -26 d.:  WAITING HPG Loading with Paclitaxel/Docetaxel 
:R0029:PUBLICATION::WAITING:
  GTD:In -11 d.:  TODO Subject: Casts  :GTD:PRIVATE::PHONE:
  G0630:  Deadline:   TODO Lab Book: Update, Witness   :G0630:: 0 
1 (dotime 8:00 extra  time  8:00.. txt  
effort-minutes nil ...) 1 42 (face org-time-grid dotime 8:00 extra  time  
8:00.. txt  ...) 43 69 (priority 1000 todo-state 
#(DONE 0 4 (fontified nil org-category R0029)) date (8 16 2010) type 
block org-hd-marker #marker at 818 in R0029.org ...) 69 73 (org-category 
R0029 fontified nil tags (#(r0029 0 5 (inherited t)) #(task 0 4 
(inherited t)) meeting) org-highest-priority 65 org-lowest-priority 67 ...) 
73 74 (todo-state #(DONE 0 4 (fontified nil org-category R0029)) 
org-habit-p nil priority 1000 date (8 16 2010) type block ...) 74 98 
(priority 1000 todo-state #(DONE 0 4 (fontified nil org-category R0029)) 
date (8 16 2010) type block org-hd-marker #marker at 818 in R0029.org ...) 
98 100 (priority 1000 todo-state #(DONE 0 4 (fontified nil org-category 
R0029)) date (8 16 2010) type block org-hd-marker #marker at 818 in 
R0029.org ...) 100 105 (priority 1000 todo-state #(DONE 0 4 (fontified nil 
org-category R0029)) date (8 16 2010) type block org-hd-marker #marker at 
818 in R0029.org ...) 105 106 (priority 1000 todo-state #(DONE 0 4 
(fontified nil org-category R0029)) date (8 16 2010) type block 
org-hd-marker #marker at 818 in R0029.org ...) 106 110 (priority 1000 
todo-state #(DONE 0 4 (fontified nil org-category R0029)) date (8 16 2010) 
type block org-hd-marker #marker at 818 in R0029.org ...) 110 120 (priority 
1000 todo-state #(DONE 0 4 (fontified nil org-category R0029)) date (8 16 
2010) type block org-hd-marker #marker at 818 in R0029.org ...) 121 122 
(dotime 10:00 extra  time 10:00.. txt  
effort-minutes nil ...) 122 163 (face org-time-grid dotime 10:00 extra  
time 10:00.. txt  ...) 164 165 (dotime 12:00 extra  
time 12:00.. txt  effort-minutes nil ...) 165 206 (face 
org-time-grid dotime 12:00 extra  time 12:00.. txt  
...) 207 208 (dotime 14:00 extra  time 14:00.. txt  
effort-minutes nil ...) 208 249 (face org-time-grid dotime 14:00 extra  
time 14:00.. txt  ...) 250 251 (dotime 16:00 extra  
time 16:00.. txt  effort-minutes nil ...) 251 292 (face 
org-time-grid dotime 16:00 extra  time 16:00.. txt  
...) 293 294 (dotime 18:00 extra  time 18:00.. txt  
effort-minutes nil ...) 294 335 (face org-time-grid dotime 18:00 extra  
time 18:00.. txt  ...) 336 337 (dotime 20:00 extra  
time 20:00.. txt  effort-minutes nil ...) 337 378 (face 
org-time-grid dotime 20:00 extra  time 20:00.. txt  
...) 379 406 (todo-state #(WAITING 0 7 (fontified nil org-category G0630)) 
org-habit-p nil

[Orgmode] Re: Remove WAITING Task from Global TODO List

2010-08-16 Thread Markus Heller
Bastien bastien.gue...@wikimedia.fr writes:

 Markus Heller helle...@gmail.com writes:

 How can I remove WAITING tasks from the global TODO list?

 By allowing all your TODO keywords but WAITING:

   C-c a T TODO|STARTED [RET]

Bastien, Memnon,

thanks for your replies.  While reading the org manual, I got confused,
so my request was wrong.  I sincerely apologize for wasting your time.

Now, what I'd like to achieve is that the agenda view that is brought up
by C-c a a only contains TODO and STARTED tasks, no WAITING etc.

Is this possible, or do I have to create a custom agenda view as
suggested?

Thanks
Markus


___
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: Git pull breaks agenda?

2010-08-16 Thread Markus Heller
David Maus dm...@ictsoc.de writes:

 Markus Heller wrote:
Hello,

I just pulled: M-x org-version is 7.01trans (release_7.01h.140.g3082).

Now, C-c a a does not work anymore, instead, I get an empty agenda.  Has
somebody else noticed this behavior?

What to do?

 Fix pushed to current master.


Thanks David,

works :)

Markus


___
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: Remove WAITING Task from Global TODO List

2010-08-16 Thread Markus Heller
Bastien bastien.gue...@wikimedia.fr writes:

 Markus Heller helle...@gmail.com writes:

 Now, what I'd like to achieve is that the agenda view that is brought up
 by C-c a a only contains TODO and STARTED tasks, no WAITING etc.

 Is this possible, or do I have to create a custom agenda view as
 suggested?

 Yes, you'll have to create a custom agenda.

But that will only give me a *list* of the items, correct?

What I'd like to get is the *calendar* view that you get by hitting C-c
a a which only shows TODO and STARTED tasks.

After a little bit of looking around, I stumbled across org-agenda-list,
which is called by C-c a a.  Is this list I have to fiddle with?

I hope it's clear now what I mean ...  Sorry about the confusion.

Cheers
Markus


___
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: Git pull breaks agenda?

2010-08-16 Thread Markus Heller
Markus Heller helle...@gmail.com writes:

 David Maus dm...@ictsoc.de writes:

 Markus Heller wrote:
Hello,

I just pulled: M-x org-version is 7.01trans (release_7.01h.140.g3082).

Now, C-c a a does not work anymore, instead, I get an empty agenda.  Has
somebody else noticed this behavior?

What to do?

 Fix pushed to current master.


 Thanks David,

 works :)

Now `C-c C-x C-o' seems to be broken for me ...  Anybody else see this?

M-x org-version is 7.01trans (release_7.01h.142.g1ab9).

Thanks
Markus


___
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: [OT] Passing universal argument to a function (was: Bind C-u C-c C-x C-i to a key)

2010-08-13 Thread Markus Heller
Memnon Anon gegendosenflei...@googlemail.com writes:

 Andreas Burtzlaff and...@gmx.net writes:

 The C-u says that the function that is bound to the rest of the key
 combination is called with the first argument being `t'.

 To get information about the function bound to a key combination use:
 C-h k 
 and then press the key combination (without the C-u prefix).
 In this case it is org-clock-in.

 This should bind org-clock-in with argument `t' to F12:

 (defun ab-org-clock-in-select ()
   (interactive)
   (org-clock-in t))

 (global-set-key (kbd f12) 'ab-org-clock-in-select)

 Mhhh, this does not work for me.

 ,[ (info (eintr)Note for Novices) ]
 |In addition to typing a lone keychord, you can prefix what you type
 | with `C-u', which is called the `universal argument'.  The `C-u'
 | keychord passes an argument to the subsequent command. [...]  
 | (If you do not specify a number, Emacs either passes the number 4 to
 | the command or otherwise runs the command differently than it would
 | otherwise.)
 `

 So, afaics C-u = Value of 4.

 Some googling seems to suggest that an argument of '(4) works,
 and it does for me:

 (defun ab-org-clock-in-select ()
   (interactive)
   (org-clock-in '(4)))

 or even shorter with a lambda

 (global-set-key (kbd C-c C-g) (lambda () (interactive) (org-clock-in '(4

 works here!

Works here too!  Thanks a lot! 

 However, this faq [ (info (efaq)Replying to the sender of a message) ]
 seems to suggest that your version is the way to go.

I'm not quite sure I understand this ...

But again, thanks anyway!
Markus

 ...

 I am confused.

 However, this is org OT, so I'll finish my musings here :)
 Go with whatever works for you.

 Memnon

 ___
 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] Bind C-u C-c C-x C-i to a key

2010-08-12 Thread Markus Heller
Hello all,

I'd like to bind `C-u C-c C-x C-i' to the f10 key in emacs 23.

I guess the line in my .emacs has to look like

(global-set-key (kbd f10) 'org-XXX-XXX)

but what exactly would org-XXX-XXX be?

I apologize if this is a question with an obvious answer ...

Thanks and Cheers
Markus


___
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: Clock history, C-u C-c C-x C-i not working properly

2010-08-12 Thread Markus Heller
Markus Heller helle...@gmail.com writes:

 Bernt Hansen be...@norang.ca writes:

 Markus Heller helle...@gmail.com writes:

 Hello all,

 I have had this issue for quite a while, and now it's finally time to
 post it.  I'm using emacs 23.2.1 and orgmode 7.01trans
 (release_7.01g.73.g29354) on windoze XP, together with Bernt's clock
 history setup.

 If I hit C-u C-c C-x C-i, the list of tasks to clock in starts
 somewhere in the middle, right now at ``[J]''.  I've had this issue on
 emacs 22 and with orgmode 6.36 ...

 My list on Windows XP, Emacs 23.2.1 is also a bit weird.  The choices
 for my list are:

 [d] [1] [2] [5] [6] [7] [8] [9] [A] [B] [C] [D] [M] [O] [R]

 On linux with a full clock history I get

 [d] [1] [2] ... [9] [A] [B] ... [R] [S] with no gaps

 I've noticed problems with the menu on my EEE PC which has a reduced
 screen size so it couldn't display the entire menu and displayed the end
 instead of beginning of the menu.  I've since reduced
 org-clock-history-length from 36 to 28 so it fits on that device.

 I tried reducing org-clock-history-length to 12, but to no avail.  It's
 not that the list doesn't fit in the buffer, it starts at [J] and shows
 only [J] through [Z] with no gaps.  I don't see an error message in the
 minibuffer ...

I have to correct myself.  After a hitting C-u C-c C-x C-i a few times,
the history is displayed correctly and has been displayed correctly for
more than a day now.

Wouldn't this suggest that the issue is related to the size of the
buffer containing the clock history?

Thanks and Cheers
Markus


___
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: Clock history, C-u C-c C-x C-i not working properly

2010-08-11 Thread Markus Heller
Bernt Hansen be...@norang.ca writes:

 Markus Heller helle...@gmail.com writes:

 Hello all,

 I have had this issue for quite a while, and now it's finally time to
 post it.  I'm using emacs 23.2.1 and orgmode 7.01trans
 (release_7.01g.73.g29354) on windoze XP, together with Bernt's clock
 history setup.

 If I hit C-u C-c C-x C-i, the list of tasks to clock in starts
 somewhere in the middle, right now at ``[J]''.  I've had this issue on
 emacs 22 and with orgmode 6.36 ...

 My list on Windows XP, Emacs 23.2.1 is also a bit weird.  The choices
 for my list are:

 [d] [1] [2] [5] [6] [7] [8] [9] [A] [B] [C] [D] [M] [O] [R]

 On linux with a full clock history I get

 [d] [1] [2] ... [9] [A] [B] ... [R] [S] with no gaps

 I've noticed problems with the menu on my EEE PC which has a reduced
 screen size so it couldn't display the entire menu and displayed the end
 instead of beginning of the menu.  I've since reduced
 org-clock-history-length from 36 to 28 so it fits on that device.

I reduced org-clock-history-length to 12, to no avail.  It's not that
the list doesn't fit in the buffer ...  It just shows items [J] through
[Z] without any gaps...  

Any other suggestions?

Thanks
Markus


___
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: Clock history, C-u C-c C-x C-i not working properly

2010-08-11 Thread Markus Heller
Bernt Hansen be...@norang.ca writes:

 Markus Heller helle...@gmail.com writes:

 Hello all,

 I have had this issue for quite a while, and now it's finally time to
 post it.  I'm using emacs 23.2.1 and orgmode 7.01trans
 (release_7.01g.73.g29354) on windoze XP, together with Bernt's clock
 history setup.

 If I hit C-u C-c C-x C-i, the list of tasks to clock in starts
 somewhere in the middle, right now at ``[J]''.  I've had this issue on
 emacs 22 and with orgmode 6.36 ...

 My list on Windows XP, Emacs 23.2.1 is also a bit weird.  The choices
 for my list are:

 [d] [1] [2] [5] [6] [7] [8] [9] [A] [B] [C] [D] [M] [O] [R]

 On linux with a full clock history I get

 [d] [1] [2] ... [9] [A] [B] ... [R] [S] with no gaps

 I've noticed problems with the menu on my EEE PC which has a reduced
 screen size so it couldn't display the entire menu and displayed the end
 instead of beginning of the menu.  I've since reduced
 org-clock-history-length from 36 to 28 so it fits on that device.

I tried reducing org-clock-history-length to 12, but to no avail.  It's
not that the list doesn't fit in the buffer, it starts at [J] and shows
only [J] through [Z] with no gaps.  I don't see an error message in the
minibuffer ...

Would it help if I attached a screenshot?

Thanks
Markus


___
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] Clock history, C-u C-c C-x C-i not working properly

2010-08-10 Thread Markus Heller
Hello all,

I have had this issue for quite a while, and now it's finally time to
post it.  I'm using emacs 23.2.1 and orgmode 7.01trans
(release_7.01g.73.g29354) on windoze XP, together with Bernt's clock
history setup.

If I hit C-u C-c C-x C-i, the list of tasks to clock in starts
somewhere in the middle, right now at ``[J]''.  I've had this issue on
emacs 22 and with orgmode 6.36 ...

I did remove things related to clock history from my .emacs, with no
effect.

I am not sure how to track this issue down, so if the experts could
provide some hints, that'd be awesome!!

Thanks and Cheers
Markus


___
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-mode release 7.01

2010-07-19 Thread Markus Heller
Carsten Dominik carsten.domi...@gmail.com writes:

[snip]


 Thanks, thanks, thanks!

 Enjoy!

 - Carsten

 P.S. If you are trying to find the 7.01 release on the master branch
 in the repository, you will not.  The releases are now on a new branch,
 called maint, which will contain only commits that are also releases.
 This will make it easier to make minor fixes to a release while
 development
 continues on the master branch.

This might be a bit OT, I apoligize, but how exactly do I get the new
release with git?  I'm new to git, and I've tried the following:

1. Change the branch to maint
2. git pull git://repo.or.cz/org-mode.git maint

All I get is a list of Merge conflicts from the Auto-merging as shown
below.

I must be doing something wrong, it'd be great if one of the git wizards
could help me out :-)

Thanks and cheers, and tons of thanks to Carsten and all contributors!!
Markus

The merge conflicts I get:

From git://repo.or.cz/org-mode
 * branchmaint  - FETCH_HEAD
Auto-merging ORGWEBPAGE/index.org
Auto-merging README_DIST
CONFLICT (content): Merge conflict in README_DIST
Auto-merging doc/org.texi
CONFLICT (content): Merge conflict in doc/org.texi
Auto-merging doc/orgcard.tex
CONFLICT (content): Merge conflict in doc/orgcard.tex
Auto-merging lisp/ob-C.el
CONFLICT (content): Merge conflict in lisp/ob-C.el
Auto-merging lisp/ob-R.el
CONFLICT (content): Merge conflict in lisp/ob-R.el
Auto-merging lisp/ob-asymptote.el
CONFLICT (content): Merge conflict in lisp/ob-asymptote.el
Auto-merging lisp/ob-clojure.el
CONFLICT (content): Merge conflict in lisp/ob-clojure.el
Auto-merging lisp/ob-comint.el
CONFLICT (content): Merge conflict in lisp/ob-comint.el
Auto-merging lisp/ob-css.el
CONFLICT (content): Merge conflict in lisp/ob-css.el
Auto-merging lisp/ob-ditaa.el
CONFLICT (content): Merge conflict in lisp/ob-ditaa.el
Auto-merging lisp/ob-dot.el
CONFLICT (content): Merge conflict in lisp/ob-dot.el
Auto-merging lisp/ob-emacs-lisp.el
CONFLICT (content): Merge conflict in lisp/ob-emacs-lisp.el
Auto-merging lisp/ob-eval.el
CONFLICT (content): Merge conflict in lisp/ob-eval.el
Auto-merging lisp/ob-exp.el
CONFLICT (content): Merge conflict in lisp/ob-exp.el
Auto-merging lisp/ob-gnuplot.el
CONFLICT (content): Merge conflict in lisp/ob-gnuplot.el
Auto-merging lisp/ob-haskell.el
CONFLICT (content): Merge conflict in lisp/ob-haskell.el
Auto-merging lisp/ob-keys.el
CONFLICT (content): Merge conflict in lisp/ob-keys.el
Auto-merging lisp/ob-latex.el
CONFLICT (content): Merge conflict in lisp/ob-latex.el
Auto-merging lisp/ob-lob.el
CONFLICT (content): Merge conflict in lisp/ob-lob.el
Auto-merging lisp/ob-matlab.el
CONFLICT (content): Merge conflict in lisp/ob-matlab.el
Auto-merging lisp/ob-mscgen.el
CONFLICT (content): Merge conflict in lisp/ob-mscgen.el
Auto-merging lisp/ob-ocaml.el
CONFLICT (content): Merge conflict in lisp/ob-ocaml.el
Auto-merging lisp/ob-octave.el
CONFLICT (content): Merge conflict in lisp/ob-octave.el
Auto-merging lisp/ob-perl.el
CONFLICT (content): Merge conflict in lisp/ob-perl.el
Auto-merging lisp/ob-python.el
CONFLICT (content): Merge conflict in lisp/ob-python.el
Auto-merging lisp/ob-ref.el
CONFLICT (content): Merge conflict in lisp/ob-ref.el
Auto-merging lisp/ob-ruby.el
CONFLICT (content): Merge conflict in lisp/ob-ruby.el
Auto-merging lisp/ob-sass.el
CONFLICT (content): Merge conflict in lisp/ob-sass.el
Auto-merging lisp/ob-screen.el
CONFLICT (content): Merge conflict in lisp/ob-screen.el
Auto-merging lisp/ob-sh.el
CONFLICT (content): Merge conflict in lisp/ob-sh.el
Auto-merging lisp/ob-sql.el
CONFLICT (content): Merge conflict in lisp/ob-sql.el
Auto-merging lisp/ob-sqlite.el
CONFLICT (content): Merge conflict in lisp/ob-sqlite.el
Auto-merging lisp/ob-table.el
CONFLICT (content): Merge conflict in lisp/ob-table.el
Auto-merging lisp/ob-tangle.el
CONFLICT (content): Merge conflict in lisp/ob-tangle.el
Auto-merging lisp/ob.el
CONFLICT (content): Merge conflict in lisp/ob.el
Auto-merging lisp/org-agenda.el
CONFLICT (content): Merge conflict in lisp/org-agenda.el
Auto-merging lisp/org-archive.el
CONFLICT (content): Merge conflict in lisp/org-archive.el
Auto-merging lisp/org-ascii.el
CONFLICT (content): Merge conflict in lisp/org-ascii.el
Auto-merging lisp/org-attach.el
CONFLICT (content): Merge conflict in lisp/org-attach.el
Auto-merging lisp/org-bbdb.el
CONFLICT (content): Merge conflict in lisp/org-bbdb.el
Auto-merging lisp/org-beamer.el
CONFLICT (content): Merge conflict in lisp/org-beamer.el
Auto-merging lisp/org-bibtex.el
CONFLICT (content): Merge conflict in lisp/org-bibtex.el
Auto-merging lisp/org-capture.el
CONFLICT (content): Merge conflict in lisp/org-capture.el
Auto-merging lisp/org-clock.el
CONFLICT (content): Merge conflict in lisp/org-clock.el
Auto-merging lisp/org-colview-xemacs.el
CONFLICT (content): Merge conflict in lisp/org-colview-xemacs.el
Auto-merging lisp/org-colview.el
CONFLICT (content): Merge conflict in lisp/org-colview.el
Auto-merging lisp/org-compat.el

[Orgmode] Re: Org-mode release 7.01

2010-07-19 Thread Markus Heller
Andreas Burtzlaff and...@gmx.net writes:

 Markus Heller helle...@gmail.com writes:

 Carsten Dominik carsten.domi...@gmail.com writes:

 [snip]


 Thanks, thanks, thanks!

 Enjoy!

 - Carsten

 P.S. If you are trying to find the 7.01 release on the master branch
 in the repository, you will not.  The releases are now on a new branch,
 called maint, which will contain only commits that are also releases.
 This will make it easier to make minor fixes to a release while
 development
 continues on the master branch.

 This might be a bit OT, I apoligize, but how exactly do I get the new
 release with git?  I'm new to git, and I've tried the following:

 1. Change the branch to maint
 2. git pull git://repo.or.cz/org-mode.git maint


 That command tries to merge maint with the branch you're currently on -
 most likely main.

 If you do not have manual changes in your working tree you can run

 git reset --hard

 to undo that merge.


 I think what you want is:

 git pull
 git checkout -t origin/maint

Andreas,

thanks for the reply, worked as advertised.

Cheers
Markus


___
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-mode release 7.01

2010-07-19 Thread Markus Heller
Andreas Burtzlaff and...@gmx.net writes:

 Markus Heller helle...@gmail.com writes:

 Andreas Burtzlaff and...@gmx.net writes:

 Markus Heller helle...@gmail.com writes:

 Carsten Dominik carsten.domi...@gmail.com writes:

 [snip]


 Thanks, thanks, thanks!

 Enjoy!

 - Carsten

 P.S. If you are trying to find the 7.01 release on the master branch
 in the repository, you will not.  The releases are now on a new branch,
 called maint, which will contain only commits that are also releases.
 This will make it easier to make minor fixes to a release while
 development
 continues on the master branch.

 This might be a bit OT, I apoligize, but how exactly do I get the new
 release with git?  I'm new to git, and I've tried the following:

 1. Change the branch to maint
 2. git pull git://repo.or.cz/org-mode.git maint


 That command tries to merge maint with the branch you're currently on -
 most likely main.

 If you do not have manual changes in your working tree you can run

 git reset --hard

 to undo that merge.


 I think what you want is:

 git pull
 git checkout -t origin/maint

 Andreas,

 thanks for the reply, worked as advertised.

 Cheers
 Markus

 Great, but thinking about it again, it is not necessary to switch to the
 maint branch unless you want to stick to releases and not follow the bleeding 
 edge of
 development.

I assumed I had to switch to the maint branch in order to get the 7.01
release.  How could I have done this while staying on the master branch?

Thanks
Markus


___
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-mode release 7.01

2010-07-19 Thread Markus Heller
Erik Iverson er...@ccbr.umn.edu writes:


 I assumed I had to switch to the maint branch in order to get the 7.01
 release.  How could I have done this while staying on the master branch?

 Basically, as long as you're on master, you'll always have the latest
 and greatest, which may or may not be what you want.

I am confused now.  Carsten said is his announcement that master did NOT
contain the 7.01 release:

quote
P.S. If you are trying to find the 7.01 release on the master branch
in the repository, you will not.  The releases are now on a new branch,
called maint, which will contain only commits that are also releases.
This will make it easier to make minor fixes to a release while
development
continues on the master branch.
/quote

 At certain times, including in the past few days, 'master' is deemed
 release-worthy, and a stable release is produced.  However,
 development goes on in the master branch.

 The maint branch was created so that small bugs in the latest release
 could be fixed and updated, without having to include whatever major
 developments might have happened on master in the mean time.

Would this explanation be correct then:

Right now, 7.01 is in the maint branch, for a few days/weeks or so,
until the small nags have been resolved; the master branch is the last
6.36 release.  Once the little bugs/issues have been resolved, 7.01 will
be merged with the master branch, and everything will be back to (my)
normal?  Is this correct?

Thanks
Markus


___
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: Help: Agenda not working anymore

2010-07-16 Thread Markus Heller
David Maus dm...@ictsoc.de writes:

 Markus Heller wrote:

I've finally started to use git for my .org-files, and I'm still very
new to git.  But ever since I initialized the repository, emacs loads
vc-git, which apparently is bundled with emacs.  My suspicion was that
all those ID locations are in fact related to vc-git, and upon disabling
vc-git by putting

(setq vc-handled-backends nil)

 In case you are going to need vc you can use this hack to disable vc
 for Org mode agenda files:

 (add-hook 'find-file-hook 'dmj/disable-vc-for-agenda-files-hook)
 (defun dmj/disable-vc-for-agenda-files-hook ()
   Disable vc-mode for Org agenda files.
   (if (and (fboundp 'org-agenda-file-p)
  (org-agenda-file-p (buffer-file-name)))
   (remove-hook 'find-file-hook 'vc-find-file-hook)
 (add-hook 'find-file-hook 'vc-find-file-hook)))

Thanks David,

for now, I don't need vc, but I'll keep your hack in mind.

Cheers
Markus

 HTH,
   -- David

 --
 OpenPGP... 0x99ADB83B5A4478E6
 Jabber dmj...@jabber.org
 Email. dm...@ictsoc.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


___
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] Help: Agenda not working anymore

2010-07-12 Thread Markus Heller

Hello,

today, after starting emacs, the agenda does not work anymore.  I type 
C-a a to get the daily overview, but org gets stuck at CONTENTS...done 
(see message buffer at the end).


When I try f9-m (see Bernt's set-up), I get the following message in the 
mini-buffer: mapcar: Wrong type argument: listp, \.\.\.


I pulled the latest release, but that didn't help unfortunately.

My versions:

Org-mode: Org-mode version 6.36trans (release_6.36.608.gc1ef)
emacs: 23.2.1
Windoze XP

Please help :)

Thanks!!
Markus

*Messages* after C-a a:
Loading c:/Documents and 
Settings/mheller/.emacs.d/org-mode/contrib/lisp/org-checklist.el 
(source)...done
Loading c:/Documents and 
Settings/mheller/.emacs.d/org-mode/contrib/lisp/org-depend.el 
(source)...done
Loading c:/Documents and 
Settings/mheller/.emacs.d/org-mode/contrib/lisp/org-expiry.el 
(source)...done
Loading c:/Documents and 
Settings/mheller/.emacs.d/site-lisp/color-theme-6.6.0/themes/color-theme-example.el 
(source)...done
Loading c:/Documents and 
Settings/mheller/.emacs.d/site-lisp/color-theme-6.6.0/themes/color-theme-library.el 
(source)...done
Loading c:/Documents and 
Settings/mheller/.emacs.d/site-lisp/themes/color-theme-railscasts.el 
(source)...done

Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Press key for agenda command:
OVERVIEW
CONTENTS...done
Starting new Ispell process [default] ...
Restoring clock data
Loading c:/Documents and Settings/mheller/.emacs.d/org-clock-save.el 
(source)...done

OVERVIEW
Loading vc-git...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
Quit


___
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: Help: Agenda not working anymore

2010-07-12 Thread Markus Heller

On 7/12/2010 9:29 AM, Markus Heller wrote:

Hello,

today, after starting emacs, the agenda does not work anymore. I type
C-a a to get the daily overview, but org gets stuck at CONTENTS...done
(see message buffer at the end).

When I try f9-m (see Bernt's set-up), I get the following message in the
mini-buffer: mapcar: Wrong type argument: listp, \.\.\.

I pulled the latest release, but that didn't help unfortunately.


I did some more testing:  No matter what agenda command I use, it 
emacs/org always get stuck at CONTENTS...done.  Doesn't matter if it's 
C-a a, or C-a t ...



My versions:

Org-mode: Org-mode version 6.36trans (release_6.36.608.gc1ef)
emacs: 23.2.1
Windoze XP


The same issue exists when using emacs 23.1.1.

ANy ideas?  ANyone?


Please help :)

Thanks!!
Markus

*Messages* after C-a a:
Loading c:/Documents and
Settings/mheller/.emacs.d/org-mode/contrib/lisp/org-checklist.el
(source)...done
Loading c:/Documents and
Settings/mheller/.emacs.d/org-mode/contrib/lisp/org-depend.el
(source)...done
Loading c:/Documents and
Settings/mheller/.emacs.d/org-mode/contrib/lisp/org-expiry.el
(source)...done
Loading c:/Documents and
Settings/mheller/.emacs.d/site-lisp/color-theme-6.6.0/themes/color-theme-example.el
(source)...done
Loading c:/Documents and
Settings/mheller/.emacs.d/site-lisp/color-theme-6.6.0/themes/color-theme-library.el
(source)...done
Loading c:/Documents and
Settings/mheller/.emacs.d/site-lisp/themes/color-theme-railscasts.el
(source)...done
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Press key for agenda command:
OVERVIEW
CONTENTS...done
Starting new Ispell process [default] ...
Restoring clock data
Loading c:/Documents and Settings/mheller/.emacs.d/org-clock-save.el
(source)...done
OVERVIEW
Loading vc-git...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
OVERVIEW
CONTENTS...done
Quit


___
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: Help: Agenda not working anymore

2010-07-12 Thread Markus Heller

On 7/12/2010 10:05 AM, Markus Heller wrote:

On 7/12/2010 9:29 AM, Markus Heller wrote:

Hello,

today, after starting emacs, the agenda does not work anymore. I type
C-a a to get the daily overview, but org gets stuck at CONTENTS...done
(see message buffer at the end).

When I try f9-m (see Bernt's set-up), I get the following message in the
mini-buffer: mapcar: Wrong type argument: listp, \.\.\.

I pulled the latest release, but that didn't help unfortunately.


I did some more testing: No matter what agenda command I use, it
emacs/org always get stuck at CONTENTS...done. Doesn't matter if it's
C-a a, or C-a t ...


My versions:

Org-mode: Org-mode version 6.36trans (release_6.36.608.gc1ef)
emacs: 23.2.1
Windoze XP


The same issue exists when using emacs 23.1.1.

ANy ideas? ANyone?


After more testing, I think I've narrowed it down to an issue with my 
agenda files.


I add my agenda files using (C-c [), and all files exist in the 
appropriate directory.  But when I uncomment all files except for one in 
my .emacs, I get the following error:


non-existent agenda file GTD.org [R]emove from list or [A]bort?

Then I noticed a whole bunch of messages in the *Messages* buffer after 
typing f9-o (again using Bernt's set-up) as shown below.


So now it seems to me that org is working fine, and that gathering ID 
location data seems to take way longer than usual, which leads me to 
believe that something is wrong with our network ...


I apologize for any confusion and wasted time my postings might have caused!

Cheers
Markus

OVERVIEW
Finding ID locations (26/65 files): h:/org/R0015.org
Finding ID locations (27/65 files): h:/org/R0015.org_archive
OVERVIEW
Finding ID locations (28/65 files): h:/org/G0865.org
Finding ID locations (29/65 files): h:/org/G0865.org_archive
OVERVIEW
Quit
Press key for agenda command:
Finding ID locations (1/79 files): h:/org/G0580.org
Finding ID locations (2/79 files): h:/org/G0580.org_archive
Finding ID locations (3/79 files): h:/org/S0812.org
Finding ID locations (4/79 files): h:/org/S0812.org_archive
Finding ID locations (5/79 files): h:/org/S0425.org
Finding ID locations (6/79 files): h:/org/S0425.org_archive
Finding ID locations (7/79 files): h:/org/S0424.org
Finding ID locations (8/79 files): h:/org/S0424.org_archive
Finding ID locations (9/79 files): h:/org/S0423.org
Finding ID locations (10/79 files): h:/org/S0423.org_archive
Finding ID locations (11/79 files): h:/org/C0775.org
Finding ID locations (12/79 files): h:/org/C0775.org_archive
Finding ID locations (13/79 files): h:/org/refile.org
Finding ID locations (14/79 files): h:/org/R0787.org
Finding ID locations (15/79 files): h:/org/R0787.org_archive
Finding ID locations (16/79 files): h:/org/R0657.org
Finding ID locations (17/79 files): h:/org/R0657.org_archive
Finding ID locations (18/79 files): h:/org/R0279.org
Finding ID locations (19/79 files): h:/org/R0279.org_archive
Finding ID locations (20/79 files): h:/org/R0048.org
Finding ID locations (21/79 files): h:/org/R0048.org_archive
Finding ID locations (22/79 files): h:/org/R0047.org
Finding ID locations (23/79 files): h:/org/R0047.org_archive
Finding ID locations (24/79 files): h:/org/R0029.org
Finding ID locations (25/79 files): h:/org/R0029.org_archive
Finding ID locations (26/79 files): h:/org/R0015.org
Finding ID locations (27/79 files): h:/org/R0015.org_archive
Finding ID locations (28/79 files): h:/org/G0865.org
Finding ID locations (29/79 files): h:/org/G0865.org_archive
Finding ID locations (30/79 files): h:/org/G0749.org
Finding ID locations (31/79 files): h:/org/G0749.org_archive
OVERVIEW
Finding ID locations (32/79 files): h:/org/G0689.org
Finding ID locations (33/79 files): h:/org/G0689.org_archive
OVERVIEW
Finding ID locations (34/79 files): h:/org/G0473.org
Finding ID locations (35/79 files): h:/org/G0473.org_archive
OVERVIEW
Finding ID locations (36/79 files): h:/org/G0439.org
Finding ID locations (37/79 files): h:/org/G0439.org_archive
OVERVIEW
Finding ID locations (38/79 files): h:/org/G0431.org
Finding ID locations (39/79 files): h:/org/G0431.org_archive
OVERVIEW
Finding ID locations (40/79 files): h:/org/GTD.org
Finding ID locations (41/79 files): h:/org/GTD.org_archive
OVERVIEW
Finding ID locations (42/79 files): h:/org/G0630.org
Finding ID locations (43/79 files): h:/org/G0630.org_archive
OVERVIEW
Finding ID locations (44/79 files): h:/org/G0580.org
Finding ID locations (45/79 files): h:/org/S0812.org
Finding ID locations (46/79 files): h:/org/S0425.org
Finding ID locations (47/79 files): h:/org/S0424.org
Finding ID locations (48/79 files): h:/org/S0423.org
Finding ID locations (49/79 files): h:/org/C0775.org
Finding ID locations (50/79 files): h:/org/refile.org
Finding ID locations (51/79 files): h:/org/R0787.org
Finding ID locations (52/79 files): h:/org/R0657.org
Finding ID locations (53/79 files): h:/org/R0279.org
Finding ID locations (54/79 files): h:/org/R0048.org
Finding ID locations (55/79 files): h:/org/R0047.org
Finding ID locations

[Orgmode] Re: Help: Agenda not working anymore

2010-07-12 Thread Markus Heller

On 7/12/2010 11:18 AM, Markus Heller wrote:

On 7/12/2010 10:05 AM, Markus Heller wrote:

On 7/12/2010 9:29 AM, Markus Heller wrote:

Hello,

today, after starting emacs, the agenda does not work anymore. I type
C-a a to get the daily overview, but org gets stuck at CONTENTS...done
(see message buffer at the end).

When I try f9-m (see Bernt's set-up), I get the following message in the
mini-buffer: mapcar: Wrong type argument: listp, \.\.\.

I pulled the latest release, but that didn't help unfortunately.


I did some more testing: No matter what agenda command I use, it
emacs/org always get stuck at CONTENTS...done. Doesn't matter if it's
C-a a, or C-a t ...


My versions:

Org-mode: Org-mode version 6.36trans (release_6.36.608.gc1ef)
emacs: 23.2.1
Windoze XP


The same issue exists when using emacs 23.1.1.

ANy ideas? ANyone?


After more testing, I think I've narrowed it down to an issue with my
agenda files.

I add my agenda files using (C-c [), and all files exist in the
appropriate directory. But when I uncomment all files except for one in
my .emacs, I get the following error:

non-existent agenda file GTD.org [R]emove from list or [A]bort?

Then I noticed a whole bunch of messages in the *Messages* buffer after
typing f9-o (again using Bernt's set-up) as shown below.

So now it seems to me that org is working fine, and that gathering ID
location data seems to take way longer than usual, which leads me to
believe that something is wrong with our network ...

I apologize for any confusion and wasted time my postings might have
caused!


I think I've finally found the problem and the solution!

I've finally started to use git for my .org-files, and I'm still very 
new to git.  But ever since I initialized the repository, emacs loads 
vc-git, which apparently is bundled with emacs.  My suspicion was that 
all those ID locations are in fact related to vc-git, and upon disabling 
vc-git by putting


(setq vc-handled-backends nil)

in my .emacs, the agenda is being build as fast as usual.  :)

Hope that helps ...

Markus


OVERVIEW
Finding ID locations (26/65 files): h:/org/R0015.org
Finding ID locations (27/65 files): h:/org/R0015.org_archive
OVERVIEW
Finding ID locations (28/65 files): h:/org/G0865.org
Finding ID locations (29/65 files): h:/org/G0865.org_archive
OVERVIEW
Quit
Press key for agenda command:
Finding ID locations (1/79 files): h:/org/G0580.org
Finding ID locations (2/79 files): h:/org/G0580.org_archive
Finding ID locations (3/79 files): h:/org/S0812.org
Finding ID locations (4/79 files): h:/org/S0812.org_archive
Finding ID locations (5/79 files): h:/org/S0425.org
Finding ID locations (6/79 files): h:/org/S0425.org_archive
Finding ID locations (7/79 files): h:/org/S0424.org
Finding ID locations (8/79 files): h:/org/S0424.org_archive
Finding ID locations (9/79 files): h:/org/S0423.org
Finding ID locations (10/79 files): h:/org/S0423.org_archive
Finding ID locations (11/79 files): h:/org/C0775.org
Finding ID locations (12/79 files): h:/org/C0775.org_archive
Finding ID locations (13/79 files): h:/org/refile.org
Finding ID locations (14/79 files): h:/org/R0787.org
Finding ID locations (15/79 files): h:/org/R0787.org_archive
Finding ID locations (16/79 files): h:/org/R0657.org
Finding ID locations (17/79 files): h:/org/R0657.org_archive
Finding ID locations (18/79 files): h:/org/R0279.org
Finding ID locations (19/79 files): h:/org/R0279.org_archive
Finding ID locations (20/79 files): h:/org/R0048.org
Finding ID locations (21/79 files): h:/org/R0048.org_archive
Finding ID locations (22/79 files): h:/org/R0047.org
Finding ID locations (23/79 files): h:/org/R0047.org_archive
Finding ID locations (24/79 files): h:/org/R0029.org
Finding ID locations (25/79 files): h:/org/R0029.org_archive
Finding ID locations (26/79 files): h:/org/R0015.org
Finding ID locations (27/79 files): h:/org/R0015.org_archive
Finding ID locations (28/79 files): h:/org/G0865.org
Finding ID locations (29/79 files): h:/org/G0865.org_archive
Finding ID locations (30/79 files): h:/org/G0749.org
Finding ID locations (31/79 files): h:/org/G0749.org_archive
OVERVIEW
Finding ID locations (32/79 files): h:/org/G0689.org
Finding ID locations (33/79 files): h:/org/G0689.org_archive
OVERVIEW
Finding ID locations (34/79 files): h:/org/G0473.org
Finding ID locations (35/79 files): h:/org/G0473.org_archive
OVERVIEW
Finding ID locations (36/79 files): h:/org/G0439.org
Finding ID locations (37/79 files): h:/org/G0439.org_archive
OVERVIEW
Finding ID locations (38/79 files): h:/org/G0431.org
Finding ID locations (39/79 files): h:/org/G0431.org_archive
OVERVIEW
Finding ID locations (40/79 files): h:/org/GTD.org
Finding ID locations (41/79 files): h:/org/GTD.org_archive
OVERVIEW
Finding ID locations (42/79 files): h:/org/G0630.org
Finding ID locations (43/79 files): h:/org/G0630.org_archive
OVERVIEW
Finding ID locations (44/79 files): h:/org/G0580.org
Finding ID locations (45/79 files): h:/org/S0812.org
Finding ID locations (46/79 files): h:/org

[Orgmode] Re: org-capture: Formatting of entries

2010-06-30 Thread Markus Heller

On 6/29/2010 8:19 PM, Puneeth wrote:

Hi

On Wed, Jun 30, 2010 at 5:08 AM, Markus Hellerhelle...@gmail.com  wrote:
Just adding a space before the :PROPERTIES: drawer will work, right?

(setq org-capture-templates
  '((t Task entry (file h:/org/refile.org)
 * TODO %^{Todo} \n:PROPERTIES:\n:Created: %U\n:END:\n\n%?
 :clock-in :clock-resume)))



(setq org-capture-templates
  '((t Task entry (file h:/org/refile.org)
 * TODO %^{Todo} \n :PROPERTIES:\n :Created: %U\n :END:\n\n%?
 :clock-in :clock-resume)))



No, adding a space between \n and :PROPERTIES:, :Created, and 
:END: does just that, it adds a space, but does NOT yield the proper 
indent.  This becomes more obvious when you refile a capture note to a 
second-level headline.


Any other ideas/suggestions?

Thanks
Markus


___
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-capture: active timestamp in template doesn't seem to work

2010-06-30 Thread Markus Heller

On 6/30/2010 11:29 AM, Markus Heller wrote:

Hello all,

the following 2 templates yield identical results, although the second
should give date + time according to my understanding.


Of course, I need to correct myself:  the *first* template (using %^T) 
should give date + time, not the second.



(setq org-capture-templates
'((m Meeting entry (file h:/org/refile.org)
* Subject: %^{Subject} \t\t\t:MEETING:\n :PROPERTIES:\n :Created: %U\n
:END:\n When: %^{When}T\n%?
;; the above template has %^T which should give date + time
;; but it only yields the date
:clock-in t :clock-resume t)
(n Meeting entry (file h:/org/refile.org)
* Subject: %^{Subject} \t\t\t:MEETING:\n :PROPERTIES:\n :Created: %U\n
:END:\n When: %^{When}t\n%?
:clock-in t :clock-resume t)))

Any idea as to why? Or is this a bug?

Thanks
Markus



___
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-capture: Formatting of entries

2010-06-30 Thread Markus Heller

On 6/30/2010 12:05 PM, Tassilo Horn wrote:

Markus Hellerhelle...@gmail.com  writes:

Hi Markus,


No, adding a space between \n and :PROPERTIES:, :Created, and
:END: does just that, it adds a space, but does NOT yield the proper
indent.  This becomes more obvious when you refile a capture note to a
second-level headline.

Any other ideas/suggestions?


I've suggested a more generic approach to specify properties in capture
templates.  Have a look at the thread starting with the message
877hlqetr8@thinkpad.tsdh.de.

Of course, that's only a suggestion and nothing of that is
implemented... ;-)


Ah, thank you.  I skimmed the thread earlier but didn't catch 
everything.  Let's keep our fingers crossed that your suggestions (or a 
variation thereof) will be implemented; IIRC, Carsten mentioned 
something along these lines.


Thanks
Markus


___
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: Agenda view Day separator

2010-05-17 Thread Markus Heller

On 5/17/2010 4:23 AM, Sébastien Vauban wrote:

Hi Eric and Carsten,

Eric S Fraga wrote:

On Thu, 13 May 2010 20:27:27 +0200, Carsten Dominikcarsten.domi...@gmail.com  
wrote:


Take a look at the variable org-agenda-format-date.
Or you can write your own function to do something fancier, maybe based on
`org-agenda-format-date-aligned'.


Thanks Carsten. This did the job. I modified your function to add a 120 long
blank string at the end of the date [...] and I have a clear date separator!
Underline would work as well, of course.


Another version, I guess, from what you wrote. No length hard-coded, except
for the 10 characters of the ISO date and 1 space after.

--8---cut here---start-8---
 (setq org-agenda-format-date
   (concat %Y-%m-%d 
   (make-string (- (window-width) 11) (string-to-char _
--8---cut here---end---8---

The agenda view is much, much clearer now...



That's a nice piece of lisp, thanks for sharing.

Just curious, how can I get the day of the week in there as a string?

Thanks
Markus


___
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: Agenda view Day separator

2010-05-17 Thread Markus Heller

On 5/17/2010 2:02 PM, Nick Dokos wrote:

Markus Hellerhelle...@gmail.com  wrote:


...
Just curious, how can I get the day of the week in there as a string?



%a - abbreviated
%A - full name

If you do

C-h f format-time-stringRET

you'll get the complete list of formatting chars.



Ah, I was not aware of this.  Emacs just takes a long time to learn. 
Thanks for the answer, Nick!


Markus


___
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: Writing a dissertation using org-mode

2010-03-05 Thread Markus Heller

On 3/5/2010 2:14 AM, Sven Bretfeld wrote:

Eric S Fragaucec...@ucl.ac.uk  writes:


if I may (respectfully) disagree?  Having examined too many PhD theses
to count, I would prefer PhD candidates spent more of their time
worrying about the content and organisation of their thesis than the
actual layout.  Unlike the preparation of camera ready copy for
conferences, say, most of the defaults taken by LaTeX are usually fine
once you've set up the layout to meet the university's requirements
(which are usually only about page size, margins and font sizes).  The
great thing about using org-mode for writing is the outlining and the
ability to easily move sections around.


I fully agree and would add some other advantages:

- Orgmode can help to plan a paper or thesis right from the first second
   onwards. If you plan your texts in the canonical bottom-up way,
   orgmode helps you through all the stages:

   1. Brainstorming
   2. Selecting
   3. Mindmapping
   4. Visualizing (org-mindmap)
   5. Structuring
   6. Writing

- Orgmode has the fantastic (and AFAIK unique) feature that you can
   integrate your text project directly into your time and todo
   management. Most people writing with MSWord etc. use to use
   marginnotes or something similar to make notes like Check the
   pagenumber of this citation again. They are lucky if they actually
   remember this task when they are in a library. Writing in orgmode you
   can just add:

   * TODO Check the pagenumber of this citation again   :@LIBRARY:

   And you automatically have that todo in your daily agenda.


I have to agree with Torsten: I'd write the thesis directly in LaTeX, 
only because of the power of AUCTeX and RefTeX (and preview, if you have 
lots of plots and math).


I do see the advantages of orgmode in terms of brainstorming etc. as 
outlined by Sven, and I'd use orgmode for 1.--5. for sure.


Just one remark on Sven's last point: Having the TODO item in your 
agenda when you're in the library only helps if you have access to your 
org-files ...


Just my 2 cents
Markus



___
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] s in agenda saves all org-mode buffers, does not mark entry for bulk action

2010-02-04 Thread Markus Heller

Hello,

I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1.

In any agenda view, pressing s saves all org mode buffers and does not 
mark the item for bulk action.  I went through my .emacs and couldn't 
find anything that looked like re-defining a key binding to configure 
this behaviour.


How can I find out where this faulty behavior comes from?  I don't get 
any error messages ...


Thanks
Markus



___
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: s in agenda saves all org-mode buffers, does not mark entry for bulk action

2010-02-04 Thread Markus Heller

On 2/4/2010 3:41 PM, Tyler Smith wrote:

Markus Hellerhelle...@gmail.com  writes:


I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1.

In any agenda view, pressing s saves all org mode buffers and does not
mark the item for bulk action. I went through my .emacs and couldn't
find anything that looked like re-defining a key binding to configure
this behaviour.

How can I find out where this faulty behavior comes from? I don't get
any error messages ...


I think that's a bug in the documentation. `m' is the default key for
marking items for bulk action, hard-coded into org-agenda.el. The info
page lists s as the key for both `save all org buffers' and `mark for bulk
action'.


Ah, `m' does the trick!  Thanks for pointing this out, Tyler!

One more question: How can I access the info list you're talking about?

Thanks
Marku




___
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: s in agenda saves all org-mode buffers, does not mark entry for bulk action

2010-02-04 Thread Markus Heller

On 2/4/2010 3:40 PM, Nick Dokos wrote:

Markus Hellerhelle...@gmail.com  wrote:



I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1.

In any agenda view, pressing s saves all org mode buffers and does not
mark the item for bulk action.  I went through my .emacs and couldn't
find anything that looked like re-defining a key binding to configure
this behaviour.

How can I find out where this faulty behavior comes from?  I don't get
any error messages ...



I don't think there is faulty behavior here - if you do C-h m in the
agenda buffer, you get (at least, *I* get) these bindings:

B   org-agenda-bulk-action
...
U   org-agenda-bulk-remove-all-marks
...
m   org-agenda-bulk-mark
...
s   org-save-all-org-buffers
...
u   org-agenda-bulk-unmark


Hi Nick,

I was looking for the `m' key.  I do get the same output as you.  As 
Tyler pointed out, this seems to be a bug in the docu.


Thanks and Cheers
Markus



___
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-expiry: How to define keyword for org-expiry-add-keyword

2010-01-07 Thread Markus Heller

On 1/7/2010 9:01 AM, David Maus wrote:

At Tue, 05 Jan 2010 15:26:06 -0800,
Markus Heller wrote:


On 1/5/2010 8:47 AM, David Maus wrote:

Hi Markus,

At Mon, 04 Jan 2010 11:37:45 -0800,
Markus Heller wrote:


If I type M-x org-expiry-process-entries in expiry.org, I get the
following error:

Symbol's function definition is void: org-expiry-handler function


This actually is a bug in org-expiry.el that is fixed with the
attached patch.


Thanks for the patch.

But when I run M-x org-expiry-process-entries in the agenda or in my
example file (see below), I get the following message in the minibuffer:

The mark is not set now, so there is no region

When I run M-x org-expiry-process-entry in my example file (see below),
it works!  This command doesn't work in the agenda, but this is by
design, right?

Am I correct in assuming that I should be able to use M-x
org-expiry-process-entries in the agenda?


No. Up to now org-expiry is constructed to work on a per file basis
and `org-expiry-process-entries' even expects the headlines to process
in a region. That is what the first message The mark is not set now,
so there is no region complains about.

It seems reasonable to me that org-expiry should provide a function
that processes all headlines in a buffer and processing all headlines
in an agenda view.

Could I ask you to elaborate on the intended use of org-expiry? I'm
not quite sure about how expiry fits in the overall concept of
orgmode.



Hi David,

in the thread Contracts in org-mode (Message-ID: 
hgohio$dk...@ger.gmane.org), org-expiry was brought to my attention.


Here's a description of what I try to achieve:  I have several 
Workorders (WO) with different clients.  I only can do work for them if 
a WO has been signed and is active.  In my org files, such a WO gets the 
keyword ACTIVE.  When a WO expires, it gets a keyword EXPIRED.  I 
have agenda views for ACTIVE and EXPIRED so that I can see at one 
glance what is active and what needs to be renewed.


Right now, I manually change the keyword from ACTIVE to EXPIRED (see my 
example file at the end), but it would be awesome, i.e. really helpful 
if I could use the agenda view with all ACTIVE WOs and do M-x 
org-expiry-process-entries.


Does this elaboration make sense to you?  I'm open for any kinds of 
suggestions here ...


Thanks
Markus

Example file (needs org-depend):

* Workorder WO
** TODO Create WO
   :PROPERTIES:
 :ID: WO-Create
 :TRIGGER: WO-Sign(TODO)
   :END:
** PI Signature
   :PROPERTIES:
 :ID: WO-Sign
 :BLOCKER: WO-Create
 :TRIGGER: WO-Service(ACTIVE) WO-Analysis(ACTIVE) 
WO-Renew(TODO) WO-Expire(TODO)

   :END:
** Renew WO
   DEADLINE: 2010-03-31 Wed
   :PROPERTIES:
 :ID: WO-Renew
 :BLOCKER: WO-Sign
   :END:
** Expire WO
   DEADLINE: 2010-03-31 Wed
   :PROPERTIES:
 :ID: WO-Expire
 :BLOCKER: WO-Sign
 :TRIGGER: WO-Service(EXPIRED) WO-Analysis(EXPIRED)
   :END:
** Service NMR
   :PROPERTIES:
 :ID: WO-Service
 :BLOCKER: WO-Sign
   :END:
** Data Analysis
   :PROPERTIES:
 :ID: WO-Analysis
 :BLOCKER: WO-Sign
   :END:



___
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


  1   2   >