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

2012-08-09 Thread Nick Dokos
Russell Adams  wrote:

> I'd like to see semantic's for everything! I may have to give BBDB3 a
> whirl, given I've started to pickup elisp. My initial experience was
> hideous, but if I can get phone integration perhaps it'd be worth the
> pain.
> 

I can sympathize: I tried bbdb a long time ago and tried to bend it to
my will. I was left battered and bruised and gave up on it. However,
once I let go and decided to let it do whatever it wants, it is almost
bearable (apart from mailing lists that attach different names to the
same email address: the change review emails for openstack are driving
me batty right now). But I store phone numbers, addresses, email
addresses and even birthdays and anniversaries in there and that has
been a rather good experience. But my needs are simple, and depending on
the kind of phone integration you are looking for, bbdb might not be
enough. What exactly are you looking for?

Nick



Re: [O] [OT] Current website not very attractive

2012-08-09 Thread Nick Dokos
Nick Dokos  wrote:

> Sankalp  wrote:
> 
> > --f46d044401de1e3ad604c6de28a7
> > Content-Type: text/plain; charset=ISO-8859-1
> > 
> > I'm inclined to agree with Marcelo.
> > --
> > Sankalp
> > 
> > ***
> > If humans could mate with software, I'd have org-mode's
> > babies.
> >   --- Chris League on Twitter.
> >http://orgmode.org/worg/org-quotes.html
> > ***
> > 
> > 
> > On 10 August 2012 04:44, Jude DaShiell  wrote:
> > 
> > > Good, that probably means it's one of the more accessible and usable web
> > > sites on the internet.
> > >
> > > On Thu, 9 Aug 2012, Marcelo de Moraes Serpa wrote:
> > >
> > > > Hey list,
> > > >
> > > > Don't want to be negative, but doesn't anyone else also think the 
> > > > current
> > > > design is kind of amateurish and not very attractive? I also did not 
> > > > like
> > > > the screenshot used, I preferred the previous one, it showed more org
> > > > capabilities, and the colors and indentation looked better.
> > > >
> > > > My two cents and food for thought,
> > > >
> 
> Talk is cheap: how would you improve it? And I don't mean generalities: build
> a website as you think it should be and then invite us over to take a look.
> And  as Jude suggests, don't forget to keep accessibility/usability issues
> in mind as you design.
> 
> Nick
> 

It has been pointed out to me that my comments might be taken as
"overbearing".  Not my intent, but I will take back the "talk is
cheap" part (or repeat it to myself as the target this time) and
apologize for it: I should have reread the mail before hitting send.

But the larger point is still there: "I don't like it" is a legitimate
response, but is not nearly as helpful as giving a list of reasons
of *why* you don't like it. And providing something you *like* is even
better. E.g. would the current design with the previous screen shot be
OK? Or are there deeper problems?

Nick




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

2012-08-09 Thread Russell Adams
On Wed, Aug 08, 2012 at 02:04:23PM +0200, Thomas Koch wrote:
> Russell Adams:
> > Thus I pose the question: What is a valid contact manager for a
> > console-mode user with sync, fast searching and update?
>
> Hallo Russell,
>
> I'm also searching for a contact manager since ages. What I want to try when
> I've time (tm):
>
> - GNU recutils - plain text database, avail. in Debian et al.
> http://www.gnu.org/software/recutils
>
> - http://www.nongnu.org/addressbook
> From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3
> format. Would be wonderful if somebody would update to [vx]card4.
>
> - Postgresql on the Desktop
> After having worked with Hadoop and looked into other NoSQL systems I'd like
> to have a closer look at old SQL stuff again. MySQL vulgarized me.
>
> ...But wouldn't it be better to use something semantic for contact management?

I'd like to see semantic's for everything! I may have to give BBDB3 a
whirl, given I've started to pickup elisp. My initial experience was
hideous, but if I can get phone integration perhaps it'd be worth the
pain.

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.

Thanks.

>
> Regards,
>
> Thomas Koch, http://www.koch.ro
>


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



Re: [O] [PATCH 07/10] org-taskjuggler: make project umbrella task optional

2012-08-09 Thread Christian Egli
Yann Hodique  writes:

