Emacs brings itself to the foreground when preparing agenda with org-agenda-include-diary t

2020-05-29 Thread Friedrich Delgado
Hi!

I've set up my emacs to prepare the org-agenda whenever I start it up.

While emacs starts up, I'm doing other things and it's frequently annoying
me that emacs brings itself to the foreground (with qtile, if that's
relevant).

I've come up with the following minimal configuration that reproduces the
issue for me (via emacs -Q -l ~/minimal-org.el):


,[ minimal-org.el ]
(require 'package)
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/";) t)
(package-initialize)
(add-to-list 'load-path "~/lib/emacs/use-package/")
(require 'use-package)

(use-package org
:ensure org-plus-contrib)

(define-key global-map "\C-ca" 'org-agenda)
(custom-set-variables
'(org-agenda-files (quote ("~/Org/Collect.org" "~/Org/Common.org"
"~/Org/Rechner.org" "~/Org/home/Familie.org" "~/Org/home/Haus.org"
"~/Org/home/Gesundheit.org" "~/Org/home/Musik.org" "~/Org/home/Rechner.org"
"~/Org/home/Sonstiges.org" "~/Org/home/Weiterentwicklung.org"
"~/Org/work/Cert.org")))
'(org-agenda-include-diary t))
`

When I comment out org-agenda-include-diary or set it to nil, the behaviour
disappears.

When I comment out my extensive set of large org-mode files, the behaviour
disappears as well, but maybe just because I'm not fast enough to switch
away from emacs before it happens.

I'd like to be able to use org-agenda-include-diary but disable the
behaviour that emacs raises itself.

Please CC me in replies, as I'm not subscribed to this list.

For completeness, I've been asked to file an issue against qtile, because
they want to be able to prevent such behaviour from clients on the window
manager side, and they're also dealing with focus problems recently.
https://github.com/qtile/qtile/issues/1756

Best regards
Friedel


Re: [O] Bug: icalendar export skips todos with a scheduled time-range [7.8.11]

2012-08-24 Thread Friedrich Delgado
This is now also fixed, thanks!

Friedrich Delgado schrieb:
> However: If I (setq org-icalendar-use-plain-timestamp nil) as in my
> customisation, scheduled date-ranges are not exported at all (no
> matter what org-icalendar-use-scheduled is set to).
>
> ( 49905a566970541de76b6d49004c62e50c625a98 from this morning)

--
    Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)



[O] org-notmuch outdated

2012-08-20 Thread Friedrich Delgado
diff --git a/contrib/lisp/org-notmuch.el b/contrib/lisp/org-notmuch.el
index 25f6ab6..20f98c3 100644
--- a/contrib/lisp/org-notmuch.el
+++ b/contrib/lisp/org-notmuch.el
@@ -58,7 +58,7 @@
   (org-store-link-props :type "notmuch" :from from :to to
 :subject subject :message-id message-id)
   (setq desc (org-email-link-description))
-  (setq link (org-make-link "notmuch:"  "id:" message-id))
+  (setq link (concat "notmuch:"  "id:" message-id))
   (org-add-link-props :link link :description desc)
   link)))

@@ -82,7 +82,7 @@ Can link to more than one message, if so all matching 
messages are shown."
 (defun org-notmuch-search-store-link ()
   "Store a link to a notmuch search or message."
   (when (eq major-mode 'notmuch-search-mode)
-(let ((link (org-make-link "notmuch-search:"
+(let ((link (concat "notmuch-search:"
 (org-link-escape notmuch-search-query-string)))
   (desc (concat "Notmuch search: " notmuch-search-query-string)))
   (org-store-link-props :type "notmuch-search"



Re: [O] Bug: icalendar export skips todos with a scheduled time-range [7.8.11]

2012-08-20 Thread Friedrich Delgado
Friedrich Delgado schrieb:
> confirmed, latest org does the right thing[TM]

However: If I (setq org-icalendar-use-plain-timestamp nil) as in my
customisation, scheduled date-ranges are not exported at all (no
matter what org-icalendar-use-scheduled is set to).

( 49905a566970541de76b6d49004c62e50c625a98 from this morning)

> Bastien schrieb:
> > Hi Friedrich,
> > Friedrich Delgado  writes:
> >
> > > If I have an org-file containing a todo with a scheduled date range, like
> > > this:
> > >
> > > ,[ foo.org ]
> > >   *** TODO Weekend with the lads
> > >   SCHEDULED: <2012-05-04 Fr>--<2012-05-08 Di>
> > > `
> > >
> > > and try to export it via org-export-icalendar-this-file, the resulting
> > > foo.ics will look like this
> >
> > With emacs -Q and latest Org, I get this:
> >
> >   BEGIN:VCALENDAR
> >   VERSION:2.0
> >   X-WR-CALNAME:test
> >   PRODID:-//Bastien Guerry//Emacs with Org-mode//EN
> >   X-WR-TIMEZONE:CEST
> >   X-WR-CALDESC:nil
> >   CALSCALE:GREGORIAN
> >   BEGIN:VEVENT
> >   UID: TS-f16e36f0-7c1a-4690-b705-0aaa74d5835c
> >   DTSTART;VALUE=DATE:20120504
> >   DTEND;VALUE=DATE:20120509
> >   SUMMARY:TODO Weekend with the lads
> >   CATEGORIES:test
> >   END:VEVENT
> >   END:VCALENDAR
> >
> > Can you clone the git repo and let me know if you get the same?

--
Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)



Re: [O] Bug: icalendar export skips todos with a scheduled time-range [7.8.11]

2012-08-20 Thread Friedrich Delgado
confirmed, latest org does the right thing[TM]

Bastien schrieb:
> Hi Friedrich,
>
> Friedrich Delgado  writes:
>
> > If I have an org-file containing a todo with a scheduled date range, like
> > this:
> >
> > ,[ foo.org ]
> >   *** TODO Weekend with the lads
> >   SCHEDULED: <2012-05-04 Fr>--<2012-05-08 Di>
> > `
> >
> > and try to export it via org-export-icalendar-this-file, the resulting
> > foo.ics will look like this
>
> With emacs -Q and latest Org, I get this:
>
>   BEGIN:VCALENDAR
>   VERSION:2.0
>   X-WR-CALNAME:test
>   PRODID:-//Bastien Guerry//Emacs with Org-mode//EN
>   X-WR-TIMEZONE:CEST
>   X-WR-CALDESC:nil
>   CALSCALE:GREGORIAN
>   BEGIN:VEVENT
>   UID: TS-f16e36f0-7c1a-4690-b705-0aaa74d5835c
>   DTSTART;VALUE=DATE:20120504
>   DTEND;VALUE=DATE:20120509
>   SUMMARY:TODO Weekend with the lads
>   CATEGORIES:test
>   END:VEVENT
>   END:VCALENDAR
>
> Can you clone the git repo and let me know if you get the same?
>
> Thanks,
>
> --
>  Bastien
---Zitatende---

--
Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)



[O] Bug: icalendar export skips todos with a scheduled time-range [7.8.11]

2012-08-17 Thread Friedrich Delgado
Hi!

If I have an org-file containing a todo with a scheduled date range, like
this:

,[ foo.org ]
  *** TODO Weekend with the lads
  SCHEDULED: <2012-05-04 Fr>--<2012-05-08 Di>
`

and try to export it via org-export-icalendar-this-file, the resulting
foo.ics will look like this

,[ foo.ics ]
  BEGIN:VCALENDAR
  VERSION:2.0
  X-WR-CALNAME:foo
  PRODID:-//Friedrich Delgado//Emacs with Org-mode//EN
  X-WR-TIMEZONE:Europe/Berlin
  X-WR-CALDESC:nil
  CALSCALE:GREGORIAN
  END:VCALENDAR
`

(i.e.: contain no appointments at all)

I think the responsible section of code may reside in
[[file:/usr/share/emacs23/site-lisp/org-mode/org-icalendar.el::defun%20org-print-icalendar-entries][Function:
 org-print-icalendar-entries]]

(org-link for your convenience, I hope), more specifically starting
with line 360:

,
  (if (looking-at re2)
  (progn
(goto-char (match-end 0))
(setq ts2 (match-string 1)
  inc (not (string-match "[0-9]\\{1,2\\}:[0-9][0-9]" ts2
(setq tmp (buffer-substring (max (point-min)
 (- pos org-ds-keyword-length))
pos)
  ts2 (if (string-match 
"[0-9]\\{1,2\\}:[0-9][0-9]-\\([0-9]\\{1,2\\}:[0-9][0-9]\\)" ts)
  (progn
(setq inc nil)
(replace-match "\\1" t nil ts))
ts)
  deadlinep (string-match org-deadline-regexp tmp)
  scheduledp (string-match org-scheduled-regexp tmp)
  todo (org-get-todo-state)
  ;; donep (org-entry-is-done-p)
  ))
`

>From my basic understanding of the code-flow it looks like re2 ==
(concat "--?-?\\(" org-ts-regexp "\\)") is meant to match date-ranges,
but the code in the t branch of the if doesn't set deadlinep,
schedulep and todo, preventing all further processing of the entry.

But I may be wrong about the intentions of that function.

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668496


Emacs  : GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-04-07 on trouble, modified by Debian
Package: Org-mode version 7.8.11

current state:
==
(setq
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook 
'(org-remove-file-link-modifiers)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all 
append local]
   5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append
local]
   5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-occur-hook '(org-first-headline-recenter)
 org-export-preprocess-before-selecting-backend-code-hook 
'(org-beamer-select-beamer-code)
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
   org-beamer-auto-fragile-frames
   org-beamer-place-default-actions-for-lists)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-block nil)
     (export-comment org-export-blocks-format-comment t)
 (ditaa org-export-blocks-format-ditaa nil)
 (dot org-export-blocks-format-dot nil))
 )
-- 
Friedrich Delgado 
Laziness led to the invention of the most useful tools.



[O] Bug: org-export-with-priority: t broken [7.8.11]

2012-08-17 Thread Friedrich Delgado
Package: org-mode
Version: 7.8.11-2
Severity: minor


The following minimal org-file:

,[ foo.org ]
  *** Header
  *

`

With nothing changed from the site-configuration except for
org-export-with-priority: t, resuts in:

,[ *Messages* ]
  org-export-cleanup-toc-line: Wrong type argument: stringp, nil
`

Changing the second line to

,
  * Bla
`

fixes the problem, but I have lots of org files with spurious stars
(because of the way I use org-remember).

(setq org-export-with-priority nil) also helps.

Sebastian: Maybe it would be useful if org-submit-bug-report from the
debian package could add the debian specific information and
automatically forward the bug to b...@debian.org?

Emacs  : GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-04-07 on trouble, modified by Debian
Package: Org-mode version 7.8.11

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (50, 
'oneiric'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4.0-8.dmz.1-liquorix-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages org-mode depends on:
ii  dpkg 1.16.4.3
ii  emacs23-lucid [emacs23]  23.4+1-3
ic  emacs23-nox [emacs23]23.2+1-5.1
ii  install-info 4.13a.dfsg.1-10

org-mode recommends no packages.

Versions of packages org-mode suggests:
ii  ditaa0.9+ds1-3
pn  easypg   
pn  remember-el  

-- no debconf information



Re: [Orgmode] Clean capture from command line?

2010-11-16 Thread Friedrich Delgado
I use zsh and I already use this:

,[ ~/bin/uriescapepwd.pl ]
  #!/usr/bin/perl -w
  use URI::Escape qw/ uri_escape uri_escape_utf8 /;
  use Cwd qw/getcwd abs_path/;
  $pwd = abs_path(getcwd);
  print uri_escape_utf8($pwd);
`

,[ .zshrc snippet ]
  # bind n to org-store-link
  bindkey -s "\e[20~n" 'emacsclient 
org-protocol://store-link://file:`uriescapepwd.pl`\n'
`

(I stole this from somewhere, can't remember where, possibly this
list.)

it should be easy to just do
,
  # bind t to org-remember
  bindkey -s "\e[20~t" 'emacsclient 
org-protocol://remember://file:`uriescapepwd.pl`\n'
`

