[O] Collaborating with other people (was: Org-mode as a replacement for LaTeX)

2011-07-01 Thread Karl Voit
* chris.m.mal...@gmail.com  wrote:
>
> I'm curious how you work on Org-mode papers for publication with  
> collaborators? In particular, do all of your collaborators know and use  
> Org-mode themselves? Our current method is just to use ordinary LaTeX files  
> in a CVS repository for collaboration. 

CVS is very ... old if not ancient.

For collaboration with LaTeX documents I am using SVN[1] as a
centralized version control system (VCS) if my collaborators are not
tech savvy. There are lots of handy tools available like [2] that
made it possible to convince any ordinary user from using SVN.

If I am working with tech savvy people, I tend to use git [3]
instead. It is a *decentralized* VCS with much more possibilities
and it is a bit harder to learn. But if you are familiar with git,
you get advantages from offline commits, partial commits, and very
good internal merging capabilities that solve most of the LaTeX
integration process automatically.

  1. https://secure.wikimedia.org/wikipedia/en/wiki/Subversion_(software)
  2. https://secure.wikimedia.org/wikipedia/en/wiki/TortoiseSVN
  3. https://secure.wikimedia.org/wikipedia/en/wiki/Git_(software)
-- 
Karl Voit




Re: [O] Org-mode is not able to manage complex calendar events

2011-07-01 Thread Karl Voit
* Bastien  wrote:
> Hi Karl,

Hi!

> Karl Voit  writes:
>
>> Yes, there is this sexp-workaround[1] for more complex things but
>> quite frankly: this is not an option for the ordinary user like me
>> (not having that much ELISP knowledge).
>
> FWIW: what would perhaps be useful is an interactive way to easily
> produce such sexp diary timestamps.

For example.

Or an extended syntax of the existing timestamps as I suggested
somewhere in this thread:

<2011-07-01 Fri +1w> <-2011-07-08 Fri>

... or similar for an exception of a recurring event.

I'd be glad to be of help in terms of brainstorming or «usability
evaluation».

-- 
Karl Voit




Re: [O] Org-mode is not able to manage complex calendar events

2011-07-02 Thread Karl Voit
* Bastien  wrote:
> Hi Karl,

Hi!

> Karl Voit  writes:
>
> The idea behind some helper commands to let people construct diary 
> sexp is that:
>
> - it won't complexify Org's syntax about timestamps
> - such help commands can be maintained and improved independantly 
>   from Org

I see the benefits of maintaining and re-use of things already
invented. This seems to be a trade-off: easy to use vs.
maintaining/re-use.

I am happy to be able to be a part of creating a user friendly sexp
assistant which enables flexible and easy to use user experience for
complicated timestamps.

> Moreover, the search for a nice interface to building diary sexp
> could help understanding what could be the best syntax for Org itself.

Good point.