> +(defcustom org-export-taskjuggler-keep-project-as-task t
> +  "Whether to keep the project headline as an umbrella task for
> +  all declared tasks. Setting this to nil will allow maintaining
> +  completely separated task buckets, while still sharing the same
> +  resources pool."

I'm trying to understand the use case here. If I understand correctly
the container headline will no longer unconditionally generate a root
task. So you could have multiple root tasks? Does this work in both
versions of tj?

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland




Re: [O] [OT] Current website not very attractive

2012-08-09 Thread Jambunathan K
> how would you improve it? 

I will probably make Worg Wikipedia-like 
  1. Quick navigation to one side.
  2. TOC on top and bounded.
  3. A header bar, maybe.
  4. A bigger font.

One can start with pedia.css provided by Emacswiki.  

I have followed this trail - Org as a Wiki and a personal information
portal - a bit for last few weeks.

If Wiki-like style is not agreeable one can go with a style like this:
http://mah.everybody.org/books/.  There is some simple understated
elegance to that page that is quite appealing.  It is the presence of
margins on either side that makes the page look solemn and respectable.
-- 



Re: [O] [PATCH 00/10] Takjuggler exporter improvements

2012-08-09 Thread Christian Egli
Hi Yann

Yann Hodique  writes:

> Here are a couple of patches for org-taskjuggler.el
>
> My main goals with these were to:
>
>  - be able to leverage SCHEDULE/DEADLINE information, so as to be able
>to leverage org timelines in complement to the reports
>
>  - be able to #+BIND some of the exporter variables (such as the
>preamble)
>
>  - be able to define reports in the org file itself, without having to
>mess with a custom variable
>
> Any feedback is highly welcome.

I have looked at your patches. I have not had time to try them but
reading the diffs it looks excellent. They implement some features which
make the exporter much more flexible.

I have one comment to patch "make project umbrella task optional" which
I'll adress separately.

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland




Re: [O] [PATCH] Fixes org-rmail-store-link

2012-08-09 Thread T.F. Torrey
Nick Dokos  writes:

>> The attached patch remedies this by toggling on the full header display
>> before getting the Message-ID.
>> 
>
> Shouldn't it be toggled off afterwards?