(I'm old school.)

or even
,
  # bind t to org-remember
  bindkey -s "\e[20~t" 'emacsclient 
org-protocol://capture://file:`uriescapepwd.pl`\n'
`


I didn't test this, since I very rarely even use the first binding.

I'm pretty sure this must be possible with bash and other shells as
well.

Of course this leaves you in the emacsclient again, so you probably
want to follow Eric's hints on top of that.

Eric S Fraga schrieb:
> a...@ufl.edu (Allen S. Rout) writes:
> > One of the things I'd like to be able to do is capture a new TODO from a
> > command line.  e.g.
> >
> > shell$ capture "Fred wants a new database VM, 60G"
> >
> > and maybe eventually something obnoxious with e.g. zenity, so that a key
> > chord popped up a text dialog which would just seamlessly get fed to
> > org-capture.  Basically, I want to make the notation and just keep
> > sailing. Of course, I've got the relevant org files open in an emacs on
> > another desktop: miles and miles away. :) The obvious solution
> >
> > shell$ emacsclient -c -e "(org-capture)"
> >
> > (and maybe a '-t', to keep it in the tty) 
> >
> > has a problem: when I finish the capture, I'm left with the session, and
> > worse, when I try to close the emacsclient, (C-x #) it tells me "No
> > server buffers remain to edit", and I have to M-x delete-frame.
> > Harshing my buzz, definitely.
> 
> I tried the following:
> 
> : $ emacsclient -t -e "(progn (org-capture) (delete-frame))"
> 
> which /sort of/ works: it brings up capture, allows me to type in
> various bits of the capture template (like headline and tags, if
> requested) but then quits immediately (and deletes the frame) when org
> is supposed to give me a chance to add to the entry I have created.
> 
> So this is a halfway point to a solution to your problem maybe?
> 
---Zitatende---

-- 
Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)

___
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: extremely weird "bad sexp" errors with org-google-weather [was: extremely weird "bad sexp" errors]

2010-09-16 Thread Friedrich Delgado
Oh... and I just tried to set the language back to "DE" and the
problem disappeared.

It can only guess that there might have been some problem going on
behind the curtain (e.g. on the google servers?), which has now been
resolved.

I'd appreciate if Org/org-google-weather could handle such conditions
more gracefully, and/or some instructions how to provide debug
information for those cases.

Friedrich Delgado Friedrichs schrieb:
> It just occured to me, that I could have include org-google-weather in
> the subject.
> 
> *bump*
> 
> Friedrich Delgado Friedrichs schrieb:
> > For some strange reason, as of today, the combination
> > 
> > %%(org-google-weather "Hamburg" "DE")
> > 
> > seems to be deeply offending, as I get a "bad sexp" error for it.
> [...]
> 
---Zitatende---

-- 
Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)

___
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] extremely weird "bad sexp" errors with org-google-weather [was: extremely weird "bad sexp" errors]

2010-09-16 Thread Friedrich Delgado
It just occured to me, that I could have include org-google-weather in
the subject.

*bump*

Friedrich Delgado Friedrichs schrieb:
> For some strange reason, as of today, the combination
> 
> %%(org-google-weather "Hamburg" "DE")
> 
> seems to be deeply offending, as I get a "bad sexp" error for it.
[...]

-- 
Friedrich Delgado Friedrichs 
Laziness led to the invention of the most useful tools.

___
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] extremely weird "bad sexp" errors

2010-09-15 Thread Friedrich Delgado
Hi!

For some strange reason, as of today, the combination

%%(org-google-weather "Hamburg" "DE")

seems to be deeply offending, as I get a "bad sexp" error for it.

%%(org-google-weather "Hamburg")

works,

%%(org-google-weather "Berlin" "DE")

also works,

%%(org-google-weather "Hamburg" "DA")

also works (as does any other german city or language I've tried).

How could I provide debug information for this? toggle-debug-on-error
and edebug-defun give me no cookies at all.


A different issue:

It seems I have to eval (require 'org-google-weather) manually. I
have it in a private library "org-config" which I require from my main
.emacs, but that also results in "bad sexp" errors (this time for both
of my weather lines).


-- 
Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)

___
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


Re: [Orgmode] Emacs bindings for remember the milk (work in progress)

2010-07-29 Thread Friedrich Delgado Friedrichs
Hi!

Rainer M Krug schrieb:
> any news on the implementation of two-way-sync with RTM?
---Zitatende---

No, I didn't get around to do it, yet.

I think the rtm-api for emacs lisp is just about ready and would allow
two-way sync, but there's nothing wrt to org-integration at all yet.

Somebody else has expressed interest in picking it up and I've sent
him my code so far, but I don't know about the status of that project.

-- 
    Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)


pgpqLC6eaP3CT.pgp
Description: PGP signature
___
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


Re: [Orgmode] Patchwork: Patch 138 Accepted

2010-07-16 Thread Friedrich Delgado
Carsten Dominik schrieb:
> >I'd appreciate if the subject line and body of those patchwork mails
> >could be a little more informative, since I can't really be bothered
> >to click on those urls in order to figure out what's going on.

> If you are using a threaded email reader, this message will appear
> in the correct thread. I (and I guess John who made the patchwork
> process send a message and in this way automatically inform the
> mailing list about the status of this patch) thought that would be
> good enough. Because if the issue is one that interests you, I'd
> think you are following the thread?

Well, I do read a threaded mailreader, and I noticed that the messages
appeared in threads with patches, but frankly I didn't see the
connection until I read something about what that "patchwork" thingy
actually is, so I didn't see the relevance of those mails at all.

This might actually be enough, indeed.

> The script sending the message is in the repo: UTILITIES/pw.  It
> is written in Python, which I don't know how to write.   I would
> accept a patch which provides a better subject line.
---Zitatende---

Well, a little bit of skimming through the code made me come up with
this 

,
  diff --git a/UTILITIES/pw b/UTILITIES/pw
  index 5a2e3dd..54ed477 100755
  --- a/UTILITIES/pw
  +++ b/UTILITIES/pw
  @@ -320,9 +320,12 @@ def action_update_patch(rpc, patch_id, state = None, 
commit = None,
   
   This relates to the following submission:
   
  -http://mid.gmane.org/%s''' % \
  -(patch['id'], patch['id'], state, 
urllib.quote(patch['msgid']))
  -shortdesc = 'Patch %s %s' % (patch['id'], state)
  +http://mid.gmane.org/%s
  +
  +(%s)
  +''' % \
  +(patch['id'], patch['id'], state, 
urllib.quote(patch['msgid']), patch['name'])
  +shortdesc = 'Patch %s %s (%s)' % (patch['id'], state, 
patch['name'])
   
   msg = MIMEText(longdesc)
`

(Hopefully line breaks won't be garbled...)

But frankly I have no way to test this, so somebody else should
probably look into this.

-- 
Friedrich Delgado 
 TauPan on Ircnet and Freenode ;)

___
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


Re: [Orgmode] Patchwork: Patch 138 Accepted

2010-07-16 Thread Friedrich Delgado
Hi again.

Nick Dokos schrieb:
> Friedrich Delgado  wrote:
> > I'd appreciate if the subject line and body of those patchwork mails
> > could be a little more informative, since I can't really be bothered
> > to click on those urls in order to figure out what's going on.
> I'm really trying to be nice here and not be an officious bastard,
> but

That's always a good start...

> wouldn't it be more politic to express yourself a bit differently?  It
> seems to me that if I'm trying to convince somebody else to do some

My intention wasn't to be condescending, just honest.

> amount of work so that I don't have to do a (minuscule) amount of work
> on my side, then pointing out that *I* can't be bothered does not invite
> much sympathy, let alone a desire to comply with the request.
---Zitatende---

And I agree that my choice of words may not be terribly motivating.

However I figured that there are a lot of readers on this mailing list
whose "minuscule" amount of work in order to make some sense out of
these mails will probably add up to a considerably higher effort than
the amount of work needed to make those mails a bit more informative.

I might be wrong about that, of course.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)

___
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


Re: [Orgmode] Patchwork: Patch 138 Accepted

2010-07-15 Thread Friedrich Delgado
Hi!

I'd appreciate if the subject line and body of those patchwork mails
could be a little more informative, since I can't really be bothered
to click on those urls in order to figure out what's going on.

Carsten Dominik schrieb:
> Patch 138 (http://patchwork.newartisans.com/patch/138/) is now Accepted.
> 
> This relates to the following submission:
> 
> http://mid.gmane.org/%3Cm21vb4bpg2.fsf%40bo.yax.org.uk%3E
> 
> ___
> 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
> 
---Zitatende---

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)

___
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


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

2010-05-08 Thread Friedrich Delgado Friedrichs
Hi!
Carsten Dominik schrieb:
> I am wondering:
> 
> How many of your are using these keys
> 
> C-c C-f
> C-c C-b
> C-c C-n
> C-c C-p

Never. I always use the speed commands since they became available.

> for navigation through the outline?  These are first class keys,
> and I would have good uses for these keys if most people don't
> actually use them.
> 
> Another question:
> 
> C-c C-v   currently make the TODO sparse tree.

I use that one quite often. If you decided to use it for something
else, I would override it in my config.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] Re: Linking Mail ?

2010-04-30 Thread Friedrich Delgado Friedrichs
Hi.

Just for the sake of completeness: In case you like mutt, Stefano
Zacchiroli and I have come up with two slightly different ways of
integrating mutt and org-mode.

Our discussion can be found in the mailing list archives.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Android] [Orgmode] Force close with MobileOrg Android 0.2_alpha and development snapshot

2010-04-22 Thread Friedrich Delgado Friedrichs
Hi!

Matthew Jones schrieb:
> Looks like this might be a bug trying to write your files out to
> subdirectories it looks like I'm not trying to create the subdirectories.
> If you put your files in just the root directory does that work for you?

I simply deleted the subdirectories from the remote staging area
(along with their mentions in index.org) and then I could sync them
with 0.2 alpha and the snapshot could read them.

Just for some feedback: I think the most useful features for me
would be:
 - handling of directories, obviously :)
 - some kind of agenda view
 - a tag-todo view, based on Location or user choice (I'm at the
 supermarket, let's pull up the shopping list)
 - fast capturing + sync

Kind regards
   Friedel
-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


[Android] [Orgmode] Force close with MobileOrg Android 0.2_alpha and development snapshot

2010-04-21 Thread Friedrich Delgado Friedrichs
Hi!

I finally got around to trying out MobileOrg for Android.

After I finally managed to set up webdav and sync my files, MobileOrg
force closed. (development snapshot from today)

Now it force closes every time I try to start it.

I tried the 0.2 alpha release next but it also force closed on
startup.

Looking into my /sdcard/mobileorg files, I noticed that only parts of
my files were there.

In particular, I notice that I have subdirectories 'home' and 'work'
in my Org files, but there are no subdirectories in the
/sdcard/mobileorg directory.

Then I tried deinstalling the application and reinstalling (this time
the 0.2 alpha), put in my setup, pressed sync and get a force close
again.

Unfortunately the logcat contains the full contents of some of my org
files, which I can't post to the list, so I'm posting parts of it
here:

[ log with contents of files]

I/global  (14760): Default buffer size used in BufferedWriter
constructor. It would be better to be explicit if an 8k-char buffer is
required.
E/MobileOrg(14760): IO Exception initializing writer on sdcard file

[log of further files, but this time *without* the contents]

E/MobileOrg(14760): Error: /sdcard/mobileorg/work/Someday.org in file
work/Someday.org
D/AndroidRuntime(14760): Shutting down VM
W/dalvikvm(14760): threadid=3: thread exiting with uncaught exception
(group=0x4001e180)
E/AndroidRuntime(14760): Uncaught handler: thread main exiting due to
uncaught exception
D/dalvikvm(14760): GC freed 858 objects / 810176 bytes in 83ms
E/AndroidRuntime(14760): java.lang.NullPointerException
E/AndroidRuntime(14760):at
com.matburt.mobileorg.OrgFileParser.parse(OrgFileParser.java:99)
E/AndroidRuntime(14760):at
com.matburt.mobileorg.MobileOrgActivity.runParser(MobileOrgActivity.java:145)
E/AndroidRuntime(14760):at
com.matburt.mobileorg.MobileOrgActivity.postSynchronize(MobileOrgActivity.java:269)
E/AndroidRuntime(14760):at
com.matburt.mobileorg.MobileOrgActivity$1.run(MobileOrgActivity.java:117)
E/AndroidRuntime(14760):at
android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(14760):at
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(14760):at
android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(14760):at
android.app.ActivityThread.main(ActivityThread.java:4358)
E/AndroidRuntime(14760):at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(14760):at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(14760):at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime(14760):at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime(14760):at
dalvik.system.NativeStart.main(Native Method)
I/Process ( 2566): Sending signal. PID: 14760 SIG: 3
I/dalvikvm(14760): threadid=7: reacting to signal 3
I/dalvikvm(14760): Wrote stack trace to '/data/anr/traces.txt'
D/dalvikvm( 2898): GC freed 68 objects / 2408 bytes in 209ms
D/dalvikvm( 2614): GC freed 2336 objects / 110792 bytes in 201ms
I/Process (14760): Sending signal. PID: 14760 SIG: 9
I/ActivityManager( 2566): Process com.matburt.mobileorg (pid 14760)
has died.
I/WindowManager( 2566): WIN DEATH: Window{43e0e690
com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity
paused=false}
I/WindowManager( 2566): WIN DEATH: Window{43e47e50
com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity
paused=false}

We should probably do further debugging off-list.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] Freemind exportation

2010-04-12 Thread Friedrich Delgado Friedrichs
Hi!

The freemind exporter works nicely now.

If you use org-freemind.el from a recent git, it should just work.

Otherwise you'd need to give us a bit more information.

Andrea Crotti schrieb:
> I don't know if I'm doing something wrong, but I tried many times during
> the last months and I've never seen the freemind exporter works, is it
> just to me or a general problem?
> 
> It would be a great thing, what is/was the problem and is possible to
> fix it?
---Zitatende---

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] modeline clock string

2010-04-09 Thread Friedrich Delgado Friedrichs
Yuri Goncharov schrieb:
> I use xmonad with xmobar at my desktop. I'd like to add clock
> string from mode line to xmobar. Is there  way to save it to
> file every time when update mode line?
> 
---Zitatende---

You can find information on various subjects with M-x apropos but it's
sometimes hard to find the right keyword. I emacs, certain functions
are called when certain events occur, those functions are called
hooks. I found display-time-hook by doing M-x aproposhook
and then searching for status (no result) and update (which yielded
display-time-hook).

See documentation of variable display-time-hook

HTH

-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpy7Ch5cyPTB.pgp
Description: PGP signature
___
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


Re: [Orgmode] org-mode (recent git) tries to open .c and other plaintext file:// links with less on debian

2010-04-08 Thread Friedrich Delgado Friedrichs
Hiho!

Confirmed fixed (for me) with recent git. Thanks! ;)

I didn't notice that this issue was double-posted:

Ich schrieb:
>  
> [[file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal%20sig][file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal
>  sig]]
> 
> until I looked what org-open-file does with edebug and noticed it
> tries to handle the file according to its mailcap entry.
> 
> Which is, on my debian testing systems:
> 
> text/plain; less '%s'; needsterminal
> 
> which makes a lot of sense when I try to open a plaintext file
> attachment e.g. with mutt.
> 
> >From emacs, not so good.
> 
> Indeed, M-x list-processes lists a less process:
> 
> Proc Status   Buffer TtyCommand
> less /home/fdf/anon-vc/emacs/src/emacs.c run  (none) /dev/pts/6 
> /usr/bin/zsh -c less /home/fdf/anon-vc/emacs/src/emacs.c
---Zitatende---

Paul Schlesinger schrieb:
> I just revisited the same experienmce with 6.35e.
> All of my links give the same results but one example is
> 
> [[file:apoptosis.org::*Topics][Topics and Ideas]]


> Just down loaded and install 6.35 from web site. Running XP and emacs. When 
> trying to follow link I get an error
> ShellExecute failed.  Moved back to 6.34c and everything works fine.
---Zitatende---



-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] org-mode (recent git) tries to open .c and other plaintext file:// links with less on debian

2010-04-07 Thread Friedrich Delgado Friedrichs
Hi!