> It's not that I'm too lazy to implement (I'm a bit, of course), but
> I really think the syntax of timestamps should be "improved" very
> carefully... it's the core of Org. 

Full ack.

-- 
Karl Voit




[O] Tbl: addition of two times results in error

2011-07-13 Thread Karl Voit
,[ http://orgmode.org/org.html#Durations-and-time-values ]
|  | Task 1 | Task 2 |   Total |
|  |++-|
|  |  35:00 |  35:00 | 1:10:00 |
|  #+TBLFM: @2$3=$1+$2;T
`

... results in #ERROR at @2$3 on my system with current Org-mode (I
did «git pull» right now):

,[ debug message ]
| Substitution history of formula
| Orig:   $1+$2;T
| $xyz->  $1+$2
| @r$c->  $1+$2
| $1->(35:00)+(35:00)
|--^
| Error:  Bad format
`

Where is the problem?

-- 
Karl Voit




[O] disable "org-decrypt: auto-save-mode may cause leakage"

2011-07-14 Thread Karl Voit
Hi!

How can I auto-answer the question from the subject line with «n»
(per default) any time it is asked?

Background story:

I am using org-decrypt on two files and I've got additional files
where I do not use any encryption at all.

But when I start my Emacs with my five most used org-files (which do
not use encryption), I have to answer five times the question
mentioned in the subject line above using «n» as answer.

I've already found the comment on the bottom of [1] and the
discussion of [2].

I *do* have deactivated auto-save by using the method explained in
[3] for my Org-files where I am using encryption. So I am save here
I guess.

But what I want to get rid of is this unnecessary question. I do not
want to be asked and have to answer with «no» because where it
matters, I already deactivated auto-save. So auto-save should be
«on» per default.

How can I accomplish this behavior?

And: shouldn't this be appended to [1]?

  1. http://orgmode.org/worg/org-tutorials/encrypting-files.html
  2. http://permalink.gmane.org/gmane.emacs.orgmode/43262
  3. http://anirudhs.chaosnet.org/blog/2005.01.21.html
-- 
Karl Voit




Re: [O] disable "org-decrypt: auto-save-mode may cause leakage"

2011-07-14 Thread Karl Voit
Hi!

* Juan Pechiar  wrote:
> On Thu, Jul 14, 2011 at 02:22:32PM +0200, Karl Voit wrote:
>> How can I auto-answer the question from the subject line with «n»
>> (per default) any time it is asked?
>
> Hi Karl,
>
> You can customize this behaviour via
> org-crypt-disable-auto-save
>
> You probably have it set to 'ask'. Options exist for always
> enabling/disabling auto save, and for encrypting the auto-saved
> version automatically.

You're right and it worked. Thanks!

-- 
Karl Voit




Re: [O] Thesauri to manage tags ("Tag taxonomies") -- feature request

2011-07-15 Thread Karl Voit
* John Tait  wrote:
> Dear all

Hi!

> Some time ago I floated a "tag hierarchy" idea for org-mode. It didn't
> gain much interest (through I received some very kind replies).
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01393.html

Wow, cool idea and I totally agree regarding the usefulness of this
featurewish.

sidemark: I'm kinda biased about tags, hierarchies, controlled
vocabularies, personal information management with files, ... since
these are things I do research with [1].

> The problem I'm trying to solve is that, in big publishing projects,
> the number of tags can grow and might eventually need to be managed
> outside org-mode. (I'm already keeping lists of my tags inside
> org-mode tables.)
>
> What I would love to do is build a simple taxonomy of tags from a
> controlled vocabulary -- that I can manage entirely inside org-mode.

You do not need that many tags to provide meaningful examples that
justify this feature. Take for example following tags I am using:

location based tags:
* Graz (the city where I live)
* TUGraz (where I work)
* flat (where I actually do work too :-)
* out-of-town
* parents (not in Graz)

action based tags:
* fitness
* nonComputer
* communication
* errands

With your proposed feature I could manage to express following
dependencies:

Graz > TUGraz(TUGraz is in Graz)
Graz > flat  (my flat is in Graz)

So when I create an agenda view with «Graz» I might as well see
entries which are tagged with «TUGraz» since this is a subset of
«Graz».

out-of-town | Graz   (out-of-town is not in Graz)

I am not sure if this OR condition is of any use here.

out-of-town > parents(my parents are out-of-town)

Agenda views related to out-of-town should include things I have to
manage at my parents place.

nonComputer > fitness(doing sports is not computer related)

I do not count Wii games as sports :-) Agenda views related to
nonComputer stuff should also list fitness items as well.

Graz > errands   (I usually buy stuff in town)

fitness ! flat   (I never do actual sport in my flat)

Is there a need for explicit negation?


Looking forward to a mechanism to define (sub)sets of tags in order
to simplify queries matching tags. Because this is what I do think
it possibly means: «C-c a m +Graz|+flat» does provide the combined
sets of «Graz» and «flat» for the purpose of agenda views.

(I am not using (filtered) export yet)

  1. http://tagstore.org
-- 
Karl Voit




[O] Represent *everything* in Org-mode

2011-07-17 Thread Karl Voit
Hi!

I need your thoughts and feedback on this idea:

I am thinking of letting student(s) implement a (Python[1]) script
that imports[2] all kinds of data sources to generate simple (and
reduced) Org-mode heading entries and links to the original
information in order to represent the users digital life as complete
as possible.

Imagine, you have got one (additional) «archive.org» (or
«mylife.org_archive»[8]) which contains lots of small entries that
represent many things you are doing on your computer:

  * emails you send and receive
  * tweets you write
  * weblog entries you write
  * usenet postings you send
  * files you are creating (with a datestamp in its filename)
  * bookmarks you save (in delicious?)
  * SVN/git commits you are committing
  * SMS you send and receive (via smartphone)
  * ... and much more 

With this system, you can visit any day in the past to see, what
happened in your (digital) life that time. You can reconstruct
pretty much anything you were thinking, working, ... that day.

If you happen to know MyLifeBits[3] from MS Research, the papers
from Gemmell et al or the book «Total Recall»[4] you already know
what I am writing about: researchers implemented a (MS Windows only)
system to capture your digital life even with digital cameras and
screenshots of your desktop.

With Org-mode and a bunch of «connectors» this should be a fairly
easy job to do. Nothing proprietary here, the amount of data is not
that much as with those binary information from MyLifeBits.

I am thinking about a central management tool that writes the
Org-mode file(s), lets you add tags to specific sources and correct
time zone deltas caused by timestamps of services out of sync with
the time zone you are living at.

Then there are those «connectors»: one will parse through my
maildir[5] to collect sent (and received?) emails in order to
generate something like:

* [[file:/my/maildir/the_email][Urgend: Server just died]]  :email:work:
<2010-01-17 Tue 08:12>
:PROPERTIES:
:FROM: b...@company.example.com
:END:

Another «connector» parses my monthly backup of tweets[6] in order
to generate entries like:

* [[http://twitter.com/status/0815][I hate dying hardware]]  :tweet:
<2010-01-17 Tue 08:15>

Parsing a source like «locate» I can filter out files I am putting
an ISO datestamp into and generate:

* [[file:/albums/2010-01-17T08:21_rat.jpg][The rat that ate the \
server cable]]  :file:
<2010-01-17 Tue 08:21>

With another «connector» I am parsing my weekly delicious[7] backup
and generate entries like following for all my bookmarks:

* [[http://killrats.com][How to kill rodents]]  :delicious:animals:
<2010-01-17 Tue 09:35>

Without such a combined agenda view, you would possible never know
which different things you were «using» that day when a rat was the
source of a hardware downtime.

This is not a new idea but as far as I know, it was never
implemented that complete outside of MyLifeBits.


So: is there something similar out there? Probably using Org-mode
already?

And: what do *you* think of this idea?


I'd like to have a central tool that manages the connectors as
mentioned above and small and easy to implement connectors for each
data source.


  1. I know that you guys would like to see that in ELISP but here
 at my side is sadly no ELISP knowledge available :-(
  2. Currently, only one-side-import (and no two-side sync) is
 planned.
  3. http://en.wikipedia.org/wiki/MyLifeBitso
  4. http://totalrecallbook.com/ (I'll have to read it soon)
  5. http://en.wikipedia.org/wiki/Maildir
  6. I am using http://grabeeter.tugraz.at/
  7. http://delicious.com
  8. In order to keep daily agenda small/fast and only «Archive mode» complete
-- 
Karl Voit




[O] Memacs (was: Represent *everything* in Org-mode)

2011-07-18 Thread Karl Voit
* Karl Voit  wrote:
>
[...]
> Imagine, you have got one (additional) «archive.org» (or
> «mylife.org_archive»[8]) which contains lots of small entries that
> represent many things you are doing on your computer:
[...]
> If you happen to know MyLifeBits[3] from MS Research, the papers
> from Gemmell et al or the book «Total Recall»[4] you already know
> what I am writing about: researchers implemented a (MS Windows only)
> system to capture your digital life even with digital cameras and
> screenshots of your desktop.

In 1945, Vannevar Bush wrote a very famous essay «As we may think»
in which he proposed a system he called «Memex»[9] which described
the basic features of MyLifeBits, the web, and many more things.

So I propose the name «Memacs» for this tool which is going to be
developed soon.

This could be epic :-)

  9. http://en.wikipedia.org/wiki/Memex
-- 
Karl Voit




[O] Memacs - effort and language (was: Represent *everything* in Org-mode)

2011-07-18 Thread Karl Voit
* Rasmus  wrote:
> Hi,

Hi!

> It sounds very interesting. I would use something like that if it did
> not require to much hassle after initial setup.

My goal is that after the initial setup of one «connector» (I am
sill searching for a cool name for this) the additional effort is
nothing (or almost nothing) as long as nothing changes (APIs, cron
jobs, ...).

> Python is a nice language, and I too feel more comfortable writing it
> than Emacs Lisp. The latter is more eloquent though.

I am much more confident with Python since I did not learn (E)LISP
yet.

> Lets us know how it goes.

Of course since I am interested in lots of people using (and
improving) Memacs and its «connectors» :-)

-- 
Karl Voit




[O] Memacs - speed issues (was: Represent *everything* in Org-mode)

2011-07-18 Thread Karl Voit
* Rainer Stengele  wrote:
> Hi Karl,

Hi!

> nice idea!

Thanks :-)

> My first thoughts are a warning about big org files which can be
> quite slow to be processed as agenda files.

Sure.

That is why I am thinking of putting all this stuff into an archive
Org-mode file. That way your day to day work keeps its speed. If you
want to access Memacs entries, you can press «v A» in your agenda
view to add the items from all archive files to your view which
might take longer.

Is there someone who thinks that this approach still has issues?

> Please check this thread:
> http://article.gmane.org/gmane.emacs.orgmode/44286

Thanks for the link. I'll read it.

-- 
Karl Voit




Re: [O] Tbl: addition of two times results in error

2011-07-18 Thread Karl Voit
* Sebastien Vauban  wrote:
> Hi Bastien and Karl,
>
> Bastien wrote:
>> Karl Voit  writes:
>>
>>> ,[ http://orgmode.org/org.html#Durations-and-time-values ]
>>> |  | Task 1 | Task 2 |   Total |
>>> |  |++-|
>>> |  |  35:00 |  35:00 | 1:10:00 |
>>> |  #+TBLFM: @2$3=$1+$2;T
>>> `
>>>
>>> ... results in #ERROR at @2$3 on my system with current Org-mode (I
>>> did «git pull» right now):
>>
>> Er... I cannot reproduce this error.  Anyone else?
>
> Nope. Results is correctly computed[1].
> [1] Using Org from this morning, at least.

Hm. I just pulled newest Org-mode (again) and created an Org-mode
file with only the table from above and still it does not work :-(

Maybe I am trying to triage the problem by selectively disabling
parts of my .emacs configuration. I'll let you know, if I find
anything related to this problem.

-- 
Karl Voit




Re: [O] Tbl: addition of two times results in error

2011-07-18 Thread Karl Voit
* Bastien  wrote:
> Hi Karl,
>
> Karl Voit  writes:
>
>> Hm. I just pulled newest Org-mode (again) and created an Org-mode
>> file with only the table from above and still it does not work :-(
>
> Please try the table alone in single file.

I already did so for the last posting/email here.

>> Maybe I am trying to triage the problem by selectively disabling
>> parts of my .emacs configuration. I'll let you know, if I find
>> anything related to this problem.
>
> Thanks for hunting this bug!

Well, lets see if I can find anything :-)

-- 
Karl Voit




[O] Referring to ID in other Org-mode file

2011-07-23 Thread Karl Voit
Hi!

How can I refer to an ID in another Org-mode file (withing the same
folder)?

,[ file:foo.org ]
| * This is interesting
|   :PROPERTIES:
|   :ID: interesting
|   :END:
`

,[ file:bar.org ]
| I would like you to point to id:foo.org#interesting
`

The link like this does not (yet) work. How can I accomplish this?

I was searching in the Org-mode manual but could not find any
solution for my problem. Either this is not possible or I could not
find the (existing) solution yet.

-- 
Karl Voit




Re: [O] Referring to ID in other Org-mode file

2011-07-23 Thread Karl Voit
* suvayu ali  wrote:
> On Sat, Jul 23, 2011 at 5:05 PM, Karl Voit  wrote:
>> I would like you to point to id:foo.org#interesting
>
> This should work:
> [[id:interesting][Description]]

Wow, this worked indeed! I assumed that this would work only within
files of org-agenda-files.

Thanks!

-- 
Karl Voit




Re: [O] Referring to ID in other Org-mode file

2011-07-23 Thread Karl Voit
* Memnon Anon  wrote:
> Karl Voit  writes:
>
>> How can I refer to an ID in another Org-mode file (withing the same
>> folder)?
> [...]
>> I was searching in the Org-mode manual but could not find any
>> solution for my problem. Either this is not possible or I could not
>> find the (existing) solution yet.
>
> ,[ (info "(org)Search options") ]
> `

Sorry, I was not searching good enough. Shame on me :-(

In this case, that method is exactly what I need:

file:README.org::*foobar

Since GitHub's interpretation of Org-mode files is not that
perfect I want to avoid drawers containing IDs at all.[1]

The more I am using Org-mode the more I see its beauty :-)

  1. https://github.com/novoid/Memacs
-- 
Karl Voit




[O] Org-contacts and where to store address

2011-08-06 Thread Karl Voit
Hi!

I am writing an Python-script that converts my old jPilot contact
information to Org-mode. I chose Org-contacts[1] because it seems to
me that this will be a widely used format.

In my old format, the address field is a multi-line field similar
to:

,[ example ]
| Street Name 42
| 0815 City
| Country
`

I am using property values for EMAIL, HOMEPHONE, WORKPHONE, PHONE,
MOBILE, FAX, TITLE, and COMPANY.

Is there a good way of adding the (multi line) address to the
PROPERTY drawer or should I put the address in the notes right below
the drawers?

PS: Empty properties are not mentioned in the Org-mode manual. Do
they cause any trouble? (I was thinking of leaving empty properties
for each entry so that I can easily add e.g. a FAX number later on
...)

  1. http://julien.danjou.info/org-contacts.html
-- 
Karl Voit




[O] [yasnippet] can not creating links with description

2011-08-08 Thread Karl Voit
Hi!

I'd like to create a link like

  [[file:~/share/all/org-mode/contacts.org::*foo][company:foo]]

... and therefore I created:

,[ ~/snippets/org-mode/vkcomp ]
| # name : expand link to company
| # --
| [[file:~/share/all/org-mode/contacts.org::*$1][company:$1]] $0
`

But: unfortunately my Org-mode behaves strangely when applying the
snippet: "company:" with blinking cursor in the «c» which does not
let me enter the string which replaces «$1».

I guess this is related to «hiding the actual link when a
description is set».

Can I define a snippet which behaves like following? After entering
the snippet command and pressing TAB, I get the chance to type «foo»
part and after another TAB, the link as stated above is finished and
the cursor is at the end.

Thanks!

-- 
Karl Voit




[O] [yasnippet] Symbol's function definition is void: yas/next-field-group

2011-08-09 Thread Karl Voit
Hi!

I tried to set up yasnippet for me and it seems to me that I do have
problems using yasnippet.

yasnippet v0.6.1
Org-mode current git version

I already found [1] and my .emacs contains:

,
| ;; ##
| ;;; yasnippet
| ;; http://yasnippet.googlecode.com/svn/trunk/doc/index.html
| (require 'yasnippet)
| (setq yas/root-directory "~/.emacs.d/snippets")
| (yas/load-directory yas/root-directory)
|
| ;; ##
| ;; yasnippet and Org-mode
| ;; from: http://orgmode.org/manual/Conflicts.html
| (add-hook 'org-mode-hook
| (lambda ()
|   (org-set-local 'yas/trigger-key [tab])
|   (define-key yas/keymap [tab] 'yas/next-field-group)))
| (defun yas/org-very-safe-expand ()
|  (let ((yas/fallback-behavior 'return-nil)) (yas/expand)))
| (add-hook 'org-mode-hook
| (lambda ()
| (make-variable-buffer-local 'yas/trigger-key)
| (setq yas/trigger-key [tab])
| (add-to-list 'org-tab-first-hook 
'yas/org-very-safe-expand)
| (define-key yas/keymap [tab] 'yas/next-field)))
`

Whenever I try to expand a snippet containing $1, $2, ... I just get
to $1 and then there I get «Symbol's function definition is void:
yas/next-field-group» in the *Messages* buffer.

Pressing «Tab» does not jump to $2 or $0.

Does anybody have a clue, what is going on?

Probably this is not even related to Org-mode since I changed to
*scratch* and invoked latex-mode/begin+«Tab» and it does not work
either ...

  1. http://orgmode.org/manual/Conflicts.html
-- 
Karl Voit




Re: [O] [yasnippet] Symbol's function definition is void: yas/next-field-group

2011-08-10 Thread Karl Voit
* Bianca Lutz  wrote:
> Hi Karl,

Hi!

> The org info seems to be outdated: yas/next-field-group is called
> yas/next-field nowadays. A simple rename should solve the issue.

Oh, thanks!

> BTW: Are you sure you need both calls to add-hook? The way I
> understand the org manual is that you need either of them (not both at
> the same time).

You're absolutely right. I should have compared the things more
intense.

Now it works!

-- 
Karl Voit




Re: [O] [yasnippet] can not creating links with description

2011-08-10 Thread Karl Voit
* Bianca Lutz  wrote:
> Hi Karl,

Hi!

> I do not know how to accomplish this with a single field but the
> following workaround might be sufficient:

This works great! Thank you for the code!

-- 
Karl Voit




Re: [O] A new module for Org-mode: Org-X

2011-08-14 Thread Karl Voit
* John Wiegley  wrote:
> Hello all,

Hi!

> I've been working a new set of modules for Org to make it easy to associate
> Org entries with data in external systems, such as Redmine, Bugzilla,
> WordPress, or even your e-mail Inbox.  It's called Org-X, as its meant to
> simplify writing linkup code for any system X.

Wow. This looks like exactly what I want to achieve with the
«Memacs» project on [1]. We certainly need to exchange ideas and
code :-)

> It has two parts: one for users, and one for Org programmers.  

In our project we do have the very same thing: the user-part is
called «Nexus» and the central part is called «Memacs».

I already proposed my ideas here with my posting «Represent
*everything* in Org-mode»[2].

> The user code
> will:
>
>   - create a new entry on the selected remote based on an Org subtree
>   - merge changes from all remotes into a subtree
>   - push changes from the local subtree up to the remote(s)
>
> For example, I currently use this code with Redmine to simplify creating new
> bugs from existing Org tasks, and to push and pull any new comments.
>
> For Org programmers, Org-X provides a data abstraction to ease working with
> Org data in a programmatic way.  To add a tag to the current Org entry with
> Org-X looks like this right now:
>
>   (let ((entry (org-x-parse-entry)))
> (org-x-add-tag entry "Hello")
> (org-x-replace-entry entry))
>
> Where the value comes in for programmers is that you can "propagate" such
> changes to all associated external systems by just passing "t" for the
> propagate parameter:
>
>   (let ((entry (org-x-parse-entry)))
> (org-x-add-tag entry "Hello" t))

Our plan is to use Python to simply generate org (archive) files
from different sources since we do have no ELISP knowledge and
Python does already have beautiful libraries for RegEx, string
manipulation, XML, JSON, ...

> Without having to know what those remote systems even are.  Of course, Org
> itself is a backend, which is why the call to `org-x-replace-entry' is no
> longer needed here, since propagation will achieve the same affect.

Our plan includes Nexus that re-generate their org-file-content on
each invocation OR append new events at the end.

> The set of applicable backends is determined by context, and the appropriate
> actions decided upon by each backend who "answers" for a given Org entry.

Sounds cool :-)

> Anyway, the code is still in the beginnings stages, and in rough shape, with
> the API undergoing fluctuations on a daily basis.  But I thought I'd let
> people know, as maybe some would like to help flesh out the basics while it's
> still so unformed.  

We do not have any code yet but two of my students began to work on
the project.

> My org-x branch is here:
>
> git clone git://github.com/jwiegley/org-mode.git
> git checkout -t origin/org-x
> or
> git remote add -f jwiegley git://github.com/jwiegley/org-mode.git
> git checkout -t jwiegley/org-x
>
> I'm currently working on backends for Redmine, Bugzilla and WordPress, since I
> have an immediate need for them; but I also have ideas for others, such as a
> backend that creates back-linked Org tasks for every "FIXME" comment in a
> source code project...

We do have lots of ideas for other «Nexus» or «backends» how you
call them :-)

  1. https://github.com/novoid/Memacs

  2. Message-ID: <2011-07-18t01-13...@devnull.karl-voit.at>
  Mon, 18 Jul 2011 01:54:08 +0200
  Sorry, gmane does not let me locate using the search feature :-(

-- 
Karl Voit




Re: [O] A new module for Org-mode: Org-X

2011-08-15 Thread Karl Voit
* John Wiegley  wrote:
> Karl Voit  writes:
>
>> Wow. This looks like exactly what I want to achieve with the
>> «Memacs» project on [1]. We certainly need to exchange ideas and
>> code :-)
>
> They sure do sound similar in spirit!!  It's like we are tuned to the same
> wavelength. :)

*g*

>> Our plan is to use Python to simply generate org (archive) files from
>> different sources since we do have no ELISP knowledge and Python does
>> already have beautiful libraries for RegEx, string manipulation, XML, JSON,
>
> I have to say that one of my personal requirements is that such a system be
> implemented as much in Emacs Lisp as possible.  I hate debugging code that's
> "in between" Emacs and some other system.  Plus, I have excellent
> documentation, debugging and profiling resources available to me in Emacs, but
> I've never found anything close to equivalent in Python (and I've tried them
> all: ipython, pydb, ropemacs, etc).  Developing in Emacs is just so efficient
> and fun, that I do it as much for recreation as to get things done.

I am sure that ELISP is cool. But here, we do not have any LISP
knowledge at all and I hardly know anyone in our hacking community
who is really into ELISP I am afraid. So I have to stick to my
(local) resources.

In my point of view, it is no problem at all because the «API» we do
have is the format of Org-mode files. Memacs is - unlike your system
- not done with Emacs at all: Python scripts generate Org-mode files
and that is all.

This is a fundamental difference in our attempts - I know.

Maybe our systems could cooperate like Memacs doing
in-between-filtering and Org-X the integration to Org-mode or
similar.

>> We do not have any code yet but two of my students began to work on the
>> project.
>
> Are they Lisp programmers?  

No. I know not a single ELISP programmer here at my side :-(

>From my point of view - and I am sure this may differ from reality!
- ELISP is some kind of niche language that is slowly going down in
popularity. Again: this is not what I want it to be, this is my very
personal experience.

> If so, perhaps we could combine our efforts.

Sure. But we can not provide ELISP code. So my current plan is
still: stick to Python, let the finished (auto-generated) Org-mode
files be the «API». It's better to do *something* (in Python) than
to do nothing at all.

> Since my own needs are immediate for this project, I should have the first
> three backends for Org-X completed by month's end.  By that time, the core API
> should be stable and I'll be ready to merge this code into main.  I've also
> been writing for org.texi at the same time, so it will come fully documented
> when it arrives.

I sure will take a look at it!

We do not have any plan when first Nexus and Memacs will be out. We
are still in the early planning phase.

-- 
Karl Voit




Re: [O] Org-contacts and where to store address

2011-08-17 Thread Karl Voit
* Bastien  wrote:
> Hi Karl,

Hi!

> Karl Voit  writes:
>
>> Is there a good way of adding the (multi line) address to the
>> PROPERTY drawer or should I put the address in the notes right below
>> the drawers?
>
> I'd suggest reformatting the multi-lines address into a single-line
> string. 

Done that. The original data was in fact not multi-line and so I
modified the source code to get one line per information.

> Thanks for letting us know about your progress!

Well, it is pretty simple:

contacts.org with two main headings: one for people and one for
companies with one person in yasnippet-syntax:

,[ yasnippet template for one contact  ]
| # name : Org-contacts template for a person
| # --
| ** $1 $2  :$1$2:
| :PROPERTIES:
| :TYPE: ${3:$$(yas/choose-value '("person" "company"))}
| :TITLE:
| :EMAIL: $4
| :MOBILE: ++43/
| :HOMEPHONE:
| :WORKPHONE:
| :PHONE:
| :COMPANY:
| :STREET:
| :POSTALCODE:
| :CITY:
| :COUNTRY: Österreich
| :END:
|
| Erstkontakt: $0
|
|
`



-- 
Karl Voit




[O] How to debug "Specified time is not representable"

2011-09-30 Thread Karl Voit
Hi!

When I get «Specified time is not representable» while creating the
Agenda view, I want to get more information *where* the problem is.

I found [1] and following and so I got it that there is no way of
managing timestamps before 1970 :-(

Is there a way to get to the problematic time stamp?

  1. http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00729.html
-- 
Karl Voit




Re: [O] How to debug "Specified time is not representable"

2011-10-03 Thread Karl Voit
Hi!

* Jambunathan K  wrote:
> Karl Voit  writes:
>
>> When I get «Specified time is not representable» while creating the
>> Agenda view, I want to get more information *where* the problem is.
>>
>> I found [1] and following and so I got it that there is no way of
>> managing timestamps before 1970 :-(
>>
>> Is there a way to get to the problematic time stamp?
>>   1. http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00729.html
>
> Hope you have looked at C-h v org-read-date-force-compatible-dates 

Meanwhile: yes.

I do not want to use timestamps outside of UNIX epoch. I just wanted
to *locate* the culprit.

> A simple M-x grep-find on .org files for the year should work.

I do not know the year.

> You may also try
> M-x debug-on-entry RET ding RET
> Look at the backtrace and see whether you can get some clues.

Sorry, no clue.

> Works best if your orgmode is not compiled

When I have compiled Orgmode, should I delete all *.elc files?

-- 
Karl Voit




Re: [O] How to debug "Specified time is not representable"

2011-10-04 Thread Karl Voit
* Jambunathan K  wrote:
>
>>> A simple M-x grep-find on .org files for the year should work.
>>
>> I do not know the year.
>
> That is what regexps are for. 
[...]
> It is not my intention to provide you with a outright solution but only
> to give sufficient hints so that you make progress.

:-)

Thanks. I know RegEx perfectly good. Irritating entries could be
located by...

find . -name "*\.org*"|xargs egrep '<19[0-6]|<20[3-9]'

...since I am using *lots* of Orgmode files.

My point was more or less usability-related: what use is the message
«Specified time is not representable» when the user (anybody, not
just RegEx experts like us) gets no clue, where the problem is?

So I was curious, if there *is* some method I do not know (yet).

If the answer is «no, there is no way of telling you the actual time
stamp that causes the message», my question is answered. Bad for
Emacs/Orgmode usability but fine with me so far.

So is this really the case?

>>> You may also try
>>> M-x debug-on-entry RET ding RET
>>> Look at the backtrace and see whether you can get some clues.
>>
>> Sorry, no clue.
>>
>>> Works best if your orgmode is not compiled
>>
>> When I have compiled Orgmode, should I delete all *.elc files?
>
> May be the debug-on-entry is the wrong strategy for the problem at
> hand. You may disregard my suggestion.

-- 
Karl Voit




Re: [O] How to debug "Specified time is not representable"

2011-10-04 Thread Karl Voit
Hi Carsten!

* Carsten Dominik  wrote:
>
> I have no general method.  However, you can do this:
>
> 1. On the "Options" menu, switch "Enter debug on error" on.
> 2. Run your agenda to hit the error.  A buffer with the backtrace
>pops open.
> 3. Press 
>
>   e (current-buffer) RET
>
>   to learn about the buffer where this happens
>
> 4. Press
>
>   e pos RET
>
>   to learn about the position of the offending time stamp.  
>
> 5. Press `q' to leave the backtrace buffer, then switch to the buffer
>you learned about and find the position you just learned about.
>THis should be the bad timestamp.

*This* is the method I was searching for. *Thank* you very much. Now
I can see the actual time stamp that causes any problem.

-- 
Karl Voit




[O] Bug: org-clone-subtree-with-time-shift shifts CREATED property

2011-10-04 Thread Karl Voit
Hi!

When an entry got processed by org-clone-subtree-with-time-shift,
its :CREATED: property gets shifted too:

#+begin_example
* <2011-10-04 Tue> test
SCHEDULED: <2011-10-05 Wed>
:PROPERTIES:
:CREATED: <2011-10-04 Tue 17:27>
:END:
* <2011-10-11 Tue> test
SCHEDULED: <2011-10-12 Wed>
:PROPERTIES:
:CREATED: <2011-10-11 Tue 17:27>
:END:
#+end_example

Although this *might* be on purpose, I strongly argue to stop this behaviour
because of:

* the entry is not really created in the future. It is created
  either at the original :CREATED: timestamp _or_ it is created at the
  timestamp when org-clone-subtree-with-time-shift is executed.

* the user gets heavily irritated when the generated entries keep
  popping up on future days.

I suggest that at least for :CREATED: properties, the time stamp
does not get changed by org-clone-subtree-with-time-shift.

-- 
Karl Voit




[O] org-contacts: how to manage contacts; structure of meta data (was: No completion in Gnus)

2011-10-05 Thread Karl Voit
* Thorsten  wrote:
>
> I have a org-contacts file with a few contacts with EMAIL property,
> taken from gnus using org-capture as described in the org-contacts
> manual. The contacts are tagged with some tags. 

[...]

> PS
> One further org-contacts related question: there is a predefined
> property ADDRESS, without any inner structure. Am I supposed to write my own
> org-capture template for that property? How would that look like - just
> one single string? If I want something more structured (street, city,
> zip-code etc), I have to define one property for each info-piece, or is
> there something like a compound property? 

I moved all of my approx. 1000 contacts from jPilot contacts to
org-contacts a few months ago. I faced the same questions you are
mentioning since org-contacts[1] does only mention the :EMAIL:
property.

A short research with my favourite search engine did not result in
any (ISO?) standard that relates to «how to define/describe contact
meta data».

Without describing further attempts, I ended up with following
yasnippet[2] template for a new contact:

,
| # name : Org-contacts template for a person or a company
| # --
| ** $1 $2  :$1$2:
| :PROPERTIES:
| :TYPE: ${3:$$(yas/choose-value '("person" "company"))}
| :TITLE:
| :EMAIL: $4
| :URL:
| :MOBILE: 0043/
| :HOMEPHONE:
| :WORKPHONE:
| :PHONE:
| :COMPANY:
| :STREET:
| :POSTALCODE:
| :CITY:
| :COUNTRY: Österreich
| :END:
|
| first contact: $0
`

My current tags for contacts are defined in the header of my
contacts.org:

,[ first line of my contacts.org ]
| #+TAGS: job(j) friends(f) health(e) hotels(o) restaurants_bars(r) \
| sport(s) students_TU(t) relatives(r) company(c)
`

... but this is pretty much related to my previous system
(jPilot/datebk6/PalmOS) which offered only one single category for
each contact. I might re-think these tags in future.


A very handy bonus feature is referencing my contacts. In my .emacs
I do have following:

,[ .emacs (excerpt) ]
| (setq org-link-abbrev-alist
|   '(
| ("contact" . "~/org/contacts.org::/\*.*%s/")
| ))
`

Combined with following yasnippet template it results in very comfty
contact handling:

,[ contact yasnippet ]
| # name : expand link to contact
| # --
| [[contact:$1][${2:$$(unless yas/modified-p
|  (let ((field (nth 0 (yas/snippet-fields (first (yas/snippets-at-point))
|(concat (buffer-substring (yas/field-start field) (yas/field-end 
field)}]] $0
`

Basically, you have to enter the name of the snippet, press «TAB»
and then you type in the name (or anything of the heading line of a
contact). Then it results in [[contact:foo bar][foo bar]] which is a
clickable link to any contact which relates to «foo bar».

Whenever I rename my contacts.org or put it in another folder, I
just have to modify the line in my .emacs and not each link.

I like this system.

HTH

  1. http://julien.danjou.info/org-contacts.html
  2. http://code.google.com/p/yasnippet/
-- 
Karl Voit




Re: [O] Bug: org-clone-subtree-with-time-shift shifts CREATED property of org-expiry.el

2011-10-06 Thread Karl Voit
* Bernt Hansen  wrote:
> Karl Voit  writes:
>
>> When an entry got processed by org-clone-subtree-with-time-shift,
>> its :CREATED: property gets shifted too:
>>
>> #+begin_example
>> * <2011-10-04 Tue> test
>> SCHEDULED: <2011-10-05 Wed>
>> :PROPERTIES:
>> :CREATED: <2011-10-04 Tue 17:27>
>> :END:
>> * <2011-10-11 Tue> test
>> SCHEDULED: <2011-10-12 Wed>
>> :PROPERTIES:
>> :CREATED: <2011-10-11 Tue 17:27>
>> :END:
>> #+end_example
>
> Where does this :CREATED: property come from?  The only code I can find
> is in contrib/lisp/org-expiry.el 

Yes, I am indeed using this package. To be honest, I have forgotten
that it is org-expiry.el which generates those :CREATED: properties.
But I do find it important to know, *when* an item was created.
Independently from any expiry functionality.

This is not only because I am doing
http://en.wikipedia.org/wiki/Lifelogging with
https://github.com/novoid/Memacs by the way.

> and since that isn't officially part of org-mode yet I don't know
> if it makes sense to have code in the cloning function to handle
> it.

Oh, I thought «contrib» is also «part of Org-mode» since it is in
the very same git repository. Thanks for clarification.

> Maybe (if there isn't already) the clone function could use some list of
> properties for special handling (ie drop this property, don't shift the
> date on that property, etc)
>
> If it can be generically handled then whatever code you include that
> adds functionality for the :CREATED: property can also update that list
> so it is handled in a sensible way.

I can think of different situations where such a mechanism would be
handy, yes. Is Bastien Guerry (creator of org-expiry.el) reading
here?

So for now I am afraid I have to either deactivate org-expiry.el or
remove any :CREATED: property before applying cloning.

-- 
Karl Voit




Re: [O] org-contacts: how to manage contacts; structure of meta data

2011-10-06 Thread Karl Voit
* Thorsten  wrote:
> Karl Voit  writes:
>
>> Without describing further attempts, I ended up with following
>> yasnippet[2] template for a new contact:
>
> Do you think that yasnippet is superior to org-capture or is it just a
> casuality that you prefered it to org-capture?

Oh, first I started with org-capture. One week later I started to
use yasnippet. I have to mention that I was using Emacs a decade ago
when I switched to vim. For Org-mode I returned to GNU Emacs. Now I
have to re-orienteer again what is available and how it works :-)

yasnippet is superior to org-capture and it is not :-)

What is missing with yasnippet is a quick capture method which
includes the destination for the new item.

What is great with yasnippet is, that you can define certain input
values that have to be entered. Those values can be re-used. So when
you take a look at my snippet, you recognize $1, $2, ...

And you recognize that $1 and $2 a re-used. I do have to enter $1
only once and it is inserted multiple times - depending on the
occurrence of $1 in the rest.

For the :TYPE: property I let yasnippet ask me, whether it is a
person or a company I am entering now. Handy.

>> ,
>> | # name : Org-contacts template for a person or a company
>> | # --
>> | ** $1 $2  :$1$2:
>> | :PROPERTIES:
>> | :TYPE: ${3:$$(yas/choose-value '("person" "company"))}
>> | :TITLE:
>> | :EMAIL: $4
>> | :URL:
>> | :MOBILE: 0043/
>> | :HOMEPHONE:
>> | :WORKPHONE:
>> | :PHONE:
>> | :COMPANY:
>> | :STREET:
>> | :POSTALCODE:
>> | :CITY:
>> | :COUNTRY: Österreich
>> | :END:
>> |
>> | first contact: $0
>> `
>
> Thats what I thought, that a single :ADDRESS: property is not very
> usefull or practical. 

You loose meta information and semantic description.

With my method you can generate sparse trees with people living in a
certain street, town or such things.

> So there is not something like a nested property,
> each piece of information needs its own property. 

I do think so. But I am new to Org-mode and might still miss certain
details.

> I think your list is pretty complete and usable. 

Thanks.

>> My current tags for contacts are defined in the header of my
>> contacts.org:
>>
>> ,[ first line of my contacts.org ]
>> | #+TAGS: job(j) friends(f) health(e) hotels(o) restaurants_bars(r) \
>> | sport(s) students_TU(t) relatives(r) company(c)
>> `
>
> [how do you produce this nice insertions in your email?]

As an Emacs user, you might not be delighted with my answer: I am
using mutt[3] as MUA[4]. There I can choose my editor freely. For
this purpose I am using vim 7.1. In vim I can use «boxes»[5]:

,[ a line from my .vimrc ]
| map ;1 :'<,'>!boxes -d boxquote
`

But I also used to use Emacs for mail composing years ago and I do
recall a similar method there.

> Thanks for your help

You're welcome!

  3. http://www.mutt.org/
  4. http://en.wikipedia.org/wiki/Mail_user_agent
  5. http://boxes.thomasjensen.com/
  6. As I recognize here, the vim referencing mechanism seem to be
 confused by the $1 and $2 from above and started with [3]. Cute.
-- 
Karl Voit




[O] github: (partial) support for Org-mode files

2011-10-09 Thread Karl Voit
Hi!

Some of you might have already noticed that github[1] does provide
some basic support[2] for Org-mode files. Therefore you can use
files like «README.org» instead of «README» or «README.txt».

I started to use Org-mode format for readme files recently[3]. I
realized, that there is only partial support of Org-mode syntax on
github.

In order to test those settings I ended up in committing various
tests in my project just to look how github presents my readme file.

Today I created a simple github project for testing purposes (only):

https://github.com/novoid/github-orgmode-tests

Probably you might have the very same demand for testing and want to
join me in using this Org-mode-github test repository instead of
creating one for your own :-)


PS: is there an already existing Org-mode demofile containing all
basic syntax examples?

  1. http://github.com
  2. https://github.com/github/markup#readme
  3. https://github.com/novoid/Memacs
-- 
Karl Voit




[O] GNU Emacs crashing on large Orgmode files (was: Ways to make org feasible for huge files)

2011-10-13 Thread Karl Voit
* Marcelo de Moraes Serpa  wrote:
>
> Hi list,

Hi individual!

> I love org and I think there's nothing like it out there, 

Ack!

> but I'm considering using Evernote for reference notes, because my
> reference.orgfile has grown too big (4234k + lines). This makes
> the rendering of the file way too slow, and 2 times out of 10
> emacs crashes because of that.

Not exactly the topic you mentioned but as a side mark to crashes on
Mac OS X I want to add:

I am trying to implement life-logging [1] with Org-mode and GNU
Emacs. Therefore I created [2]. Even in this early stage, it ends up
with >150.000 lines in approx. 30 Org-mode files. Most of them are
in «*.org_archive» files though. (Further performance information:
[3])

On my notebook I am using GNU Linux (Ubuntu 11.04) with GNU Emacs
23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4). At home I've got
Mac OS X 10.5 with http://emacsformacosx.com/ (sorry, no detailed
version number since I am currently sitting in my office *g*).

I never noticed *any* crash of Emacs using Org-mode on my Linux
machine. But on my OS X box, I notice crashes many times. Mostly
when navigating (vertically or horizontally) in the Agenda view.

Maybe there is an (hidden?) issue with GNU Emacs on OS X (too).

  1. http://en.wikipedia.org/wiki/Lifelogging
  2. https://github.com/novoid/Memacs
  3. https://github.com/novoid/Memacs/blob/master/FAQs_and_Best_Practices.org
-- 
Karl Voit




Re: [O] GNU Emacs crashing on large Orgmode files

2011-10-13 Thread Karl Voit
* Karl Voit  wrote:
>
> On my notebook I am using GNU Linux (Ubuntu 11.04) with GNU Emacs
> 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4). At home I've got
> Mac OS X 10.5 with http://emacsformacosx.com/ (sorry, no detailed
> version number since I am currently sitting in my office *g*).

Here is my GNU Emacs version:
GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) of
2011-03-10 on black.porkrind.org)

-- 
Karl Voit

Hallo, mein Name ist Web 2.0. Gib mir dein Adressbuch und lass mich Emails lesen




Re: [O] Org, Diffs, and Version Control

2011-10-18 Thread Karl Voit
* Dave Abrahams  wrote:
>
> I was wondering what other people do.

I am using http://www.mayrhofer.eu.org/dvcs-autosync for
automatically committing of changes but without activated XMPP sync
feature (so far).

The already mentioned «git diff --color-words» helps me a lot when
examining my git history.

-- 
Karl Voit




[O] Recurring events with exceptions

2011-10-18 Thread Karl Voit
Hi!

I am into a process to write a convert tool from my old calendar
software[1] to Org-mode.

Now I do have to define something like »this event is recurring each
week on Wednesday except 2011-10-26 and 2011-11-30«.

I already know that complex things have to be done using sexp
entries[2] but this does not seem to be possible with sexp either.

Before I do have to develop a method that generates multiple
distinct events for each recurring definition: is there another way
to achieve this?

Thanks!

  1. jPilot/DateBK6/PalmOS
  2. 
http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html
-- 
Karl Voit




Re: [O] Recurring events with exceptions

2011-10-18 Thread Karl Voit
* Brian Wightman  wrote:
> (and (your-sexp-here) (not (except-dates-here)))

Cool, thanks!

Now I still have to think about which method is easier to implement
:-)

-- 
Karl Voit




Re: [O] Recurring events with exceptions

2011-10-18 Thread Karl Voit
* Nick Dokos  wrote:
>
> All you have to do is explicitly exclude the two
> dates. Something like this (lightly tested) should work.  (NB: Wednesday
> = 3 and calendar/diary wants dates as 3-element lists in the form (month
> day year)):
>
> %%(let ((dayname (calendar-day-of-week date)))
>   (and (= dayname 3)
>(not (calendar-date-equal date '(10 26 2011)))
>(not (calendar-date-equal date '(11 30 2011)
>
> I added this to .diary, did M-x calendar RET and marked the entries
> with m: seems to work fine.

Oh, cool. Thanks for the example!

-- 
Karl Voit




[O] Private flag or property

2011-10-20 Thread Karl Voit
Hi!

I am still in the process of converting (lots!) of old data into
Org-mode format.

I stumbled over a private-flag PalmOS datebook used to maintain.

Is there a *common* way of expressing a private flag/property yet?

Or is there no pseudo-standard and I should stick to my «:PRIVATE:
True» property I am thinking of? (Is there a necessity for the
«True» string in my example (property without value)?

-- 
Karl Voit




Re: [O] Private flag or property

2011-10-21 Thread Karl Voit
Hi Eric!

* Eric S Fraga  wrote:
> Karl Voit  writes:
>
>> Is there a *common* way of expressing a private flag/property yet?
>
> Not that I know of.

OK.

>> Or is there no pseudo-standard and I should stick to my «:PRIVATE:
>> True» property I am thinking of? (Is there a necessity for the
>> «True» string in my example (property without value)?
>
> The question is what or how you want to use this flag?  For truly
> private entries, I use encryption, with the :crypt: tag.

I know about the :crypt: tag. Very cool stuff, btw.

For now I am not planning to use the private flag at all. I just
maintained *lots* of data with this private flag information and I
do not want to delete it when converting old PalmOS/jPilot datebook
data to Org-mode files.

-- 
Karl Voit




[O] Sync with Outlook/Exchange (was: Recurring events with exceptions)

2011-10-22 Thread Karl Voit
* Skip Collins  wrote:
> On Wed, Oct 19, 2011 at 6:02 AM, Eric S Fraga  wrote:
>> Yes, I have been informed that we are moving to Outlook/exchange in the
>> new year, something I am dreading...
>
> Lemerre's approach only syncs with the Outlook client, not the
> Exchange server. He suggests using RFC-2446 (iCalendar) as a basis for
> a more general solution. I think that trying to establish a smoothly
> syncing connection between org and exchange by using iCalendar is a
> recipe for frustration. This is mostly because Exchange's
> implementation of the standard is lacking.

Just a side note:

In my opinion, this is a *very important issue* for Org-mode.
Personally I know several people who would love to use
Emacs/Org-mode but are forced to use Outlook because of Exchange in
their office.

Whenever I present Org-mode to a variety of people, the question of
Outlook/Exchange support is one of the first being asked.

For now I am in the lucky position of no dependency to Exchange but I
guess this can change in the future.


PS: Please adopt the subject line to changing subject - especially
for important ones like here. Thanks! :-)

-- 
Karl Voit




[O] Converting DateBk(6)/jPilot data to Org-mode

2011-10-22 Thread Karl Voit
Hi!

After a decade of happily using PalmOS/DateBk (DateBk6) I am
switching my PIM[3] to Org-mode[1]. My vast amount of data is being
converted through jPilot[2] CSV export and self-written Python
scripts.

If someone wants to go the same path, contact me. I am glad to share
my Python scripts. They are currently works-for-me solutions I don't
want to publish (need personal modifications, one-time-shots, German
CSV header, ...). If you are able to program Python a little bit,
these scripts should work well for you too. Even with UTF-8 :-)

  1. http://suderei.supersized.org/archives/168-Org-mode.html
  2. http://www.jpilot.org/
  3. http://en.wikipedia.org/wiki/Personal_information_management
-- 
Karl Voit




[O] How to simply log things

2011-10-22 Thread Karl Voit
Hi!

I do have the requirements to log certain things. Those things are
not regularly and are «triggered» externally. So far I have used
following method:

,
| ** TODO foobar happened
| DEADLINE: <2031-10-05 Sun .+240m -1d>
| :LOGBOOK:
| - State "DONE"   from "TODO"   [2011-10-05 Wed 00:16]
| - State "DONE"   from "TODO"   [2011-09-24 Sat 15:27]
| - State "DONE"   from "TODO"   [2011-09-08 Thu 08:49]
| - State "DONE"   from "TODO"   [2011-08-05 Fri 08:35]
| :END:
| :PROPERTIES:
| :CREATED: <2011-07-12 Tue 14:27>
| :LAST_REPEAT: [2011-10-05 Wed 00:16]
| :END:
`

What it does: whenever I go to this heading and invoke C-c C-t to
set it to DONE, a new line will be created in the LOGBOOK drawer.
This is all I need: a simple timestamp related to a topic/heading.

With the .+240m recurrence definition[1], the TODO basically stays
in my Org-mode file and never shows up in my agenda (which is what I
want to achieve).

Although it works perfectly I got the feeling that this is some kind
of dirty workaround where Org-mode might provide something that is
«cleaner». 

Am I right?

  1. Initially I used .+999m but that exceeded UNIX epoch causing 
 troubles :-)
-- 
Karl Voit




[O] Agenda views w/m: inconsistency, bug

2011-10-23 Thread Karl Voit
Hi!

In short: 

  Personally I do think that org-aganda-week-view[1] and
  org-agenda-month-view behave differently. The first one shows
  today and the upcoming six days whereas the month view shows the
  current calendar month, independent of the current day.

Example problem:

  Last week I started to use calendar export to ics/Google Calendar.
  Therefore I am using org-agenda-month-view to narrow down my data
  that gets exported.  

  If I export my agenda today, I only get about a week of agenda
  days I am interested (upcoming schedule) and more than three weeks
  of agenda days that are of no use for me any more (past).

I propose:

  I'd personally prefer org-agenda-month-view showing today and the
  upcoming 30 days instead.


  1. There is a bug in the documentation btw: instead of
 «org-aganda-week-view» there is «org-aganda-day-view» on
 http://orgmode.org/org.html#Agenda-commands

-- 
Karl Voit




Re: [O] Agenda views w/m: inconsistency, bug

2011-10-23 Thread Karl Voit
Hi Carsten!

* Carsten Dominik  wrote:
>
> You get this view for the weekly agenda only because
> org-agenda-start-on-weekday is nil.  You can set it to 1 to
> make the week agenda start on Monday and then be consistent with
> the monthly view.

Oh, I see.

> You are looking for a view that covers 30 days.
> The view you are requesting can be made with
>
> C-u 30 C-c a a
>
> or with a simple custom command that sets
> org-agenda-span to 30 in the options section
> of the command.

Perfect! Thank you very much!

That leaves just for the bug that «org-aganda-day-view» should be
replaced by «org-aganda-week-view» one time at
http://orgmode.org/org.html#Agenda-commands

-- 
Karl Voit




[O] ELISP (was: Agenda views w/m: inconsistency, bug)

2011-10-23 Thread Karl Voit
* Carsten Dominik  wrote:
>
> You are looking for a view that covers 30 days.
> The view you are requesting can be made with
>
> C-u 30 C-c a a
>
> or with a simple custom command that sets
> org-agenda-span to 30 in the options section
> of the command.

I am (almost) to afraid to ask here (OT, newbee, ...):

For now I used:

,[ from my .emacs ]
| (defun vk-export-agenda()
|   "Exports monthly Org-mode agenda to agenda.ics file"
|   (interactive)
|   (org-agenda-list)
|   (org-agenda-month-view)
|   (org-write-agenda "~/org-mode/agenda.ics")
| )
`

I tried by myself but failed miserable. How can I add this
org-agenda-span to this function definition?

And: is there an (E)LISP book/URL you can recommend? I do have
programming experience and I noticed that I should learn ELISP in
order to get most of my editor ...

Thanks again in advance!

-- 
Karl Voit




[O] Querying Org-contacts with lbdb (e.g. for mutt)

2011-10-25 Thread Karl Voit
Hi!

I want to share a solution that allows lbdb[1] queries return
Org-contacts[2] email addresses. The solution is done by Russell
Adams who encouraged me to post it here because he did only mention
it in [3] but did not post the results yet. I took Russells solution
and modified it to be of more general use and added a few comments
in the Perl script.

If you are interested in my personal approach for managing contact
information with Org-contacts, please refer to [4].

The set up requires three things:

  1. configuration file .lbdbrc (usually in ~ or ~/.lbdb/)

 - add «m_orgcontact» to the variable «METHODS»
 - add «$HOME/.lbdb/modules» to the variable «MODULES_PATH»

 ,[ example lines ]
 | METHODS="m_orgcontact m_muttalias m_inmail"
 | MODULES_PATH="/usr/lib/lbdb $HOME/.lbdb/modules"
 `

  2. ~/.lbdb/modules/m_orgcontact (just a small interface to connect
 lbdb to the script)

 ,[ m_orgcontact ]
 | #!/bin/sh
 |
 | m_orgcontact_query()
 | {
 | ${HOME}/.lbdb/modules/orgcontact.pl $1
 | }
 | #end
 `

  3. ~/.lbdb/modules/orgcontact.pl (the actual script that queries)

 See below footnotes for the whole script.

  1. http://www.spinnaker.de/lbdb/
  2. http://julien.danjou.info/org-contacts.html
  3. http://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg00459.html
  4. http://article.gmane.org/gmane.emacs.orgmode/47478/

 ~/.lbdb/modules/orgcontact.pl --
#!/usr/bin/env perl

use strict;
use warnings;

## FIXXME: error handling when no argument is given (though unlikely)

$/="\n*";  ## split between Org-mode headings (i.e. newline followed by 
asterisk)

## the path to your Org-contacts file:
my $orgmodefile=$ENV{"HOME"} . "/share/all/org-mode/contacts.org";

open(MYFILE,$orgmodefile);
my @rawcontacts = ;  ## read in whole contact file, heading by heading
close(MYFILE);

$/="\n";   ## reset split string to newlines (only)

foreach (@rawcontacts) {
  if ( $_ =~ m/$ARGV[0]/i ){  ## ARGV[0] is the query string

my $name;

foreach (split("\n",$_)) {  ## go through it line by line

  # The first line consists of the contact name (followed by tag(s))
  unless (defined $name) {
$name = $_;
$name =~ s/^\*+\s(.*)\s+:\S+:.*$/$1/g;  ## extract string between 
asterisks and tags
  }

  # if (m/^\s+:.*EMAIL.*:/i) {
  if (m/^:EMAIL:/i) {  ## for each property «:EMAIL:» print out result
my $email = $_;
$email =~ s/^:\S+:\s+(\S+)/$1/g;
$email =~ s/\s*$//;

printf("%s\t%s\t(Org)\n", $email, $name);

  }

    }

  }

}

-

-- 
Karl Voit




[O] OT: syncing computers with git (was: Best way to set up Org mode with MobileOrg over Dropbox)

2011-11-04 Thread Karl Voit
* Gregor Kappler  wrote:
>
> I am using git to sync several laptops and Desktop computers.
>
> Every 5 minutes a cronjob runs a shell script that automatically runs
> =git pull= -- and =git add= on org files as well files listed in the
> =.gitcroncommit= file.  The commit message is comprised of the filenames
> of all changed files as well as a prefix for detection in git logs
> ("cron autocommit", parameterized) and the hostname.
>
> The auto commit is performed only if
>  - no files have been staged manually.
>  - git is in the auto branch (where mine is always). This prevents
>cluttering the git history of the master branch.

If you want to switch from a pulling to an interrupt system, you
might be interested in http://www.mayrhofer.eu.org/dvcs-autosync

-- 
Karl Voit

Hallo, mein Name ist Web 2.0. Gib mir dein Adressbuch und lass mich Emails lesen




[O] Todo balance motivation

2011-11-07 Thread Karl Voit
Hi!

I am using a shell script to generate a simple todo overview
showing these information:

,[ results of today and yesterday ]
| vk@gary ~all/org-mode (git)-[master] % ./vkorgtaskratio.sh
| 2011-11-07:   3 created  -  7 done  =  -4  sum
| Congratulations!  More solved than generated!
| vk@gary ~all/org-mode (git)-[master] % ./vkorgtaskratio.sh 2011-11-06
| 2011-11-06:   4 created  -  0 done  =  4  sum
| Sorry, you still have to solve 4 issues to get even!
| vk@gary ~all/org-mode (git)-[master] %
`

My general goal ist to close more issues than open new one per day.

Is this kind of functionality available in Org-mode somewhere or
should I stick to my script?


To all those who want to use my script:

,[ vkorgbalance.sh ]
| #!/bin/sh
|
| FILEPATTERN="*org *archive" ## which files to search in
| ORGMODEDIR="~/share/all/org-mode/"  ## where org-mode files life
|
| if [ "${1}x" = "x" ]; then
| ## set day to today
| DAY=`date +%Y-%m-%d`
| else
| ## using $1 as daystamp
| DAY="${1}"
| ## FIXXME: add check, if $1 is a valid daystamp
| fi
|
| cd "${ORGMODEDIR}"
| created=`egrep ":CREATED: .${DAY}" ${FILEPATTERN}|wc -l`
| closed=`egrep "CLOSED: .${DAY}" ${FILEPATTERN}|wc -l`
| sum=$(($created-$closed))
|
| echo "${DAY}:   ${created} created  -  ${closed} done  =  ${sum}  sum"
|
| ## generating the motivation messages
| if [ "${sum}" -lt 0 ]; then
| echo "Congratulations!  More solved than generated!"
| else
| echo "Sorry, you still have to solve ${sum} issues to get even!"
| fi
|
| #end
`

-- 
Karl Voit




Re: [O] [OT] Scanning for archiving

2011-11-07 Thread Karl Voit
Hi!

Inspired by «Total Recall»[3], a book of two MS Research guys, I
started life logging on my own two months ago.

For this purpose I bought an HP OfficeJet Pro 8500A Plus which costs
€ 250 and has a decent scanner. Is can scan and print full duplex.
The scanner as a 30 page ADF which is quite reliable when the paper
was not bend or stapled before.

* Pieter Praet  wrote:
>
> Using PDF for scanned documents results in *huge* files with a seriously
> disappointing image quality.  

I can not copy that at all:

,
| vk@gary ~2d % l 2011-11-02_13-22-45.png
| -rw--- 1 vk vk 103150 2011-11-02 13:22 2011-11-02_13-22-45.png
| vk@gary ~2d % convert 2011-11-02_13-22-45.png 2011-11-02_13-22-45.pdf
| vk@gary ~2d % l 2011-11-02_13-22-45.pdf
| -rw-r--r-- 1 vk vk 96457 2011-11-07 18:12 2011-11-02_13-22-45.pdf
| vk@gary ~2d %
`

In this example, the compression of PDF is much better than the
original PNG one. PDF is only a container format.

> Consider storing your scans in DjVu format
> [1], which was developed specifically for this purpose.

PDF is a common standard whereas DjVu is something I - as an
advanced computer user - never faced before in real life. I am not
sure whether any of my computers can handle DjVu files at all.

The goals of DjVu sound great but I get everything with PDF too.
Although I like the idea of OGG Vorbis, I re-ripped all my CDs using
mp3 again because I could not use many music devices or music
management software packages.

I stick to the format *any* computer can handle without special
software products. And I do think that I get a higher chance of
being able to read my documents twenty years from now.

For scanned images I'd prefer PNG instead but the OS X Software of
my OfficeJet offers me the ability to generate PDF files where an
OCR software adds a searchable text layer above the scanned text.
This is *very* important to me since I am able to do full text
search on the content of my archived documents.

And I plan to archive *all* of my documents. Really all of them.

Storage space does not matter (any more) to me since I have more
disk space now already than I could possible fill with my lifetime
paper correspondence. And I do think that my disk space continues to
grow in future.

> I scan all docs @ 600dpi, predominantly gray-scale (only in colour when
> it's *really* necessary) and store in DjVu format, all using gscan2pdf [2].
>
> Even at that seemingly overkill resolution, single-page documents are
> generally (if they aren't too "grainy") only a few 100 KiB in size.

My HP software uses 300 dpi per default and it is OK to me too.

Funny side fact: grayscale scan document settings produces slightly
larger files than colored ones.

> gscan2pdf also supports a number of OCR utils, but the UI for this is
> clumsy (aren't they all...), so you're better off using the CLI tools
> directly.  Tesseract is recommended.

I played around with ocropus, tesseract, ocroscript, hocr2pdf,
exactimage, ppa:gezakovacs/pdfocr, ... to generate those sandwitch
PDF documents (OCR text above the scanned images) on GNU/Linux.
Unfortunately none of those (very cool projects) produced reliable
results on my side. The results vary from «no error but overlay font
size is incorrect and produces loss of layout» to «library error
messages I can not read or handle». 

Whereas the HP OfficeJet bundles its OS X software with OCR from
Readiris which produces perfect results even in different languages
and using a usable user interface.

> NOTE: When attempting something like this, a fast scanner with a *reliable*
> automatic document feeder will help prevent premature hair loss ;)

I have found several scanner products I was interested in:

"Canon imageFORMULA P-150": very small form factor with basic Linux
support. Price tag starts with € 260. Neat form factor and very
portable. Different version "P-150m" for Mac OS X.

The authors of [3] use Fujitsu ScanSnap starting at € 400.

I ended up with the Office Jet Pro (mentioned above) at € 250
because I got flatbed scanner *and* ADF-scanner *and* a
full-duplex/full-color network printer with a very good
price-per-printed-page-ratio (better than many laser printers!). And
all of this with a cheaper price tag than any scan-only-product I
was interested in.

So far I am almost satisfied. «Almost»? Well, HP did a good job with
this printer but they made only a 90% solution on almost all levels.
Whereas 100% would be possible with small additional effort when
creating the printer. But those resulting 90% are pretty usable.

  3. http://qr.cx/sAHU
-- 
Karl Voit




Re: [O] [OT] Scanning for archiving

2011-11-09 Thread Karl Voit
(I enjoy the OT discussion here and hope that no one gets upset
because of it on this ML ...)

* Pieter Praet  wrote:
> On Mon, 7 Nov 2011 18:44:24 +0100, Karl Voit  wrote:
>> Hi!
>> 
>> Inspired by «Total Recall»[3], a book of two MS Research guys, I
>> started life logging on my own two months ago.
>
> Dammit, that's been on my reading list for almost 2 years now, and
> *still* it isn't available in ebook format.  One would think they'd walk
> their talk [1], no?

I personally do not want to read a book other than on paper - for
now. Annotating, highlighting and placing different kind of
postit-marks still does not have its digital representations I would
like to see :-(

I recommend [1] mainly because of its chapters upon how to start and
best practices. Previous chapters are future visions and motivation
I do think that we do not need (any more).

Besides the fact that the raw paper cut offers horrible handling
usability it is quite easy and fast to read.

>> | -rw--- 1 vk vk 103150 2011-11-02 13:22 2011-11-02_13-22-45.png
>> | vk@gary ~2d % convert 2011-11-02_13-22-45.png 2011-11-02_13-22-45.pdf
>> | vk@gary ~2d % l 2011-11-02_13-22-45.pdf
>> | -rw-r--r-- 1 vk vk 96457 2011-11-07 18:12 2011-11-02_13-22-45.pdf
>
> The conversion to PDF has indeed reduced the filesize, but not for the
> reasons you might think: If you don't explicitly provide ImageMagick's
> `convert' with a compression level (`-quality' option), it will use a
> default of 75%.  Thus I (perhaps incorrectly) infer that you've just
> lost 25% of the image quality for a meager 7% reduction in filesize.

Ah, thanks for the clarification! This is indeed interesting fact.

Still: I did never recognize any problem with the 75% result though
:-) It is clearly readable and zoomable on screen and produces very
good results when printed out again.

> The real issue is that most folks use their scanner software to save
> directly to PDF, and for some reason, scanner software (especially the
> proprietary variety) predominantly uses JPEG compression as default when
> saving to PDF.

OK, this is interesting (again). So I took a closer look on the
result files my HP OfficeJet is producing when I scan to PDF.

«pdfimages» and «file» shows me that in the PDF files there are
embedded «Netpbm PPM "rawbits" image data» image files.[6] Another
format I was not confronted with until now.

Seems to be a pixel-based compressed and standardized format. This
is fine to me so far. JPEG would be horrible ...

> JPEG was developed for storing images ...

Part of my job was to explain first term students the difference,
advantages and disadvantages regarding to file formats like JPEG and
PNG. I can tell stories ...

> You're using PNG compression though, so the whole JPEG deal doesn't apply.

Oh, this was just an example of how «convert *png *pdf» reduces file
size. (Which was corrected by you.)

I usually scan directly into «searchable PDF» which the HP Scan
offers me. My OfficeJet even allows me to simply put pages onto the
ADF, press (more) buttons (than necessary) on the printer itself and
without any further interaction, the searchable PDF files are placed
into a folder of my choice, using my file name convention containing
a time stamp of the scan process. This is kinda neat :-)

So I do not even need to turn on my TFT for scanning stuff. (My Mac
Mini is on 24/7 anyway.)

> So, that just leaves the neverending stream of PDF security issues :)

I do not publish blacked out PDF files. Or do you mean something
else? 

There is no security related issue that worries me for now. I have
to protect my data anyhow from being accessed by anyone else,
independent of the file formats.

>> > Consider storing your scans in DjVu format
>> > [1], which was developed specifically for this purpose.
>> 
>> PDF is a common standard whereas DjVu is something I - as an
>> advanced computer user - never faced before in real life. I am not
>> sure whether any of my computers can handle DjVu files at all.
>
> How about the Million Book Project / Universal Digital Library [2] ?

Well they are that big that they could even use a proprietary format
on purpose too. With valid arguments. They have different
requirements than I have.

> Even though every computing device is most likely to support PDF, their
> collection is only available in TIFF and DjVu format.

TIFF is a perfectly wide spread standard I would choose for
uncompressed raw data to store to. The automotive industry here is
using TIFF images for many purposes outside of CAD design. I would
not choose TIFF for long time archive format for my personal data.

> I'm guessing ISO standardization will be only a matter of time.

Hope so. Looks like a promising format.

>> Although I like the idea of OG

Re: [O] [OT] Scanning for archiving

2011-11-09 Thread Karl Voit
* Karl Voit  wrote:
>
> Inspired by «Total Recall»[3], a book of two MS Research guys, I
> started life logging on my own two months ago.
>
> For this purpose I bought an HP OfficeJet Pro 8500A Plus which costs
> € 250 and has a decent scanner. Is can scan and print full duplex.
> The scanner as a 30 page ADF which is quite reliable when the paper
> was not bend or stapled before.

Addendum: I just ordered a ScanSnap S1500M[4] which was also used by
the authors of «Total Recall». The HP OfficeJet Pro ADF is OK for
occasional scanning. For big scan jobs, the HP Scan software as well
as the ADF reliability is not sufficient I am afraid. Approx. 15-20%
of the pages are not scanned because of multiple pages were scanned
at once. The HP Scan software is not very user friendly: no
visualization of the total sum of scanned pages per job, no
auto-correction of scan skew, no auto delete of empty pages, far too
few keyboard shortcuts for basic functions, ...

Reading quite some product reviews I am confident that the ScanSnap
is able to provide a more reliable and easy to use scan experience
for large scan jobs.

After I scanned all of my current papers, I will probably sell the
ScanSnap and use the scanner of the OfficeJet Pro again.

  4. http://scanners.fcpa.fujitsu.com/scansnapit/scansnap-s1500m.php
-- 
Karl Voit




[O] Minimal overhead Org-mode blogging system

2011-12-04 Thread Karl Voit
Hi!

I got a nice idea on how a very easy to use Org-mode blog system
should look like.

Currently, I am using Serendipidy with web-based editor to write
HTML. Org-mode enabled me to write blog entries and export it to
HTML. Then I paste the HTML and have to modify minor things (images,
...) a bit. I guess the time from finishing the Org-mode entry to
the final blog entry is approximately ten to twenty minutes.

Overall, I do not want to do this process when I just want to
quickly write a view paragraphs within a couple of minutes. I need
a workflow with much less annoying overhead.

Therefore I sat down and thought about a workflow that should be
enough for writing simple weblog entries:

  - create an Org-mode heading (anywhere!)
  - make sure that there is an (uniq) :ID: property
  - add the tag :blog: to heading
  - 
  - change state of top-heading to DONE
- this enables blog entries «in the queue»
  - (manually) invoke generation-script

This enables me quick blogging with a list of advantages:

  - a blog entry can be located anywhere in all of my Orgmode files
  - no extra formatting steps
  - very small (almost non-existent) overhead to create a blog entry
  - no duplicate information
- updates only in Orgmode, not HTML or any in-between format
  - static (fast) pages
  - self-hosting without any fancy services behind like RDBS

What do you think of my ideas so far?


Of course, I looked into existing solutions and found those:

  - http://orgmode.org/worg/org-blog-wiki.html
- cool overview page for various solutions
  - http://orgmode.org/worg/blorgit.html
- pretty complex set up :-(
- I do not need a web-interface to edit Org-mode files
- seem to have «different» use cases
  - http://orgmode.org/worg/org-tutorials/org-jekyll.html
- uses HTML as in-between format; seems to provide many error
  possibilities(?)
- converting whole files only (not desired)
- have to try it someday
  - http://emacs-fu.blogspot.com/2009/05/writing-and-blogging-with-org-mode.html
- uses only HTML export
  - http://blog.herraiz.org/archives/241
- uses only HTML export
  - https://github.com/chrismgray/ikiwiki-org-plugin
- promising but only one part of a possible solution

So nothing offers the features and small footprint as my idea above
:-(


With some prerequisites, it should not be that hard to even
implement it by myself:

  - usage of only very basic markup
- paragraphs (p)
- headings (h1..n)
- http-references (a href)
- lists (ul)
- images (img)
- quote (verbatim)

Still there are some open issues:

  - comments
- simplest form: generate unique Email link and add at bottom
  - very easy to be done for catch-all MTAs
  - automatically derive whitelist for MTA to avoid old spam
- simple HTML form
  - POST to script, adding comment to my inbox.org (containing
link to ID)
- disqus: I do not want to outsource comment hosting :-(
  - how to include and format graphics?
- sometimes, I e.g. want to have an image aligned right with text
  flowing around it
  - probably: usage of in-between format like ikiwiki
- Orgmode syntax -> ikiwiki markup (markdown?) -> usual
  ikiwiki-workflow
  - should be not much effort since prerequisites limit to few
markup things
- benefits from not having to re-implement many things
- in-between-format HTML (like Manoj uses) is way too complicated
  causing misc potential error sources

The basic script workflow is not that complicated:

  - find all headings with state DONE and tag :blog:
- optionally: add all other tags starting with "blog-" as blog tags
  - one entry starts at such a heading until EOF OR same or less level
heading is found
  - compare raw text and IDs with last run
- known ID, raw text unchanged: ignore, no change
- new ID
  - generate new blog entry
- extract -MM-DD from LOGBOOK-drawer (first *->DONE transformation)
- generate /MM/DD-folder structure in blog accordingly
- generate sanitized blog title as file name
- known ID, raw text differs
  - generate update of existing entry
- add "(Update n)" (with n is the n-th update) to entry title
  - optionally: add this also to URL
- disadvantage: broken old URLs
- advantage: URL reflects update state
  - on any activity:
- re-write RSS feed for last n entries
- optionally: generate overview page for last n entries
- optionally: generate calendar archive page(s)
- optionally: generate tag overview page(s)


-- 
Karl Voit




Re: [O] Minimal overhead Org-mode blogging system

2011-12-07 Thread Karl Voit
* Puneeth Chaganti  wrote:
> On 12/4/11, Karl Voit  wrote:
>>
>> Therefore I sat down and thought about a workflow that should be
>> enough for writing simple weblog entries:
>>
>>   - create an Org-mode heading (anywhere!)
>>   - make sure that there is an (uniq) :ID: property
>>   - add the tag :blog: to heading
>>   - 
>>   - change state of top-heading to DONE
>> - this enables blog entries «in the queue»
>>   - (manually) invoke generation-script
>>
>> This enables me quick blogging with a list of advantages:
>>
>>   - a blog entry can be located anywhere in all of my Orgmode files
>>   - no extra formatting steps
>>   - very small (almost non-existent) overhead to create a blog entry
>>   - no duplicate information
>> - updates only in Orgmode, not HTML or any in-between format
>>   - static (fast) pages
>>   - self-hosting without any fancy services behind like RDBS
>
> I have a system, that does most of what you are looking for.
>
> https://github.com/punchagan/blog-files

... I really do like your blog (and found several very interesting
entries *g*) but I (can not and) do not want to use Wordpress.

Quickly overlooking your system, so far I could not copy most of my
steps of my wishful workflow in your solution :-(

Maybe I find time to implement the system described by me (in Python
and probably using ikiwiki as in-between-format) next summer or so.

-- 
Karl Voit




Re: [O] Minimal overhead Org-mode blogging system

2011-12-08 Thread Karl Voit
* Puneeth Chaganti  wrote:
> Hi Kurt,

Almost :-)

> On Thu, Dec 8, 2011 at 6:01 AM, Karl Voit  wrote:
>> * Puneeth Chaganti  wrote:
>>>
>>> https://github.com/punchagan/blog-files
>>
>> ... I really do like your blog (and found several very interesting
>> entries *g*) but I (can not and) do not want to use Wordpress.
>
> I'm sorry that the repository doesn't have a README, 

You have to add a README.org to the project - it's definitely worth
it :-)

I'd wish for a short description of:
* software requirements
* blog workflow
* limits

It's part of my letter to Santa Claus already *g*

> but this solution doesn't use Wordpress. 

Oh. Sorry, I read something about Wordpress in the workflow in one
of your blog posts. Must have been an older article then.

> It basically uses the publishing mechanism of org-mode and is
> based on ideas (and code) from org-jekyll and reprise.py
> (https://github.com/uggedal/reprise).

So I guess I have to try it by myself in order to estimate its value
to my requirements.

Thanks anyway!

-- 
Karl Voit




Re: [O] Minimal overhead Org-mode blogging system

2011-12-08 Thread Karl Voit
* Puneeth Chaganti  wrote:
> On Thu, Dec 8, 2011 at 7:49 PM, Karl Voit  wrote:
>> * Puneeth Chaganti  wrote:
>>> Hi Kurt,
>>
>> Almost :-)
>
> Aarrgggh! Really sorry about that! My sleep deprivation showing it's effect. 
> :-)

*g* No worries. I by myself mix up names all the time.

>>>> * Puneeth Chaganti  wrote:
>>>>>
>>>>> https://github.com/punchagan/blog-files
>>>>
>> You have to add a README.org to the project - it's definitely worth
>> it :-)
>
> I've added a short README that tries to include the things that you
> are looking for.  But, it's something I wrote up quickly.  Feel free
> to ask any specific questions.

Quickly reading your README.org already gives me *way* more ideas on
how your system works! Thank you *very* much for that. 

Now I know that I definitely have to set up a test installation of
your system since it sound really close to my imaginary optimum
solution.

-- 
Karl Voit




[O] Defining dependencies (was: What do you use to identify projects (in the GTD sense))

2011-12-15 Thread Karl Voit
* Viktor Rosenfeld  wrote:
>
> * TODO Project
> ** TODO Subproject A
> *** NEXT Task A1
> *** TODO Task A2
> ** NEXT Task B
> ** TODO Task C
> ** TODO ...
>
> Task B and C have to be done in order. However, Subproject A is somewhat
> independent and can be done in parallel, while working on Task B and C.
>
> When I mark Task B as DONE, the Project is still unstuck because of the
> a NEXT task in Subproject A. Meaning that I never get to schedule Task C
> or any following tasks until I'm done with Subproject A.
>
> One solution to this problem would be to trigger a state change in Task
> C automatically when Task B is done. But I'm afraid that is too much
> setup and also not flexible enough. 

I had no trouble to set up this using the examples from
http://doc.norang.ca/org-mode.html and
http://orgmode.org/worg/org-contrib/org-depend.html

With org-depend you can also use another method to overcome this
problem:

** NEXT Task B
   [...]
   :ID: mytaskB
   [...]

** NEXT Task C
   [...]
   :BLOCKER: mytaskB
   [...]

I am not using stuck project information (yet) but this does not
show Task C on my agenda at least. Which is quite nice since it is
way more flexible and can be used in a broader way.

-- 
Karl Voit




Re: [O] How to define a start date for a task?

2011-12-17 Thread Karl Voit
* Karl Maihofer  wrote:
>
> when I used Omnifocus for my task management I made heavy use of 
> start dates to keep unavailable 
> tasks from my tasks lists. If you for example create a task 
> "Buy new DVD" this task should not be shown in 
> your lists until the DVD is published and available.

Three things I am using can help you:

1) Use warning periods together with DEADLINE or SCHEDULED: «You can
specify a different lead time for warnings for a specific deadlines
using the following syntax. Here is an example with a warning period
of 5 days DEADLINE: <2004-02-29 Sun -5d>.»

2) Use http://orgmode.org/org.html#TODO-dependencies

3) http://orgmode.org/worg/org-contrib/org-depend.html

-- 
Karl Voit




[O] Referencing elemts of a table

2011-06-07 Thread Karl Voit
Hi!

I want to define "orgtblB line 2 (row 1 to 6)" should contain the
values "from orgtblA, last line, row 2 to 7".

I tried

#+TBLFM: @2=remote(orgtblA,@2$2..@2$7)

and 

#+TBLFM: @2$1..@2$6=remote(orgtblA,@2$2..@2$7)

but that results in a list of 6x 5 values in each field in row 2.

Here is an example of my org-tbl-reference-problem:
http://paste.grml.org/462/

Thanks for your help!

-- 
Karl Voit




Re: [O] Referencing elemts of a table

2011-06-08 Thread Karl Voit
* Michael Brand  wrote:
> Hi Karl
>
> You need additionally $# from "Field coordinates in formulas" described here:
> http://orgmode.org/manual/References.html#References
> and Calc vector subscript:
> #+TBLFM: @2 = subscr(remote(orgtblA, @2$2..@2$7), $#)

This was the thing I was missing! Thank you!

But on the page of the URL mentioned above there is nothing
related to »subscr« at all. Is there a more verbose reference I do
not know yet?

-- 
Karl Voit




Re: [O] Time-proportional agenda view

2011-06-15 Thread Karl Voit
* Jacek Generowicz  wrote:
> Hello,

Hi!

> When viewing the agenda, I would like to get an immediate visual clue
> about the time-span of entries. 

I'd like to have more visual clue too.

> For example, if I have the following items
>
> * Boring meeting
>  <2011-06-15 Wed 08:00>--<2011-06-15 Wed 13:00>
> * Lunch with mistress
>  <2011-06-15 Wed 13:00>--<2011-06-15 Wed 14:00>

What about additionally having:
* Telephone call customer
  <2011-06-15 Wed 12:00>--<2011-06-15 Wed 13:30>

>  8:00.. 
>  9:00-13:00 Boring Meeting
> 10:00.. Boring Meeting
> 11:00.. Boring Meeting
> 12:00.. Boring Meeting
> 13:00-14:00 Lunch with mistress

How to visualize overlapping things? Not that easy without those
boxes the usual calendar app has. What are you thinking here?

My first quick idea (hack) for this problem:

  8:00.. 
  9:00-13:00 # Boring Meeting
 10:00.. #
 11:00.. #
 12:00-13:30 ## Telephone call customer
 13:00-14:00 ## Lunch with mistress

Those «#» characters visualize the number of parallel items.

Besides implementation difficulties: how would you like to see this
situation in your agenda view? Do you have a better idea?

Or is there a chance of having some ASCII-art boxes for
time-spanning entries?

-- 
Karl Voit




[O] Org-mode is not able to manage complex calendar events (was: org and microsoft exchange)

2011-06-20 Thread Karl Voit
* Eric S Fraga  wrote:
>
> In my case, it's more about calendar events than tasks.  My tasks are
> typically for my information only but meetings etc involve multiple
> people.

IMHO: Org-mode does *not* seem to be made for managing calendar
events that go beyond simple one-time-occurrence events. but you
*have* to support at least the same featureset of Outlook Calendar
in order to think of a (two-way-) sync mechanism to Org-mode.

Yes, there is this sexp-workaround[1] for more complex things but
quite frankly: this is not an option for the ordinary user like me
(not having that much ELISP knowledge).

And even with sexp, you can not map recurring events with
exceptions, irregular recurring events, and so forth.

For me as a relatively newbee (related to Emacs and Org-mode) it is
clear that I can not move my current calendar environment to
Org-mode. Unfortunately.

So far, I do have my old calendar setup (in JPilot/PalmOS) and
additionally my task-only-related calendar in Org-mode.

But I'd love to see an advanced and easy to use calendar environment
in Org-mode!

I love Pimlical[2] and its DateBk6 for PalmOS in terms of: easy to
use, very flexible, able to map all kinds of complex requirements,
...

  1. 
http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html
  2. http://www.pimlicosoftware.com/
-- 
Karl Voit




Re: [O] Org-mode is not able to manage complex calendar events

2011-06-20 Thread Karl Voit
* Eric S Fraga  wrote:
> Karl Voit  writes:
>
>> IMHO: Org-mode does *not* seem to be made for managing calendar
>> events that go beyond simple one-time-occurrence events. 
>
> I would argue that this is not at all the case, especially if you
> consider that org uses a tree hierarchy and tags so that one can group
> separate entries in a variety of ways, 

This is fore sure a big advantage of Org-mode!

> you can clone with time shift whole trees, etc.  

Oh, I have to look up that clone thing. This is new to me. Do you
happen to have an URL for this feature by instance?

> Most calendar tools require you to specify all the
> conditions for a particular "event" in one go whereas with org you can
> have a number of different entries for the same "event"... etc.

Full ack.

> Also, with sexp, you can manage practically anything you might like
> although, of course, it does require learning a certain amount of
> elisp.  Recurring events with exceptions are not a problem, for
> instance.

I'd consider myself tech-savvy. But without having learned (E)LISP
(yet), I can not use sexp-entries without reading a manual each time
I want to use it. This is nothing I'd consider for normal users or
daily use. It's not that end-user friendly (when you consider
end-users as users without ELISP knowledge).

For ELISP hackers this might work! But I am not sure how much
percentage of Emacs/Org-mode users actually learned ELISP.

And learning ELISP just to be able to write down a recurring event
seems «strange» to me.

> In any case, as always with computer tools, what works for you is what
> matters!  

Full Ack.

> For me, org is just plainly much more suitable for my mode of
> working; every other calendar system I have tried has constrained me
> much more.  But that's *me*.

This holds for most of the calendar systems out there, I totally
agree.

(This is why I still carry around my old PalmOS-PDA together with my
highly sophisticated Android smartphone...)

>> but you *have* to support at least the same featureset of Outlook
>> Calendar in order to think of a (two-way-) sync mechanism to
>> Org-mode.
>
> I guess this depends on what types of events you are likely to
> have in the outlook calendar.  In my case, only a small feature
> set is likely necessary (mostly repeating lectures and one off
> meetings) so a sync should be possible.  I don't think anybody is
> proposing a full-blown totally automatic sync mechanism between
> org and Outlook (or whatever) that covers the union of the two
> products' feature sets...  insanity lies in that direction ;-)

Sorry, I might have exaggerated a bit.

But since I was implementing a one-way-sync mechanism between two
different calendar systems I got a pretty good feeling of how
different you can define the very same thing. Recurring events with
exceptions is quite common but very hard to sync between different
systems! And I am sure that this is not the only example of «being
common and hard to do».

> But I'll worry about this later this year when forced to use MS...

Oh, sorry to hear about that :-(



For ELISP-hackers out there: is this hard to do? A method which
can be called «generate a series of Org-mode time stamps starting
with $THIS_TIMESTAMP_CONTAINING_REPEATS up to $THIS date». 

I could think of generating such a series of <2011-06-22 Wed>
<2011-06-29 Wed> ... just to be able to see all occurrences of an
event and delete one specific event in between if necessary. This
would ease exceptions for «ordinary» users like me.

-- 
Karl Voit




Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Karl Voit
* Eric S Fraga  wrote:
> Karl Voit  writes:
>
>> * Eric S Fraga  wrote:
>>> you can clone with time shift whole trees, etc.  
>>
>> Oh, I have to look up that clone thing. This is new to me. Do you
>> happen to have an URL for this feature by instance?
>
> ,[ org-clone-subtree-with-time-shift ]
>| ...
> `

Wow, this is *great* news to me, thanks!

Although this is mentioned in chapter 2 of the Org-mode manual, I
strongly urge to mention this in section 8.3.2 «Repeated tasks»[1]
too!

Where can I place this wish?

> Sure; elisp is non-trivial.  Point taken!

Thanks :-) The resulting problem is that things I can only express
using sexp is non-trivial too.

I'd be glad to see something like this:

   * Event <2011-06-21 Tue +1w> <-2011-06-28 Tue>

... which lets me express an exception (each tuesday starting with
today but not next week) in an easy to use way.

> If there's any complaint one might have about org, is that it can
> be used for so many different tasks (calendar, task management,
> document preparation, etc.)  that it can be overwhelming.  

Agree. But I'd consider the calendar use-case as the worst supported
usecase in this list. I have seen the talks of Carsten Dominik and
AFAIR he clearly says that Org-mode's focus is task oriented and not
calendar oriented.

> Think of one of those very large swiss army knives where
> you can spend minutes just trying to find the right "blade" ;-).  But
> I'm not complaining! :->

:-) Me too *g*

> In any case, the org manual, the org web site and Worg, not to mention
> this mailing list, provide a wealth of information and use cases.

I love the documentation of Org-mode - it's pretty good!

>> For ELISP-hackers out there: is this hard to do? A method which
>> can be called «generate a series of Org-mode time stamps starting
>> with $THIS_TIMESTAMP_CONTAINING_REPEATS up to $THIS date». 
>>
>> I could think of generating such a series of <2011-06-22 Wed>
>> <2011-06-29 Wed> ... just to be able to see all occurrences of an
>> event and delete one specific event in between if necessary. This
>> would ease exceptions for «ordinary» users like me.
>
> See above;  I use org-clone-subtree-with-time-shift for setting up, for
> instance, the lectures I have to give in a teaching term.  I set up the
> initial lectures for each relevant day in the week and then clone the
> subtrees, removing any exceptions (reading/study weeks, say) afterwards.

Sure, org-clone-subtree-with-time-shift is very cool indeed. But it
goes in this direction:

* Event <2011-06-21 Tue>
* Event <2011-06-28 Tue>
* Event <2011-07-05 Tue>
* Event <2011-07-12 Tue +1w>

But I aim in a slightly different direction:

* Event
<2011-06-21 Tue>
<2011-06-28 Tue>: additional note
<2011-07-05 Tue>
<2011-07-12 Tue +1w>

The latter one works pretty well and keeps my Org-file more clear.

So org-clone-subtree-with-time-shift is helping a lot for the upper
method but my personal preference would be the second example.

Is there already any solution to this too?


  1. http://orgmode.org/org.html#Repeated-tasks
-- 
Karl Voit




Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Karl Voit
* Rémi Vanicat  wrote:
> Karl Voit  writes:
>
>
>> Sure, org-clone-subtree-with-time-shift is very cool indeed. But it
>> goes in this direction:
>>
>> * Event <2011-06-21 Tue>
>> * Event <2011-06-28 Tue>
>> * Event <2011-07-05 Tue>
>> * Event <2011-07-12 Tue +1w>
>>
>> But I aim in a slightly different direction:
>>
>> * Event
>> <2011-06-21 Tue>
>> <2011-06-28 Tue>: additional note
>> <2011-07-05 Tue>
>> <2011-07-12 Tue +1w>
>
> I would use standard Emacs edit command to go from the first form to the
> second one: a keyboard macro or rectangle edit.

This is my current workaround, yes.

But it's a bit annoying because usually I do not start with:

* Event <2011-07-12 Tue +1w>" 

... but rather with something like:

* Event <2011-06-21 Tue +1w>
:PROPERTIES:
:CREATED: <2011-06-21 Tue 18:40>
:END:


And then the whole properties-drawer followed by the empty line gets
cloned too which is not so easy to be modified by a simple rectangle
operation alone.  I'll have to look into Emacs keyboard macros
(since I did not use them for nearly a decade). 

But if this is something a lot of people are aiming to, it might be
a cool idea to provide a not-so-workaround solution :-)

If not, I'll go for a works-for-me solution.

-- 
Karl Voit




Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Karl Voit
* Eric S Fraga  wrote:
> Karl Voit  writes:
>
> Better yet, however, is to update the documentation yourself and submit
> a patch!

Pulled the current Org-mode files, read the contribution
instructions[1], found the spot where the information should go and
... boom:

,[ http://orgmode.org/org.html#Repeated-tasks ]
| An alternative to using a repeater is to create a number of copies
| of a task subtree, with dates shifted in each copy. The command C-c
| C-x c was created for this purpose, it is described in Structure
| editing.
`

Shame on me - I must have overlooked this important thing :-(

>> I'd be glad to see something like this:
>>
>>* Event <2011-06-21 Tue +1w> <-2011-06-28 Tue>
>>
>> ... which lets me express an exception (each tuesday starting with
>> today but not next week) in an easy to use way.
>
> Not possible without use of sexp entries, as far as I know.

I know. I was dreaming of a future functionality which is easy to
use (and easy to implement?) for the masses that are not yet
enlightened with the knowledge of ELISP :-)

> The trick to using org is to realise that everything in life is
> really oriented around tasks; 

I will remember this statement and think of it the next days ...

> calendaring then comes automatically from this!  The problem is
> that most people have gotten used to separating tasks from
> calendar views (cf. separation between tasks lists and
> appointments) and so moving to org can be a bit of a culture
> shock.  If you start thinking from the tasks first, the rest
> follows.

Hehe. Funny you mention that. Because I am using DateBk6[2] for
PalmOS which integrates tasks into the calendar (very well!). So
this is kina reverse thinking for me now.

(Maybe you can think of «adding a different point of view to
Org-mode» if you want.)

> For instance, I'm working on a project; call it A.  I create a
> headline for this project (or a file, or a sub-headline,
> whatever).  Under this headline, I will create entries for
> finances, meetings, notes, actions, etc.  Everything in one place.

I am currently adopting and developing my workflows for this, yes.

> Org then provides a number of "views" to look at different aspects
> of this project: agenda view (akin to a calendar), column view,
> sparse tree view, tags view, ...  All of these allow you to see,
> easily, the particular aspects of a project, or collection of
> projects, that are important at any point.

I consider this the most important «feature» of Org-mode.

I am dedicating my PhD (not only but mainly) to the notion that
information visualization should not be depending on the structure
the information is *stored* but only depending on the way I need to
have while *accessing* it. 

[3] if you're interested.  It's a research software
that cleverly organizes your local files using tags and not within those
usual (and not working) hierarchies of folders. It intgrates with *any*
application you are currently using on Windows, OS X, and Linux as
well. Current users are very happy with the method provided by
tagstore.

>> * Event <2011-06-21 Tue>
>> * Event <2011-06-28 Tue>
>> * Event <2011-07-05 Tue>
>> * Event <2011-07-12 Tue +1w>
>>
>> But I aim in a slightly different direction:
>>
>> * Event
>> <2011-06-21 Tue>
>> <2011-06-28 Tue>: additional note
>> <2011-07-05 Tue>
>> <2011-07-12 Tue +1w>
>
> I would argue that this is a more limiting view as it is difficult to
> add notes to each individual event, something I would often (always?)
> want to do!  If each event (meeting?) is a sub-headline of its own,
> adding notes, actions that arise, etc is very easy.
>
> Again, you can use org to "view" the information you have in different
> ways so I would suggest you explore these views.  For the above, maybe a
> Log view in the agenda might give you what you want.

True. I'll give it a try.


PS: Thanks for the help so far and I appreciate the community and
discussion here very much.


  1. http://orgmode.org/worg/org-contribute.html
  2. http://www.pimlicosoftware.com/datebk6.htm
  3. http://tagstore.org
-- 
Karl Voit




[O] org-time-stamp loses repeater interval

2011-06-24 Thread Karl Voit
Hi!

Maybe there is a (to me at least hidden) feature behind the behavior
that org-time-stamp (C-c .) deletes any repeater information when
used to update a date stamp.

Or is this some kind of bug or at least unexpected behavior?

-- 
Karl Voit




Re: [O] Bug: org-time-stamp loses repeater interval

2011-06-26 Thread Karl Voit
* Michael Brand  wrote:
>
> If it is a DEADLINE or SCHEDULED you can also use "C-c C-d ." or "C-c
> C-s ." as a workaround to preserve the repeater. Therefore I consider
> loosing the repeater with just "C-c ." on any active timestamp, no
> matter if a DEADLINE, SCHEDULED or not, a bug.

Same to me. Unfortunately I am using timestamps not only in the
context of DEADLINE or SCHEDULED but also for events that should
simply show up on the agenda (without deadline or scheduled
timestamp at all).

To me this *is* a bug since my expected behavior of org-time-stamp
to modify an existing timestamp is different.

So, how reaches this bug report a person who is able to fix it?


PS: Sorry, I still don't know ELISP yet and therefore can't fix it
by myself.

-- 
Karl Voit




[O] Email -> Org-mode: charset problem

2011-06-27 Thread Karl Voit
Hi!

Is there somebody who managed to develop an email to Org-mode bridge
without having charset problems? (No, I do not use Emacs as a
MUA[4])

Disclaimer: This is not directly related to Org-mode but I guess
there are people here with the very same problem.

I am using a procmail[1] with an entry to forward emails containing
a keyword in the subject into my inbox.org (where also MobileOrg[2]
entries are written to).

This is quite handy since some tasks arrive at emails and I want to
capture this everywhere (smartphone, webmail, ...) using a simply
email forward.

Unfortunately I get weird stuff like uuencoded things, UTF-8 in
ASCII, ... which messes up my inbox.org and I am not able to read it
afterwards.[5]

I guess this is because procmail and formail[3] – the tools I am
using to extract mail infos to append to the org-file – are
7-bit-only or similar.

If this is the case, I guess I'll have to find a different approach
for this purpose.

Any ideas?

  1. http://www.procmail.org/
  2. https://github.com/matburt/mobileorg-android/wiki/
  3. http://www.linuxcommand.org/man_pages/formail1.html
  4. http://en.wikipedia.org/wiki/Mail_user_agent
  5. I can give examples if you want.
-- 
Karl Voit




[O] How to place a feature wish (was: Org-mode is not able to manage complex calendar events)

2011-06-28 Thread Karl Voit
* Bastien  wrote:
> Hi Karl,

Hi!

> for your next wish -- one that is not already accomplished :) -- please
> create a new thread with your wish as the subject of the email.
>
> Org community is very email-centric, and everything that eases the way I
> can stumble on wishes will help us accomplish them.

Sorry, I should have thought about that because I am already aware
of this fact. You are absolutely right.

-- 
Karl Voit




Re: [O] Bug: org-time-stamp loses repeater interval

2011-06-28 Thread Karl Voit
* Bastien  wrote:
> Karl Voit  writes:
>
>> Same to me. Unfortunately I am using timestamps not only in the
>> context of DEADLINE or SCHEDULED but also for events that should
>> simply show up on the agenda (without deadline or scheduled
>> timestamp at all).
>>
>> To me this *is* a bug since my expected behavior of org-time-stamp
>> to modify an existing timestamp is different.
>
> It is now fixed in the latest git version.  Please test and report, 
> if possible.

I checked out d7c693c1ffe2ebf38604dd30fdd2f9d51a1c44d0 which should
fix the problem and tested with «Emacs 23.2.1 (i686-pc-linux-gnu,
GTK+ Version 2.24.4) of 2011-04-04 on rothera, modified by Debian»
and «Org-mode version 7.5 (release_7.5.462.gd7c69)»

created timestamp with «C-c .»
<2011-06-28 Tue>

modified with «C-c.» to wednesday:
<2011-06-29 Wed>

manually added repeater:
<2011-06-29 Wed +1w>

«C-c .» + click on Jul 5th:
<2011-07-05 Tue>

-> repeater is lost :-(

created another one with warning period:
<2011-06-28 Tue -1d>

«C-c .» + click on Jul 5th:
<2011-07-05 Tue>

-> warning period is lost :-(

created another one with repeater and warning period:
<2011-06-28 Tue +1w -1d>

«C-c .» + click on Jul 5th:
<2011-07-05 Tue>

-> repeater and warning period is lost :-(

-- 
Karl Voit




Re: [O] Bug: org-time-stamp loses repeater interval

2011-06-28 Thread Karl Voit
* Bastien  wrote:
> Karl Voit  writes:
>
>> -> repeater and warning period is lost :-(
>
> I cannot reproduce this. 
> Did you take care of loading the freshly pulled Org version?

«git pull» on the master and then I re-started my Emacs. I thought
this should be enough ...

Or is there any setting that can conflict and produce the behavior
of my Org-mode?

-- 
Karl Voit




Re: [O] Bug: org-time-stamp loses repeater interval

2011-06-28 Thread Karl Voit
After re-compiling my elc files, I have now the following behavior:

* Karl Voit  wrote:
>
> created timestamp with «C-c .»
> <2011-06-28 Tue>
>
> modified with «C-c.» to wednesday:
> <2011-06-29 Wed>
>
> manually added repeater:
> <2011-06-29 Wed +1w>
>
> «C-c .» + click on Jul 5th:

<2011-07-05 Tue +1w>

... which is the fix to the original bug. Thanks! :-)

> created another one with warning period:
> <2011-06-28 Tue -1d>
>
> «C-c .» + click on Jul 5th:
> <2011-07-05 Tue>
>
> -> warning period is lost :-(

The warning period still gets deleted though :-(

-- 
Karl Voit




Re: [O] Bug: org-time-stamp loses repeater interval

2011-06-28 Thread Karl Voit
* Nick Dokos  wrote:
>
> Do you use compiled (.elc) files? 

Not intentionally.

> If so, you need to "make clean; make" before restarting. You can
> also check with

This one did the trick. Thanks!

-- 
Karl Voit




[O] Capture from GNU screen to Org-mode (was: Email -> Org-mode: charset problem)

2011-06-28 Thread Karl Voit
* David Maus  wrote:
>
> As far as I know a lot, if not most, email messages are transfered in
> 7bit for backward compatibility reasons and getting things other than
> text/plain; charset=3Dus-ascii across the net via email requires a lot
> of things to consider (RFC2045-49 in all their glory). 

Yes. The header is always 7-bit ASCII. The body has to be
interpreted by very advanced algorithms in order to show the various
types of content properly.

> So dumping the raw message won't help, you need functions for
> processing the raw message informaton.

I came to the very same conclusion. :-( I thought «formail» would be
able to handle charset for me.

> Here's an idea (or two).

Thanks for your ideas!

Those are perfectly good tips for someone who is using a MUA and
Org-mode on the same computer.

But my system is different since I am using «mutt»[1] as MUA
(running in a GNU screen[2] session) on a remote server (accessed by
ssh). 

Org-mode is (only) running on my local machine since the (very slow)
root server is an old Debian stable one (with emacs21 only).

My personal solution for the moment is following system:

Since I am using GNU screen which has the ability to dump its screen
content (non graphical!) into a file, I wrote a shell script that
generates an Org-mode entry and appends it to the input.org which
will be synchronized over all my systems anyway (by cron and
unison[3] although dvcs-autosync[4] seems to be very handy too for
building your own Dropbox[5] alternative, respectively).

,[ *one* line from my .screenrc ]
| bind O eval "hardcopy_append off" "hardcopy
|   $HOME/screen-capture.tmp" "screen sh
|   $HOME/bin/add-screensnapshot-to-org.sh"
`

... this one creates a screenshot when I press «Ctrl-a O» in GNU
screen. Then «$HOME/screen-capture.tmp» gets filled with the screen
content (which is the start of an email or a usenet posting[6] or
similar - whichever is shown currently in GNU screen).

Then following script generates the (simple) Org-mode entry:

,[ $HOME/bin/add-screensnapshot-to-org.sh ]
| #!/bin/sh
| ## generates an org-file-entry from a screen capture file from GNU screen
|
| SCREENCONTENTFILE="$HOME/screen-capture.tmp"
| ORGFILE="$HOME/org-mode/inbox.org"
|
| ## not very elegant, I know:
| echo "* TODO screen "`date '+%Y-%m-%dT%H:%M'` >> ${ORGFILE}
| echo ":PROPERTIES:" >> ${ORGFILE}
| echo ":CREATED: <"`date '+%Y-%m-%d %a %H:%M'`">" >> ${ORGFILE}
| echo ":END:" >> ${ORGFILE}
| echo >> ${ORGFILE}
| echo "#+BEGIN_VERB" >> ${ORGFILE}
| cat "${SCREENCONTENTFILE}" >> ${ORGFILE}
| echo "#+END_VERB" >> ${ORGFILE}
| echo  >> ${ORGFILE}
|
| #end
`

Probably this method could be handy for other users of GNU screen
and Org-mode too.

  1. http://www.mutt.org/
  2. https://secure.wikimedia.org/wikipedia/en/wiki/GNU_Screen
  3. http://www.cis.upenn.edu/~bcpierce/unison/
  4. http://www.mayrhofer.eu.org/dvcs-autosync
  5. https://www.dropbox.com/
  6. http://www.slrn.org/
-- 
Karl Voit




Re: [O] Bug: org-time-stamp loses repeater interval

2011-06-28 Thread Karl Voit
* Bastien  wrote:
> Karl Voit  writes:
>
>> The warning period still gets deleted though :-(
>
> You're right, should be fixed now.

Sorry when I disagree for one case:

When I change each entry in my test data using «C-c .» and clicking
on 1st of July ...

,[ test data ]
| <2011-06-28 Tue>
| <2011-06-28 Tue +1w>
| <2011-06-28 Tue -1d>
| <2011-06-28 Tue +1w -1d>
`

... I end up having this:

,[ result ]
| <2011-07-01 Fri>
| <2011-07-01 Fri +1w>
| <2011-07-01 Fri -1d>
| <2011-07-01 Fri -1d>
`

In the last case, the repeater gets lost :-(

-- 
Karl Voit

Hallo, mein Name ist Web 2.0. Gib mir dein Adressbuch und lass mich Emails lesen




Re: [O] Bug: org-time-stamp loses repeater interval

2011-06-29 Thread Karl Voit
I checked out via «git pull», re-compiled Org-mode and tested again:
this time, all my test cases mentioned in the original posting
worked fine. Bug fixed so far.

* Nick Dokos  wrote:
>
> There is a peculiar corner case:
>
> If I have a headline that's both scheduled and deadlined, like this:
>
> --8<---cut here---start->8---
> * scheduled 
>   DEADLINE: <2011-07-04 Mon +2w -3d>
>   SCHEDULED: <2011-07-06 Wed +1w -2d>
> --8<---cut here---end--->8---
>
> and I C-c C-s in the scheduled date, I get a second SCHEDULED: item
> with the new date on the DEADLINE line. The original SCHEDULED: is
> still on the next line, unchanged - like this:
>
> --8<---cut here---start->8---
> * scheduled 
>   DEADLINE: <2011-07-04 Mon +2w -3d> SCHEDULED: <2011-07-03 Sun +1w -2d>
>   SCHEDULED: <2011-07-06 Wed +1w -2d>
> --8<---cut here---end--->8---

I can confirm this behavior at my side too.

But: When I create SCHEDULED (and DEADLINE) using the shortcut «C-c
C-s» SCHEDULED is always in the same like as DEADLINE. In this case,
I can not notice the behavior as above. The behavior described by
Nick happens only (here) if SCHEDULED is not in the same like as
DEADLINE.

Remark regarding the order of the two entries: the last thing that
gets added/modified is always the last one in this line. So if I
create SCHEDULED and DEADLINE, DEADLINE is the second (last) in the
line. When I modify SCHEDULED afterwards, it is SCHEDULED that gets
positioned at the end of the line. Same for modifications of
DEADLINE.

-- 
Karl Voit




Re: [O] Recurring TODO on weekdays only?

2011-06-29 Thread Karl Voit
* Loris Bennett  wrote:
> Dear all,

Hi you :-)

> I want to have a todo which repeats indefinitely on weekdays only. 

Probably you are looking for sexp datestamps:
http://orgmode.org/org.html#Timestamps (and following)

(I do not use them by my self (yet)).

-- 
Karl Voit




[O] Org-mode as a replacement for LaTeX (was: Fwd: Exporting latex without preamble)

2011-06-29 Thread Karl Voit
* Thomas S. Dye  wrote:
> Aloha Rafael,

Sorry, I thought you might as well be interested in my point of
view.

First: I am pretty new to Org-mode but I am using LaTeX a while now
and I am even teaching LaTeX to motivated beginners.

> Is there a reason not to have everything in one .org file?  I find
> Org-mode's ability to fold on headlines and to edit subtrees in indirect
> buffers very convenient, even for long documents.  For my work, that
> functionality has replaced LaTeX \include files.

I did not follow the thread here but I do think I get the idea that
you want to replace LaTeX with Org-mode and generate a PDF via
LaTeX/PDF-export functionality of Org-mode.

On the one hand, I do agree that (simple) PDF documents are written
very easily with Org-mode. But on the other hand you are going to
add just another layer. This means that you probably end up wanting
this LaTeX feature in Org-mode, that other handy LaTeX feature too
and so forth.

In my point of view, if you leave the basic stuff, you should stick
to LaTeX. And I do have good news to you: You are very fortune
because Emacs does have the IMHO most advanced editor support for
LaTeX: AucTeX (with all of its extensions like preview-latex and
RefTeX).

I plan to use Org-mode as an outline tool for larger documents,
where the basic structure evolves, keywords are moved from one part
to the other. But before I start to write the detailed document
content, I move to AucTeX, having the great possibilities for
writing documents that end up being great PDFs.

But this is just my point of view.

-- 
Karl Voit




Re: [O] Recurring TODO on weekdays only?

2011-06-29 Thread Karl Voit
* Memnon Anon  wrote:
>>
>> ** TODO Dust hard drives 
>>SCHEDULED: <2011-07-04 Mon +1w>
>> ** TODO Dust hard drives 
>>SCHEDULED: <2011-07-05 Tue +1w>
>> ** TODO Dust hard drives 
>>SCHEDULED: <2011-06-29 Wed +1w>
>> ** TODO Dust hard drives 
>>SCHEDULED: <2011-06-30 Thu +1w>
>> ** TODO Dust hard drives 
>>SCHEDULED: <2011-07-01 Fri +1w>
>
> ** TODO Dust hard drives
><2011-07-04 Mon +1w>
><2011-07-05 Tue +1w>
><2011-07-06 Wed +1w>
><2011-07-07 Thu +1w>
><2011-07-08 Fri +1w>
>
> should do it ... 
> ...
> shouldn't it?

It does.

But you should be aware that you «lose» a cool feature I was pointed
to: org-clone-subtree-with-time-shift [1]

With this cool thing you can «generate» several simple occurrences
from the recurring entry. I use this to manually delete single
events of a recurring series of events.

> Vielleicht hat die Rostlaube auch heute einfach mein Gehirn weichgekocht
> ;).

Du wirst von einer Rostlaube gekocht?

  1. http://orgmode.org/org.html#Structure-editing and
 http://orgmode.org/org.html#Repeated-tasks

-- 
Karl Voit




[O] Showing or going to previous entry from agenda view

2012-06-28 Thread Karl Voit
Hi!

Following scenario: I see my (daily) agenda, go to a meeting (which
is scheduled regularly) and press Enter.

This jumps to the Org-mode file of this entry which has got
following (sub-)structure in the file:

* Project
  * Person X
*  Meeting 1
*  Meeting 2
*  Meeting 3
*  Meeting 4

But what Org-mode shows me when I jump directly from agenda view to
lets say «Meeting 3» is following:

* Project
  * Person X...
*  Meeting 3
*  Meeting 4

So Meeting 1 and 2 are «hidden» like being in a sparse tree. Please
do not misunderstand: This behavior is somewhat fine to me. 

BUT: I also want to be able to quickly jump to «Meeting 2» when I
«land» on «Meeting 3». (To check the open issues from last meeting.)

C-c C-p (outline-previous-visible-heading) jumps from «Meeting 3»
directly to the previous *visible* heading «Person X» and not to
«Meeting 2».

So I always end up going up, pressing TAB to expand the whole
subtree and then I start «searching» for the current Meeting once
again - which is obviously kina annoying to me :-(

I am sure, that you have got a tipp that provides me either a
visible «Meeting 2» or a «working» jump-command for invisible
heading (outline-previous-heading does not exist) or something else
I did not think about :-)

Thanks for that!

-- 
Karl Voit




Re: [O] Showing or going to previous entry from agenda view

2012-06-28 Thread Karl Voit
* Bernt Hansen  wrote:
> Karl Voit  writes:
>
>> C-c C-p (outline-previous-visible-heading) jumps from «Meeting 3»
>> directly to the previous *visible* heading «Person X» and not to
>> «Meeting 2».
>
> C-c C-r should call org-reveal which will show the preceeding hidden
> headline, then you can use C-c C-p normally.

Hm, at my side, org-reveal does not show me the items above. In
fact, org-reveal does not seem to have any effect at all :-O

-- 
Karl Voit




[O] HowTo: Letter template method using yasnippet (was: Org/LaTeX set-up for business letters?)

2012-07-06 Thread Karl Voit
* Thorsten Jolitz  wrote:
>
> Hi List, 

Hi Thorsten!

> although using Emacs/Org-mode for almost everything, I still write my
> "official" correspondence with a (quite nice) OpenOffice template. It
> would be so much easier and faster to just use Org mode for that too.

I accomplished this by using yasnippet and Org-mode. It is quite
convenient :-)

1. install, configure, and learn yasnippet for your Emacs
   - a must; independent of this one here!

2. put «newletter» (below) into your snippet directory so that it can be
   invoked when you're in a Org-mode buffer
   - usually, this means storing as something similar to
 «~/.emacs.d/snippets/text-mode/org-mode/newletter»
   - adopt my dummy entries for your name, address, and so forth


So far for the initial setup.


3. create a new (empty) folder

4. enter the new folder

5. create and open a new Org-mode file in Emacs
   - it is only temporary
   - you might want to use «emacsclient init.org»

6. within this open Emacs buffer, type «newletter» followed by TAB
   - this invokes the yasnippet template

7. fill out all fields, take default values or change them, switch to
   the next field by using TAB

8. when you end up at the line «cat  >Kopf.tex <letter.tex < mehr Text

\opening{Sehr geehrtXX NAME!}

TEXT

\closing{Mit freundlichen Grüßen}

%\encl{Lebenslauf}% Anhang

\end{letter}

% -

\end{document}

EOF
cat -T >Makefile_temp <Makefile
rm Makefile_temp
#+END_SRC


===

-- 
Karl Voit




Re: [O] HowTo: Letter template method using yasnippet

2012-07-07 Thread Karl Voit
* Nicolas Goaziou  wrote:
>
> Hello,

Hello Nicolas!

> Based on your work, I've put up the attached back-end:
> org-koma-letter.el.

... and this is why I *love* this community so much :-)

Yes, you are absolutely right that my method is unnecessary complex
using this «generate TeX-files and Makefile using a shell script
within Org-mode». For a non-LISPer like me, my method was
straightforward and more general: my method can generate any kind
of ASCII file template such as new shellscripts, new Python projects
and so forth :-)

And yes, your method is much simpler in terms of complexity and I
definitely will take a closer look on how to implement such a thing
with the export functions.

Thanks for your work!

-- 
Karl Voit




Re: [O] Showing or going to previous entry from agenda view

2012-07-11 Thread Karl Voit
Hello Simon, hello Bernt!

* Bernt Hansen  wrote:
>
> Sorry for the late response - I've been away on vacation the past week.

No problem - these days are pretty busy at my side as well :-)

> C-u C-c C-r reveals all the siblings or you can just do S-TAB twice to
> show contents view for the entire file.

Yes, this is a great hint. I'll use S-TAB for this purpose.

-- 
Karl Voit




[O] Using HTML or ODF to get content from Org to Word (was: How to integrate org-mode in a MS Windows-/Office-based environment?)

2012-07-14 Thread Karl Voit
* Luis Anaya  wrote:
>
> There have been a list of good suggestions of integrating org-mode with
> MS products. 

[...]

> Using HTML for export is a good way to transfer content as has been
> suggested.

I am a bit puzzled. I thought that using the ODF-exporter would be
the format of choice to get content from Org to Word. Why do you
guys prefer HTML?

-- 
Karl Voit




Re: [O] Using HTML or ODF to get content from Org to Word

2012-07-14 Thread Karl Voit
Hello Giovanni!

* Giovanni Ridolfi  wrote:
> Karl Voit 
>
>> I thought that using the ODF-exporter would be the format of
>> choice to get content from Org to Word. Why do you guys prefer
>> HTML?
>
> A reason could be (in my case) because we cannot have LibreOffice
> installed :-(

No need to do that.

(Besides: there are portable-versions of LibreOffice[1] so that you
can install LibreOffice on any operating system having any kind of
reduced permissions. But this is not my point.)

> But you're right in remembering me that "write" (and perhaps
> word?) can read odf files.  I will try odf, thanks!

Yes, this was the thing I wanted to mention: Word is able to read in
ODF. And since ODF has a *way* more similar kind of "markup" to
docx, it should result in much better results than using HTML.

But: I never tried it by myself.

So I was wondering, if there are good arguments against using ODF in
the first place and using HTML as best choice.

  1. http://duckduckgo.com/?q=libreoffice+portable
-- 
Karl Voit




Re: [O] Using HTML or ODF to get content from Org to Word

2012-07-14 Thread Karl Voit
* Jambunathan K  wrote:
>
> Instead of importing ODT documents right inside Microsoft Office, one
> can have LibreOffice do the ODT->DOC(X) conversion and import the LO
> created DOC(X) file in to Microsoft Office.

As a side-mark to your great comments: LibreOffice (and
OpenOffice.org) is able to convert documents from command line without
having the need for opening them, invoking a save-as-process,
choosing a different format, and closing it.

If somebody needs to do (semi-automatically) conversions, take a
look into the command line option "--convert-to".

> For creating DOC/DOCX/PDF files right from Org see Info node with
> following title: (org) Extending ODT export.

Cool :-)

> ps: I have not used MS Word at all.

Never? Really? Wow ... Lucky you!

I once met a guy who was working in the IT industry since the
seventies and he never ever used MS Windows in his life. Impressive.
(His source code was completely crap but this is another story *g*)

-- 
Karl Voit




[O] Remembrance Agent and Orgmode

2012-07-17 Thread Karl Voit
Hi!

In my research I stumbled upon Rememberance Agent[1][2] and since it
does have a Debian package install candidate [3] I was thinking
about giving it a try.

This software (originally from MIT) seems to be quite handy and its
features seems to be a perfect companion to Org-mode.

There is also a nice video[4] where Thad Starner is using a headset
and a "mobile" version of Emacs/RA. Be aware that this was 1996!

It's a bit outdated (v2.12 2004-02-16) and after being installed on
my Ubuntu, it makes the impression that much fiddling is needed to
start indexing and stuff.

Is there somebody still using RA? Is there some tutorial or how-to
out there that helps a RA-newbie? Do you have lessons learned?

Thanks!

  1. http://www.remem.org/
  2. http://www.emacswiki.org/emacs/RemembranceAgents
  3. http://packages.debian.org/de/sid/remembrance-agent
  4. http://www.youtube.com/watch?v=k-zThJX920w
-- 
Karl Voit




Re: [O] [Orgmode] Re: contact management in org-mode?

2012-07-19 Thread Karl Voit
Hi Russell!

* Russell Adams  wrote:
>
> First, I've found myself very lax updating my Contacts.org file. 

This is no technical issue :-)

> With a moderately large contact file column mode goes so slowly I
> find myself reluctant to use it. Thus my contact list is now
> significantly out of date despite my successful integration with
> mutt.

I do not use column mode (yet). So far I am using the inevitable
yasnippet templates to create an entry and manually filling out the
properties.

> Another issue with column view is that I can't make the first column
> (ie: Name!) sticky, so if I scroll right while filling in fields I
> have no idea who I'm working on. Editing individual fields in the
> property drawer is moderately ok.
>
> The final killer is lack of sync. 

Oh this is also something which I could not resolve yet.

Although I do think that given the fact that I am OK with a working
export mechanism (instead of 2-way sync), it should not be that
complicated to write a short tool that exports names, email
addresses and phone numbers (I really do not want more information
than these on my phone) in a format that Google can import.

Not a very good solution but I was thinking about this one for
myself.

> I have lbdb capturing incoming email addresses, and I find I use
> it constantly without thinking about it. I typically get contact
> information in signature lines with my customers and I've found
> myself doing fast searching in mutt and using a recent email
> instead of using Contacts.org. No sync with my Google account
> means my phone now has an independent contact list again.

I also love mutt and lbdb. Since I started to maintain my contacts
in Org-mode and not in .mutt_aliases and lbdb can query my
contacts.org, I am pretty happy with this situation.

Loose contacts get into my system via lbdb and close contacts get
their Org-mode entry.

> I did see someone created a org-contacts.el based on the format, but
> their site is now offline.
>
> So after a three year experiment, I think I can say my org-mode
> contact management has failed.

This is it?

What about having the possibility to use references to contacts
within Org-mode? I use them all the time.

What about organizing contacts in a hierarchy like family trees. I
can not resemble any other contact manager where it is that easy as
in Org-mode.

What about the possibility to mix TODOs and events with
contact? I love the fact that I can add appointments with my dentist
below his contact-headline ... and add a TODO if I have to transfer
him money or something like that.

These are all features that lets me accept missing sync features and
so forth.

> Thus I pose the question: What is a valid contact manager for a
> console-mode user with sync, fast searching and update?

Anyway, I am curious what other options are out there :-)

-- 
Karl Voit




Re: [O] Managing Images with Org-mode?

2012-08-02 Thread Karl Voit
* Karl Eichwalder  wrote:
> Bastien  writes:
>
>>> http://www.flickr.com/photos/keichwa/7649891572
>> Looks nice.
>>
>> How did you put the thumbnails in the Org mode file?
>
> Once I understood the differences between "inline images" (images
> without a description) and "linked images", it was easy:
>
> [[file:path_to_inline_image__thumbnail.png]]

Inspired by your posting, I wrote this short yasnippet in case I
want to use something similar in future:

,[ ~/.snippets/tls ]
| name : Insert a table with files of a folder including links
| # --
| #+BEGIN_SRC sh
| PATTERN='${1:*.jpg}'
| MYFOLDER='${2:$HOME/}'
| cd \${MYFOLDER}; MYPWD=\`pwd\`; for file in \`ls -1 \${PATTERN}\`; do echo 
'-[['\$MYPWD'/'\$file']]'; done
| #+END_SRC
`

Obviously, this does not work this way with Windows.

There might be room for improvement - please follow up if you
optimized it :-)

One thing: the dash in front of the '[[' is mandatory. Well, it does
not need to be a dash though. Any other normal character (non-empty,
not space) works as well. I did not quite understand why and did not
pay further attention.

The script above results in an Org-mode *table*. To me this was a
minor issue.

Related to this topic: C-c C-x C-v (org-toggle-inline-images) is of
interest for you. On a per-file-basis this is: #+STARTUP inlineimages

-- 
Karl Voit




Re: [O] Managing Images with Org-mode?

2012-08-03 Thread Karl Voit
* Karl Eichwalder  wrote:
> Karl Voit  writes:
>
> Yes, I use something similar to create the thumbnails and the initial
> org code (I use 3rd level headlines instead of table, because I want to
> attache tags to every single image):
>
> #+BEGIN_SRC sh
[...]
> #+END_SRC

Thanks for sharing!

>> Related to this topic: C-c C-x C-v (org-toggle-inline-images) is of
>> interest for you. On a per-file-basis this is: #+STARTUP inlineimages
>
> I was already aware of the toggle key sequence.  Thanks for the STARTUP
> parameter!  A colon is missing, though ;)  --better use:
>
> #+STARTUP: inlineimages

Of course, thanks for clarifying. Damn copy&paste :-)

-- 
Karl Voit




Re: [O] The Quantified Shower

2012-08-08 Thread Karl Voit
* Nick Dokos  wrote:
> Nick Dokos  wrote:
>
>> Bastien  wrote:
>> 
>> > I have long given up on reckoning how many I am (outside or inside), 
>> > and I'm always amazed at those attempts to quantify one's own life.
>> 
>> Here's something to either inspire you or turn you off completely:
> http://www.theatlantic.com/magazine/archive/2012/07/the-measured-man/9018/

TL;DR but what is it that worries you?

-- 
Karl Voit




[O] table: referencing row of other table

2012-08-13 Thread Karl Voit
Hi!

I want to use the column "average" of the first table to fill the
column "h1" in the second one.

#+TBLNAME: 2012-08-12vkmeasure
| tags/item |m1 |m2 |m3 | average |
|---+---+---+---+-|
| 4 |  0.02 |  0.03 |  0.02 |0.02 |
| 5 |  0.06 |  0.12 |  0.06 |0.08 |
| 6 |  0.31 |  0.53 |  0.29 |0.38 |
| 7 |  3.83 |  4.08 |  4.48 |4.13 |
| 8 | 85.33 | 89.22 | 92.07 |   88.87 |
#+TBLFM: $5 = vmean($2..$4);%.2f

| tags/item | h1 [s] | h2 [s] |
|---++|
| 4 |||
| 5 |||
| 6 |||
| 7 |||
| 8 |||
#+TBLFM: 

I tried following references but failed so far:

@2$2..@6$2=subscr(remote(2012-08-12vkmeasure,@2$5..@6$5),$#) #-> 0.08 0.08 ...
@2$2=remote(2012-08-12vkmeasure,@2$5) -> works for one value
@2$2..@6$2=subscr(remote(2012-08-12vkmeasure,@2$5..@6$5),$#) #-> 0.08 0.08 ...
$2=subscr(remote(2012-08-12vkmeasure,@I$>..@II$>),$#) 

What did I do wrong?

How is the correct TBLFM in order to get 0.02 ... 88.87 into the
h1-column?

Thanks for your help!

-- 
Karl Voit




[O] Semantics, Tagging, File systems, Tools, tagstore (was: [Orgmode] Re: contact management in org-mode?)

2012-08-13 Thread Karl Voit
* Russell Adams  wrote:
>
> On the semantic note, I found a utility called tmsu recently
> (http://tmsu.org/) which allows semantic tagging of files. There was a
> cool looking filesystem called Tagsistant too, but it unfortunately
> appears abandoned.

I was doing research for four years and I am writing a dissertation
exactly about this topic. For my research, I created [1]. From my
perspective: there is nothing practical out there to tag files on
the file system layer.

There were "Semantic File System", "TagFS", "SemFS", and many more.
All of them either abandoned or never made it to stable. 

Nepomuk/KDE seems to be the most promising but I am not up to date
on Nepomuk any more.

For OS X there are some add-ons which more or less try to integrate
into the system. But chances are high that Apple will change from
HFS+ to probably ZFS. Apple officially never supported the streams
of HFS+ and therefore I am afraid, any tags stored there will get
lost some day.

Microsoft and Google do not want to support multi-classification. I
was talking to several guys on conferences. Apple never shows up.

tagstore [1] works on all platforms but is only scalable up to a few
thousand items (files or folders) because of inode limit. If you are
using tagstore on a file system with no inode limit, it might be a
cool solution for you as well.

All in all: no solution that satisfies everybody. Yet.

My solution for now: many things are organized in Org-mode where I
can link and tag things. Memacs I do like *very* much for this
purpose: [2]

If you need something for tagging which is compatible with *any*
application out there and you do not need more than a few thousand
items, tagstore should be fine as well. For example for movies it
should be cool in any case.

If you need more infos, you can wait for my PhD to be finished
(2012-11). It should contain all relevant information or at least a
link to other documents that contain the answer to your questions
related to the topic of retrieving files using navigation.

  1. http://tagstore.org
  2. https://github.com/novoid/Memacs

PS: Sorry for the shameless plug but you asked for it :-)

-- 
Karl Voit




Re: [O] table: referencing row of other table

2012-08-13 Thread Karl Voit
* Nick Dokos  wrote:
> Karl Voit  wrote:
>
>> I want to use the column "average" of the first table to fill the
>> column "h1" in the second one.
>
> #+TBLFM: $2 = remote(2012-08-12vkmeasure, @@#$5)

Thanks!

... and now I also found the corresponding documentation which I
overlooked twice :-)

-- 
Karl Voit




Re: [O] Linking back to archive

2012-08-15 Thread Karl Voit
* Marcelo de Moraes Serpa  wrote:
>
> Hi list,

Hi Marcelo!

> I have a gtd.org with my projects and next actions as org items. When I'm
> done with them, I archive, and they go to gtd.org_archive.
>
> Sometimes, I create a new org file for a project, to keep notes and other
> reference material. Let's say I have this in my gtd.org:
>
> * Project :project:
>file://~/org/reference/project.org
> ** TODO Foo
> ** TODO Bar

Not an answer to your direct question but a comment:

I am linking entries in my Org files with IDs:

* ProjectA
  :PROPERTIES:
  :ID: projA
  :END:

... will be linked as id:projA and this works in all of my (agenda?)
files.

You just have to make sure that the ID is unique. I am using
datestamps as starting strings so that I only have to make them
unique for one day :-)  (like: 2012-08-16projA)

HTH

-- 
Karl Voit




[O] What HW/SW issues influence org/Emacs performance?

2012-08-19 Thread Karl Voit
Hi!

I was thinking about which hardware and software attributes are the
most important factors for improving performance of Emacs and/or
Org-mode. The things I want to improve are 

(1) startup time of GNU Emacs (nice to have, no priority)

(2) using Org-mode agenda with approx. 20 Org-files 

(3) using agenda view including archive files 

The Org-mode files I regularly use in (2) contain 15,000 to 25,000
lines. The org_archive files contain more lines, three of them
40,000 to 130,000 lines with PROPERTY-drawers[1].

The biggest performance increase I'd like to see in moving in my
normal agenda (approx. 2-3s from one day to the next) and in my
agenda including the archive files (approx. 4-8s from one day to the
next). Usually, it is worth waiting :-)

On my system [3] I notice 100% load on one of my two cores when
Emacs is generating the agenda views. So I am not sure whether more
cores could increase the performance. Probably a faster CPU? Is
there something that makes Emacs use multiple cores in parallel?

We did some performance testing [1] for Memacs [2] but this only
tested a static situation on given platforms.

What do you think are the most important factors?

- CPU speed (of one core)
- type of CPU
- # CPU cores
- 32bit kernel vs. 64bit kernel
- faster I/O (through HDD->SSD or even faster SSD)
- choice of the file system (optimized for something? what?)
- operating system 
- possible ELISP optimizations (are there any besides compiling?)

Probably you already have an idea of a system which is designed to
be optimized for Emacs/Org-mode/Agenda ...? How does it look like?
:-)


... very curious about your thoughts ...

  1. https://github.com/novoid/Memacs/blob/master/docs/performance.org
  2. https://github.com/novoid/Memacs
  3. lenovo X200s, Core 2 Duo, SSD, Ubuntu 11.04, Gnome 2, GNU Emacs 23
-- 
Karl Voit




Re: [O] What HW/SW issues influence org/Emacs performance?

2012-08-19 Thread Karl Voit
* Nick Dokos  wrote:
> Karl Voit  wrote:
>
>> What do you think are the most important factors?
>> 
>> - CPU speed (of one core)
>> - type of CPU
>> - # CPU cores
>> - 32bit kernel vs. 64bit kernel
>> - faster I/O (through HDD->SSD or even faster SSD)
>> - choice of the file system (optimized for something? what?)
>> - operating system 
>> - possible ELISP optimizations (are there any besides compiling?)
>
> How much memory do you have? Are you swapping at all? If yes, get more
> memory.

Sorry - I forgot to mention: 4GB of RAM (but only 32bit Kernel). 

I am not running much memory-intense things. Therefore I do have
enough free RAM to avoid any swapping.

-- 
Karl Voit




  1   2   3   4   5   6   7   8   >