That would seem logical to me, too, but the internal workings of
org-rmail.el and the rmail functions (which I don't fully understand)
already always leave the headers toggled off.

In the long run, this should probably be changed to respect the state
prior to storing the link, but for now, Bastien's patch makes the
linking function work.

Terry
-- 
T.F. Torrey



Re: [O] [PATCH] Fixes org-rmail-store-link

2012-08-09 Thread T.F. Torrey
> This is fixed now, thanks.
>
> I used a slightly different fix, taking `rmail-header-style' into
> account.  Thanks anyway for the patch!

It works for me. Thanks for the quick fix. Although ...

-- 
T.F. Torrey



[O] [PATCH] Fixes org-rmail-follow-link

2012-08-09 Thread T.F. Torrey
With creating links working in Rmail, now I see that following links
fails with the error "Message not found".

The error comes from the use of the function widen in
org-rmail-follow-link. In an RMAIL buffer, the widen function only
widens to the current message. The function to widen to the entire
buffer is rmail-widen.

The attached patch replaces widen with rmail-widen and also removes the
following two lines (added by Bastien as part of the previous patch re
Rmail), because rmail-widen already displays full headers, so testing
and toggling them on has no effect.

GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of
2012-07-29 on doubah, modified by Debian

Org-mode version 7.8.11 (release_7.8.11-392-g9dae6f-git @ mixed
installation! /usr/local/share/emacs/site-lisp/ and
/home/tftorrey/.emacs.d/src/org-mode/lisp/)

Best to all,
Terry
-- 
T.F. Torrey

diff --git a/lisp/org-rmail.el b/lisp/org-rmail.el
index 9148a8e..d28a420 100644
--- a/lisp/org-rmail.el
+++ b/lisp/org-rmail.el
@@ -101,9 +101,7 @@
(rmail (if (string= folder "RMAIL") rmail-file-name folder))
(setq message-number
  (save-restriction
-   (widen)
-   (when (eq rmail-header-style 'normal)
- (rmail-toggle-header -1))
+   (rmail-widen)
(goto-char (point-max))
(if (re-search-backward
 (concat "^Message-ID:\\s-+" (regexp-quote


Re: [O] Add the capture feature "%(sexp)" to org-feed

2012-08-09 Thread Michael Brand
Hi Ivan

On Thu, Aug 9, 2012 at 11:09 PM, Ivan Andrus  wrote:
> I'm probably missing something, but isn't this what directory local variables 
> are for?

Yes. This is useful in general for me, thank you for the hint. I
propose the attached patch for the already existing .dir-locals.el and
.dir-settings.el.

Michael
From 345419858e85d75a96f73b7d7f6e0ddbde0aae81 Mon Sep 17 00:00:00 2001
From: Michael Brand 
Date: Fri, 10 Aug 2012 06:40:10 +0200
Subject: [PATCH] Directory local variables: Set sentence-end-double-space to t

* .dir-locals.el: Add comments and set `sentence-end-double-space' to t.

* .dir-settings.el: Add comments and set `sentence-end-double-space' to t.
---
 .dir-locals.el   |9 +++--
 .dir-settings.el |9 +++--
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 7094cb9..05d50f6 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,4 +1,9 @@
+;; - keep in sync dir-locals.el (for Emacs >= 24) with .dir-settings.el
+;;   (for Emacs < 24)
+;; - don't use a symbolic link to prevent problems on cygwin
+;;   distributions (commit 971b9eeacd38959439ddaa7c650430cc2dcb673e)
+
 ((nil . ((indent-tabs-mode . t)
 (tab-width . 8)
-(fill-column . 70
-
+(fill-column . 70)
+(sentence-end-double-space . t
diff --git a/.dir-settings.el b/.dir-settings.el
index 7094cb9..05d50f6 100644
--- a/.dir-settings.el
+++ b/.dir-settings.el
@@ -1,4 +1,9 @@
+;; - keep in sync dir-locals.el (for Emacs >= 24) with .dir-settings.el
+;;   (for Emacs < 24)
+;; - don't use a symbolic link to prevent problems on cygwin
+;;   distributions (commit 971b9eeacd38959439ddaa7c650430cc2dcb673e)
+
 ((nil . ((indent-tabs-mode . t)
 (tab-width . 8)
-(fill-column . 70
-
+(fill-column . 70)
+(sentence-end-double-space . t
-- 
1.7.4.2



[O] Org agenda and recent files list....

2012-08-09 Thread Robert Goldman
I was finding that the use of org-agenda made my recent files list less
than useful, by filling up the list with files that I rarely opened "by
hand" with find-file.

The following snippet, added to my org-config file, seems to have fixed
things.

;;;---
;;; Agenda files shouldn't get entries in the recentf-list
;;;---
(defun org-is-agenda-file (filename)
  (find (file-truename filename) org-agenda-files :key 'file-truename
:test 'equal))

(require 'recentf)
(pushnew 'org-is-agenda-file recentf-exclude)

I mention this on the off-chance it's useful to someone else...

cheers,
r



Re: [O] [OT] Current website not very attractive

2012-08-09 Thread Nick Dokos
Sankalp  wrote:

> --f46d044401de1e3ad604c6de28a7
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I'm inclined to agree with Marcelo.
> --
> Sankalp
> 
> ***
> If humans could mate with software, I'd have org-mode's
> babies.
>   --- Chris League on Twitter.
>http://orgmode.org/worg/org-quotes.html
> ***
> 
> 
> On 10 August 2012 04:44, Jude DaShiell  wrote:
> 
> > Good, that probably means it's one of the more accessible and usable web
> > sites on the internet.
> >
> > On Thu, 9 Aug 2012, Marcelo de Moraes Serpa wrote:
> >
> > > Hey list,
> > >
> > > Don't want to be negative, but doesn't anyone else also think the current
> > > design is kind of amateurish and not very attractive? I also did not like
> > > the screenshot used, I preferred the previous one, it showed more org
> > > capabilities, and the colors and indentation looked better.
> > >
> > > My two cents and food for thought,
> > >

Talk is cheap: how would you improve it? And I don't mean generalities: build
a website as you think it should be and then invite us over to take a look.
And  as Jude suggests, don't forget to keep accessibility/usability issues
in mind as you design.

Nick



Re: [O] Latest version of Org-mode 7.8.3?

2012-08-09 Thread Torsten Wagner
Hey Ciaran,

as far as I remember you need to call

(require 'org-install)

to make emacs load your installation instead of the default one.
Add it to your emacs config and check out org-version again

Also you might be interesting to use the emacs-package manager which
is a rather new feature of emacs.
Org-mode versions there might be a good compromise between stability
and  up-to-dateness. Check here for details

http://orgmode.org/worg/org-faq.html#installing-via-elpa


Torsten



On 10 August 2012 07:28, Ciaran Mulloy  wrote:
> Hi,
> I'm relatively new to org-mode and a non-techie but grappling by and large 
> with
> the steep learning curve and enjoying it!
>
> I had a simple question that I haven't been able to get an easy answer to.
> I've just compiled the latest build of emacs 24.1 from the gnu.org website 
> which
> currently has the latest build of org-mode (7.8.11 I believe).
>
> I've also cloned the bleeding edge git repository onto my PC (as I'm 
> interested
> in getting the benefit of recent patches for exporting to Taskjuggler 3) and 
> did
> a make into my ~/elisp directory.
>
> My question: how do I validate that I have the latest build version of 
> org-mode
> running as when I do a 'M-x org-version' I just get the answer '7.8.11'.
>
> I've put a line in my .emacs file to add my ~/elisp directory to my load path
> however it's not clear how I get emacs to load the newer files I've compiled 
> to
> my ~/elisp directory over the existing emacs 24.1 build.
>
> I've gone through the FAQ section on the org-mode website and couldn't seem to
> find any hints for my issue.
>
> Ciaran
>
>



Re: [O] [OT] Current website not very attractive

2012-08-09 Thread Ista Zahn
I love the orgmode website. If you want to see amateurish and not
attractive, take a look at http://www.r-project.org/ (I love R too,
but the website could use an update)

-Ista

On Thu, Aug 9, 2012 at 5:45 PM, Marcelo de Moraes Serpa
 wrote:
> Hey list,
>
> Don't want to be negative, but doesn't anyone else also think the current
> design is kind of amateurish and not very attractive? I also did not like
> the screenshot used, I preferred the previous one, it showed more org
> capabilities, and the colors and indentation looked better.
>
> My two cents and food for thought,
>
> - Marcelo.
>



Re: [O] [PATCH] Translate refs to rc also in remote references

2012-08-09 Thread Jose E. Marchesi

Hi Bastien.


> -(while (string-match 
"\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\ +(while (string-match 
"\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\http://www.jemarch.net
GNU Project  http://www.gnu.org



Re: [O] [OT] Current website not very attractive

2012-08-09 Thread Sankalp
I'm inclined to agree with Marcelo.
--
Sankalp

***
If humans could mate with software, I'd have org-mode's
babies.
  --- Chris League on Twitter.
   http://orgmode.org/worg/org-quotes.html
***


On 10 August 2012 04:44, Jude DaShiell  wrote:

> Good, that probably means it's one of the more accessible and usable web
> sites on the internet.
>
> On Thu, 9 Aug 2012, Marcelo de Moraes Serpa wrote:
>
> > Hey list,
> >
> > Don't want to be negative, but doesn't anyone else also think the current
> > design is kind of amateurish and not very attractive? I also did not like
> > the screenshot used, I preferred the previous one, it showed more org
> > capabilities, and the colors and indentation looked better.
> >
> > My two cents and food for thought,
> >
> > - Marcelo.
> >
>
> Support
> your local
> church or
> synagogue,
> worship at
> Bank Of
> America!
> 
>
> Jude 
> 
>
>
>


Re: [O] [OT] Current website not very attractive

2012-08-09 Thread Jude DaShiell
Good, that probably means it's one of the more accessible and usable web 
sites on the internet.

On Thu, 9 Aug 2012, Marcelo de Moraes Serpa wrote:

> Hey list,
> 
> Don't want to be negative, but doesn't anyone else also think the current
> design is kind of amateurish and not very attractive? I also did not like
> the screenshot used, I preferred the previous one, it showed more org
> capabilities, and the colors and indentation looked better.
> 
> My two cents and food for thought,
> 
> - Marcelo.
> 

Support
your local
church or
synagogue,
worship at
Bank Of
America!


Jude 





[O] Latest version of Org-mode 7.8.3?

2012-08-09 Thread Ciaran Mulloy
Hi,
I'm relatively new to org-mode and a non-techie but grappling by and large with
the steep learning curve and enjoying it!

I had a simple question that I haven't been able to get an easy answer to. 
I've just compiled the latest build of emacs 24.1 from the gnu.org website which
currently has the latest build of org-mode (7.8.11 I believe).

I've also cloned the bleeding edge git repository onto my PC (as I'm interested
in getting the benefit of recent patches for exporting to Taskjuggler 3) and did
a make into my ~/elisp directory.

My question: how do I validate that I have the latest build version of org-mode
running as when I do a 'M-x org-version' I just get the answer '7.8.11'.

I've put a line in my .emacs file to add my ~/elisp directory to my load path
however it's not clear how I get emacs to load the newer files I've compiled to
my ~/elisp directory over the existing emacs 24.1 build.

I've gone through the FAQ section on the org-mode website and couldn't seem to
find any hints for my issue.

Ciaran




[O] [OT] Current website not very attractive

2012-08-09 Thread Marcelo de Moraes Serpa
Hey list,

Don't want to be negative, but doesn't anyone else also think the current
design is kind of amateurish and not very attractive? I also did not like
the screenshot used, I preferred the previous one, it showed more org
capabilities, and the colors and indentation looked better.

My two cents and food for thought,

- Marcelo.


Re: [O] Add the capture feature "%(sexp)" to org-feed

2012-08-09 Thread Ivan Andrus
On Aug 9, 2012, at 4:53 PM, Bastien wrote:

> Hi Michael,
> 
> Michael Brand  writes:
> 
>> You omitted the Local variables sentence-end-double-space: t. Isn't
>> this a good idea for all the users like me that have set this to nil
>> in their config? I wanted to add it to more files as soon as I will
>> change them.
> 
> I've check against current Emacs trunk, and only three files/packages
> uses this: rst.el, filesets.el and mh-e.
> 
> So I'd rather not pollute the hundred files of Org with this.

I'm probably missing something, but isn't this what directory local variables 
are for?

-Ivan




Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-09 Thread Achim Gratz
Mikhail Titov writes:
> I'm running Org-mode version 7.8.10 (release_7.8.10-658-g451191.dirty)

No you don't... please do

git fetch --tags origin

Can't help with your question, sorry.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




[O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-09 Thread Mikhail Titov
Hello!

There is a wonderful post[1] on how to make S-RET to do handy things in
ESS mode. However I often find myself working on several Org documents
from different folders.

It is quite inconvenient to change a directory in =*R*= buffer each time
I work on different document.

Is there a neat way to somehow reuse Org mode property =session= that I
set buffer wide?

Also for some reason

#+PROPERTY: session *Rsomename*

does not override session name set in =org-babel-default-header-args:R=
even after =C-c C-c= on it when I re-evaluate babel code block with =C-c
C-c= on code block, while explicit block header =:session *Rsomename*=
makes difference.

,[ snippet from dot emacs ]
| (setq org-babel-default-header-args:R
|   '((:results . "output") (:session . "*R*")))
`

I'm running Org-mode version 7.8.10 (release_7.8.10-658-g451191.dirty)

Footnotes: 
[1]  
http://www.kieranhealy.org/blog/archives/2009/10/12/make-shift-enter-do-a-lot-in-ess/

-- 
Mikhail



Re: [O] Add the capture feature "%(sexp)" to org-feed

2012-08-09 Thread Michael Brand
Hi Bastien

On Thu, Aug 9, 2012 at 4:53 PM, Bastien  wrote:

> I've check against current Emacs trunk, and only three files/packages
> uses this: rst.el, filesets.el and mh-e.
>
> So I'd rather not pollute the hundred files of Org with this.

That's all right.

> (org-at-regexp-p org-capture-template-embedded-elisp-re) already
> returns the correct value for %(length ")")

For the above example yes, but not with more than one %():
“- %(capitalize "simple percent-escape")\n- %(capitalize "one more")”

Also non-greedy regexp is not enough here:
“%(capitalize "(some) text")”

> -- but you're right there
> is a problem with my patch: `org-at-regexp-p' does not match over
> multiple lines.  Maybe you can play with `org-in-regexp':
>
>   (org-in-regexp org-capture-template-embedded-elisp-re 3)
>
> If using `forward-sexp' is necessary let's do so -- but I thought it
> was too complex first.

When I wrote the patch my conclusion was that regexp alone is not
sufficient. For real feed templates used by me, not only for
artificial examples. I must admit that my solution with `forward-sexp'
is complicated but it makes available the power of the Emacs Lisp Mode
parser. Maybe there are still some simplifications?

Michael



[O] Using org-mode as day planner

2012-08-09 Thread Jack Erwin
Hello,

I am in the process of trying out org-mode after a long stint with
planner.el.  The most obvious difference here is that planner.el uses
"day pages" that keep a running list of tasks versus the more dynamic
nature of org which collects them from a set of arbitrary .org files. 
While I like the org approach quite a bit, I still miss having a place
to record the events and notes of the a day, for use in a weekly/monthly
review.

For this reason, I started using org-daypage.el, which can be found
here: https://github.com/almost/org-daypage.  Like the author, I ran
into the slowdown caused by loading hundreds of day pages in order to
create the agenda view.  I started playing with this a bit, and have
done the following:

1) Create a single page for each year or month (e.g. 2012.org)
2) When a new day page is requested, I create an enclosure in the month
page that looks like this:
#+BEGIN: daypage :day 2012-08-01
* Here are the items...
#+END: daypage
3) Create commands that will find the right day in the file, and then
create an indirect, narrowed buffer to the contents of the day for editing.
4) Add an org-agenda-after-show-hook to load the proper day page view
when switching from the agenda.