I just wondered why my file links to c-sources would not work any more:

 
[[file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal%20sig][file:~/anon-vc/emacs/src/emacs.c::fatal_error_signal
 sig]]

until I looked what org-open-file does with edebug and noticed it
tries to handle the file according to its mailcap entry.

Which is, on my debian testing systems:

text/plain; less '%s'; needsterminal

which makes a lot of sense when I try to open a plaintext file
attachment e.g. with mutt.

>From emacs, not so good.

Indeed, M-x list-processes lists a less process:

Proc Status   Buffer TtyCommand
 --   -- ------
less /home/fdf/anon-vc/emacs/src/emacs.c run  (none) /dev/pts/6 
/usr/bin/zsh -c less /home/fdf/anon-vc/emacs/src/emacs.c


-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] Re: org-mode tutorial questionaire

2010-03-23 Thread Friedrich Delgado Friedrichs
Hi

Alexander Poslavsky schrieb:
> > I was wondering if you could elaborate on the following. Are you
> > suggesting that new users should never use M-x customize?
> Well, I don't know about anybody else, but I *never* use it. I think it is 
> awful. But then, what do I know….
---Zitatende---

Maybe that's a bit opinionated for a tutorial then. I do use M-x
customize and I believe it has its merits.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] dangling clock message might be incomprehensible to a few users

2010-03-21 Thread Friedrich Delgado Friedrichs
Hi!

I'd like to chime in here:
Samuel Wales schrieb:
> Here is part of it:
> 
>  " [(kK)p (sS)ub (C)ncl (i)gn]? ")
> 
> Some users might ask:
> 
> kp=?  Keep?  Keep what?
> sub=subtract what from what?
> cncl=cancel command?  Why "C" only?
> ign=ignore what?   Why "i" only?
---Zitatende---

I'd also appreciate it if there was an option to give a time when the
clock should end, instead of just a number of minutes to keep. It's
easier for me to figure out when I ended work on the task, than how
minutes I spent on it.

Also I think the last clock entry isn't always displayed, which makes
it even harder to figure out how to answer the 'k' question.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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] Emacs bindings for remember the milk (work in progress)

2010-02-24 Thread Friedrich Delgado Friedrichs
Hi!

Since someone just asked about remember the milk sync, I thought I
could post my remember the milk bindings for emacs. This is still
pretty much raw and it's far from usable for org-mode. The next step
would be to devise a way to map org-mode todos onto remember the milk
and come up with an algorithm for synchronisation (both ways).

But I'd appreciate some feedback and/or hacks from you, so fire away
:)

Kind regards
 Friedel
-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)
;;; rtm.el --- An elisp implementation of the Remember The Milk API

;; Copyright (C) 2009 Friedrich Delgado Friedrichs
;; uses parts of org-rtm.el Copyright (C) 2008  Avdi Grimm

;; Author: Friedrich Delgado Friedrichs 
;; Created: Oct 18 2009
;; Version: 0.0
;; Keywords: remember the milk productivity todo

;; This product uses the Remember The Milk API but is not endorsed or
;; certified by Remember The Milk

;; This file is NOT part of GNU Emacs.

;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.

;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;;; Commentary:

;; TODO Write commentary

;;; Code:

