Re: [O] org-jira.el... and Org conventions (Bastien, Carsten and all)

2012-01-03 Thread Sebastien Vauban
Hi Bao,

Bao Haojun wrote:
 I have implemented org-jira.el, bringing org-mode and Jira system
 together.

 Wrote a Wiki page for it on emacswiki:
 http://www.emacswiki.org/emacs/OrgJiraMode

 Hope somebody find it useful, if he/she is also using Jira and loves
 org-mode.

I had never heard of Jira, but your work definitely looks very promising.
IMHO, it should be compared with org-x and its extension to Redmine, among
others.

But this triggers, for me, another concern which is the very wide variety of
ways to define the same thing.

Let's just take how we represent who's gonna be assigned a task:

- In most examples we see on the Net (or in the Org manual), people use tags
  with person names (or abbreviations).

- In your case, you mirror what's done in Jira (I guess) and you introduce a
  property Assignee.

- In Org issues (http://orgmode.org/worg/org-issues.html), some tasks are
  given a property Who to indicate who has to work on them.

- In tasks used for interacting with TaskJuggler, one uses a Resource-Id
  property.

- Still another approach is used by Juan Reyero in his advertised Org-mode
  tricks for team management (see [1]), using a combination of TODO todo
  keywords for his own tasks, and TASK keywords for tasks assigned to members
  of his team.

All of this makes it hard to have one independent Org file, and be able to
cooperate with external tools (like Jira, Redmine, TaskJuggler and others) on
a on demand approach.

You want a Gantt chart?  You need to add (or rename) Resource-Id properties.

Now, you would like a Web-based Bug Tracking system?  Too bad: you need to add
(or rename) properties Assignee or ...

So, my point is: wouldn't it be better if we proposed standard properties in
Org (in the manual), and implemented mappings in the Org integration
packages (org-jira, org-taskjuggler, org-redmine and the like)?

So, say for example that, from now on, it's more standard in Org to use
Assignee (or anything else) for representing who's assigned a task, and have
every package map the property Assignee to whatever keyword used in external
tools for representing that concept?

If we do such,

- we _do not impose anything_ (everybody is still free to represent this task
  the way he wants, be it properties or tags)

- we ensure an easy transition to use any external tool for those that used
  the to be defined standard properties.

Best regards,
  Seb

Footnotes:

[1] http://juanreyero.com/article/emacs/org-teams.html

-- 
Sebastien Vauban




[O] Release 7.8.03

2012-01-03 Thread Bastien
Dear all,

I'm releasing 7.8.03.  

This release is just a bugfix release, fixing bugs found since
7.8.02.  It does not contain new features added since then.

http://orgmode.org/org-7.8.03.zip
http://orgmode.org/org-7.8.03.tar.gz

Enjoy,

-- 
 Bastien



Re: [O] Location of OpenDocument style files should be configurable

2012-01-03 Thread Ulrich Mueller
 On Mon, 02 Jan 2012, Jambunathan K wrote:

 BTW, maybe one could think about supporting DESTDIR? That should be
 trivial to implement, simply prepend $(DESTDIR) to all destination
 paths in the install-* make targets. I can prepare a patch if this
 is wanted.
 http://www.gnu.org/prep/standards/html_node/DESTDIR.html

 It would be wonderful if you could provide a patch (and a usage
 note).

Included below.

 ps: Makefiles are beyond my jurisdiction. I will let Bastien act on
 your patch(es).

Looks like my earlier patch hasn't been applied for 7.8.03. :(

Cheers,
Ulrich


From 274fc9a41d7e573bc67a85ffad046ca163dc6452 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= u...@gentoo.org
Date: Mon, 2 Jan 2012 22:00:38 +0100
Subject: [PATCH] Support DESTDIR in Makefile.

---
 Makefile |   19 +++
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index 642b21f..b6ad567 100644
--- a/Makefile
+++ b/Makefile
@@ -253,18 +253,21 @@ g:
 lisp/org-odt.elc: BATCH_EXTRA = -eval (setq org-odt-data-dir 
(expand-file-name \$(datadir)\))
 
 install-lisp: $(LISPFILES) $(ELCFILES)
-   if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ;
-   $(CP) $(LISPFILES)  $(lispdir)
-   $(CP) $(ELCFILES)   $(lispdir)
+   if [ ! -d $(DESTDIR)$(lispdir) ]; then \
+   $(MKDIR) $(DESTDIR)$(lispdir); else true; fi ;
+   $(CP) $(LISPFILES)  $(DESTDIR)$(lispdir)
+   $(CP) $(ELCFILES)   $(DESTDIR)$(lispdir)
 
 install-info: $(INFOFILES)
-   if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ;
-   $(CP) $(INFOFILES) $(infodir)
-   $(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES)
+   if [ ! -d $(DESTDIR)$(infodir) ]; then \
+   $(MKDIR) $(DESTDIR)$(infodir); else true; fi ;
+   $(CP) $(INFOFILES) $(DESTDIR)$(infodir)
+   $(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) $(INFOFILES)
 
 install-data: $(DATAFILES)
-   if [ ! -d $(datadir) ]; then $(MKDIR) $(datadir); else true; fi ;
-   $(CP) $(DATAFILES) $(datadir)
+   if [ ! -d $(DESTDIR)$(datadir) ]; then \
+   $(MKDIR) $(DESTDIR)$(datadir); else true; fi ;
+   $(CP) $(DATAFILES) $(DESTDIR)$(datadir)
 
 autoloads: lisp/org-install.el
 
-- 
1.7.8.2



Re: [O] [Orgmode] configuring org-export-latex-classes

2012-01-03 Thread Waldemar Reusch
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21593.html

im trying to set up ditaa on my cygwin/windows7 machine and encountered the
very same problem as described in the above mentioned mail, i.e. the error
jar not accessible.
i tried to fix it by hacking org-exp-blocks, but it does not seem to make
any difference. when i check the *Messages* buffer, the path to ditaa.jar
is unchanged.
If anyone has this one figured out, i would appreciate your help.


Re: [O] Problem with noweb-ref property

2012-01-03 Thread Andreas Leha
Eric Schulte eric.schu...@gmx.com writes:

 However correct performance is more important than fast performance.
 I've just pushed up a patch which fixes the bug you've described, and
 hopefully doesn't slow down the tangling process too significantly.


 Hi Eric,

 unfortunately, for me it does result in a considerably slow down.
 (Well, I did not bisect this time but still suspect the commit you
 mention in this thread.)

 As a test case you can still use
 http://pastebin.com/c42jS1Be
 from my last post on this matter and expand the first source block.

 Sorry to ask again:  Would it be possible to speed things up again or to
 make the :noweb-ref feature optional?


 Hi Andreas,

 I've just pushed up a new variable to the git repository.  To enable the
 faster regexp-based method of noweb expansion (which is not able to
 resolve noweb-ref header arguments inherited from sub-tree or file-wide
 properties) put the following in your config.

 (setq *org-babel-use-quick-and-dirty-noweb-expansion* t)

 Best,


Hi Eric,

thanks for this quick-and-dirty fix ;-)  Works great!