So, a couple of questions:

1) Is this a sane approach?  My elisp is average at best, and the
org-mode devs could probably think of a more graceful way to do this.

2) Is there a reason that the org-agenda-after-show-hook is only called
when using org-agenda-goto and not org-agenda-switch-to, or is this a bug?

Thanks in advance.

Regards,
Jack




Re: [O] Org Build System (aka Makefile)

2012-08-09 Thread Achim Gratz

I've just pushed a change to the Makefile to more easily allow
customization of compilation methods.  See

http://orgmode.org/worg/dev/org-build-system.html#sec-3-2-1

for what is available.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] my capture template generates a literal "%?"

2012-08-09 Thread Nick Dokos
Nick Dokos  wrote:

> Nick Dokos  wrote:
> 
> > G  wrote:
> > 
> > > Hi,
> > > 
> > > I am using Emacs 24.1 in Win7 (64bit) and Org 7.8.11.
> > > I would like to have a capture template that just puts me at the end
> > > of my journal in plain text (although date tree) after a custom time
> > > stamp (e.g. 09:13). I tried the following
> > > ("p" "Plain Journal" plain (file+datetree
> > > "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
> > >  "%<%H:%M>\n\n%?"
> > >  :unnarrowed t :empty-lines 1)
> > > 
> > > But in this template a literal %? is written and point is thereafter.
> > > 
> > > I tried another template
> > > ("e" "Entry Journal" entry (file+datetree
> > > "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
> > >  "* Um %U von %a\n\n%?\n"
> > >  :empty-lines 1 :unnarrowed t)
> > > 
> > > And this seems to work, but it's not what I would like to have.
> > > 
> > > Did I write the template wrong?
> > > 
> > 
> > I don't think so. I can reproduce it and I think it is a bug: %? does
> > not seem to be interpreted in the first case, it is interpreted in the
> > second case, but I don't know what causes the difference.
> > 
> 
> D'oh: plain type just inserts things literally. Need more coffee.
> 

D'oh^2: everything else is interpreted, so why not %? ?

The problem seems to be in org-capture-place-plain-text: the insertion
of the text happens like this

,
| ...
| (setq beg (point))
| (insert txt)
| (org-capture-empty-lines-after 1)
| (org-capture-position-for-last-stored beg)
| (setq end (point))
| (org-capture-mark-kill-region beg (1- end))
| (org-capture-narrow beg (1- end))
| (if (re-search-forward "%\\?" end t) (replace-match ""
`

but it seesm that just before the re-search-forward, point is at
end, not at beg, so the search is fruitless. We could search backwards
to beg instead (but what is the semantics of multiple %? markers in the
template?), or we could just (goto-char beg) before the search.

Nick





[O] [GSoC] Org-sync v0.2

2012-08-09 Thread Aurélien Aptel
Hi all,

I'm releasing a new version of Org-sync, the tool to sync Org
documents with external bugtrackers/TODO-list system.

There are functional (although not complete) backends for:
- Github
- Bitbucket
- Redmine

And I'm currently working on Remember the Milk.
I've updated the installation procedure in the tutorial. It should be
easier now if it was bothering you before.
I've also made a short (~4mn) demo video covering the Bitbucket
backend and conflicts. On a side note, making this video was a painful
experience and I now realize the lack of good stable and free(dom)
video editing software on Linux.

Demo: https://www.youtube.com/watch?v=kbj6-j0teCY
Tutorial: 
http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/tutorial/
Webpage: 
http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/org-sync/index.html



Re: [O] Add the capture feature "%(sexp)" to org-feed

2012-08-09 Thread Bastien
Hi Michael,

Michael Brand  writes:

> You omitted the Local variables sentence-end-double-space: t. Isn't
> this a good idea for all the users like me that have set this to nil
> in their config? I wanted to add it to more files as soon as I will
> change them.

I've check against current Emacs trunk, and only three files/packages
uses this: rst.el, filesets.el and mh-e.

So I'd rather not pollute the hundred files of Org with this.

> “The current date.” is probably meant to remain “the current date.”.

Yes.

>> specifically, I used `org-at-regexp-p' instead of
>> `org-capture-inside-embedded-elisp-p'.
>
> With `org-capture-inside-embedded-elisp-p' I wanted to be quite more
> waterproof than `org-at-regexp-p' with the new additional closing
> parenthesis in `org-capture-template-embedded-elisp-re'. See its
> comment “to deal with for example %(length ")")”. Isn't it a good idea
> to use `forward-sexp' in Emacs Lisp Mode for this? What can I improve?

(org-at-regexp-p org-capture-template-embedded-elisp-re) already 
returns the correct value for %(length ")") -- but you're right there 
is a problem with my patch: `org-at-regexp-p' does not match over 
multiple lines.  Maybe you can play with `org-in-regexp':

  (org-in-regexp org-capture-template-embedded-elisp-re 3)

If using `forward-sexp' is necessary let's do so -- but I thought it 
was too complex first.

Thanks,

-- 
 Bastien



Re: [O] my capture template generates a literal "%?"

2012-08-09 Thread Nick Dokos
Nick Dokos  wrote:

> G  wrote:
> 
> > Hi,
> > 
> > I am using Emacs 24.1 in Win7 (64bit) and Org 7.8.11.
> > I would like to have a capture template that just puts me at the end
> > of my journal in plain text (although date tree) after a custom time
> > stamp (e.g. 09:13). I tried the following
> > ("p" "Plain Journal" plain (file+datetree
> > "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
> >  "%<%H:%M>\n\n%?"
> >  :unnarrowed t :empty-lines 1)
> > 
> > But in this template a literal %? is written and point is thereafter.
> > 
> > I tried another template
> > ("e" "Entry Journal" entry (file+datetree
> > "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
> >  "* Um %U von %a\n\n%?\n"
> >  :empty-lines 1 :unnarrowed t)
> > 
> > And this seems to work, but it's not what I would like to have.
> > 
> > Did I write the template wrong?
> > 
> 
> I don't think so. I can reproduce it and I think it is a bug: %? does
> not seem to be interpreted in the first case, it is interpreted in the
> second case, but I don't know what causes the difference.
> 

D'oh: plain type just inserts things literally. Need more coffee.

Nick




Re: [O] my capture template generates a literal "%?"

2012-08-09 Thread Nick Dokos
G  wrote:

> Hi,
> 
> I am using Emacs 24.1 in Win7 (64bit) and Org 7.8.11.
> I would like to have a capture template that just puts me at the end
> of my journal in plain text (although date tree) after a custom time
> stamp (e.g. 09:13). I tried the following
> ("p" "Plain Journal" plain (file+datetree
> "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
>  "%<%H:%M>\n\n%?"
>  :unnarrowed t :empty-lines 1)
> 
> But in this template a literal %? is written and point is thereafter.
> 
> I tried another template
> ("e" "Entry Journal" entry (file+datetree
> "C:/Users/Geralb/Documents/privat/org/MyAgenda.org")
>  "* Um %U von %a\n\n%?\n"
>  :empty-lines 1 :unnarrowed t)
> 
> And this seems to work, but it's not what I would like to have.
> 
> Did I write the template wrong?
> 

I don't think so. I can reproduce it and I think it is a bug: %? does
not seem to be interpreted in the first case, it is interpreted in the
second case, but I don't know what causes the difference.

Nick



Re: [O] Add the capture feature "%(sexp)" to org-feed

2012-08-09 Thread Michael Brand
Hi Bastien

Thank you for reviewing my patch.

On Wed, Aug 8, 2012 at 1:05 AM, Bastien  wrote:

> I've reworked some parts of your patch,

You omitted the Local variables sentence-end-double-space: t. Isn't
this a good idea for all the users like me that have set this to nil
in their config? I wanted to add it to more files as soon as I will
change them.

“The current date.” is probably meant to remain “the current date.”.

> specifically, I used `org-at-regexp-p' instead of
> `org-capture-inside-embedded-elisp-p'.

With `org-capture-inside-embedded-elisp-p' I wanted to be quite more
waterproof than `org-at-regexp-p' with the new additional closing
parenthesis in `org-capture-template-embedded-elisp-re'. See its
comment “to deal with for example %(length ")")”. Isn't it a good idea
to use `forward-sexp' in Emacs Lisp Mode for this? What can I improve?

> Can you check this is working okay for you?

I'll do with the final version of the patch if there will be changes.

Michael



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

2012-08-09 Thread Sriram Karra
On Thu, Jul 19, 2012 at 4:40 PM, Russell Adams wrote:

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

Curious - have you given BBDB a shot? There is a lot of action of late on
BBDB V3. There is also a bi-directional sync utility for BBDB <-> Outlook /
Google Contacts (Disclaimer: I the author of the said utility -
http://karra-asynk.appspot.com/)

It appears like much can be gained by upping the level of integration
between Org mode and BBDB. Thoughts?

-Karra


[O] Perhaps BUG: Proper quotes around math in new exporter

2012-08-09 Thread Rasmus
Hi,

I can't seem to get the new exporter to export proper quotes around
single element math symbols.  Here's a test-string:

  'x' '\(x\)' '$x$' `$x$' `\(x\)'  "\(x\)" "x"

(first and last are always correct)

With the old exporter they all turn out correctly:
   http://ompldr.org/vZjFrcw/screenshot-20120809%40124834.png

With the new exporter none of the math-version turns out correctly:
   http://ompldr.org/vZjFrdA/screenshot-20120809%40124247.png

I can of course correct by brute force by putting it in a #+latex line.
But is there some way to get the org-export.el to treat the above
example correctly?

–Rasmus 

Version: Org-mode version 7.8.11 (release_7.8.11-382-g1276ab.dirty @ 
/usr/share/emacs/site-lisp/org/)

-- 
Don't panic!!!




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

2012-08-09 Thread Jose E. Marchesi

- GNU recutils - plain text database, avail. in Debian et al.
http://www.gnu.org/software/recutils

- http://www.nongnu.org/addressbook
From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3 
format. Would be wonderful if somebody would update to [vx]card4.

I still use abook.el to manage my contacts.

But the emacs mode to edit recfiles (rec-mode) is being improved a lot
lately, and soon it will provide a much better user interface than
abook, only more general.  That is why I am not working on abook.el any
further.

You can try the latest recutils+rec-mode by cloning
git://git.savannah.gnu.org/recutils.git

-- 
Jose E. Marchesi http://www.jemarch.net
GNU Project  http://www.gnu.org



Re: [O] [OT] LWN article on Easybook

2012-08-09 Thread Aurélien Aptel
On Wed, Aug 8, 2012 at 2:16 PM, Bastien  wrote:
> Precisely where Org has a point: ~0 markup, ~0 mental effort.

Markdown is very similar to Org for basic outlining. I don't
understand how either one can require mental effort.

# title1
## title2

paragraph. *italic* and **bold**. [link](http://google.com).

> quote
> > nested quote

- item
- item

code block
code block

etc



Re: [O] The Quantified Shower

2012-08-09 Thread Aurélien Aptel
Haha, oh wow! This is awesome!

On Tue, Aug 7, 2012 at 2:32 PM, Christopher J. White
 wrote:
> Oh man, what a great post... But the mp3 links are broken!  I really want to
> hear "The Shower Song w/hair".

Works for me.

*megaman music*
Put. soap. on. loofa. (in robotic voice)
*megaman music*
etc

> On 8/7/12 5:52 AM, 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.
>>
>> I'm still trying to figure out if this post is a joke or not:
>>
>>http://jeapostrophe.github.com/blog/2012/08/06/shower/
>>
>> Maybe the fun is precisely in wondering so :)



[O] my capture template generates a literal "%?"

2012-08-09 Thread G

Hi,

I am using Emacs 24.1 in Win7 (64bit) and Org 7.8.11.
I would like to have a capture template that just puts me at the end of 
my journal in plain text (although date tree) after a custom time stamp 
(e.g. 09:13). I tried the following
("p" "Plain Journal" plain (file+datetree 
"C:/Users/Geralb/Documents/privat/org/MyAgenda.org")

 "%<%H:%M>\n\n%?"
 :unnarrowed t :empty-lines 1)

But in this template a literal %? is written and point is thereafter.

I tried another template
("e" "Entry Journal" entry (file+datetree 
"C:/Users/Geralb/Documents/privat/org/MyAgenda.org")

 "* Um %U von %a\n\n%?\n"
 :empty-lines 1 :unnarrowed t)

And this seems to work, but it's not what I would like to have.

Did I write the template wrong?

Geralb