(eval-when-compile (require 'cl))
(require 'url-http)
(require 'url-util)
(require 'xml)
(require 'custom)

 Customisation

(defgroup rtm nil
  "Options for emacs lisp integration of Remember The Milk"
  :tag "elisp RTM"
  :group 'applications)

(defcustom rtm-api-key ""
  "Your own API key for Remember The Milk."
  :type 'string :group 'rtm)
(defcustom rtm-api-shared-secret ""
  "Your shared secret for your Remember The Milk API Key.

Note that in an open source application it is not easily possible to
hide the secret. That's why it's probably the best solution for every
user to register their own API key.

See also
http://groups.google.com/group/rememberthemilk-api/browse_thread/thread/dcb035f162d4dcc8%3Fpli%3D1

You can register your own API key and secret under
http://www.rememberthemilk.com/services/api/requestkey.rtm

In the description just tell them you're going to use the emacs lisp
API Kit"
  :type 'string :group 'rtm)

 constants and variables

(defconst rtm-rest-uri "http://api.rememberthemilk.com/services/rest/";
  "Endpoint URL for REST requests. See
  http://www.rememberthemilk.com/services/api/request.rest.rtm";)

(defconst rtm-auth-uri "http://www.rememberthemilk.com/services/auth/";
  "Authentication service URL, see
  http://www.rememberthemilk.com/services/api/authentication.rtm";)

(defvar rtm-auth-token ""
  "Auth token received from RTM Website, after the user authenticated
  your app")

(defconst rtm-ui-buffer-name "*rtm*"
  "Name for the rtm user interface buffer")

(defconst rtm-auth-token-file ".rtm-auth-token"
  "Name for storing the auth token for the current session")

(defvar rtm-current-timeline nil
  "The current timeline")

(defvar rtm-debug nil
  "debug level")

 API wrappers
(defmacro def-rtm-method (methodname rtm-method-name call-func result-func
 result-path &rest parms)
  (declare (indent 1))
  `(defun ,methodname ,parms
 (,result-func ,result-path
   (,call-func ',rtm-method-name
   ,@(mapcar (lambda (sym)
   (list 'backquote
 (cons (symbol-name sym)
   (list ', sym
 ;; remove lambda keywords
 (remove-if (lambda (sym)
  (or (eq sym '&optional)
  (eq sym '&rest)))
parms))

(defmacro def-rtm-macro (macro-name call-func result-func)
  (declare (indent 0))
  `(defmacro ,macro-name (methodname rtm-method-name result-path &rest parms)
 (declare (indent 1))
 `(def-rtm-method ,methodname ,rtm-method-name ,',cal

[Orgmode] org-freemind export can't be read by freemind

2010-02-16 Thread Friedrich Delgado Friedrichs
Hi!

The following file

,[ test.org ]
  * Title
  *** Node 1
  *** Node 2
`

produces the following freemind output:

,[ test.org.mm ]
  
  
  
  
  
  
  
  
  
  
  
`

And opening it with 0.9.0~rc6+dfsg-2 on debian produces an error:

,[ error in freemind node ]
  Error while parsing file:freemind.main.XMLParseException: XML Parse
  Exception during parsing of a map element at line 10: Expected: map
`

With freemind 0.8 available from debian I get a backtrace on the
console and an empty graph.

Looks like org-freemind.el is closing one node too many. If I remove
one "", it works, however it's more complicated if I use a
complicated file, as several closing nodes may be duplicated across
the whole file.


-- 
Friedrich Delgado Friedrichs
frie...@nomaden.org


___
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: Supporting non-stuck projects view with minimal effort

2009-12-26 Thread Friedrich Delgado Friedrichs
Hi!

Bernt Hansen schrieb:
> Or you can look at NEXT actions which should only be unstuck project
> tasks you can work on immediately.
---Zitatende---

No, that's not the same.

 - Next actions might not have a project at all. A single action is
   not a project.
 - Projects may have more than one next action. If the order doesn't
   matter, I'll just do them in the appropriate context to further the
   project. If I use those actions as placeholder for a project, the
   project will turn up multiple times.

-- 
frie...@nomaden.org


___
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


Re: [Orgmode] Supporting non-stuck projects view with minimal effort

2009-12-26 Thread Friedrich Delgado Friedrichs
Hi!

Carsten Dominik schrieb:
> On Dec 22, 2009, at 6:58 PM, Friedrich Delgado Friedrichs wrote:
> >I've been thinking, the view of stuck projects is nice, but I'd need a
> >view of non-stuck projects to complement it.
> can you describe how you would use such a view in your workflow?
---Zitatende---

Sure. I'll mostly use it in my reviews or mindsweeps. I am using the
trigger list from the GTD book (also on
http://wiki.43folders.com/index.php/Trigger_List ) so I'll start by
looking through the projects that are already started to see if
something requires my attention, then review the list of stuck (or
unstarted) projects and see if I can come up with a next action for
them.

It's important for me that there are no items that occur on both
lists, since that means I will review them twice (and might end up not
reviewing them thoroughly). Without the list of unstuck projects I can
only look at stuck projects and then at all projects.

Greetings
Friedel
-- 
frie...@nomaden.org


___
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] Supporting non-stuck projects view with minimal effort

2009-12-22 Thread Friedrich Delgado Friedrichs
Hi!

I've been thinking, the view of stuck projects is nice, but I'd need a
view of non-stuck projects to complement it.

I came up with this ugly mess:

(defun fdf/org-agenda-list-unstuck-projects (&rest ignore)
  "Create agenda view for projects that are NOT stuck.
Stuck projects are project that have no next actions.  For the
definitions
of what a project is and how to check if it stuck, customize the
variable
`org-stuck-projects'.
MATCH is being ignored."
  (interactive)
  (let* ((org-agenda-overriding-header
  (or org-agenda-overriding-header "List of unstuck projects:
  "))
 (matcher (nth 0 org-stuck-projects))
 (todo (nth 1 org-stuck-projects))
 (todo-wds (if (member "*" todo)
   (progn
 (org-prepare-agenda-buffers (org-agenda-files
  nil 'ifmode))
 (org-delete-all
  org-done-keywords-for-agenda
  (copy-sequence
  org-todo-keywords-for-agenda)))
 todo))
 (todo-re (concat "^\\*+[ \t]+\\("
  (mapconcat 'identity todo-wds "\\|")
  "\\)\\>"))
 (tags (nth 2 org-stuck-projects))
 (tags-re (if (member "*" tags)
  (org-re "^\\*+ .*:[[:alnum:]...@]+:[ \t]*$")
(if tags
(concat "^\\*+ .*:\\("
(mapconcat 'identity tags "\\|")
(org-re "\\):[[:alnum:]_@:]*[
\t]*$")
 (gen-re (nth 3 org-stuck-projects))
 (re-list
  (delq nil
(list
 (if todo todo-re)
 (if tags tags-re)
 (and gen-re (stringp gen-re) (string-match "\\S-"
 gen-re)
  gen-re
 (skip-regexp
  (if re-list
  (mapconcat 'identity re-list "\\|")
(error "No information how to identify unstuck
projects"
(org-tags-view nil matcher)
(let ((org-agenda-skip-function
   (lambda ()
 (org-agenda-skip-if t 'notregexp skip-regexp
  (with-current-buffer org-agenda-buffer-name
(setq org-agenda-redo-command
  '(org-agenda-list-stuck-projects
(or current-prefix-arg org-last-arg)))

As you will notice, this is blatantly copied and pasted from
org-agenda-list-stuck-projects (which is why it's ugly), the only
difference is that it doesn't set org-agenda-skip-function but uses
org-agenda-skip-if.

I think this could be very easily integrated into
org-agenda-list-stuck-projects (with an optional parameter 'negate'),
but I somehow feel reluctant to patch org-core for some irrational
reason.

Kind regards
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpS1YpbqnEW8.pgp
Description: PGP signature
___
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


Re: [Orgmode] org 45d619c82 doesn't let me create new nodes with (org-refile-allow-creating-parent-nodes (quote confirm))

2009-12-16 Thread Friedrich Delgado Friedrichs
Hi!

Case closed, looks like I had an old version of org-mode.

The problem just disappeared, I can't reproduce it any more. Don't
know what made it disappear.

> Hiho!
> 
> Carsten Dominik schrieb:
> > this seems to work fine for me.
> 
> Hm. Anyone else who has this problem?
> 
> If not, it's probably my config again. I think I'll trace the
> function with edebug to figure it out.
> 
> Thanks for your feedback!
> 
> Fullquote to jog people's memories:
> 
> > On Nov 11, 2009, at 4:36 PM, Friedrich Delgado Friedrichs wrote:
> > >I use the following settings to allow me to create new nodes on the
> > >fly when refiling:
> > >
> > >'(org-refile-allow-creating-parent-nodes (quote confirm))
> > >'(org-refile-targets (quote ((org-agenda-files :maxlevel .
> > >5
> > >'(org-refile-use-outline-path (quote full-file-path))
> > >
> > >(My almost complete settings are in my previous mail to this list
> > >today.)
> > >
> > >Say I have \home\friedel\Org\Someday.org which doesn't contain the
> > >node "Foo" yet, so I give "\home\fdf\Org\Someday.org/Foo/" at the
> > >"Refile to:" prompt.
> > >
> > >This just silently fails, it doesn't even produce an error, no
> > >message, nothing. (Just "Getting targets...done" when I'm completing
> > >the path.)
> 
> Kind regards
>   Friedel
---Zitatende---

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Android] Running debian + emacs on my Android G1 [was: [Orgmode] emacs + orgmode on Ubuntu on Android G1]

2009-12-05 Thread Friedrich Delgado Friedrichs
Final summary on emacs with orgmode on the G1:

I added a few hints to http://www.emacswiki.org/emacs/EmacsOnAndroid

Friedel schrieb:
> Emacs runs nicely, but uses a lot of memory with org mode, and it's
> hard to use the agenda and probably difficult to make it run much
> faster.

The way I installed debian caused the swapping via "compcache" to be
disabled, which I remedied by now (see wiki page above). That helps
with some problems with memory consumption, but doesn't really make
things faster (I have a slow SD card, I think I will order a faster
one soon).

I didn't manage to get below 9 seconds for changing from one day to
the next in the agenda, even though I moved out most of my reference
material (and that way I have a more pure GTD-setup in my org-files now).

> Thus I'll only be using the local emacs on my android phone as a
> fallback when I have no (fast) network access, otherwise I'll use it
> via ssh on a much faster host.

This is still valid.

> > As using this via the small keyboard is still awkward, even with speed
> > keys (let's face it: emacs just wasn't made for small keyboards), and
> > because it's still going to be slow, even if I can optimize it a bit,
> > I guess I'll still be going forward with my plans for integrating
> > org-mode with Remember The Milk.
> 
> As a sideeffect of this experiment, I have my org mode set up in a way
> that is much more convenient to use on a small keyboard, that way I
> can use it via ssh (connectbot) quite comfortably now. (speed commands
> and tag selection keys are especially handy)
---Zitatende---

And so is this. I have a remote host on which I use emacs + org mostly
from the phone, so I have my @G1 and @Network context on that box and
use speed commands, fast tag selection and context based auto
exclusion to get the right context. So if I have to wait for a delayed
train again, I can just pull up my shopping lists ;)

The debian installation remains on my sd card, since it's nice to have
the familiar tools with me in a pinch. I guess android based
smartphones will be much faster a few years from now, if they still
exist, and then maybe this setup will be more frequently used.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpf5Wxpb1YNW.pgp
Description: PGP signature
___
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


Re: [Orgmode] [Android] [MobileOrg] Plans for an android app ?

2009-12-04 Thread Friedrich Delgado Friedrichs
Hi.

Bastien schrieb:
> Carsten Dominik  writes:
> I just stumbled upon this Android application:
> 
>   http://niftyware.com/alex/
> Maybe there are nice ways to make this interact with the futur Org
> application for Android...   

Did you try out Locale? It looks like it does much of what alex is
supposed to do and there's a plugin api that many android applications
already support, e.g. it integrates well with Astrid.

That alex project looks quite ambitious, though. If it can detect my
current speed, that would be something I'd appreciate, since Locale is
not able to detect that (yet).

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] [MobileOrg] Plans for an android app ?

2009-12-02 Thread Friedrich Delgado Friedrichs
Hi!

Xavier Maillard schrieb:
> Is there anything planned to port the mobileorg application onto Android ?
---Zitatende---

Not that I know about it.

I'm chiming in because I'm currently developing emacs-lisp bindings
for integrating remember the milk with org-mode, and I'm doing this
specifically because I use an Android phone and there are already three
todo managers available that support remember the milk. (Astrid, which
I personally use and find excellent, Toodledo and "Remember The
Milk" itself.)

I think the focus is a little wider than what you asked for, but I
hope there'll be a larger userbase for remember the milk + org, than
for iphone/android + org. Also I'm lazy and have little time and I'm
trying to have as little development effort as possible (and I'm also
hoping that others will rather pick up the rtm.el library and do
something useful with it, than something org-mode/iphone/android
specific) ;)

RTM integration will focus solely on todos, integration with google
calendar can later be done via T. V. Rahman's google service bindings
for emacs. (That's the next step.)


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Android] Running debian + emacs on my Android G1 [was: [Orgmode] emacs + orgmode on Ubuntu on Android G1]

2009-12-01 Thread Friedrich Delgado Friedrichs
Ok, summary of my experiences so far:

Emacs runs nicely, but uses a lot of memory with org mode, and it's
hard to use the agenda and probably difficult to make it run much
faster.

Thus I'll only be using the local emacs on my android phone as a
fallback when I have no (fast) network access, otherwise I'll use it
via ssh on a much faster host.

> As using this via the small keyboard is still awkward, even with speed
> keys (let's face it: emacs just wasn't made for small keyboards), and
> because it's still going to be slow, even if I can optimize it a bit,
> I guess I'll still be going forward with my plans for integrating
> org-mode with Remember The Milk.

As a sideeffect of this experiment, I have my org mode set up in a way
that is much more convenient to use on a small keyboard, that way I
can use it via ssh (connectbot) quite comfortably now. (speed commands
and tag selection keys are especially handy)

> But now I'm really tempted to start using mutt as a mail client on the
> phone ;)
---Zitatende---

Now this is really off-topic, but mutt runs very well on the g1 ;)

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgp2jXjVlkXFZ.pgp
Description: PGP signature
___
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


Re: [Android] Running debian + emacs on my Android G1 [was: [Orgmode] emacs + orgmode on Ubuntu on Android G1]

2009-11-29 Thread Friedrich Delgado Friedrichs
A small update, I'll probably continue next weekend:

> I have emacs + org-mode running now, but it's very slow. Emacs on
> its own runs and starts quite fast, but as soon as I add my whole
> config, it takes 90 seconds to start, and 30 seconds to change in the
> org-mode agenda from one day to another.

I've put some 'if's around the parts of my emacs config that I don't
need on my phone, and I also cut down on the org files (no
Someday/Maybe stuff on the phone, it's not relevant for the agenda
anyways... hm, I could actually leave those out of my agenda
everywhere).

I got down to 9 seconds for changing to the next day, and 20 seconds
for changing to the next week. (Emacs startup time stays at a constant
90 seconds, even though I've cut out many elisp files.)

I think if I separate my Notes (i.e. pure reference Material) into
separate files, I'm going to make it under 5 seconds.

In an old thread I read Carsten talking about implementing some kind
of cacheing mechanism for the agenda, I think at this point I'd be
interested in something like that ;)

Memory usage while using org + emacs is ok, I can even leave emacs
running in the background. If it's idle, I won't even notice it's
still running (Yay for Apps2SD, it really frees up the main memory of
the phone).

As using this via the small keyboard is still awkward, even with speed
keys (let's face it: emacs just wasn't made for small keyboards), and
because it's still going to be slow, even if I can optimize it a bit,
I guess I'll still be going forward with my plans for integrating
org-mode with Remember The Milk.

But now I'm really tempted to start using mutt as a mail client on the
phone ;)

Have a good week!
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpszvrEtytwr.pgp
Description: PGP signature
___
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


Re: [Orgmode] [Android] Re: Running debian + emacs on my Android G1

2009-11-29 Thread Friedrich Delgado Friedrichs

Ivan Kanis schrieb:
> > I just upgraded (!) my G1 to CyanogenMod yesterday, because I want to
> > try out emacs on it, too.
> I am wondering if you can you stills make call with the CyanogenMod?
---Zitatende---

Sure!

-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgprFGrDUA8bp.pgp
Description: PGP signature
___
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


Re: [Android] Running debian + emacs on my Android G1 [was: [Orgmode] emacs + orgmode on Ubuntu on Android G1]

2009-11-29 Thread Friedrich Delgado Friedrichs
Hi!
Adam Spiers schrieb:
> [sorry this is getting a little off-topic for non-Android users]

Yes, but the point is getting org-mode to run on android.

I propose we add [Android] as a cookie to the subject lines, so people
can filter them.

> On Sat, Nov 28, 2009 at 02:02:06PM +0100, Friedrich Delgado Friedrichs wrote:
> > The debian "installer" you link to on the wiki is technically very
> > unsound. If you look at the installer.sh and debootstrap scripts
> > you'll see that they are full of magical thinking, smoke and mirrors.
> The Debian links were added by someone else - I've only tried the
> Ubuntu image which I linked to.

I see. I didn't look at the changelog for the page ;)

> > (I didn't look at the ubuntu installer.)
> Yikes, 4755 certainly sounds mad - however the permissions in my
> /system/bin are much saner, so presumably the ubuntu installer doesn't
> do that.

Ok.

> > I'll keep you posted and when I'm done with a working org-mode setup,
> > I'll update the entry on the emacs wiki.
> That would be great, thanks!

A small update, I'm not done yet:

I have emacs + org-mode running now, but it's very slow. Emacs on
its own runs and starts quite fast, but as soon as I add my whole
config, it takes 90 seconds to start, and 30 seconds to change in the
org-mode agenda from one day to another.

As 30 seconds are way too long, I'm obviously going to try cut down my
config and maybe just use a subset of my org-files on the phone.

If I can't that last figure below 5 seconds I think the experiment is
going to be called off as a failure. (Or maybe I'll just use the local
emacs as an emergency fallback if I have no network access.)

Apparently some system administration tasks on the debian installation
take so much memory that the whole system gets unstable, because the
oom killer is going to kill important services. I just had to reboot
my phone after generating a UTF8 locale. I looked at adb logcat and
the android core was very unhappy and killed every service it could
find, even the phone service... So I probably want to make sure I
don't need to use my phone when administrating the debian
installation.

> > I didn't run emacs yet, but I have a suspicion that it might run a
> > little faster on a native ext3 partition than from an image file.
> What do you mean by an image file - does yours involve some kind of
> loopback?  My Ubuntu install is simply a root filesystem under
> /system/sd/ubuntu (and /system/sd is native ext3) therefore a simple
> chroot /system/sd/ubuntu plus mounting of /dev/pts, /proc, and /sys
> inside it are sufficient to provide the Ubuntu environment.

The debian installer uses a loopback mount, as it doesn't require a
native ext filesystem. This is probably handy, but I guess most root
mods these days use an ext partition anyway, so why not just use
that...

Kind regards
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpfstqcQUYxV.pgp
Description: PGP signature
___
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


Running debian + emacs on my Android G1 [was: [Orgmode] emacs + orgmode on Ubuntu on Android G1]

2009-11-28 Thread Friedrich Delgado Friedrichs
Hi!

I just upgraded (!) my G1 to CyanogenMod yesterday, because I want to
try out emacs on it, too.

I must say CyanogenMod rocks! It's much more snappy than the stock
build and the things you can do with it really rock (running debian on
my phone is so cool) ;)

Thank you very much for pushing me over the cliff, I was thinking
about finally rooting my phone for quite a while now! ;)

I have to say one thing about the debian install though:

Adam Spiers schrieb:
> On Wed, Nov 04, 2009 at 04:01:11PM +0900, Torsten Wagner wrote:
> Sorry for the slow reply.  I don't have time to go into exact details
> but I updated this page:
> 
>   http://www.emacswiki.org/emacs/EmacsOnAndroid

The debian "installer" you link to on the wiki is technically very
unsound. If you look at the installer.sh and debootstrap scripts
you'll see that they are full of magical thinking, smoke and mirrors.

e.g. if you want debootstrap to run faster, remove all the "sleep 1"
calls he inserted, maybe along with the totally fake echo messages.
You can keep the ascii penguin logo, it's kinda neat. And doing chmod
4755 on everything in /system/bin is plain madness. It's clear
indication that the guy who posted that installer didn't know a bit of
what he was doing.

(I didn't look at the ubuntu installer.)

To give you a quick heads up of what I'm doing:

I find the instructions in
[[http://bayleshanks.com/tips-computer-android-g1][Bayle Shanks's
website: tips-computer-android-g1]] technically much more sound. It's
a bit more involved, but someone with sound experience in systems
administration could quickly make a good installer out of his
instructions. Yesterday it took me about 30 minutes to an hour, but
after that I had a fresh debian install, with just the bits I wanted.
Together with emacs and the application cache it takes about 512MB, so
I just resized my ext2 partition to 1024MB with gparted, to make room
for some org-mode and git goodness.

Next step I'm going to do is add a non-root user, not sure how to do
this properly, yet, and configure it to sync my config and org-mode
files. I don't feel comfortable working as root all the time.

I'll keep you posted and when I'm done with a working org-mode setup,
I'll update the entry on the emacs wiki.

> I still need to try and trim down the emacs install, as it takes a
> lng time to load, and the phone is already pretty short of memory
> in general.  Scot already posted some ideas to this list on how to do
> it; I added a link to his article from the wiki page.
---Zitatende---

I didn't run emacs yet, but I have a suspicion that it might run a
little faster on a native ext3 partition than from an image file. Also
I have some conditions in my emacs config files for a very slow box
already (my toshiba libretto is even slower than the android phone),
so I'll see if I can get a usable setup.

I'm certainly not going to try X, since I don't like the vnc client,
it's terminal or nothing!

If I decide it's not worth the effort I can always delete my debian
changeroot and resize the partition again ;)

Have nice weekend!
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpNmEtZaIGiq.pgp
Description: PGP signature
___
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] Bug: org-forward-same-level will jump over headline, if it starts with a link [6.33trans (release_6.33f.29.g5064)]

2009-11-27 Thread Friedrich Delgado Friedrichs
I just noticed this, so I'll file a quick report:

In the following example tree, org-forward-same-level will jump over
the second item.

*** foo
*** [[about:][About:]]
*** quz
*** bar [[about:][About:]]
*** baz

Please tell me if you *can't* reproduce this, then I'll re-post my settings.

Emacs  : GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2009-11-09 on orion
Package: Org-mode version 6.33trans (release_6.33f.29.g5064)

Regards
Friedel
-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] Beamer support in Org-mode

2009-11-26 Thread Friedrich Delgado Friedrichs
Hiho!

Sounds very reasonable!

Carsten Dominik schrieb:
> this is in response to the discussions about beamer
> export from Org-mode.  Yesterday I had a long train ride
> during which I scanned the beamer documentation (smoking
> hot stuff!).  Then I made the attached draft
> for Org-mode support, strongly based on the stuff
> Eric Fraga has put together recently.  What is described
> below sort-of works in some experimental code here, but before
> I polish I would like comments on this outline.
> 
> NOW is the time to chime in.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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] Links to dired buffers with patterns?

2009-11-25 Thread Friedrich Delgado Friedrichs
Hiho!

Has anyone cooked up something to store links to dired buffers with
patterns?

(If you don't know what I mean, open a dired buffer pointing at
~/*.jpg for example.)

I can store links to files in the buffer, but not to the whole buffer,
which normally works in dired buffers by storing a link to '.'.

Would be very useful.

-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpOtyvjUKTmO.pgp
Description: PGP signature
___
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


Re: [Orgmode] Contextual tag auto-exclusion

2009-11-20 Thread Friedrich Delgado Friedrichs
Thanks! \o/

Carsten Dominik schrieb:
> I have fixed this now, all tags that are represented in the
> current agenda will be passed into the auto-exclusion function.


-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


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

2009-11-20 Thread Friedrich Delgado Friedrichs
Doh!

> Due to some inexplicable screwup with my emacs config and git over 3
> machines, I lost my configuration changes.
---Zitatende---

It's late, I just forgot to git pull my config ;)

-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


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

2009-11-20 Thread Friedrich Delgado Friedrichs
Hi!

Sorry I have to clarify this a bit:

Raffi R schrieb:
> What sort of phone do you use? I am looking for a new phone and would
> like to use ogmode, of course.

> On Fri, Nov 20, 2009 at 9:35 AM, Friedrich Delgado Friedrichs
>  wrote:
> > Trying out speedkeys and liking them, I guess I'm going to have a
> > simple life using org from my phone from now on ;)
---Zitatende---

Note that I wrote "from my phone" not "on my phone". I use a T-Mobile
G1 (HTC Dream) which has a very excellent ssh client called connectbot
(http://code.google.com/p/connectbot/ it's free software, too) and I
use org-mode via ssh and emacsclient -t on a remote system.

To say that I use it is saying a bit much, since I've only used it so
far to look things up, since editing used to be very inconvenient,
because having to type typical emacs control sequences is really
tough on the small keyboard.

That's why I think the speedkeys are going to help me quite a lot, but
I didn't really give it a go yet.

Btw. it's great that I posted my speed key setup on this mailing list,
not only for the great input I received: Due to some inexplicable
screwup with my emacs config and git over 3 machines, I lost my
configuration changes.

(I think my dirty hack to split customisation files has destroyed the
speed key config, so it's most likely not emacs' or org-modes's
fault.)

But now I can just easily recreate it from the
posts ;)

Good evening
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgp96ckHzyfJO.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


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

2009-11-20 Thread Friedrich Delgado Friedrichs

Carsten Dominik schrieb:
> >(("y" . (progn
> > (delete-other-windows)
> > (recenter-top-bottom 0)))
> >("A" . (if (y-or-n-p "Archive this subtree or entry? ")
> > (call-interactively org-archive-subtree)
> > (error "Abort")))
> > ("," . org-cycle-agenda-files))

There's a quote missing before org-archive-subtree here, btw.

> The function is there, but the autoloads need to be up to date.
>make autoloads
> should do the trick, certainly in the latest git release.

Oops, I usually just do 'make' after git pull. Is autoloads not
implied in the default target?

> >How about having an alternative keymap with vi-like moving keys? I
> >hardly ever use the C-b, C-f, C-n, C-p in my regular emacs work
> >(mostly cursor keys) and so I'm actually more comfortable with using
> >vi movement.
> 
> I don't understand what you are proposing here.

k for up, j for down, h for left and l for right. So I guess k would
be previous-heading, j next heading, and h and l for the previous/next
sibling on the same level.

So I guess I have:

j   (org-speed-move-safe (quote outline-next-visible-heading))
k   (org-speed-move-safe (quote outline-previous-visible-heading))
l   (org-speed-move-safe (quote org-forward-same-level))
h   (org-speed-move-safe (quote org-backward-same-level))

In the vi-movement map. And somebody who is more proficient with vi
than I am probably can come up with some natural additions.

This is just a thought, I wanted to see if anyone would bite ;)

> This is nice, but I guess you want to stay in fast-key space.
> So
> 
>("," . (progn (org-cycle-agenda-files)
>      (or (and (bolp) (org-on-heading-p))
>  (outline-next-visible-heading 1
---Zitatende---

Ah, much better! Thanks! ;)

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] Feature Request: Priority Inheritance for sorting

2009-11-20 Thread Friedrich Delgado Friedrichs
Hi!

I use priority cookies quite a lot to quickly sort my projects (really
by importance, but the difference between "importance" and "priority"
is a different matter).

It would be neat if I could specify that if TODO items are sorted by
priority, then the priority of the parent entry should be respected.

   (Or would that be possible by setting the default priority per
   tree?

However changing an explicit property in a tree isn't as fast as
changing a priority cookie.)

I know there's property inheritance and PRIORITY is respected as a
special property, but not for sorting by priority, as far as I know.
(As always, I may have missed something here.)

Kind regards
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


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

2009-11-20 Thread Friedrich Delgado Friedrichs

Trying out speedkeys and liking them, I guess I'm going to have a
simple life using org from my phone from now on ;)

Carsten Dominik schrieb:
> In the speed map, yes, there is space, and you can add keys yourself.
> But I would recommend making these with confirmation query.
> (setq org-speed-commands-user
>   '(("A" . (let ((org-archive-default-command
> 'org-archive-to-archive-sibling))
>(org-archive-subtree-default-with-confirmation)

> I am happy to have a discussion what additional
> commands should be present by default.

This is what i'm using:

(("y" . (progn
  (delete-other-windows)
  (recenter-top-bottom 0)))
 ("A" . (if (y-or-n-p "Archive this subtree or entry? ")
  (call-interactively org-archive-subtree)
  (error "Abort")))
  ("," . org-cycle-agenda-files))


There's no function org-archive-subtree-default-with-confirmation and
org-agenda-archive-subtree-with-confirmation complains that I'm not in
the agenda, so I've just adding my own y-or-n-p, since 'A' will
actually move trees to an archive file.

On my phone I get frequently annoyed when I can't see enough because
emacs splits the screen all the time, so a speed key to unsplit and
move the current item to the top of the screen is logical.

I'm not completely happy with 'y', since it makes me think 'yank' but
it's also slightly similar to 'l' and C-l is the default binding.

How about having an alternative keymap with vi-like moving keys? I
hardly ever use the C-b, C-f, C-n, C-p in my regular emacs work
(mostly cursor keys) and so I'm actually more comfortable with using
vi movement. (Because of playing nethack of course, hm, that's a nice
and large fireplace you have there! What's for dinner?)

Oh and the ',' is most obvious, I think.

(Hey, what's with the torches? Oh right, nightime barbecue, haha!)

Kind regards
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Contextual tag auto-exclusion

2009-11-20 Thread Friedrich Delgado Friedrichs
Hm.

It just occured to me that it might be sufficient (and maybe more
efficient) to only check the set of tags that I'm filtering for, so I
could maybe temporarily set org-tag-alist to the list of those tags?

> I'm just trying to use this feature and I noticed, that it apparently
> only works if org-tag-alist is explicitly set to a non-nil value.
> 
> I use dynamic tags (lots of them) and I wonder if it would be possible
> to use those for auto-exclusion.
> 
> At least Org can do completion of dynamic tags, so there is probably
> some function to get a list of the tags (or maybe just those in the
> current agenda).
> 
> John Wiegley schrieb:
> > I've submitted a feature today which provide contextual
> > auto-exclusion for tags in the Agenda view.  For example, I use the
> > following tags for TODOs:
---Zitatende---

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Contextual tag auto-exclusion

2009-11-20 Thread Friedrich Delgado Friedrichs
Hi!

I'm just trying to use this feature and I noticed, that it apparently
only works if org-tag-alist is explicitly set to a non-nil value.

I use dynamic tags (lots of them) and I wonder if it would be possible
to use those for auto-exclusion.

At least Org can do completion of dynamic tags, so there is probably
some function to get a list of the tags (or maybe just those in the
current agenda).

John Wiegley schrieb:
> I've submitted a feature today which provide contextual
> auto-exclusion for tags in the Agenda view.  For example, I use the
> following tags for TODOs:
---Zitatende---

Kind regards
 Friedel
-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] feature request: show context in agenda

2009-11-20 Thread Friedrich Delgado Friedrichs
Hey!

I was just doing a small review and noticed that I get the current tree
of the agenda item in the echo area!

This rocks!

Carsten Dominik schrieb:
> On Nov 12, 2009, at 1:36 AM, Samuel Wales wrote:
> >In the agenda, it is difficult to find where you are in
> >the hierarchy.  I find that I have to switch to the outline,
> >then scroll up, if I want to know what the parent headline
> >is, or any ancestor.
> How about using the echo area?
> 
> I have implemented that, please take a look to see if this works as
> well.

Wonderful! :)

Its fun when features are added that were below my conscious level
of recognising that I want it. Kind of like getting a really awesome
birthday present, that you never knew even existed.

Keep on rocking!
    Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] org 45d619c82 doesn't let me create new nodes with (org-refile-allow-creating-parent-nodes (quote confirm))

2009-11-20 Thread Friedrich Delgado Friedrichs
Hiho!

Carsten Dominik schrieb:
> this seems to work fine for me.

Hm. Anyone else who has this problem?

If not, it's probably my config again. I think I'll trace the
function with edebug to figure it out.

Thanks for your feedback!

Fullquote to jog people's memories:

> On Nov 11, 2009, at 4:36 PM, Friedrich Delgado Friedrichs wrote:
> >I use the following settings to allow me to create new nodes on the
> >fly when refiling:
> >
> >'(org-refile-allow-creating-parent-nodes (quote confirm))
> >'(org-refile-targets (quote ((org-agenda-files :maxlevel .
> >5
> >'(org-refile-use-outline-path (quote full-file-path))
> >
> >(My almost complete settings are in my previous mail to this list
> >today.)
> >
> >Say I have \home\friedel\Org\Someday.org which doesn't contain the
> >node "Foo" yet, so I give "\home\fdf\Org\Someday.org/Foo/" at the
> >"Refile to:" prompt.
> >
> >This just silently fails, it doesn't even produce an error, no
> >message, nothing. (Just "Getting targets...done" when I'm completing
> >the path.)
---Zitatende---

Kind regards
Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Bug: org-agenda-query-and-cmd results in (wrong-type-argument char-or-string-p nil) when org-agenda-query-string is unset [6.33trans (release_6.33c.27.g1bb0d)]

2009-11-20 Thread Friedrich Delgado Friedrichs
Hey!

Case closed! Thanks a lot for spotting this!

Nick Dokos schrieb:
> Perhaps that's because you are loading contrib/lisp/org-interactive-query.el,
> which redefines keys in the agenda mode map:
---Zitatende---

Exactly that was the problem... I think there was a lazy day in the past where
I just said "let's check this out", tried it, never used it again and forgot
about it.

;-}

Best regards
    Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] Bug: org-agenda-query-and-cmd results in (wrong-type-argument char-or-string-p nil) when org-agenda-query-string is unset [6.33trans (release_6.33c.27.g1bb0d)]

2009-11-19 Thread Friedrich Delgado Friedrichs
ags priority-down category-keep tag-down)
   (search category-keep))
 org-agenda-columns-add-appointments-to-effort-sum t
 org-keep-stored-link-after-insertion t
 org-agenda-skip-scheduled-if-done t
 org-stuck-projects '("+Project/-DONE" ("TODO" "DOING") ("WAITING") "")
 org-clock-in-resume t
 org-trigger-hook '(org-depend-trigger-todo)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tags-exclude-from-inheritance '("Project")
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-export-with-priority t
 org-confirm-shell-link-function 'yes-or-no-p
 org-clock-persist t
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-icalendar-include-sexps nil
 org-effort-property "EFFORT"
 org-icalendar-use-scheduled '(event-if-not-todo event-if-todo)
 org-default-notes-file "~/Org/Notes.org"
 org-use-property-inheritance '("DEADLINE PRIORITY")
 org-directory "~/Org"
 org-insert-heading-hook '((lambda nil
(save-excursion (insert "\n")
 (org-insert-time-stamp (current-time) t t)
 (org-indent-line-function))
)
   )
 org-export-mark-todo-in-toc t
 org-export-html-use-infojs t
 org-blank-before-new-entry '((heading) (plain-list-item))
 org-habit-graph-column 50
 org-use-extra-keys t
 org-icalendar-verify-function 'my-icalendar-verify
 org-n-level-faces 12
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-link-to-org-use-id t
 org-mode-hook '((lambda nil (setf comment-start nil)) imenu-add-menubar-index
 (lambda nil
  (org-add-hook (quote change-major-mode-hook)
   (quote org-show-block-all) (quote append) (quote local))
  )
 )
 org-clock-out-remove-zero-time-clocks t
 org-mairix-gnus-select-display-group-function 
'org-mairix-gnus-select-display-group-function-gg
 org-global-properties '(("EFFORT_ALL" .
  "0 0:02:00 0:05:00 0:10:00 0:20:0 0:30:00 1 2 3 4 5 6 
7 8 16 24 32 40 48 56 64")
 )
 org-refile-targets '((org-agenda-files :maxlevel . 5))
 org-return-follows-link t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-icalendar-use-deadline '(event-if-not-todo event-if-todo)
 org-refile-use-outline-path 'full-file-path
 org-fast-tag-selection-single-key t
 org-icalendar-categories '(all-tags category todo-state)
 org-log-into-drawer t
 org-agenda-start-on-weekday nil
 org-agenda-skip-deadline-if-done t
 org-refile-allow-creating-parent-nodes 'confirm
 org-insert-heading-respect-content t
 org-icalendar-store-UID t
 org-occur-hook '(org-first-headline-recenter)
 org-icalendar-include-body 1000
 org-icalendar-use-plain-timestamp nil
 org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "SCHEDULE" "HIDDEN")
 org-agenda-todo-ignore-deadlines t
 org-modules '(org-bbdb org-bibtex org-gnus org-id org-info org-jsinfo org-habit
   org-irc org-mew org-mhe org-protocol org-rmail org-vm org-wl 
org-w3m
   org-annotate-file org-bookmark org-depend org-elisp-symbol
   org-interactive-query org-mairix org-man org-toc)
 org-columns-default-format "%66ITEM %8TODO %3PRIORITY %SCHEDULED %DEADLINE 
%6EFFORT{:} %TAGS %5CLOCKSUM{:}"
 org-agenda-auto-exclude-function 'org-my-auto-exclude-function
 org-agenda-after-show-hook '(show-all)
 org-remember-templates '(("" 119 "* %?\n%u\n%c\n%a\n%i" "~/Org/Collect.org"
   "Web links" nil)
  ("" 116 "* TODO %?\n  %u\n  %a\n  %c\n  %i"
   "~/Org/Collect.org" "Tasks" nil)
  ("" 110 "* %?\n  %u\n  %a\n  %c\n  %i"
   "~/Org/Collect.org" "Notes" nil)
  )
 org-ellipsis 'org-ellipsis
 )

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpXhdSsQZxAu.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Way to prepare a bugreport for pasting into a non-emacs mailclient?

2009-11-18 Thread Friedrich Delgado Friedrichs
Well, thanks for your hint!

Giovanni Ridolfi schrieb:
> (setq user-full-name "  ") 
> (setq user-mail-address "  ")
> ;; Send mail using SMTP 
> (setq smtpmail-smtp-server " ")
> (setq send-mail-function 'smtpmail-send-it) ;; If you use the default mail 
> user agent.
> (load-library "smtpmail")

As it turns out, setting mail-user-agent to ignore has exactly the
same effect, as reporter.el will fallback to smtpmail.

Thanks again!

Kind regards
 Friedel
--
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)



























































(Rant ahead, please only scroll down if you're in total peace with the
whole universe and nothing can disturb your calm!)



























































That at least gives me the opportunity to edit the buffer and then
send it via mutt, because that will store it in the proper archive
folder and do tons of other stuff that I want it to do, which I'd have
to emacs how to do properly, which would be lost work, since I don't
intend to use emacs as a mail program.

I just wanted to send mail with mutt, not with emacs, but mh-e seems
to be the default nowadays if nothing is set, and that one complains
about ~/Mail/draft being a directory (because that's the directory
where mutt stores its drafts, doh!)

> and Emacs will send with its mail program

No thanks! I do not want to send or read mail with emacs.

Now I just have the problem that I can press C-c C-c accidentally in
the buffer, but there's probably little chance of that happening.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpbyz7JyrLpD.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Way to prepare a bugreport for pasting into a non-emacs mailclient?

2009-11-18 Thread Friedrich Delgado Friedrichs
Hi!

I was just wondering, every time I tried org-submit-bug-report, it
fails after asking the initial questions, because I don't have mh
installed (nor do I intend to install it and e-mh or any other emacs
based mail client).

Is there an obvious way to just prepare the text for a bugreport, so that
I can paste the relevant information (e.g. changed org variables) into
a buffer for sending it via mutt? Maybe I'm missing something here.

If not, I can refactor the relevant parts of org-submit-bug-report into
an interactive function that I could use. Maybe it would also be useful
for others.

Kind regards
Friedel
-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] org 45d619c82be: lines are wrapped prefixed with '#' as soon as there is one line commented with '#' before them

2009-11-12 Thread Friedrich Delgado Friedrichs
Hi!

Carsten Dominik schrieb:
> http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments

Oh, failure to check the FAQ on my part. I'm sorry, I thought I was
beyond that. You never cease to learn.

However I can't find out why comment-start was set in the first place
(it was set to ";;", but the inserted comments were '#'). I had to
resort to

,
  (add-hook 'org-mode-hook '(lambda ()
  (setf comment-start nil)))
`

to get rid of this.

This is a mystery, but I guess my emacs config is so complex now that
it has started to become sentient... ;)

Thanks and kind regards
   Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] integration between Org, remember, and Mutt

2009-11-11 Thread Friedrich Delgado Friedrichs
  (save-window-excursion
(save-excursion
  (shell-command
   (concat
(format "%s mutt2remember.pl open %s &"
org-mutt-link-terminal-emulator
folder+message-id))
`

I think you will find this lacking since it doesn't support searching,
but only links to specific mails in specific folders, which are
hardwired.

It's good enough for me, and I think I won't need to improve this for
the next few years now! ;)

Maybe this gives you an idea.

Stefano Zacchiroli schrieb:
> Fair enough.
> However, to go forward, we need to establish some kind of goal.
> 
> In particular, what do you consider lacking in the solution I proposed?
> Similarly, what your solution has that mine lacks? I believe it is time
> to find a merger between the various available solutions ...
---Zitatende---

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] org 45d619c82 doesn't let me create new nodes with (org-refile-allow-creating-parent-nodes (quote confirm))

2009-11-11 Thread Friedrich Delgado Friedrichs
I use the following settings to allow me to create new nodes on the
fly when refiling:

 '(org-refile-allow-creating-parent-nodes (quote confirm))
 '(org-refile-targets (quote ((org-agenda-files :maxlevel . 5
 '(org-refile-use-outline-path (quote full-file-path))

(My almost complete settings are in my previous mail to this list
today.)

Say I have \home\friedel\Org\Someday.org which doesn't contain the
node "Foo" yet, so I give "\home\fdf\Org\Someday.org/Foo/" at the
"Refile to:" prompt.

This just silently fails, it doesn't even produce an error, no
message, nothing. (Just "Getting targets...done" when I'm completing
the path.)



-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] org 45d619c82be: lines are wrapped prefixed with '#' as soon as there is one line commented with '#' before them

2009-11-11 Thread Friedrich Delgado Friedrichs
ocol org-rmail org-vm org-wl org-w3m 
org-annotate-file org-bookmark org-depend org-elisp-symbol 
org-interactive-query org-mairix org-man org-toc)))
 '(org-mouse-features (quote (context-menu yank-link activate-bullets 
activate-checkboxes)))
 '(org-n-level-faces 12)
 '(org-odd-levels-only t)
 '(org-outline-path-complete-in-steps t)
 '(org-refile-allow-creating-parent-nodes (quote confirm))
 '(org-refile-targets (quote ((org-agenda-files :maxlevel . 5
 '(org-refile-use-outline-path (quote full-file-path))
 '(org-return-follows-link t)
 '(org-special-ctrl-a/e t)
 '(org-special-ctrl-k t)
 '(org-startup-folded (quote content))
 '(org-startup-truncated nil)
 '(org-stuck-projects (quote ("+Project/-DONE" ("TODO" "DOING") ("WAITING") 
"")))
 '(org-tags-exclude-from-inheritance (quote ("Project")))
 '(org-tags-match-list-sublevels t)
 '(org-todo-interpretation (quote sequence))
 '(org-todo-keyword-faces (quote (("REMINDER" :foreground "green4"
 '(org-use-extra-keys t)
 '(org-use-fast-tag-selection nil)
 '(org-use-fast-todo-selection t)
 '(org-use-property-inheritance (quote ("DEADLINE PRIORITY")))
 '(outline-auto-activation t)
 '(outline-glyph-colour "blue")
 '(outline-glyph-lit-colour "lightblue")
 '(outline-glyph-shade-colour "blue4")
 '(outline-glyphs-on-left nil)
 '(outline-minor-mode-prefix "")

 

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] enabling org-protocol with Firefox 3 and Ubuntu 9.04

2009-11-10 Thread Friedrich Delgado Friedrichs
Hi!

D M German schrieb:
> if you have tried to enable org-protocol under Firefox you might run
> into the issue that firefox does not start emacsclient, no matter what
> the about:config variables say.
> 
> After spending some time I discovered that this is an issue of Firefox's
> integration with Gnome. What you need is to tell Gnome that you have a
> new URI protocol called org-protocol, and that emacsclient is
> responsible for it. This is done with the following two commands (be
> careful to indicate the correct full path of emacsclient):
> 
> gconftool -s /desktop/gnome/url-handlers/org-protocol/command -t string 
> '/usr/bin/emacsclient %s'
> gconftool -s /desktop/gnome/url-handlers/org-protocol/enabled -t boolean true
---Zitatende---

Could you add this to the org-protocol documentation in worg?

I guess this is only relevant if you use firefox with gnome
integration, since it was never a problem for me, but it would be good
if this was documented in a more prominent place than the mailing
list.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Re: Proposed key binding changes: archiving and attachments

2009-11-09 Thread Friedrich Delgado Friedrichs
Hm...

Paul Mead schrieb:
> Carsten Dominik  writes:
> > I actually think that few people use archiving to sibling.  Am I wrong about
> > this?

I've never used archiving to sibling on purpose. After using it
accidentaly once, I was a bit annoyed at having to clean up the
structure of my project.

> I use archiving to sibling for sub-headings in projects that are still
> current, to tidy things up, then archive the whole project subtree to
> the archive file when it's finished. I'd prefer to have archive to
> sibling as the default option with the fewest keystrokes.
---Zitatende---

Hm, I use the archive tag for exactly that purpose. I prefer to see
the original structure in the tree, but with the dead branches (i.e.
already resolved subprojects).

But don't get me wrong, I don't want to proselytise or something.

It's a good thing, that org offers so many ways of organising our
"stuff". ;)

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: Feature request about habit tracking [was: [Orgmode] RELEASE: Org-mode version 6.32]

2009-11-05 Thread Friedrich Delgado Friedrichs
Carsten Dominik schrieb:
> You mean the file is empty only if you set orv-icalendar-verify-
> function

Yes, exactly. When org-icalendar-verify-function is not bound, I get
the normal entries in the icalendar file, if I set it to the function
you gave me, it's empty.

This may be related to other parts of my setup.

 '(org-icalendar-categories (quote (all-tags category todo-state)))
 '(org-icalendar-include-body 1000)
 '(org-icalendar-include-sexps nil)
 '(org-icalendar-include-todo nil)
 '(org-icalendar-store-UID t)
 '(org-icalendar-timezone "Europe/Berlin")
 '(org-icalendar-use-deadline (quote (event-if-not-todo event-if-todo)))
 '(org-icalendar-use-plain-timestamp nil)
 '(org-icalendar-use-scheduled (quote (event-if-not-todo event-if-todo)))

Anything else that might be relevant?


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpGEDuFMoeAt.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org asks questions about open clocks

2009-11-03 Thread Friedrich Delgado Friedrichs
Hi!

Recently org (from git) has started asking my questions about open clocks
in my tasks whenever I try to clock in on a task. While I appreciate it
doing maintenance, the question whether I want to "(k)eep, (c)ancel, or
(s)ubtract" comes at a moment where it is hardwired
into my brain to press C-x C-s, which cancels the question.

(I do C-c i to clock in from buffer, or I to clock in from agenda view.
The corresponding entry is then automatically logged into my diary.org file,
which I then save.)

Maybe it's my hook:

,
;;; A small function to insert the currently active task into the
;;; current buffer, ported from planner-log
 (defun org-log ()
  (interactive)
  (save-excursion
(org-clock-goto)
(let ((link-string (org-store-link nil)))
 (find-file tagebuch)
 (goto-char (point-max))
 (insert " - ")
 (insert link-string)
 (newline t

 (defadvice org-clock-in (after org-log-activity)
  (org-log))
 (ad-activate 'org-clock-in)
`

The variable `tagebuch' contains the name of the logfile.

Can I simply turn off that question and call it manually from time to time?
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Re: Feature request about habit tracking

2009-11-02 Thread Friedrich Delgado Friedrichs
Hi

Matt Lundin schrieb:
 > To schedule those items is a significant semantic difference for me,
> > which is reflected in a different face in the agenda, so just
> > filtering them out of the icalendar export is not enough.
> Have you tried using habits? Even though their functionality depends on
> SCHEDULED timestamps, they look and behave quite differently than normal
> scheduled items.

Yes I tried using them.

> Granted, habits appear with the org-scheduled-today face. But they do
> not have the normal "Scheduled:" or "Sched. 2x" warnings. And they can
> easily be filtered out of the agenda by pressing "K".
--Zitatende---

I don't like that they have the same face, even though they can easily be
filtered and are visually set apart by the graph.

I admit I didn't notice that they don't have the "Scheduled:" keyword.
That's a definitive advantage for me.

How hard would it be to give them a different face as well?

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: Feature request about habit tracking [was: [Orgmode] RELEASE: Org-mode version 6.32]

2009-11-02 Thread Friedrich Delgado Friedrichs
Hi

Carsten Dominik schrieb:
> from what I see, John has built the habit tracking
> into the routine that looks for scheduling entries.  So it would be
> a significant change to do this for normal time stamps.
> 
> A solution for you could be to just use the scheduling stuff anyway,
> and then use a filter function to make sure these entries do not show up
> in the iCalendar export (untested):
---Zitatende---

To schedule those items is a significant semantic difference for me,
which is reflected in a different face in the agenda, so just
filtering them out of the icalendar export is not enough.



-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: Feature request about habit tracking [was: [Orgmode] RELEASE: Org-mode version 6.32]

2009-11-02 Thread Friedrich Delgado Friedrichs
Hi!

Carsten Dominik schrieb:
> John and I are not really clear about exactly what you are
> asking for.  Can you try again?  What exactly is the difference
> between what we have now and what you are asking for?

You know after I had sent that mail, I had the nagging thought that
maybe I should have explicitely mentioned the difference:

> >I'd really like habit tracking to be enabled for all TODOs with active
> >timestamps + repeaters with the property :STYLE: habit.

That means: Exactly what you have now, but add an option to also match
active timestamps *without* the SCHEDULED or DEADLINE keyword.

(i.e. similar to what you did for me in the icalendar export)

And I hope the next paragraph also makes more sense now:

> >Those things are rarely part of the hard landscape of the day for me,
> >things won't blow up if I won't do them on exactly that same day, so I
> >don't want them scheduled and don't want them on my calendar, but I
> >want to be reminded in my agenda. But tracking how consistently I've
> >done things on those days is still very useful.



-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] integration between Org, remember, and Mutt

2009-11-01 Thread Friedrich Delgado Friedrichs
Stefano Zacchiroli schrieb:
> On Sun, Nov 01, 2009 at 04:23:35PM +0100, Friedrich Delgado Friedrichs wrote:
> > I use something similar, but I wasn't aware that adding link types to
> > org is that simple. Thanks! ;)
> You're more than welcome.
> Since we are at least 2 needing this kind of stuff :-) , if you have any
> suggestion about where to document this let me know. I'll blog about it
> in the next few days, but having it somewhere Org-mode-related (maybe
> Word?) would be probably better.
---Zitatende---

I think if and when we or one of us finds a good and scalable
solution, Worg would be the appropriate place.

But this is an unfinished project for me and for the moment just
keeping track of some mail threads and pointers is sufficient. I don't
feel the need to perfect this at the moment, as my current hack works
sufficiently well for me.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpRtZtbcMuTu.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] integration between Org, remember, and Mutt

2009-11-01 Thread Friedrich Delgado Friedrichs
Hi!

I use something similar, but I wasn't aware that adding link types to
org is that simple. Thanks! ;)

My scripts and snippets won't be very interesting I guess, since I've
resorted to store all my Emails in one single +Archive Folder (as
recommended by Merlin Mann), so it doesn't do any smart things like
guessing the right folders.

Stefano Zacchiroli schrieb:
> Those mails are indexed by mu (http://code.google.com/p/mu0/), an
> alternative to mairix and nmzmail that I find more convenient. Just in
> case you wonder, mail indexes are updated regularly with the following
> cron entry (which takes just a few seconds, usually):

This is off-topic, but mu strikes as quite similar to mairix. What do
you find more convenient about it?



-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgp4ePaYQXQJO.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Feature request about habit tracking [was: [Orgmode] RELEASE: Org-mode version 6.32]

2009-10-30 Thread Friedrich Delgado Friedrichs
Hi!

I have a feature request about habit tracking and I bet you can guess
what it is:

Carsten Dominik schrieb:
> Added support for habit consistency tracking
> ~
> 
> /org-habit.el/ contains new code to track habits.  Please
> configure the variable org-modules to activate it.  When active,
> habits (a special TODO entry) will be displayed in the agenda
> together with a "consistency graph".  Habit tracking is described
> in a new [manual section].
---Zitatende---

I'd really like habit tracking to be enabled for all TODOs with active
timestamps + repeaters with the property :STYLE: habit.

Those things are rarely part of the hard landscape of the day for me,
things won't blow up if I won't do them on exactly that same day, so I
don't want them scheduled and don't want them on my calendar, but I
want to be reminded in my agenda. But tracking how consistently I've
done things on those days is still very useful.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] Make active timestamps visible in CONTENT view?

2009-10-30 Thread Friedrich Delgado Friedrichs
Hi!

I'm just doing my weekly review which entails going through all my org files
in CONTENT view mode (via global cycle). There are some items that have active
timestamps and to see those, I have to switch to SHOW ALL (at least for the
current item).

Is there a way to see the active timestamps in CONTENT mode?

I've clicked through some customisation options in org-structure and org-time
and didn't spot anything.


-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Proposed key binding changes: archiving and attachments

2009-10-30 Thread Friedrich Delgado Friedrichs
Hi!

Carsten Dominik schrieb:
> The main reason is that I think there should be a single default key
> for archiving, and that the user sets a variable to decide what the
> default
> archiving method should be.  I would like this key to be `C-c C-a' which
> is why the org-attach key would have to move as well.

That seems like a good idea.

> In Org-mode files
> 
> C-c C-a  archive default (setq by org-archive-default-command)
> C-c C-x C-s  org-archive-subtree (C-c $ remains valid as well)
> C-c C-x aorg-toggle-archive-tag
> C-c C-x Aorg-archive-to-archive-sibling

No problems here for me. The keys I use most often are still at their
previous bindings.

> In the agenda
> aarchive with org-archive-default-command

If that hit me by surprise there would be some cussing involved, I
guess. What's the planned default for org-archive-default-command? If
I get a fair warning I'd set it to org-toggle-archive-tag.

> I am wondering how much resistance such a change would create.
---Zitatende---

Not too much, I guess.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Problem with icalendar export: all items with active timestamps are being exported

2009-10-28 Thread Friedrich Delgado Friedrichs
Carsten Dominik schrieb:
> On Oct 28, 2009, at 5:35 PM, Friedrich Delgado Friedrichs wrote:
> >Hey, that was quick! Thanks! ;)
> So it works?

Yes works nicely!

> >I hear some people use exactly the opposite semantics for SCHEDULED
> >and plain timestamps, but I find this more logical.
> Well, I can see both sides.
---Zitatende---

My mobile calendar view is very lean now.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpncohkHEuMW.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Problem with icalendar export: all items with active timestamps are being exported

2009-10-28 Thread Friedrich Delgado Friedrichs
Hey, that was quick! Thanks! ;)

Carsten Dominik schrieb:
> you don't want normal time stamps in your agenda as events???  Well,
> this is an unusual idea.

The reason I want this, is that I use SCHEDULED timestamps as my calendar items
(i.e. the "hard landscape" for my day) and normal active timestamps as tickler 
items
which can also be done on a different day.

And I then export the iCal file to google calendar and view those entries on my 
phone,
so I only want to see the hard landscape there, in order to decide appointments.

I hear some people use exactly the opposite semantics for SCHEDULED and plain
timestamps, but I find this more logical.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] Problem with icalendar export: all items with active timestamps are being exported

2009-10-28 Thread Friedrich Delgado Friedrichs
Hi!

I'm trying to get a sane export to my google calendar from org mode
and so I'm playing with org-export-icalendar-combine-agenda-files

Here the (hopefully relevant) subset of my settings:

 '(org-combined-agenda-icalendar-file "~/git/Org/home/org.ics")
 '(org-icalendar-categories (quote (all-tags category todo-state)))
 '(org-icalendar-include-body 1000)
 '(org-icalendar-include-sexps nil)
 '(org-icalendar-include-todo nil)
 '(org-icalendar-store-UID t)
 '(org-icalendar-timezone "Europe/Berlin")
 '(org-icalendar-use-deadline (quote (event-if-not-todo
 event-if-todo)))
 '(org-icalendar-use-scheduled (quote (event-if-not-todo
 event-if-todo)))
 

Thing is, I'd like to get *only* scheduled or deadlined TODO items in
my ics file, and I'd expect that setting (org-icalendar-include-todo
nil) would export no other todo items.

Unfortunately *every* item that has an active timestamp will be
exported this way, even if it's not SCHEDULED: or DEADLINE:.

Maybe I misunderstand the docs, but it looks like the check for (when
org-icalendar-include-todo ...) in org-icalendar.le won't ever be
relvant at all. (And the indentation of the when block is wrong, at
least in my git checkout from today (I just refreshed it, to make
sure).)

Any idea?
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] Binding a key to org-store-link in a shell (non-eshell)

2009-10-18 Thread Friedrich Delgado Friedrichs
Hi!

I usually prefer to use a regular shell in screen, and today I wanted
to press my n remember keybinding on the shell, which already
works in mutt and emacs (and also via bookmarklet, shortcut 'a', in
firefox).

I use zsh, I'm not a zsh expert (still a newbie after a couple of
years), but I managed to cook up the following:

In my .zshrc:

# bind n to org-store-link
bindkey -s "\e[20~n" 'emacsclient 
org-protocol://store-link://file:`uriescapepwd.pl`\n'

And I have a little perl program in my $PATH, because doing it all with perl -e
demanded too many levels of quoting which confused me and zsh alike:

uriescapepwd.pl:
#!/usr/bin/perl -w
use URI::Escape qw/ uri_escape uri_escape_utf8 /;
use Cwd qw/getcwd abs_path/;
$pwd = abs_path(getcwd);
print uri_escape_utf8($pwd);

Now I press n on the shell prompt and the following happens:
frie...@abrasax:~/anon-vc/org-mode> emacsclient 
org-protocol://store-link://file:`uriescapepwd.pl`
Waiting for Emacs...

And I can press Ctrl-l in an org mode buffer to insert that link.

Good enough for me ;)

Questions:

 - Are there any zsh veterans here who know a cleaner, nicer, more
   zsh-y way of doing this?
 - Any bash (or tcsh, ksh) user wants to jump in and provide their equivalent?
 - Any idea how to do this without perl, just with emacs and the shell?

Have a nice sunday!
 FDF
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpWfK2KsrH26.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] orgmode git: Org agenda todo list headers broken