Cheers,
Andreas




Re: [O] Location of OpenDocument style files should be configurable

2012-01-03 Thread Ulrich Mueller
 On Mon, 02 Jan 2012, Achim Gratz wrote:

 Jambunathan K kjambunat...@gmail.com writes:
 (org-odt-styles-dir-list, org-odt-schema-dir-list): New
 variables.  Pay specific attention to (eval-when-compile ...)
 form through which Makefile's $(datadir) - contained in
 `org-odt-data-dir' - gets compiled in as a hard coded
 constant.

 I don't understand the need for compile-time evaluation.  In any
 case it would be nice to avoid it.

It's somewhat fragile, because the program will behave differently
depending if the .el or the .elc file is loaded.

Therefore I think that embedding the variable in org-install.el (as in
commit 67e92cf in your fork) is preferable.

Cheers,
Ulrich



Re: [O] Location of OpenDocument style files should be configurable

2012-01-03 Thread Bastien
Hi Ulrich,

Ulrich Mueller u...@gentoo.org writes:

 ps: Makefiles are beyond my jurisdiction. I will let Bastien act on
 your patch(es).

 Looks like my earlier patch hasn't been applied for 7.8.03. :(

Yes -- things are not entirely clear to me in this area, and the
ongoing discussion between you, Achim and Jambunathan feels like
we need to move carefully.

This will be part of the next bugfix or major release.

-- 
 Bastien



Re: [O] Location of OpenDocument style files should be configurable

2012-01-03 Thread Bastien
Hi Ulrich,

Ulrich Mueller u...@gentoo.org writes:

 It would be wonderful if you could provide a patch (and a usage
 note).

 Included below.

Please add more explanations in such patches -- Jambunathan's
explanations are a model of clarity and detailfulness.

Thanks!

-- 
 Bastien



Re: [O] [Orgmode] configuring org-export-latex-classes

2012-01-03 Thread Waldemar Reusch
okay, nevermind, i figured it out myself.
need to hack ob-ditaa.el:
look for the line (cmd (concat java  and insert your cygwin path
(e.g. c:/cygwin) just before shell-quote-argument,
org-babel-process-file-name in-file and org-babel-process-file-name
out-file, so that it will look like this:

(cmd (concat java  java  -jar c:/cygwin
  (shell-quote-argument
   (expand-file-name org-ditaa-jar-path))
cmdline
   c:/cygwin (org-babel-process-file-name in-file)
   c:/cygwin (org-babel-process-file-name out-file

hopefully this will help someone.

On Tue, Jan 3, 2012 at 11:05 AM, Waldemar Reusch 
waldemar.reu...@googlemail.com wrote:

 http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21593.html

 im trying to set up ditaa on my cygwin/windows7 machine and encountered
 the very same problem as described in the above mentioned mail, i.e. the
 error jar not accessible.
 i tried to fix it by hacking org-exp-blocks, but it does not seem to make
 any difference. when i check the *Messages* buffer, the path to ditaa.jar
 is unchanged.
 If anyone has this one figured out, i would appreciate your help.




Re: [O] Color agenda items

2012-01-03 Thread Maximilian Matthe
Hi Bastien,

Bastien b...@altern.org writes:
 Hi Max,

 Maximilian Matthe maxi.mat...@googlemail.com writes:

 I've imported school holidays from .ics into my org-mode setup. They do
 show up in the agenda. I would like to have a special color for all
 holiday entries in the agenda. Maybe I can add this in the
 PROPERTIES-Drawer? 

 I don't think so.  

 How are you adding your .ics data into your Agenda?  

I downloaded the .ics-file and converted into an org-file with ics2org
from Eric S. Fraga. I attach the resulting org-file. That file is then
added into the agenda by adding it into my list of org-files (C-c [ or
sth. ). 

 And another related question: Is it possible to give the start and end
 of a date (e.g. holidays) a different color than the intermediate days?

 Nope, sorry.
Hm... too bad.

Maybe one can add a property like :FONTSTYLE: where one can define how
the item look like in the agenda?

Regards, Max

ferien.org
Description: Binary data


Re: [O] Unable to unfold a folded block having point directly after the folded block

2012-01-03 Thread Rainer Stengele

Am 02.01.2012 19:53, schrieb Bastien:

Hi Rainer,

Rainer Stengelerainer.steng...@online.de  writes:


Having

*** Headline
 :LOGBOOK:

- point is at the end of the headline
- moving one line down I am at the end of the LOGBOOK line

There I cannot open the folded LOGBOOK block withTAB.
I have to move point one character back in order to unfold it withTAB.
After that I can no more reach the end of this line like before, where I could not 
unfold withTAB.

Is this intended?

No.  This is fixed now.

Thanks,


Hi Bastien,

I just pulled and checked but cannot see a change.
Did you check in the fix already?

Thanks!

Rainer



Re: [O] org-jira.el

2012-01-03 Thread Marc Spitzer
This will be very handy.

Thanks,

marc

On Mon, Jan 2, 2012 at 7:08 AM, Bao Haojun baohao...@gmail.com wrote:
 Hi, all

 I have implemented org-jira.el, bringing org-mode and Jira system
 together.

 Wrote a Wiki page for it on emacswiki:
 http://www.emacswiki.org/emacs/OrgJiraMode

 Hope somebody find it useful, if he/she is also using Jira and loves
 org-mode.






-- 
Freedom is nothing but a chance to be better.
--Albert Camus

 The problem with socialism is that eventually you run out
of other people's money.
--Margaret Thatcher

Do the arithmetic or be doomed to talk nonsense.
--John McCarthy



Re: [O] Location of OpenDocument style files should be configurable

2012-01-03 Thread Ulrich Mueller
 On Tue, 03 Jan 2012, Bastien  wrote:

 It would be wonderful if you could provide a patch (and a usage
 note).
 
 Included below.

 Please add more explanations in such patches -- Jambunathan's
 explanations are a model of clarity and detailfulness.

Sorry. Please find an updated patch below.

Cheers,
Ulrich


From 9af8ea97022e23231395046bcfbf5f1e71ac5f59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= u...@gentoo.org
Date: Mon, 2 Jan 2012 22:00:38 +0100
Subject: [PATCH] Support DESTDIR in Makefile.

From the GNU coding standards:
`DESTDIR' is a variable prepended to each installed target file. [...]
This provides for staged installs, where the installed files are not
placed directly into their expected location but are instead copied
into a temporary location (`DESTDIR').  However, installed files
maintain their relative directory structure and any embedded file
names will not be modified.
---
 Makefile |   22 ++
 1 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index 642b21f..4f06c4e 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,9 @@ datadir = $(prefix)/share/emacs/etc
 # Where info files go
 infodir = $(prefix)/share/info
 
+# Alternate destination root directory for staged installs
+DESTDIR =
+
 ##--
 ## YOU MAY NEED TO EDIT THESE
 ##--
@@ -253,18 +256,21 @@ g:
 lisp/org-odt.elc: BATCH_EXTRA = -eval (setq org-odt-data-dir 
(expand-file-name \$(datadir)\))
 
 install-lisp: $(LISPFILES) $(ELCFILES)
-   if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ;
-   $(CP) $(LISPFILES)  $(lispdir)
-   $(CP) $(ELCFILES)   $(lispdir)
+   if [ ! -d $(DESTDIR)$(lispdir) ]; then \
+   $(MKDIR) $(DESTDIR)$(lispdir); else true; fi ;
+   $(CP) $(LISPFILES)  $(DESTDIR)$(lispdir)
+   $(CP) $(ELCFILES)   $(DESTDIR)$(lispdir)
 
 install-info: $(INFOFILES)
-   if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ;
-   $(CP) $(INFOFILES) $(infodir)
-   $(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES)
+   if [ ! -d $(DESTDIR)$(infodir) ]; then \
+   $(MKDIR) $(DESTDIR)$(infodir); else true; fi ;
+   $(CP) $(INFOFILES) $(DESTDIR)$(infodir)
+   $(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) $(INFOFILES)
 
 install-data: $(DATAFILES)
-   if [ ! -d $(datadir) ]; then $(MKDIR) $(datadir); else true; fi ;
-   $(CP) $(DATAFILES) $(datadir)
+   if [ ! -d $(DESTDIR)$(datadir) ]; then \
+   $(MKDIR) $(DESTDIR)$(datadir); else true; fi ;
+   $(CP) $(DATAFILES) $(DESTDIR)$(datadir)
 
 autoloads: lisp/org-install.el
 
-- 
1.7.8.2




[O] Excluding folders in org-publish with :exclude regexp. Not working. Fix?

2012-01-03 Thread Iannis Zannos



Hello, 

I need to exclude some folders when publishing to html via an org-publish 
project definition. I create the project's alist as explained in the doc. 

For example, the beginning of my  org-publish-project-alist looks like this: 

 ((org 
:base-directory /Users/iani/org/ 
:publishing-directory /Users/iani/org/html/ 
:base-extension org 
:exclude config.org
;; etc. 
 )
;; etc
)

The above project org excludes all files named config.org. 
HOWEVER: 
If I try to enter any directory path in the :exclude regexp, it does not work. 
I tried all sorts of combinations such as: 
-- The entire directory path: /Users/iani/org/subproj1/
-- Wildcard: /Users/iani/org/subproj1/*
-- Another wildcard: /Users/iani/org/subproj1/*.org
-- Even another wildcard:  .*/config\\.org$ (just for testing, this should 
exclude all config.org files again. 

It seems that excluding directories, or including part of the path besides the 
filename itself in the exclude property does not work. 
I see a possibly related comment in function org-publish-get-base-files:

(org-publish-get-base-files-1 base-dir recurse match
  ;; FIXME distinguish exclude regexp
  ;; for skip-file and skip-dir?
  exclude-regexp exclude-regexp)

I also had a look at the relevant function definition: 
(defun org-publish-get-base-files-1 (...

But before spending some time trying to fix this I would like to ask if there 
is some other provision for excluding directories in org-publish which I am not 
aware of.

Many thanks in advance, 

Iannis Zannos





Re: [O] Location of OpenDocument style files should be configurable

2012-01-03 Thread Ulrich Mueller
 On Tue, 03 Jan 2012, Bastien  wrote:

 ps: Makefiles are beyond my jurisdiction. I will let Bastien act
 on your patch(es).
 
 Looks like my earlier patch hasn't been applied for 7.8.03. :(

 Yes -- things are not entirely clear to me in this area, and the
 ongoing discussion between you, Achim and Jambunathan feels like
 we need to move carefully.

To summarise as I see the issue:
 - Because arbitrary paths for datadir can be specified at compile
   time, any approach using (only) heuristic searches at run time is
   bound to fail in some configurations.
 - Most other packages using such heuristics provide a way for
   overriding it. The simplest way is just using defvar or defcustom
   (but not a defconst) for the variable definition. (This was my
   original suggestion, which would have been trivial to implement.)
 - However, if the location is known at compile time, there is also no
   need for such searches, because the datadir path can be embedded in
   the lisp code.
 - Preferably, the package should behave the same, regardless if it is
   loaded as elisp sources or as byte-compiled files. Embedding the
   path only in the byte code may be too fragile (in fact, for 7.8.03
   it currently fails with Gentoo's staged installs), and also lead to
   surprising behaviour.
 - Therefore I think the best approach would be either to record such
   paths in org-install.el (as Achim has suggested), or to have the
   Makefile create a new file like org-paths.el for this purpose.

Cheers,
Ulrich



Re: [O] The reportmode report does not count the running clock

2012-01-03 Thread François Pinard
Hello, everybody.  Let me wish you all that the Year Started Well, and
will continue that way all along!

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

 On 13.12.2011, at 16:30, Bernt Hansen wrote:
 (setq org-clock-report-include-clocking-task t)
 It isn't [referred to in the Org mode manual]?  Oops.  I'll prepare a
 patch for this.

 Note that there is a million variables which are not referred to
 in the manual - simply too many to mention them all.

A million?  You *always* exaggerate! :-)

 It might be useful to mentions this one, otherwise I would urge
 restraint.  A good way to find unknown variables is described here:
 http://orgmode.org/worg/org-tutorials/org-customize.html

The manual should be reference, and should mention all variables.  A
textual search in the manual should yield anything worth finding.
However nicely and carefully the customization has been organized, one
should ideally not have to guess and retry customize branches in hope of
finding something, or peruse the sources, after having tried the manual.

Do not misread me, I'm not at all saying that there is something wrong
with the customization, or the availability of the sources! :-)

Maybe an appendix to the manual could be mechanically generated out of
all customization information, with some Makefile/Emacs machinery for
keeping it up-to-date?  Easier said than done, I know...  But I would
like at least to throw the idea in the field.

François





Re: [O] org-jira.el... and Org conventions (Bastien, Carsten and all)

2012-01-03 Thread Bao Haojun
Hi Sebastien, 

Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

 Hi Bao,

 Bao Haojun wrote:
 I have implemented org-jira.el, bringing org-mode and Jira system
 together.

 Wrote a Wiki page for it on emacswiki:
 http://www.emacswiki.org/emacs/OrgJiraMode

 Hope somebody find it useful, if he/she is also using Jira and loves
 org-mode.

 I had never heard of Jira, but your work definitely looks very promising.
 IMHO, it should be compared with org-x and its extension to Redmine, among
 others.

Thanks for the praise! Jira is a commercial issue tracker, but it also
seems to be OSS friendly (by allowing OSS community to use the software
for free; Apache is using it, see http://wiki.apache.org/general/ApacheJira).

Likewise I had not heard of org-x and Redmine, thanks for letting me know.

 But this triggers, for me, another concern which is the very wide variety of
 ways to define the same thing.

 ...

 So, my point is: wouldn't it be better if we proposed standard properties in
 Org (in the manual), and implemented mappings in the Org integration
 packages (org-jira, org-taskjuggler, org-redmine and the like)?

 So, say for example that, from now on, it's more standard in Org to use
 Assignee (or anything else) for representing who's assigned a task, and have
 every package map the property Assignee to whatever keyword used in external
 tools for representing that concept?

I can see your point, that standard thing is good, if it's already here,
I will definitely try comply to them.

But your worrying people need to transition from one system such as
org-jira to another such as org-x, I think they are not very
often. Because if it happens, it would mean that the COMPANY/COMMUNITY
has decided to switch from Jira to Redmine, can you imagine how often
that can be?

Besides, even if that really happens, it would also mean the
COMPANY/COMMUNITY has got a way to transition from Jira to Redmine, so
there would have already been a way to transit from org-jira to org-x:
org-jira - Jira - Redmine - org-x (and vice versa).

So my point is, if someone try to make transition easy, they should do
it on the company level, such as from Jira to Redmine. Org mode feels
kind of personal to me, and I feel good enough to be able to sync
between company issue tracking system and my org-mode, no need for it to
be able to transit to another issue tracking system's org-mode.

Best Regards,
  Bao Haojun



Re: [O] org-jira.el... and Org conventions (Bastien, Carsten and all)

2012-01-03 Thread Sebastien Vauban
Hi Bao,

Bao Haojun wrote:
 Sebastien Vauban wxhgmqzgw...@spammotel.com writes:
 Bao Haojun wrote:
 I have implemented org-jira.el, bringing org-mode and Jira system
 together.

 Wrote a Wiki page for it on emacswiki:
 http://www.emacswiki.org/emacs/OrgJiraMode

 Hope somebody find it useful, if he/she is also using Jira and loves
 org-mode.

 I had never heard of Jira, but your work definitely looks very promising.
 IMHO, it should be compared with org-x and its extension to Redmine, among
 others.

 Thanks for the praise! Jira is a commercial issue tracker, but it also
 seems to be OSS friendly (by allowing OSS community to use the software for
 free; Apache is using it, see http://wiki.apache.org/general/ApacheJira).

 Likewise I had not heard of org-x and Redmine, thanks for letting me know.

 But this triggers, for me, another concern which is the very wide variety
 of ways to define the same thing.

 So, my point is: wouldn't it be better if we proposed standard properties
 in Org (in the manual), and implemented mappings in the Org integration
 packages (org-jira, org-taskjuggler, org-redmine and the like)?

 So, say for example that, from now on, it's more standard in Org to use
 Assignee (or anything else) for representing who's assigned a task, and
 have every package map the property Assignee to whatever keyword used in
 external tools for representing that concept?

 I can see your point, that standard thing is good, if it's already here, I
 will definitely try comply to them.

Thanks for your proposition.

I will let others express their own meaning, but, seeing your answer, I wanted
to recalibrate what I expressed.

 But your worrying people need to transition from one system such as org-jira
 to another such as org-x, I think they are not very often. Because if it
 happens, it would mean that the COMPANY/COMMUNITY has decided to switch from
 Jira to Redmine, can you imagine how often that can be?

 Besides, even if that really happens, it would also mean the
 COMPANY/COMMUNITY has got a way to transition from Jira to Redmine, so there
 would have already been a way to transit from org-jira to org-x: org-jira -
 Jira - Redmine - org-x (and vice versa).

 So my point is, if someone try to make transition easy, they should do it on
 the company level, such as from Jira to Redmine. Org mode feels kind of
 personal to me, and I feel good enough to be able to sync between company
 issue tracking system and my org-mode, no need for it to be able to transit
 to another issue tracking system's org-mode.

You're right we could understand my proposition as being an easier way to
change between bug tracking systems. But not only that.

I gave the example of Task Juggler: wouldn't it be nice to be able -- at any
point in time -- to generate a dependency graph through Task Juggler, while
being able (at the same time, without touching anything) to get the tasks
maintained in, let's say, Redmine (which does not offer a Gantt chart
functionality IIRC)?

So, the question is not really about switching from one system to another, but
more about using 2 (or more) systems in parallel... While the former may be a
rare occurrence in a project, I guess the latter is more a common wish.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] org-jira.el... and Org conventions (Bastien, Carsten and all)

2012-01-03 Thread Allen S. Rout

On 01/03/2012 10:53 AM, Bao Haojun wrote:



So my point is, if someone try to make transition easy, they should do
it on the company level, such as from Jira to Redmine. Org mode feels
kind of personal to me, and I feel good enough to be able to sync
between company issue tracking system and my org-mode, no need for it to
be able to transit to another issue tracking system's org-mode.



It shouldn't be necessary for the org-mode user to learn 'How Haojun 
thinks about ticket systems' to use jira, and then also learn 'how 
[someone] thinks about ticket systems' to then use the (imagined?) TRAC 
integration.


It should be enough to understand 'How org-mode thinks about ticket 
systems'.   Unfortunately, in order to do this, it is necessary for 
org-mode to have an opinon. :)   Which it doesn't, yet.




- Allen S. Rout




Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Martyn Jago

Martyn Jago martyn.j...@btinternet.com writes:

 There is a bug running babel on Emacs 22.1.1 with a minimal init file.


[...]


 The following fails:

 * Test fails

 #+begin_src emacs-lisp :results silent

 hello there

 #+end_src


[...]

The problem appears to be associated with the way `member' works:

 - on Emacs 23+ the following doesn't generate an error 
 - on Emacs 22 it generates Wrong type argument: listp, 58

#+begin_src emacs-lisp

(member 116 58) 

#+end_src

`org-babel-balanced-split' appears to rely on not generating an error
when the `member' LIST parameter is actually a number.

Best, Martyn





Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Eric Schulte
Martyn Jago martyn.j...@btinternet.com writes:

 Martyn Jago martyn.j...@btinternet.com writes:

 There is a bug running babel on Emacs 22.1.1 with a minimal init file.


 [...]


 The following fails:

 * Test fails

 #+begin_src emacs-lisp :results silent

 hello there

 #+end_src


 [...]

 The problem appears to be associated with the way `member' works:

  - on Emacs 23+ the following doesn't generate an error 
  - on Emacs 22 it generates Wrong type argument: listp, 58

 #+begin_src emacs-lisp

 (member 116 58) 

 #+end_src

 `org-babel-balanced-split' appears to rely on not generating an error
 when the `member' LIST parameter is actually a number.


Ah, I see where this comes in, does the included alternative definition
of this function fix the issue on Emacs22?  If so I'll apply this change
to the repository.

Thanks,

(defun org-babel-balanced-split (string alts)
  Split STRING on instances of ALTS.
ALTS is a cons of two character options where each option may be
either the numeric code of a single character or a list of
character alternatives.  For example to split on balanced
instances of \[ \t]:\ set ALTS to '((32 9) . 58).
  (flet ((matches (ch spec) (or (and (numberp spec) (= spec ch))
(not (numberp spec) (member ch spec
 (matched (ch last)
  (if (consp alts)
  (and (matches ch (cdr alts))
   (matches last (car alts)))
(matches ch alts
(let ((balance 0) (quote nil) (partial nil) (lst nil) (last 0))
  (mapc (lambda (ch)  ; split on [], (),  balanced instances of [ \t]:
  (setq balance (+ balance
   (cond ((or (equal 91 ch) (equal 40 ch)) 1)
 ((or (equal 93 ch) (equal 41 ch)) -1)
 (t 0
  (when (and (equal 34 ch) (not (equal 92 last)))
(setq quote (not quote)))
  (setq partial (cons ch partial))
  (when (and (= balance 0) (not quote) (matched ch last))
(setq lst (cons (apply #'string (nreverse
 (if (consp alts)
 (cddr partial)
   (cdr partial
lst))
(setq partial nil))
  (setq last ch))
(string-to-list string))
  (nreverse (cons (apply #'string (nreverse partial)) lst)


 Best, Martyn




-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] Please test the new Makefile

2012-01-03 Thread Achim Gratz

Rebased to 7.8.03.

Achim Gratz strom...@nexgo.de writes:
 I'm uncertain about the integration of the ODT exporter (although it
 works on my machine): it seems that the schema files should reside in
 etc/schema (and ETCDIR should include schema on install)? 

I went ahead and moved the schema dir from contrib to etc and adapted
the Makefile to install it.


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

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Martyn Jago
Eric Schulte eric.schu...@gmx.com writes:

 Martyn Jago martyn.j...@btinternet.com writes:

 Martyn Jago martyn.j...@btinternet.com writes:

 [...]

 The problem appears to be associated with the way `member' works:

  - on Emacs 23+ the following doesn't generate an error 
  - on Emacs 22 it generates Wrong type argument: listp, 58

 #+begin_src emacs-lisp

 (member 116 58) 

 #+end_src

 `org-babel-balanced-split' appears to rely on not generating an error
 when the `member' LIST parameter is actually a number.


 Ah, I see where this comes in, does the included alternative definition
 of this function fix the issue on Emacs22?  If so I'll apply this change
 to the repository.

 Thanks,

 (defun org-babel-balanced-split (string alts)
   Split STRING on instances of ALTS.
 ALTS is a cons of two character options where each option may be
 either the numeric code of a single character or a list of
 character alternatives.  For example to split on balanced
 instances of \[ \t]:\ set ALTS to '((32 9) . 58).
   (flet ((matches (ch spec) (or (and (numberp spec) (= spec ch))
   (not (numberp spec) (member ch spec

[...]

Hi Eric

I fixed a typo on your fix, and added a regression test, and it now
works on Emacs 22. Thanks!

Best, Martyn

--8---cut here---start-8---
(defun org-babel-balanced-split (string alts)
  Split STRING on instances of ALTS.
ALTS is a cons of two character options where each option may be
either the numeric code of a single character or a list of
character alternatives.  For example to split on balanced
instances of \[ \t]:\ set ALTS to '((32 9) . 58).
  (flet ((matches (ch spec) (or (and (numberp spec) (= spec ch))
(and (not (numberp spec))
 (member ch spec
 (matched (ch last)
  (if (consp alts)
  (and (matches ch (cdr alts))
   (matches last (car alts)))
(matches ch alts
(let ((balance 0) (quote nil) (partial nil) (lst nil) (last 0))
  (mapc (lambda (ch)  ; split on [], (),  balanced instances of [ \t]:
  (setq balance (+ balance
   (cond ((or (equal 91 ch) (equal 40 ch)) 1)
 ((or (equal 93 ch) (equal 41 ch)) -1)
 (t 0
  (when (and (equal 34 ch) (not (equal 92 last)))
(setq quote (not quote)))
  (setq partial (cons ch partial))
  (when (and (= balance 0) (not quote) (matched ch last))
(setq lst (cons (apply #'string (nreverse
 (if (consp alts)
 (cddr partial)
   (cdr partial
lst))
(setq partial nil))
  (setq last ch))
(string-to-list string))
  (nreverse (cons (apply #'string (nreverse partial)) lst)
--8---cut here---end---8---


--8---cut here---start-8---
(ert-deftest test-ob/org-babel-balanced-split ()
  (should (equal
   '(:a 1 b [2 3] c (4 :d (5 6)))
   (org-babel-balanced-split :a 1 :b [2 3] :c (4 :d (5 6)) '((32 9) . 
58)
--8---cut here---end---8---




[O] '=' and highlight

2012-01-03 Thread sergio
Hello.

Why org mode highlights this lines with bright text color:

={motion}indent code
==   indent line

?

From the first '=' till '=='.

-- 
sergio.



Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Eric Schulte
Martyn Jago martyn.j...@btinternet.com writes:

 Eric Schulte eric.schu...@gmx.com writes:

 Martyn Jago martyn.j...@btinternet.com writes:

 Martyn Jago martyn.j...@btinternet.com writes:

 [...]

 The problem appears to be associated with the way `member' works:

  - on Emacs 23+ the following doesn't generate an error 
  - on Emacs 22 it generates Wrong type argument: listp, 58

 #+begin_src emacs-lisp

 (member 116 58) 

 #+end_src

 `org-babel-balanced-split' appears to rely on not generating an error
 when the `member' LIST parameter is actually a number.


 Ah, I see where this comes in, does the included alternative definition
 of this function fix the issue on Emacs22?  If so I'll apply this change
 to the repository.

 Thanks,

 (defun org-babel-balanced-split (string alts)
   Split STRING on instances of ALTS.
 ALTS is a cons of two character options where each option may be
 either the numeric code of a single character or a list of
 character alternatives.  For example to split on balanced
 instances of \[ \t]:\ set ALTS to '((32 9) . 58).
   (flet ((matches (ch spec) (or (and (numberp spec) (= spec ch))
  (not (numberp spec) (member ch spec

 [...]

 Hi Eric

 I fixed a typo on your fix, and added a regression test, and it now
 works on Emacs 22. Thanks!


Great, both the test case and a fixed version of this function are now
applied to the git repository.

Thanks,


 Best, Martyn

 (defun org-babel-balanced-split (string alts)
   Split STRING on instances of ALTS.
 ALTS is a cons of two character options where each option may be
 either the numeric code of a single character or a list of
 character alternatives.  For example to split on balanced
 instances of \[ \t]:\ set ALTS to '((32 9) . 58).
   (flet ((matches (ch spec) (or (and (numberp spec) (= spec ch))
   (and (not (numberp spec))
(member ch spec
(matched (ch last)
 (if (consp alts)
 (and (matches ch (cdr alts))
  (matches last (car alts)))
   (matches ch alts
 (let ((balance 0) (quote nil) (partial nil) (lst nil) (last 0))
   (mapc (lambda (ch)  ; split on [], (),  balanced instances of [ \t]:
 (setq balance (+ balance
  (cond ((or (equal 91 ch) (equal 40 ch)) 1)
((or (equal 93 ch) (equal 41 ch)) -1)
(t 0
 (when (and (equal 34 ch) (not (equal 92 last)))
   (setq quote (not quote)))
 (setq partial (cons ch partial))
 (when (and (= balance 0) (not quote) (matched ch last))
   (setq lst (cons (apply #'string (nreverse
(if (consp alts)
(cddr partial)
  (cdr partial
   lst))
   (setq partial nil))
 (setq last ch))
   (string-to-list string))
   (nreverse (cons (apply #'string (nreverse partial)) lst)

 (ert-deftest test-ob/org-babel-balanced-split ()
   (should (equal
  '(:a 1 b [2 3] c (4 :d (5 6)))
  (org-babel-balanced-split :a 1 :b [2 3] :c (4 :d (5 6)) '((32 9) . 
 58)

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Achim Gratz
Eric Schulte eric.schu...@gmx.com writes:
 Great, both the test case and a fixed version of this function are now
 applied to the git repository.

You've pushed it to both maint and master?


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




Re: [O] '=' and highlight

2012-01-03 Thread Nick Dokos
sergio mail...@sergio.spb.ru wrote:

 Hello.
 
 Why org mode highlights this lines with bright text color:
 
 ={motion}indent code
 ==   indent line
 
 ?
 
 From the first '=' till '=='.
 

Hints:
(info (org) Emphasis and monospace)

Put the cursor on a character in the indicated range and do

C-u C-x = 

Look at the face property.

Nick






Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes:

 Eric Schulte eric.schu...@gmx.com writes:
 Great, both the test case and a fixed version of this function are now
 applied to the git repository.

 You've pushed it to both maint and master?


Yes, I'm now pushing bug-fix commits to maint as well as master.



 Achim.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Achim Gratz
Eric Schulte eric.schu...@gmx.com writes:
 Yes, I'm now pushing bug-fix commits to maint as well as master.

That way you duplicate the commit (the same change now has two ID).
I think it would be preferrable to push bugfixes to maint and then merge
maint back into master.


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

DIY Stuff:
http://Synth.Stromeko.net/DIY.html




Re: [O] '=' and highlight

2012-01-03 Thread sergio
On 01/03/2012 11:07 PM, Nick Dokos wrote:


 Look at the face property.
face (org-code)


-- 
sergio.



Re: [O] calendar problem with schedule

2012-01-03 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rile...@gmail.com wrote:

 
 Ive not been using org mode for a while, just came back to and using
 latest 24 snapshot from git I get
 
 ,
 | Debugger entered--Lisp error: (void-function window-combination-p)
 |   window-combination-p(#window 8 nil)
 |   calendar-generate-window(1 2012)
 |   calendar-basic-setup(nil)
 |   calendar()

 You likely have a mixture of old and new files (what I call a
 frankenstein install): calendar-generate-window calls
 window-combined-p in the current version, and there is no
 window-combination-p function, which leads me to believe that you have
 old calendar code.

 I recommend a thorough cleaning, rebuilding and reinstalling of
 emacs. You might want to try a restart of emacs first just to see if it
 works, but I wouldn't hold my breath.

 Nick

 PS. Happy New Year!



Well, it was a complete new rebuild from git. I'll delete the lot and
try again, but a complete remake shouldnt exhibit this behaviour and I
have no local debian version installed either. cheers, r.





Re: [O] calendar problem with schedule

2012-01-03 Thread Nick Dokos
Richard Riley rile...@gmail.com wrote:

 Well, it was a complete new rebuild from git. I'll delete the lot and
 try again, but a complete remake shouldnt exhibit this behaviour and I
 have no local debian version installed either. cheers, r.
 

[I presume that you are rebuilding emacs, correct?]

Are you doing a ``make bootstrap''?

After the build, can you do just M-x calendar?




Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes:

 Eric Schulte eric.schu...@gmx.com writes:
 Yes, I'm now pushing bug-fix commits to maint as well as master.

 That way you duplicate the commit (the same change now has two ID).
 I think it would be preferrable to push bugfixes to maint and then merge
 maint back into master.


Alright, that does sound preferable.  I'll leave the previous commits as
is so as not to force a non-fast-forward commit, but moving forward I'll
commit bug fixes to maint and then merge maint into master.

Thanks,



 Regards,
 Achim.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] [PATCH] * doc/org.texi (Agenda commands): Document org-clock-report-include-clocking-task

2012-01-03 Thread Sebastien Vauban
Hi Bastien,

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

 Add reference to this variable when describing the agenda clock
 report.

 Applied, thanks.

 Here's the documentation patch.  I won't be offended if you decide not
 to apply it since we don't document every customizable variable in
 org-mode.

 I think this one is important.

This one appears important because its default value is not set as one would
or could expect. Shouldn't we set it to `t' by default?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] '=' and highlight

2012-01-03 Thread Nick Dokos
sergio mail...@sergio.spb.ru wrote:

 On 01/03/2012 11:07 PM, Nick Dokos wrote:
 
 
  Look at the face property.
 face (org-code)
 

...and what does 

   M-x describe-face RET org-code RET

say?




Re: [O] calendar problem with schedule

2012-01-03 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rile...@gmail.com wrote:

 Well, it was a complete new rebuild from git. I'll delete the lot and
 try again, but a complete remake shouldnt exhibit this behaviour and I
 have no local debian version installed either. cheers, r.
 

 [I presume that you are rebuilding emacs, correct?]

 Are you doing a ``make bootstrap''?

 After the build, can you do just M-x calendar?


embarassed whistle

I forgot I had added org-mode to el-get packages yonks ago.

So here's a prize for being spot on  : !!

all up and running now I jusr use the emacs 24 org.

thanks,

r.




Re: [O] '=' and highlight

2012-01-03 Thread sergio
On 01/04/2012 01:42 AM, Nick Dokos wrote:

 ...and what does 
 
M-x describe-face RET org-code RET
 
 say?

Face for fixed-width text like code snippets.
...
Foreground: unspecified
...
   Inherit: shadow
...


How org-mode decides, when to use this face?


-- 
sergio.



Re: [O] '=' and highlight

2012-01-03 Thread Sebastien Vauban
Hi Sergio,

sergio wrote:
 On 01/04/2012 01:42 AM, Nick Dokos wrote:

 ...and what does 
 
M-x describe-face RET org-code RET
 
 say?

 Face for fixed-width text like code snippets.
 ...
 Foreground: unspecified
 ...
Inherit: shadow
 ...


 How org-mode decides, when to use this face?

See the 2 following vars:

- org-emphasis-alist
  Variable: Special syntax for emphasized text.

- org-emphasis-regexp-components
  Variable: Components used to build the regular expression for
emphasis.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] '=' and highlight

2012-01-03 Thread Nick Dokos
sergio mail...@sergio.spb.ru wrote:

 On 01/04/2012 01:42 AM, Nick Dokos wrote:
 
  ...and what does 
  
 M-x describe-face RET org-code RET
  
  say?
 
 Face for fixed-width text like code snippets.
 ...
 Foreground: unspecified
 ...
Inherit: shadow
 ...
 

... and what does

 M-x describe-face RET shadow RET

say?

 
 How org-mode decides, when to use this face?
 

Did you check (info (org) Emphasis and monospace)?



[O] Inserting new images

2012-01-03 Thread Derek Thomas
I'm looking for a good way to insert sketches into org files.  I'm
preparing notes that consist of text and diagrams.  As I'm outlining,
I was thinking that it would be great if I could bind a key command to
insert a link to an svg file and then launch inkscape or something
similar to edit the file.  If anyone has done anything similar or has
any ideas, I would be interested to hear them.  By the way, I looked
at inkmacs and had some issues with dbus-proxy, so I'm completely open
to quick and dirty solutions.  Thanks!

Derek



Re: [O] '=' and highlight

2012-01-03 Thread Bastien
Hi Sergio,

sergio mail...@sergio.spb.ru writes:

 How org-mode decides, when to use this face?

See the docstring of `org-emphasis-regexp-components':

,
| Components used to build the regular expression for emphasis.
| This is a list with five entries.  Terminology:  In an emphasis string
| like  *strong word* , we call the initial space PREMATCH, the final
| space POSTMATCH, the stars MARKERS, s and d are BORDER characters
| and trong wor is the body.  The different components in this variable
| specify what is allowed/forbidden in each part:
| 
| pre  Chars allowed as prematch.  Beginning of line will be allowed 
too.
| post Chars allowed as postmatch.  End of line will be allowed too.
| border   The chars *forbidden* as border characters.
| body-regexp  A regexp like . to match a body character.  Don't use
|  non-shy groups here, and don't allow newline here.
| newline  The maximum number of newlines allowed in an emphasis exp.
| 
| Use customize to modify this, or restart Emacs after changing it.
`

In your case, I think you want to prevent =...= to emphasize
(i.e. shadow) the text when the border character is `{'.

HTH,

-- 
 Bastien



Re: [O] [PATCH] * doc/org.texi (Agenda commands): Document org-clock-report-include-clocking-task

2012-01-03 Thread Bastien
Hi Sébastien,

Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

 This one appears important because its default value is not set as one would
 or could expect. Shouldn't we set it to `t' by default?

I can see two use cases for clock reports: transient reports (for quick
checks about time spent) and persistent reports (for the boss.)  I guess
the second use case is the most common one, so excluding running clocks
by default (setq `org-clock-report-include-clocking-task' nil) looks ok
to me.

-- 
 Bastien



[O] Standard property proposal (was: org-jira.el... and Org conventions (Bastien, Carsten and all))

2012-01-03 Thread Karl Voit
Hi!

* Sebastien Vauban wxhgmqzgw...@spammotel.com wrote:

 But this triggers, for me, another concern which is the very wide variety of
 ways to define the same thing.
[...]

Totally agree to that.

 So, my point is: wouldn't it be better if we proposed standard properties in
 Org (in the manual), and implemented mappings in the Org integration
 packages (org-jira, org-taskjuggler, org-redmine and the like)?

 So, say for example that, from now on, it's more standard in Org to use
 Assignee (or anything else) for representing who's assigned a task, and have
 every package map the property Assignee to whatever keyword used in external
 tools for representing that concept?

I'd say that this issue is a HUGE one for the future of Org-mode. It
is ubiquitous to users all over. I myself had troubles adopting
org-contacts[1][2] because of only one single email property defined. 

When I started developing software that *massively* converts user
data into Org-mode format[3], I felt this strange itch, whether my
property definitions are well chosen or not ...

I *love* the fact that Org-mode is so lightweight and so heavy the
same time - just as the user wants it.

But using conventions also has some drawbacks. Whenever someone
wants to define a certain format with properties for example, she
has to define her own way. If there is an Org-mode extension using
similar data, users woun't notice until some data show up on this
list and another Org-mode user is adding a hint.

So a free-to-use recommendation list of standard properties would be
*very* fine.

Part of my research work is in the field of information architecture
for personal information management. If I can be of any help in some
kind of discussion and definition process, I'd be glad.

[1] http://article.gmane.org/gmane.emacs.orgmode/47478
[2] http://article.gmane.org/gmane.emacs.orgmode/45347
[3] https://github.com/novoid/Memacs

-- 
Karl Voit




Re: [O] Inserting new images

2012-01-03 Thread Thomas S. Dye
Derek Thomas derekctho...@gmail.com writes:

 I'm looking for a good way to insert sketches into org files.  I'm
 preparing notes that consist of text and diagrams.  As I'm outlining,
 I was thinking that it would be great if I could bind a key command to
 insert a link to an svg file and then launch inkscape or something
 similar to edit the file.  If anyone has done anything similar or has
 any ideas, I would be interested to hear them.  By the way, I looked
 at inkmacs and had some issues with dbus-proxy, so I'm completely open
 to quick and dirty solutions.  Thanks!

 Derek



I'm a fan of custom links.  IIUC, you should be able to accomplish much
of what you want with the information here:

http://orgmode.org/manual/Adding-hyperlink-types.html#Adding-hyperlink-types

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] The reportmode report does not count the running clock

2012-01-03 Thread Bastien
Hi François,

pin...@iro.umontreal.ca (François Pinard) writes:

 Hello, everybody.  Let me wish you all that the Year Started Well, and
 will continue that way all along!

Thanks!

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

 Note that there is a million variables which are not referred to
 in the manual - simply too many to mention them all.

 A million?  You *always* exaggerate! :-)

Well, I counted more than 1070 variables...  describing 5 of them 
per page would take 214 pages.  Not something I'd like to read :)

 It might be useful to mentions this one, otherwise I would urge
 restraint.  A good way to find unknown variables is described here:
 http://orgmode.org/worg/org-tutorials/org-customize.html

 The manual should be reference, and should mention all variables.  A
 textual search in the manual should yield anything worth finding.

Emacs is The All-Mighty Self-Documenting Editor ;)

Wrt documentation, Emacs is its own reference, by letting you access
everything with C-h v org-*.

The manual is a secondary reference: one that contains the most useful
things to know about Org to use it efficiently.  It should cover 100% of
the core feature, and most of the rest -- but there is a trade-off in
this last area.  Between readability and completeness.

 However nicely and carefully the customization has been organized, one
 should ideally not have to guess and retry customize branches in hope of
 finding something, or peruse the sources, after having tried the manual.

 Do not misread me, I'm not at all saying that there is something wrong
 with the customization, or the availability of the sources! :-)

Another point: there is a lot to do to improve the current docstrings
and the manual.  This is a matter of 1) pulling from git, 2) modifying
the file, 3) run `C-x v =' in the buffer, 4) send the patch.

:)

 Maybe an appendix to the manual could be mechanically generated out of
 all customization information, with some Makefile/Emacs machinery for
 keeping it up-to-date?  Easier said than done, I know...  But I would
 like at least to throw the idea in the field.

This crossed my mind recently. 

See this file: http://lumiere.ens.fr/~guerry/u/org.org
which presents all functions/options/variables from some org*el 
files.  

The code to produce this is here:
http://lumiere.ens.fr/~guerry/u/org-lto.el

This is broken in many respect -- no cleanup is done on the 
docstring, and there is nearly no formatting.  Also, it does not
export well (see http://lumiere.ens.fr/~guerry/u/org.html)

If you're interested in improving this, please go ahead, I'd be
interested in getting something working along these lines.

Best regards,

-- 
 Bastien



[O] Property inheritance issue with agenda view

2012-01-03 Thread Christian Prothmann


Hi,

I am experiencing an issue with the display and inheritance of self-defined 
properties in the agenda column view. That's what I did:

In Preference.el (Aquamacs), I set (setq org-use-properties-inheritance t).

In xxx.org file,

#+COLUMNS: %50ITEM %TAGS %PRIORITY %10TIMESTAMP %20Project %TODO %30CATEGORY
.
...

* Project Property column test 2012-01-03 Tue 
 :PROPERTIES: 
 :Project:  Apple 
 :END: 
** Read book 
 DEADLINE: 2012-01-31 Tue

I expected to see in agenda column view for parent and child in the Project 
Column Apple. However, I only got that for the parent. Any advice?

Thanks,

CK

Re: [O] The reportmode report does not count the running clock

2012-01-03 Thread François Pinard
Bastien b...@altern.org writes:

 Hi François,

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

 Note that there is a million variables which are not referred to
 in the manual - simply too many to mention them all.
 A million?  You *always* exaggerate! :-)

 Well, I counted more than 1070 variables...  describing 5 of them 
 per page would take 214 pages.  Not something I'd like to read :)

That's why I suggested an appendix.  We search in them, more than we
really read them.  On the other hand, it would considerably augment the
weight of a printed manual, and so, be more harmful to our forests.

 Wrt documentation, Emacs is its own reference, by letting you access
 everything with C-h v org-*.

Emacs has impressive ways to offer its own documentation.  Still a bit
uneasy to use C-h v (or C-h f) on everything.  M-x apropos org- RET is
more handy and searchable, yet the documentation is likely limited to
the first line of each docstring (so at least this convention for a
complete sentence in the first line of a docstring).

 Another point: there is a lot to do to improve the current docstrings
 and the manual.  This is a matter of 1) pulling from git, 2) modifying
 the file, 3) run `C-x v =' in the buffer, 4) send the patch.  [...]
 If you're interested in improving this, please go ahead, I'd be
 interested in getting something working along these lines.

Oh, the problem is surely not the lack of interest, but the sore lack of
free hours in a week, and the quantity of ways to occupy those rare
hours already (something Org mode is tremendously helpful at organizing,
by the way).  Surely that given enough free time, I would just love to
contribute.  The truth is that I can only offer tiny crumbs.  In any
case, I'm saving your message and notes (who knows the future!).

François