2009-10-02 Thread Friedrich Delgado Friedrichs
Hi!

Eric S Fraga schrieb:
> I use:
[...]
> in my .emacs (or equivalent).  The appointment list is set initially
> when starting emacs, automatically updated every hour and also
> whenever you update the agenda (r).  Works perfectly for me.

> HTH!
---Zitatende---

Yes works perfectly and fixes the problem, thanks!

-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] orgmode git: Org agenda todo list headers broken

2009-10-02 Thread Friedrich Delgado Friedrichs
Hi!

Well, this took a while longer than expected (45 minutes, including
writing this mail), because if I go too far back in the history, the
org from my emacs 23 installation will shadow my local org
installation, so I had to get rid of the load path shadows after
playing around with git bisect for quite some time.

The problem was that I wanted to add appointments for the day
automatically, so I added

(add-hook 'org-agenda-mode-hook 'org-agenda-to-appt)

to my org config very recently.

Probably that was the wrong way to do this. I think I found this on
the mailing list.

With git bisect I was able to find out that this causes problems since
a quite old commit 15ebaa1137cb060756066afd28eae3bce2be9147.

What would be the recommended way to get scheduled items added to the
days appt agenda automatically?

-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] orgmode git: Org agenda todo list headers broken

2009-10-02 Thread Friedrich Delgado Friedrichs
Carsten Dominik schrieb:
> Wow, that is pretty interesting.

;-)

> How are you setting up your TODO keywords?  Separately in each file
> with #+TODO, or
> what else.

Globally.


> Maybe you can git bisect to find the offending commit - then the fix
> should be easy.
---Zitatende---

Hm, git bisect is fun, I might do that later today or maybe starting
next week.


-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] orgmode git: Org agenda todo list headers broken

2009-10-02 Thread Friedrich Delgado Friedrichs
Hi!

Since I git pull'ed recently, my agenda todo list headings looks like this:

-
Global list of TODO items of type: DOING
Available with `N r': (0)ALL (1)TODO (2)DOING (3)CANCELLED (4)DONE (5)REMINDER 
(6)TODO
  (7)DOING (8)CANCELLED (9)DONE (10)REMINDER (11)TODO 
(12)DOING
  (13)CANCELLED (14)DONE (15)REMINDER (16)TODO (17)DOING
  (18)CANCELLED (19)DONE (20)REMINDER (21)TODO (22)DOING
  (23)CANCELLED (24)DONE (25)REMINDER (26)TODO (27)DOING
  (28)CANCELLED (29)DONE (30)REMINDER (31)TODO (32)DOING
  (33)CANCELLED (34)DONE (35)REMINDER (36)TODO (37)DOING
  (38)CANCELLED (39)DONE (40)REMINDER (41)TODO (42)DOING
  (43)CANCELLED (44)DONE (45)REMINDER (46)TODO (47)DOING
  (48)CANCELLED (49)DONE (50)REMINDER (51)TODO (52)DOING
  (53)CANCELLED (54)DONE (55)REMINDER (56)TODO (57)DOING
  (58)CANCELLED (59)DONE (60)REMINDER (61)TODO (62)DOING
  (63)CANCELLED (64)DONE (65)REMINDER (66)TODO (67)DOING
  (68)CANCELLED (69)DONE (70)REMINDER (71)TODO (72)DOING
  (73)CANCELLED (74)DONE (75)REMINDER (76)TODO (77)DOING
  (78)CANCELLED (79)DONE (80)REMINDER (81)TODO (82)DOING
  (83)CANCELLED (84)DONE (85)REMINDER (86)TODO (87)DOING
  (88)CANCELLED (89)DONE (90)REMINDER (91)TODO (92)DOING
  (93)CANCELLED (94)DONE (95)REMINDER (96)TODO (97)DOING
  (98)CANCELLED (99)DONE (100)REMINDER (101)TODO (102)DOING
  (103)CANCELLED (104)DONE (105)REMINDER
-

It looks like I'm using release 6.31, at least I'm at the following
commit:

commit c11e0b44aeb0966c92ef50b695caf7af4670984c
Author: Carsten Dominik 
Date:   Wed Sep 30 16:03:17 2009 +0200

Release 6.31

These are my org-todo-keywords:

((sequence "TODO(t)" "DOING(d)" "|" "CANCELLED(c@)" "DONE(k@)") (sequence 
"REMINDER(r)" "|"))

Unfortunately I can't use org-submit-bug-report because it makes
interesting (but outdated) assumptions about my Mail configuration,
which I'm unwilling to fix at the moment.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] org-protocol integration with Read It Later Firefox extension

2009-09-21 Thread Friedrich Delgado Friedrichs
Hm...

Samuel Wales schrieb:
> The Read It Later Firefox extension is for people who have too many
> tabs open at the same time.  It looks unobtrusive and useful.

> It might or might not be useful to integrate it with org-protocol.
> There is a page for people who want to do so.
---Zitatende---

I personally prefer the other way around. I use my org-store-link
shortcut 'a' in firefox's location bar to get a link into an org-mode
buffer.



-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpIlXQgcycdz.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-export-as-freemind writes *.mm files that freemind (0.8.1) cannot read

2009-09-21 Thread Friedrich Delgado Friedrichs
Hi!

Carsten Dominik schrieb:
> is there any kind of consensus about which of the two freemind exporters
> is better?  Marco Vezzoli's is the one included with Org currently.
> The other one is by Lennart.

> Would anyone like to make a comparison?
---Zitatende---

Just in case my opinion isn't already clear: I prefer the one by
Lennart, as I couldn't get the one from contrib to work at all for me.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpfmpUjGQwvn.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-export-as-freemind writes *.mm files that freemind (0.8.1) cannot read

2009-09-19 Thread Friedrich Delgado Friedrichs
Hi!

Carsten Dominik schrieb:
> http://www.emacswiki.org/emacs/FreeMind
---Zitatende---

Interesting. I was talking about the org-freemind package in the
contrib dir of org. The emacswiki page talks about a completely
different library.

To make this one work, I have to convert my org file to oddeven levels
(since it checks if the level step is > 1), but then I can just open
the resulting freemind file with freemind 0.9.0~rc4 (from the
experimental branch of the debian repository).

So: Yay! Thanks! ;)

Maybe it would be worth considering to add this to the org-mode
documentation. Since it's already part of nxhtml it would probably be
useless to add it to org's contrib dir.


-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


pgpIgmGb8pq9z.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-export-as-freemind writes *.mm files that freemind (0.8.1) cannot read

2009-09-16 Thread Friedrich Delgado Friedrichs
Hi!

I wanted to get a different view on my document so I thought I'll try
the freemind export.

Unfortunately when I try to open a document exported from org to
freemind I either just get a window "An error occured while trying to
open...", or I get nothing at all and lots of Java backtraces in the
console.

If anyone wants to debug this, I can provide the backtraces and more
information. Otherwise feel free to just ignore this mail ;) (Yay for
non-actionable things...)

Kind regards
 Friedel
-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] GTD and adding next actions under projects with remember

2009-09-09 Thread Friedrich Delgado Friedrichs
Hi!

Let me give a bit of feedback on the aspect of "I'm implementing GTD".

I do it a bit differently:

 * Projects are trees (or sub-trees) which have a :Project: Tag
 attached to them. They never have a TODO keyword of any kind.

 * Waiting-For items are tracked with a :WAITING: Tag. They never have
 a TODO keyword of any kind.

 * Only next actions get a todo keyword of TODO (or maybe DOING if
 they are work in progress)

 * Every tag is a potential context for me. The nice thing is that org
 let's me combine them, e.g. :Bob:Phone:

 * I use org's priority cookies exclusively as importance, ranging
 from A - C.

That way I can see a list of next actions immediately by typing C-a a
t, ordered by importance. With your system I fail to see how you can
get quick access to your next action list.

I also get a project list by typing C-a a p (tag match, with
tag-inheritance turned off), also ordered by priority.

Even though I keep todos, projects and reference material in one file
together, org-mode allows me to quickly filter by TODO (== Next Action
List) :Project: (== Project List) and any other Tag (== Context).

I also use active timestamps to designate tickler dates and :SCHEDULE:
and :DEADLINE: cookies for the "hard landscape" of the day.

Desmond Rivet schrieb:
> The problem is that I have to specify a heading for the template in
> org-remember-templates in the .emacs file.  This is okay when I want to
> jot down a new project, waiting item or *generic* next action, because
> all these items have fixed headings, but I don't know how to make this
> work when I don't know the heading ahead of time (remember that next
> actions associated with projects live under the project heading).
---Zitatende---

Sorry for not helping with your particular problem (It looks like you
might want to use C-1 C-c C-c or something like that), but:

It sounds like you're mixing up collecting and processing. You only
need to fill out the full context in the processing phase. At least I
use the remember interface for quickly jotting down a note, then get
back to work. The stuff I "remember" just goes into a Collect.org
file, which I later process as an inbox.


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] missing :END: error message is not very helpful (patch)

2009-08-19 Thread Friedrich Delgado Friedrichs
Hi!

I had a missing :END: line in a long file due to some editing screwups
and the (error ":END: line missing")) wasn't too helpful.

I propose the following patch:

diff --git a/lisp/org.el b/lisp/org.el
index ab7f243..aaefc72 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5005,7 +5005,7 @@
 "^[ \t]*:END:"
 (save-excursion (outline-next-heading) (point)) t)
(outline-flag-region b (point-at-eol) flag)
- (error ":END: line missing"))
+  (error ":END: line missing at position %s" b))
 
 (defun org-subtree-end-visible-p ()
   "Is the end of the current subtree visible?"

This will at least allow the user to use M-x goto-char to find the
culprit (in my case a duplicated :PROPERTIES:).

Kind regards
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Makefile: update

2009-06-02 Thread Friedrich Delgado Friedrichs
It might seem like a nitpick, but your "up2" target assumes that the
program to process makefiles is called "make" (and not e.g. "gmake"
and it's in the PATH).

I propose:

up2: update
sudo $(MAKE) install

As make sets the variable MAKE [see info "(make)MAKE Variable" ] and
it's simpler to just list a dependent target if we don't need a
recursive call to make.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] Idea: trac2org, synchronise org-file with Tickets

2009-05-15 Thread Friedrich Delgado Friedrichs
Hi.

One of the tasks in my weekly review is to go over a list of trac-tickets
that are relevant for me and sync them with their counterparts in an
org-file.

I wonder why I didn't have this idea earlier, but of course it would
be neat to be able to read in the csv-export (or rss-feed?) from Trac,
pass it to emacsclient and let it generate an org-file out of the
export, complete with Tags for ticket-owner, milestone, component and
whatnot.

Does anybody already use something like this?

Does somebody use other (trouble) ticket systems and syncs them with
org-mode?

Kind regards
 FDF
-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] org-protocol links from adobe reader

2009-05-12 Thread Friedrich Delgado Friedrichs
Done. Hope you like it :)

Sebastian Rose schrieb:
> Friedrich Delgado Friedrichs  writes:
> > Sebastian Rose schrieb:
> >> How about adding it to the org-protocol docs on Worg:
> > Just kidding, I just registered on repo.or.cz and sent mail to
> > Bastien.
> Looking forward to see your name show up in the next codeswarm video :)
---Zitatende---

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] org-protocol links from adobe reader

2009-05-11 Thread Friedrich Delgado Friedrichs
Sebastian Rose schrieb:
> How about adding it to the org-protocol docs on Worg:

>http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3
> 
> I wouldn't bother to do it myself, but, as you might have read on the
> other thread, code_swarm is better for projects with lots of committers
> ;-)
---Zitatende---

Help! Help! I'm being dragged into another project against my will!

;-)

Just kidding, I just registered on repo.or.cz and sent mail to
Bastien.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


[Orgmode] org-protocol links from adobe reader

2009-05-11 Thread Friedrich Delgado Friedrichs
Hi.

I've just migrated from org-annotation-helper to org-protocol and I've
managed to adapt the hints from
http://article.gmane.org/gmane.emacs.orgmode/6810 to org-protocol.

It's simple, you just change the protocol accordingly, and call
encodeURIComponent, so you arrive with:

app.addMenuItem({cName:"org-store-link", cParent:"Tools",
   cExec:"app.launchURL('org-protocol://store-link://' +
   encodeURIComponent(this.URL) + '/' +
   encodeURIComponent(this.info.Title));"});

for org-store-link and

app.addMenuItem({cName:"org-remember", cParent:"Tools",
   cExec:"app.launchURL('org-protocol://remember://' +
   encodeURIComponent(this.URL) + '/' +
   encodeURIComponent(this.info.Title) + '/');"});

or org-remember.

Drop these into ~/.adobe/Acrobat/9.0/JavaScripts and you should be
good to go.

Note that modern emacsen also are able to display pdfs and
org-store-link will already come up with a valid file:// link, but
doesn't give you the document title, so this might be convenient, even
if you prefer to open links to pdf files in emacs.

Kind regards
 FDF
-- 
Friedrich Delgado Friedrichs 
Laziness led to the invention of the most useful tools.


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


Re: [Orgmode] Google calendar

2009-04-25 Thread Friedrich Delgado Friedrichs
Hi!

Richard Riley schrieb:
> Friedrich Delgado Friedrichs  writes:
> > You could also put the ics file on a public webserver and have google
> > calendar read the ics file via http, if you don't mind that the whole
> > world sees your appointments (unfortunately I do mind, so that's no
> > solution for me).
> 
> Yes, I did that. Just "hide it" and don't publish your Google calendar to
> anyone but yourself.

I only trust encryption to hide things properly.
> Friedrich Delgado Friedrichs  writes:
> Hmm, dont know if its Google side or export side, but todo's are not
> showing up on GC when I add via url my org.ics.
---Zitatende---

Yup, google calendar doesn't deal with todos at all. However if you
SCHEDULE the todo item, it will show up as an appointment on the
scheduled date.

I'm looking at rtm to integrate my org-todos with my android phone,
but again, little time and thus little progress on that front.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Google calendar

2009-04-25 Thread Friedrich Delgado Friedrichs
Richard Riley schrieb:
> I'd like to get something going between my blackberry and org-mode. I
> guess the best way is probably via Google calendar. Anyone currently
> linking org-mode to Google calendar and if so what process are you
> using?
---Zitatende---

I'm using org-export-icalendar-combine-agenda-files and upload the
resulting ics file to google calendar about once a week.

I'm afraid that's the best I have at the moment. Direct integration of
org-mode with google calendar would be nice and could probably be done
via gclient (an Implementation of google api which is part of the
emacspeak suite) but I didn't look into this yet.

You could also put the ics file on a public webserver and have google
calendar read the ics file via http, if you don't mind that the whole
world sees your appointments (unfortunately I do mind, so that's no
solution for me).

Kind regards
 Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Idea for agenda notifications

2009-04-24 Thread Friedrich Delgado Friedrichs
Marcelo de Moraes Serpa schrieb:
> parse my gtd.org file, search for scheduled items and, using an additional
> metadata in the item, decide when (how long before the event happens) to use
> gnome-notify (or any other notify mechanism in the OS) to show the reminder
> of the event. I'm thinking on using Ruby or Python to develop a small daemon
---Zitatende---

There's already M-x org-agenda-to-appt, dunno if appt.el can be used
or extended to do what you want.

I use (appt-activate 1) (appt-message-warning-time 5) and occasionally
call M-x org-agenda-to-appt (which I think is only relevant if you've
didn't add the schedule with an org command, iirc).

I use this to remind of regular appointments at work.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] GTD question - how to create Reference and Ticker files

2009-04-18 Thread Friedrich Delgado Friedrichs
Manish schrieb:
> On Fri, Apr 17, 2009 at 9:53 PM, Varnit Suri wrote:
> > My solutions are pretty 'raw' - just a text file (with links, etc) for
> > the Reference and a Someday list for the Tickler. Anyone else has more
> > sophisticated solutions? Any comments are appreciated.
---Zitatende---

Not really more sophisticated, but somewhat tried and true:

I have a few SomedayMaybe*.org files. Items in those files have the
tag "Maybe" or "Someday" (or both) and should have no schedules. I
review those files in my weekly review and make sure I regularly move
items back and forth from these files. *Any* item with a "Someday" or
"Maybe" tag should be in one of those files.

And if I want to be reminded of something on a certain date, I just
put an active timestamp into the item (with C-c .), so it will show up
on my agenda. This is already completely sufficient to implement the
43-folders technique outlined in David Allen's Book, if you regularly
review your agenda. You just set the Date to the first of the month,
if the item would go into one of the month folders, and on the first,
you reconsider the item and decide for a particular date (or to delete
it, mark as done, whatever). Just make sure you look at your *past*
agenda every day to catch those reminders, as they won't be moved
forward automatically (in contrast to scheduled items).

HTH
Friedel
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] The most important project for org developers?

2009-03-19 Thread Friedrich Delgado Friedrichs

Ian Barton schrieb:
> If you have access to a server that supports WebDav you can create a  
> Google Calendar that reads your org ics file directly.
---Zitatende---

Uhm, I tried to publish my org.ics file to a https server in a
protected directory, but even with username and password in the remote
calendar url google calendar would not read the ics file.

If you managed to set it up via https and some kind of authentication,
I'm very interested in your solution, but I'm not ready to publish all
my events to the whole world, even if the url is somehow obfuscated.


-- 
    Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] The most important project for org developers?

2009-03-19 Thread Friedrich Delgado Friedrichs
Hi!

Sven Bretfeld schrieb:
> a mobile PIM device coping with the information of an org file. Since
> Emacs on a mobile device is always problematic

I use a G1 and with its excellent ssh client (connectbot) it lets me
use a remote emacs session. It's actually possible to review my agenda
and tick tasks off, but editing them is a bit troublesome, as my usual
keybindings won't work over a remote connection.

So I'd agree it's problematic.

> one has to resort to import and
> export filters, at least I think so.
---Zitatende---

I currently export my schedule to google calendar with org's icalendar
export. But I have to manually upload the ics file, so I'd prefer a
solution that interfaces with google directly, such as an Integration
of T.V. Rahman's google-client code for emacs with org-mode. I didn't
get around to look at that code yet. (It's part of the emacspeak
package, but can be downloaded separately.)

I don't have a solution for todo items yet. It looks like it should be
possible to integrate org-mode with remember the milk, which in turn
has a good client for android (called Astrid). Somebody has apparently
started a remember the milk integration with org-mode, but it looks
like the project has stopped in a very early stage. (as evidenced by
http://github.com/avdi/org-rtm/tree/master). Of course direct
synchronisation with a todo-manager would be even better, and
possible, since Astrid is free software too
(http://code.google.com/p/android-astrid/).

So I currently have no solution that really satisfies me, but several
possible future solutions.

-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] POLL: the 40 variables project

2009-01-29 Thread Friedrich Delgado Friedrichs
;; I've added the chain-siblings and reset-check-boxes templates
;; because I use those features often. The 'p' templates has german
;; keywords for structuring a plan according to David Allen's "natural
;; planning" mode.

 '(org-stuck-projects (quote ("+LEVEL=2/-DONE" ("TODO" "DOING" "NEXT" 
"NEXTACTION") ("Reminder" "Note") "")))
;; this was experiment, I never use this

 '(org-tags-match-list-sublevels t)
;; "This variable is semi-obsolete and probably should always be true"

 '(org-todo-interpretation (quote sequence))
;; see below

 '(org-todo-keywords (quote ((sequence "TODO(t)" "DOING(d)" "WAITING(w@)" "|" 
"CANCELLED(c@)" "DONE(k@)") (sequence "REMINDER(r)" "|"
;; A "REMINDER" is marked red in the agenda, but doesn't really need
;; (immediate) action.

 '(org-use-fast-tag-selection nil)
;; I use too many tags for this to be useful

 '(org-use-fast-todo-selection t)
;; I use this a lot!

 '(org-use-property-inheritance (quote ("DEADLINE")))
 ;; This doesn't really seem to work. I'd like to be able
;; to set a DEADLINE for a whole tree, so the sub-items will
;; automatically be deadlined to the same date.

> Of course, if there is a volunteer who would like to organize
> this info into a Worg page, I would even be more happy ...

I'm afraid I have given you a lot of information to process now. I
hope somebody is ready and willing to organise it.

Kind regards
 FDF
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Links to id:xxxxxx don't work in exported html

2009-01-12 Thread Friedrich Delgado Friedrichs
Hiho

Carsten Dominik schrieb:
> On Jan 9, 2009, at 5:59 PM, Friedrich Delgado Friedrichs wrote:
>> same relative path ./ -> work
>> or the other way round it's . -> ../
> This is exactly what I meant, and how it works in my own test case  
> here
--Zitatende---

Ok, works here too.  The id locations were outdated for some reason.



-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


Re: [Orgmode] Links to id:xxxxxx don't work in exported html

2009-01-09 Thread Friedrich Delgado Friedrichs
Hiho!

Carsten Dominik schrieb:
> first of all, Org does expect that the file containing
> the link and the file containing the target have the same
> relative path both in the staging area (where the .org files are)
> and in the publishing area (where the .html files will be).  I don't
> know how else to approach this.

I read that in the git log, and interpreted it as:

git/Org/Collect.org -> git/Org/work/Sonstiges.org
opt/Org-Publish/Collect.html opt/Org-Publish/work/Sonstiges.html

same relative path ./ -> work
or the other way round it's . -> ../

Now it seems like you might mean they have to be in the same path.

So I've tried setting the publishing directory to git/Org.

Is that necessary? Or was my first understanding correct?

> This means that Org is confused about what files contain
> which anchors.  The relation between files and anchors is stored in the 
> file
> ~/.emacs.d/org-id-locations.  It can be updated with
>
>  M-x org-id-update-id-locations
--Zitatende---

Ok, after calling that command, most of the links work correctly
(except for a few pathological cases, which occur when the
link-description contains a link).

Many thanks! :)
-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


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


  1   2   >