Re: [O] Org Writer's room

2012-12-06 Thread Eric Abrahamsen
Matt Price mopto...@gmail.com writes:

 On Wed, Dec 5, 2012 at 7:44 PM, Alan L Tyree alanty...@gmail.com wrote:
 On 06/12/12 11:22, Rasmus wrote:

 Andrew Hyatt ahy...@gmail.com writes:

 This sounds like an interesting project.  My advice is to make a few
 screenshots that give people an idea what you are working towards.
 Of course, they could be completely fake, but it would be helpful to
 understand for people like me who haven't used Scrivener.

 I would also like to see this.  It sounds nice when I read your
 description, but I still don't fully appreciate the idea.

 –Rasmus

 I'm also very interested. I haven't used Scrivener -- what features do you
 see as making org a *way* better writing environment?

[...]

 To start with I would like to just replicate this window structure,
 because it keeps you focused on writing, while having the larger
 structure available if you feel the need to flit around a bit.  The
 third screenshot shows a semi-fake, still very primitive version of
 what I'd like to have.  (I haven't figured out a good way to do the
 metadata yet).

I *really* like the idea of having a right-hand pane available showing
properties around the current point -- it could include properties from
the PROPERTIES drawer, from the structure returned by
`org-element-property', text properties, and maybe properties of the
current headline parent. I'm sort of envisioning what you get from the
inspect element command in Firefox.

For the left-hand pane, org-toc and org-panel in the contrib directory
(or even the org-goto interface) might provide some inspiration.

Ugh, sounds like a lot of work.

E




[O] stop clocking in from changing todo state for a subtree

2012-12-06 Thread Rainer Stengele
Hi!

Clocking in changes my TODO state from TODO to INWORK, which is ok.

I have some tasks which I want to stay with the initial TODO state when
clocking time to it.
Can I configure this behavior through a property inhibiting the state
change when clocking?

Thanks!

Rainer




Re: [O] The statement on what is orgmode.

2012-12-06 Thread Sebastien Vauban
Hi Vikas,

Vikas Rawal wrote:
 The top title space on the orgmode website says: Org mode is for
 keeping notes, maintaining TODO lists, doing project planning, and
 authoring with a fast and effective plain-text system.

 Orgmode today does a lot more than organising/planning.

FYI, AFAIK, that comes from the 24/7 pitches which Nobel prize winners have to
make. They must explain in 7 or in 24 words what their work is about. That
sentence is the one from Carsten, a few years back, I guess before Babel and
many more...

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] The statement on what is orgmode.

2012-12-06 Thread Jambunathan K
Vikas Rawal vikasli...@agrarianresearch.org writes:

 The top title space on the orgmode website says: Org mode is for
 keeping notes, maintaining TODO lists, doing project planning, and
 authoring with a fast and effective plain-text system.

 Orgmode today does a lot more than organising/planning. I felt that
 the above does not adequately reflect what orgmode is useful for. I
 would think that a new visitor coming to the website would be mislead
 to think that it is primarily a planning/to do application. For
 example, writers/publishers who need to produce formatted output would
 not think that there is something useful here for them.

 I feel that the above statement does not adequately express that
 orgmode can do this and a lot more.

 Any comments/suggestions?

Why not just type out what the page should say?  That is in the spirit
of collaborative way of using things.

Your mail sounds more like a complaint, but with a polite tone.

 Vikas
   



-- 



Re: [O] Org Writer's room

2012-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/12/12 09:36, Jambunathan K wrote:
 
 I am attaching screen shot of LibreOffice UI.

Nice - I cusomised libreoffice immediately to look like that - nice.

 
 On the left is the navbar. - You can quickly navigate to any heading, a table 
 or a captioned 
 figure.

Couldn't the navbar from emacs be used for that? I haven't used it in a long 
time, but in ecb
(Emacs Code Browswer) it is used for this - see Screenshots on 
http://ecb.sourceforge.net/ for how
it looks there.

 
 On the right is the style - one can choose char, paragraph, frame, list 
 styles - at point. - In
 case of Org it will probably be element or point at point.

Not clear what you mean, but I would imagine the properties at cursor location 
(with the different
levels of the properties from file via section to block)

 
 In the center, toward lower right is the jump to next and prev element arrows.
 
 So the global view, doc view and local view seems to be pretty universal 
 across all UIs.

Well - kind of ecb for org files - saying that, it might be possible to use ecb 
for that?

Cheers,

Rainer


 
 
 
 
 
 
 
 Matt Price mopto...@gmail.com writes:
 
 On Wed, Dec 5, 2012 at 7:44 PM, Alan L Tyree alanty...@gmail.com wrote:
 On 06/12/12 11:22, Rasmus wrote:
 
 Andrew Hyatt ahy...@gmail.com writes:
 
 This sounds like an interesting project.  My advice is to make a few 
 screenshots that
 give people an idea what you are working towards. Of course, they could 
 be completely
 fake, but it would be helpful to understand for people like me who 
 haven't used
 Scrivener.
 
 I would also like to see this.  It sounds nice when I read your 
 description, but I
 still don't fully appreciate the idea.
 
 –Rasmus
 
 I'm also very interested. I haven't used Scrivener -- what features do you 
 see as making
 org a *way* better writing environment?
 
 [...]
 
 To start with I would like to just replicate this window structure, because 
 it keeps you
 focused on writing, while having the larger structure available if you feel 
 the need to
 flit around a bit.  The third screenshot shows a semi-fake, still very 
 primitive version
 of what I'd like to have.  (I haven't figured out a good way to do the 
 metadata yet).
 
 I *really* like the idea of having a right-hand pane available showing 
 properties around the
 current point -- it could include properties from the PROPERTIES drawer, 
 from the structure
 returned by `org-element-property', text properties, and maybe properties of 
 the current
 headline parent. I'm sort of envisioning what you get from the inspect 
 element command in
 Firefox.
 
 For the left-hand pane, org-toc and org-panel in the contrib directory (or 
 even the org-goto
 interface) might provide some inspiration.
 
 Ugh, sounds like a lot of work.
 
 E
 
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAYVYACgkQoYgNqgF2egrAkQCghEYQ6YoPYEFtxMNb19tOJ6R4
zf4AoIQHcvibLePJexu2zXAoUHnWAxNX
=Syhc
-END PGP SIGNATURE-



Re: [O] Org Writer's room

2012-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/12/12 10:11, Rainer M Krug wrote:
 On 06/12/12 09:36, Jambunathan K wrote:
 
 I am attaching screen shot of LibreOffice UI.
 
 Nice - I cusomised libreoffice immediately to look like that - nice.
 
 
 On the left is the navbar. - You can quickly navigate to any heading, a 
 table or a captioned
  figure.
 
 Couldn't the navbar from emacs be used for that? I haven't used it in a long 
 time, but in ecb 
 (Emacs Code Browswer) it is used for this - see Screenshots on 
 http://ecb.sourceforge.net/ for
 how it looks there.

Sorry - meant speedbar.

 
 
 On the right is the style - one can choose char, paragraph, frame, list 
 styles - at point. -
 In case of Org it will probably be element or point at point.
 
 Not clear what you mean, but I would imagine the properties at cursor 
 location (with the
 different levels of the properties from file via section to block)
 
 
 In the center, toward lower right is the jump to next and prev element 
 arrows.
 
 So the global view, doc view and local view seems to be pretty universal 
 across all UIs.
 
 Well - kind of ecb for org files - saying that, it might be possible to use 
 ecb for that?
 
 Cheers,
 
 Rainer
 
 
 
 
 
 
 
 
 
 Matt Price mopto...@gmail.com writes:
 
 On Wed, Dec 5, 2012 at 7:44 PM, Alan L Tyree alanty...@gmail.com wrote:
 On 06/12/12 11:22, Rasmus wrote:
 
 Andrew Hyatt ahy...@gmail.com writes:
 
 This sounds like an interesting project.  My advice is to make a few 
 screenshots
 that give people an idea what you are working towards. Of course, they 
 could be
 completely fake, but it would be helpful to understand for people like 
 me who
 haven't used Scrivener.
 
 I would also like to see this.  It sounds nice when I read your 
 description, but I 
 still don't fully appreciate the idea.
 
 –Rasmus
 
 I'm also very interested. I haven't used Scrivener -- what features do 
 you see as
 making org a *way* better writing environment?
 
 [...]
 
 To start with I would like to just replicate this window structure, 
 because it keeps you 
 focused on writing, while having the larger structure available if you 
 feel the need to 
 flit around a bit.  The third screenshot shows a semi-fake, still very 
 primitive version 
 of what I'd like to have.  (I haven't figured out a good way to do the 
 metadata yet).
 
 I *really* like the idea of having a right-hand pane available showing 
 properties around
 the current point -- it could include properties from the PROPERTIES 
 drawer, from the
 structure returned by `org-element-property', text properties, and maybe 
 properties of the
 current headline parent. I'm sort of envisioning what you get from the 
 inspect element
 command in Firefox.
 
 For the left-hand pane, org-toc and org-panel in the contrib directory (or 
 even the
 org-goto interface) might provide some inspiration.
 
 Ugh, sounds like a lot of work.
 
 E
 
 
 
 
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAYgAACgkQoYgNqgF2egoziQCcDqdVSh6148HZmZYvkKN6uz4j
fWMAn3Ol1JQjTWf7IC62XsxIfX4fnJbh
=6HXi
-END PGP SIGNATURE-



[O] file link from org-mode file

2012-12-06 Thread ronaldo.mercado
Dear list,

GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600) of 2012-06-10 on MARVIN
Org-mode version 7.8.11
on windows XP

I create a link to a directory
file:c:/home

When I mouse click or press C-c C-o (org-open-at-point)
I would like the link to be opened in dired, but windows explorer appears.

How can I modify this behaviour?

Thanks!




-- 

This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.

Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 

Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.

Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

 









Re: [O] Org Writer's room

2012-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

OK - Left side: is present in ecb. I installed ecb from MELPA (the other 
version does not work
with emacs 24 and the cedet version) and I have the navigation panel - very 
nice. ecb, I am back.

Cheers,

Rainer



On 06/12/12 10:14, Rainer M Krug wrote:
 On 06/12/12 10:11, Rainer M Krug wrote:
 On 06/12/12 09:36, Jambunathan K wrote:
 
 I am attaching screen shot of LibreOffice UI.
 
 Nice - I cusomised libreoffice immediately to look like that - nice.
 
 
 On the left is the navbar. - You can quickly navigate to any heading, a 
 table or a
 captioned figure.
 
 Couldn't the navbar from emacs be used for that? I haven't used it in a long 
 time, but in ecb
  (Emacs Code Browswer) it is used for this - see Screenshots on 
 http://ecb.sourceforge.net/
 for how it looks there.
 
 Sorry - meant speedbar.
 
 
 
 On the right is the style - one can choose char, paragraph, frame, list 
 styles - at point.
 - In case of Org it will probably be element or point at point.
 
 Not clear what you mean, but I would imagine the properties at cursor 
 location (with the 
 different levels of the properties from file via section to block)
 
 
 In the center, toward lower right is the jump to next and prev element 
 arrows.
 
 So the global view, doc view and local view seems to be pretty universal 
 across all UIs.
 
 Well - kind of ecb for org files - saying that, it might be possible to use 
 ecb for that?
 
 Cheers,
 
 Rainer
 
 
 
 
 
 
 
 
 
 Matt Price mopto...@gmail.com writes:
 
 On Wed, Dec 5, 2012 at 7:44 PM, Alan L Tyree alanty...@gmail.com wrote:
 On 06/12/12 11:22, Rasmus wrote:
 
 Andrew Hyatt ahy...@gmail.com writes:
 
 This sounds like an interesting project.  My advice is to make a few 
 screenshots 
 that give people an idea what you are working towards. Of course, they 
 could be 
 completely fake, but it would be helpful to understand for people like 
 me who 
 haven't used Scrivener.
 
 I would also like to see this.  It sounds nice when I read your 
 description, but I
  still don't fully appreciate the idea.
 
 –Rasmus
 
 I'm also very interested. I haven't used Scrivener -- what features do 
 you see as 
 making org a *way* better writing environment?
 
 [...]
 
 To start with I would like to just replicate this window structure, 
 because it keeps
 you focused on writing, while having the larger structure available if 
 you feel the
 need to flit around a bit.  The third screenshot shows a semi-fake, still 
 very
 primitive version of what I'd like to have.  (I haven't figured out a 
 good way to do
 the metadata yet).
 
 I *really* like the idea of having a right-hand pane available showing 
 properties around 
 the current point -- it could include properties from the PROPERTIES 
 drawer, from the 
 structure returned by `org-element-property', text properties, and maybe 
 properties of
 the current headline parent. I'm sort of envisioning what you get from the 
 inspect
 element command in Firefox.
 
 For the left-hand pane, org-toc and org-panel in the contrib directory (or 
 even the 
 org-goto interface) might provide some inspiration.
 
 Ugh, sounds like a lot of work.
 
 E
 
 
 
 
 
 
 
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAc2sACgkQoYgNqgF2egpCCQCeKcVYX9xREB+4xs+fVM1KOkcm
6poAnj7L9cC+ZWmosnpBypqbeQa9BQoa
=deC5
-END PGP SIGNATURE-



[O] FAILED test-org-clock/clocktable

2012-12-06 Thread Achim Gratz
The last test will fail if run before 15:00... either the clock table code gets
smarter to recognize that you'd want the end of the day when specifying :tend
today or the test should specify :tend tomorrow.


Regards,
Achim.




Re: [O] Org Writer's room

2012-12-06 Thread David Engster
Rainer M. Krug writes:
 On 06/12/12 09:36, Jambunathan K wrote:
 On the left is the navbar. - You can quickly navigate to any
 heading, a table or a captioned
 figure.

 Couldn't the navbar from emacs be used for that? I haven't used it in
 a long time, but in ecb
 (Emacs Code Browswer) it is used for this - see Screenshots on
 http://ecb.sourceforge.net/ for how
 it looks there.

Speedbar can use 'imenu' to get a list of tags, and org supports
'imenu', so it pretty much works right away, also without ECB. Just do

(require 'speedbar)
(speedbar-add-supported-extension .org)

and fire up speedbar with

M-x speedbar

You can now be able to click on org files and you should see the section
headings. It should also be possible to generate a speedbar frame or
buffer which only shows the tags of the current file, like ECB does, but
I would have to look that up if that's important.

-David




Re: [O] Org Writer's room

2012-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/12/12 11:51, David Engster wrote:
 Rainer M. Krug writes:
 On 06/12/12 09:36, Jambunathan K wrote:
 On the left is the navbar. - You can quickly navigate to any heading, a 
 table or a
 captioned figure.
 
 Couldn't the navbar from emacs be used for that? I haven't used it in a long 
 time, but in
 ecb (Emacs Code Browswer) it is used for this - see Screenshots on 
 http://ecb.sourceforge.net/ for how it looks there.
 
 Speedbar can use 'imenu' to get a list of tags, and org supports 'imenu', so 
 it pretty much
 works right away, also without ECB. Just do
 
 (require 'speedbar) (speedbar-add-supported-extension .org)
 
 and fire up speedbar with
 
 M-x speedbar You can now be able to click on org files and you should see the 
 section headings.
 It should also be possible to generate a speedbar frame or

Very nice - and much easier.

 buffer which only shows the tags of the current file, like ECB does, but I 
 would have to look
 that up if that's important.

I actually like, that it shows all buffers, which makes switching much easier.

And also, multi file setup can be handled much easier this way.

Now the next step would be to
a) automatically start the speedbar when an org file is opened and
b) shows the buffers.

Interestingly, speedbar shows ascii [+] when I put the above mentioned commands 
in my emacs.org,
but icons, when I execute them manually after emacs has started?

Cheers,

Rainer

 
 -David
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAgJAACgkQoYgNqgF2egrsEgCcCazmeQlJd4CLpq4x3d+exYxs
TAcAn2FSmBWq/DlbL/ByQiJsFCRViDsu
=o3GA
-END PGP SIGNATURE-



Re: [O] stop clocking in from changing todo state for a subtree

2012-12-06 Thread Bernt Hansen
Hi Rainer,

Rainer Stengele rainer.steng...@online.de writes:

 Clocking in changes my TODO state from TODO to INWORK, which is ok.

 I have some tasks which I want to stay with the initial TODO state when
 clocking time to it.
 Can I configure this behavior through a property inhibiting the state
 change when clocking?

Sure you can with an appropriate hook function.

This is what I use to prevent clock in to NEXT when it is a capture task
or a project/subproject (ie. any task with subtasks)

You can modify it to use a property instead to achieve what you want.

The helper functions (bh/is-task-p, bh/is-project-p) are available at
http://doc.norang.ca/org-mode.html

Regards,
Bernt

--8---cut here---start-8---
;; Change tasks to NEXT when clocking in
(setq org-clock-in-switch-to-state 'bh/clock-in-to-next)

(defun bh/clock-in-to-next (kw)
  Switch a task from TODO to NEXT when clocking in.
Skips capture tasks, projects, and subprojects.
Switch projects and subprojects from NEXT back to TODO
  (when (not (and (boundp 'org-capture-mode) org-capture-mode))
(cond
 ((and (member (org-get-todo-state) (list TODO))
   (bh/is-task-p))
  NEXT)
 ((and (member (org-get-todo-state) (list NEXT))
   (bh/is-project-p))
  TODO
--8---cut here---end---8---




Re: [O] file link from org-mode file

2012-12-06 Thread Bernt Hansen
ronaldo.merc...@diamond.ac.uk writes:

 Dear list,

 GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600) of 2012-06-10 on MARVIN

 Org-mode version 7.8.11

 on windows XP

 I create a link to a directory

 file:c:/home

Try

file+emacs:c:/home

Regards,
Bernt


 When I “mouse click” or press C-c C-o (org-open-at-point)

 I would like the link to be opened in dired, but windows explorer appears.

 How can I modify this behaviour?

 Thanks!



Re: [O] Org Writer's room

2012-12-06 Thread Matt Price
On Thu, Dec 6, 2012 at 5:51 AM, David Engster d...@randomsample.de wrote:
 Rainer M. Krug writes:
 On 06/12/12 09:36, Jambunathan K wrote:
 On the left is the navbar. - You can quickly navigate to any
 heading, a table or a captioned
 figure.

 Couldn't the navbar from emacs be used for that? I haven't used it in
 a long time, but in ecb
 (Emacs Code Browswer) it is used for this - see Screenshots on
 http://ecb.sourceforge.net/ for how
 it looks there.

 Speedbar can use 'imenu' to get a list of tags, and org supports
 'imenu', so it pretty much works right away, also without ECB. Just do

 (require 'speedbar)
 (speedbar-add-supported-extension .org)

 and fire up speedbar with

 M-x speedbar

 You can now be able to click on org files and you should see the section
 headings. It should also be possible to generate a speedbar frame or
 buffer which only shows the tags of the current file, like ECB does, but
 I would have to look that up if that's important.

that sounds cool.  I hadn't really used speedbar before, but now I can
see the attraction.

(1) do you know if it's possible to get the speedbar buffer in a
window instead of a frame?
(2) org headings are not showing up for me with those two lines of
code.  Evaluating
(speedbar-add-supported-extension .org)
gives
 
\\(\\(\\.\\(org\\|[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?\\|tex\\(i\\(nfo\\)?\\)?\\|el\\|emacs\\|l\\|lsp\\|p\\|java\\|js\\|f\\(90\\|77\\|or\\)?\\|ad[abs]\\|p[lm]\\|tcl\\|m\\|scm\\|pm\\|py\\|g\\|s?html\\|ma?k\\)\\)\\|\\([Mm]akefile\\(\\.in\\)?\\)\\)$

but trying to click on the + symbol in the speedbar frame next to an
org file gives only:

Sorry, no support for a file of that extension

Is it possible I need something else to make the extension work?

A speedbar buffer in the same frame that shows only headings of the
current file would be fantastic...


 -David





Re: [O] Org Writer's room

2012-12-06 Thread Matt Price
On Thu, Dec 6, 2012 at 6:25 AM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 06/12/12 11:51, David Engster wrote:
 Rainer M. Krug writes:
 On 06/12/12 09:36, Jambunathan K wrote:
 On the left is the navbar. - You can quickly navigate to any heading, a 
 table or a
 captioned figure.

 Couldn't the navbar from emacs be used for that? I haven't used it in a 
 long time, but in
 ecb (Emacs Code Browswer) it is used for this - see Screenshots on
 http://ecb.sourceforge.net/ for how it looks there.

 Speedbar can use 'imenu' to get a list of tags, and org supports 'imenu', so 
 it pretty much
 works right away, also without ECB. Just do

 (require 'speedbar) (speedbar-add-supported-extension .org)

 and fire up speedbar with

 M-x speedbar You can now be able to click on org files and you should see 
 the section headings.
 It should also be possible to generate a speedbar frame or

 Very nice - and much easier.

 buffer which only shows the tags of the current file, like ECB does, but I 
 would have to look
 that up if that's important.

 I actually like, that it shows all buffers, which makes switching much easier.

 And also, multi file setup can be handled much easier this way.

 Now the next step would be to
 a) automatically start the speedbar when an org file is opened and
 b) shows the buffers.

It would be neat if clicking on a link in speedbar opened up an
_indirect_ buffer using org-tree-to-indirect-buffer.  I like having
just the one node available as a way to ensure concentration on the
task at hand.




Re: [O] Org Writer's room

2012-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/12/12 12:55, Matt Price wrote:
 On Thu, Dec 6, 2012 at 6:25 AM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 06/12/12 11:51, David Engster wrote:
 Rainer M. Krug writes:
 On 06/12/12 09:36, Jambunathan K wrote:
 On the left is the navbar. - You can quickly navigate to any heading, a 
 table or a 
 captioned figure.
 
 Couldn't the navbar from emacs be used for that? I haven't used it in a 
 long time, but
 in ecb (Emacs Code Browswer) it is used for this - see Screenshots on 
 http://ecb.sourceforge.net/ for how it looks there.
 
 Speedbar can use 'imenu' to get a list of tags, and org supports 'imenu', 
 so it pretty
 much works right away, also without ECB. Just do
 
 (require 'speedbar) (speedbar-add-supported-extension .org)
 
 and fire up speedbar with
 
 M-x speedbar You can now be able to click on org files and you should see 
 the section
 headings. It should also be possible to generate a speedbar frame or
 
 Very nice - and much easier.
 
 buffer which only shows the tags of the current file, like ECB does, but I 
 would have to
 look that up if that's important.
 
 I actually like, that it shows all buffers, which makes switching much 
 easier.
 
 And also, multi file setup can be handled much easier this way.
 
 Now the next step would be to a) automatically start the speedbar when an 
 org file is opened
 and b) shows the buffers.
 
 It would be neat if clicking on a link in speedbar opened up an _indirect_ 
 buffer using
 org-tree-to-indirect-buffer.  I like having just the one node available as a 
 way to ensure
 concentration on the task at hand.

Sorry - I mean that the speedbar only shows the open buffers, and not the files.

Rainer


 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAiGoACgkQoYgNqgF2egoOeACeNp9AjJ6pNB4hqGInOS50HItz
94YAn0/mTT3gS4bOU4N48zTn3QP2EAEr
=R/ci
-END PGP SIGNATURE-



Re: [O] Org Writer's room

2012-12-06 Thread Matt Price
On Thu, Dec 6, 2012 at 3:36 AM, Jambunathan K kjambunat...@gmail.com wrote:

 I am attaching screen shot of LibreOffice UI.

 On the left is the navbar.
 - You can quickly navigate to any heading, a table or a captioned
   figure.

 On the right is the style - one can choose char, paragraph, frame, list
 styles - at point.
 - In case of Org it will probably be element or point at point.

 In the center, toward lower right is the jump to next and prev element
 arrows.

 So the global view, doc view and local view seems to be pretty universal
 across all UIs.

that is a really nice setup, I'm going to steal it too (I usually have
the navbar and the style staked on top of ach other, but I like yours
better).  Style-at-point is useful for formatting but one thing I like
about both scrivener and org-mode is how little emphasis is placed on
interfaces for styles.  Instead you focus on content.  Libreoffice
doesn't have anything like the synopsis property that scrivener
associates with document nodes -- mostly I guess because the document
model is quite different.

m



Re: [O] Org Writer's room

2012-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/12/12 12:50, Matt Price wrote:
 On Thu, Dec 6, 2012 at 5:51 AM, David Engster d...@randomsample.de wrote:
 Rainer M. Krug writes:
 On 06/12/12 09:36, Jambunathan K wrote:
 On the left is the navbar. - You can quickly navigate to any heading, a 
 table or a
 captioned figure.
 
 Couldn't the navbar from emacs be used for that? I haven't used it in a 
 long time, but in
 ecb (Emacs Code Browswer) it is used for this - see Screenshots on 
 http://ecb.sourceforge.net/ for how it looks there.
 
 Speedbar can use 'imenu' to get a list of tags, and org supports 'imenu', so 
 it pretty much
 works right away, also without ECB. Just do
 
 (require 'speedbar) (speedbar-add-supported-extension .org)
 
 and fire up speedbar with
 
 M-x speedbar
 
 You can now be able to click on org files and you should see the section 
 headings. It should
 also be possible to generate a speedbar frame or buffer which only shows the 
 tags of the
 current file, like ECB does, but I would have to look that up if that's 
 important.
 
 that sounds cool.  I hadn't really used speedbar before, but now I can see 
 the attraction.
 
 (1) do you know if it's possible to get the speedbar buffer in a window 
 instead of a frame? (2)
 org headings are not showing up for me with those two lines of code.  
 Evaluating 
 (speedbar-add-supported-extension .org) gives 
 \\(\\(\\.\\(org\\|[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?\\|tex\\(i\\(nfo\\)?\\)?\\|el\\|emacs\\|l\\|lsp\\|p\\|java\\|js\\|f\\(90\\|77\\|or\\)?\\|ad[abs]\\|p[lm]\\|tcl\\|m\\|scm\\|pm\\|py\\|g\\|s?html\\|ma?k\\)\\)\\|\\([Mm]akefile\\(\\.in\\)?\\)\\)$

  but trying to click on the + symbol in the speedbar frame next to an org 
 file gives only:
 
 Sorry, no support for a file of that extension
 
 Is it possible I need something else to make the extension work?

Can't help you there - works for me and I am by nio means an expert.

 
 A speedbar buffer in the same frame that shows only headings of the current 
 file would be
 fantastic...
 
 
 -David
 
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAiOoACgkQoYgNqgF2egqAYQCdGU3Wsoquj67JnhRu21Lz/FIv
tAEAn2nedsz+aHoJ8TDYCvM+pmyxhMnd
=bNNW
-END PGP SIGNATURE-



Re: [O] Org Writer's room

2012-12-06 Thread Matt Price
that looks really great, I'm going to play with it as soon as I can -
-thanks! Hve you set up your own window layouts using htis package?
matt

On Wed, Dec 5, 2012 at 11:21 PM, Yagnesh Raghava Yakkala h...@yagnesh.org 
wrote:

 Hello Matt,

 IIUC Scrivener, the one difficult part is implementing a window manger, If so
 you can use window layout package(s) by Kiwanami[1][2].

 Footnotes:
 [1]  https://github.com/kiwanami/emacs-window-layout
 [2]  https://github.com/kiwanami/emacs-window-manager

 --
 ఎందరో మహానుభావులు అందరికి వందనములు
 YYR





Re: [O] Org Writer's room

2012-12-06 Thread David Engster
Matt Price writes:
 (1) do you know if it's possible to get the speedbar buffer in a
 window instead of a frame?

I initially thought that would be easy. Turns out it isn't. ECB uses all
kinds of 'defadvice' to achieve that.

There's a package sr-speedbar at

http://www.emacswiki.org/SrSpeedbar

but I don't know if that one's still working.

 (2) org headings are not showing up for me with those two lines of
 code.  Evaluating
 (speedbar-add-supported-extension .org)
 gives
  
 \\(\\(\\.\\(org\\|[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?\\|tex\\(i\\(nfo\\)?\\)?\\|el\\|emacs\\|l\\|lsp\\|p\\|java\\|js\\|f\\(90\\|77\\|or\\)?\\|ad[abs]\\|p[lm]\\|tcl\\|m\\|scm\\|pm\\|py\\|g\\|s?html\\|ma?k\\)\\)\\|\\([Mm]akefile\\(\\.in\\)?\\)\\)$

 but trying to click on the + symbol in the speedbar frame next to an
 org file gives only:

 Sorry, no support for a file of that extension

 Is it possible I need something else to make the extension work?

I tried with 'emacs -Q' and it works for me. Make sure you do the
above *before* firing up speedbar.

 A speedbar buffer in the same frame that shows only headings of the
 current file would be fantastic...

Instead of bending Speedbar to your will, maybe it's just easier if
you'd look at other solutions. As I've written, Speedbar simply resorts
to 'imenu' to get the tags. Calling 'imenu-add-to-menubar' will let you
generate a menu entry for the headings; that should also work with every
org file. Maybe there's a little package out there putting the imenu
headings in a buffer; it can't be very hard to do. Just take a look

http://emacswiki.org/emacs/ImenuMode

as a starting point.

-David



Re: [O] Org Writer's room

2012-12-06 Thread Matt Price
On Thu, Dec 6, 2012 at 3:08 AM, Eric Abrahamsen e...@ericabrahamsen.net wrote:
 Matt Price mopto...@gmail.com writes:

 On Wed, Dec 5, 2012 at 7:44 PM, Alan L Tyree alanty...@gmail.com wrote:
 On 06/12/12 11:22, Rasmus wrote:

 Andrew Hyatt ahy...@gmail.com writes:

 This sounds like an interesting project.  My advice is to make a few
 screenshots that give people an idea what you are working towards.
 Of course, they could be completely fake, but it would be helpful to
 understand for people like me who haven't used Scrivener.

 I would also like to see this.  It sounds nice when I read your
 description, but I still don't fully appreciate the idea.

 –Rasmus

 I'm also very interested. I haven't used Scrivener -- what features do you
 see as making org a *way* better writing environment?

 [...]

 To start with I would like to just replicate this window structure,
 because it keeps you focused on writing, while having the larger
 structure available if you feel the need to flit around a bit.  The
 third screenshot shows a semi-fake, still very primitive version of
 what I'd like to have.  (I haven't figured out a good way to do the
 metadata yet).

 I *really* like the idea of having a right-hand pane available showing
 properties around the current point -- it could include properties from
 the PROPERTIES drawer, from the structure returned by
 `org-element-property', text properties, and maybe properties of the
 current headline parent. I'm sort of envisioning what you get from the
 inspect element command in Firefox.

 For the left-hand pane, org-toc and org-panel in the contrib directory
 (or even the org-goto interface) might provide some inspiration.

 Ugh, sounds like a lot of work.

those are 3 powerful tools I hadn't used before.  org-toc not working
for me at the moment though, there might be something wrong with my
.emacs setup...



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
 
 Why not just type out what the page should say?  That is in the spirit
 of collaborative way of using things.
 
 Your mail sounds more like a complaint, but with a polite tone.

Oops. I was not complaining. I am sorry if my mail gave that
impression. I raised an issue. Or, what I thought was an issue. In my
first mail, I did not suggest a formulation because I was not sure
what I wanted it to be. Also, I thought it was better to first see if
others thought there was an issue in what I was saying.

In my second mail, I have made a suggestion. I am not sure if that is
the best solution. May be somebody can come up with a better solution.
But I have suggested what my little mind could come up with.

Vikas




Re: [O] Org Writer's room

2012-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/12/12 13:07, David Engster wrote:
 Matt Price writes:
 (1) do you know if it's possible to get the speedbar buffer in a window 
 instead of a frame?
 
 I initially thought that would be easy. Turns out it isn't. ECB uses all 
 kinds of 'defadvice'
 to achieve that.
 
 There's a package sr-speedbar at
 
 http://www.emacswiki.org/SrSpeedbar
 
 but I don't know if that one's still working.

Just installed it and it is working.
Should solve this.

Rainer

 
 (2) org headings are not showing up for me with those two lines of code.  
 Evaluating 
 (speedbar-add-supported-extension .org) gives 
 \\(\\(\\.\\(org\\|[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?\\|tex\\(i\\(nfo\\)?\\)?\\|el\\|emacs\\|l\\|lsp\\|p\\|java\\|js\\|f\\(90\\|77\\|or\\)?\\|ad[abs]\\|p[lm]\\|tcl\\|m\\|scm\\|pm\\|py\\|g\\|s?html\\|ma?k\\)\\)\\|\\([Mm]akefile\\(\\.in\\)?\\)\\)$


 
but trying to click on the + symbol in the speedbar frame next to an
 org file gives only:
 
 Sorry, no support for a file of that extension
 
 Is it possible I need something else to make the extension work?
 
 I tried with 'emacs -Q' and it works for me. Make sure you do the above 
 *before* firing up
 speedbar.
 
 A speedbar buffer in the same frame that shows only headings of the current 
 file would be
 fantastic...
 
 Instead of bending Speedbar to your will, maybe it's just easier if you'd 
 look at other
 solutions. As I've written, Speedbar simply resorts to 'imenu' to get the 
 tags. Calling
 'imenu-add-to-menubar' will let you generate a menu entry for the headings; 
 that should also
 work with every org file. Maybe there's a little package out there putting 
 the imenu headings
 in a buffer; it can't be very hard to do. Just take a look
 
 http://emacswiki.org/emacs/ImenuMode
 
 as a starting point.
 
 -David
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAjxMACgkQoYgNqgF2egrj4wCcCaOivxyhPaiE7ZGrShE4XE9d
ixUAn2DxqX8giEfcSO8Y7rxuZEUT0GmC
=le+a
-END PGP SIGNATURE-



Re: [O] file link from org-mode file

2012-12-06 Thread Jambunathan K
ronaldo.merc...@diamond.ac.uk writes:

 When I “mouse click” or press C-c C-o (org-open-at-point)

 I would like the link to be opened in dired, but windows explorer
 appears.

dired= C-u C-c C-o
explorer = C-u C-u C-c C-o

-- 



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Marco
Hi there,

I had to describe orgmode to a young colleague of mine... and I came
up with something like:

Orgmode is a Free/libre plain-text versatile personal workflow and
information tool for GNU Emacs allowing you to keep and organize
notes, projects, calendars, do literate programming and reproducible
research, and export all your informations and documents to a variety
of cam-ready formats.

the important bit being IMHO personal workflow and information tool
(or companion or manager).

Just 2 cents.
Marco



Re: [O] Org Writer's room

2012-12-06 Thread Eric Abrahamsen

On 12/06/12 20:09 PM, Matt Price wrote:
 On Thu, Dec 6, 2012 at 3:08 AM, Eric Abrahamsen e...@ericabrahamsen.net 
 wrote:
 Matt Price mopto...@gmail.com writes:

 On Wed, Dec 5, 2012 at 7:44 PM, Alan L Tyree alanty...@gmail.com wrote:
 On 06/12/12 11:22, Rasmus wrote:

 Andrew Hyatt ahy...@gmail.com writes:

 This sounds like an interesting project.  My advice is to make a few
 screenshots that give people an idea what you are working towards.
 Of course, they could be completely fake, but it would be helpful to
 understand for people like me who haven't used Scrivener.

 I would also like to see this.  It sounds nice when I read your
 description, but I still don't fully appreciate the idea.

 –Rasmus

 I'm also very interested. I haven't used Scrivener -- what features do you
 see as making org a *way* better writing environment?

 [...]

 To start with I would like to just replicate this window structure,
 because it keeps you focused on writing, while having the larger
 structure available if you feel the need to flit around a bit.  The
 third screenshot shows a semi-fake, still very primitive version of
 what I'd like to have.  (I haven't figured out a good way to do the
 metadata yet).

 I *really* like the idea of having a right-hand pane available showing
 properties around the current point -- it could include properties from
 the PROPERTIES drawer, from the structure returned by
 `org-element-property', text properties, and maybe properties of the
 current headline parent. I'm sort of envisioning what you get from the
 inspect element command in Firefox.

 For the left-hand pane, org-toc and org-panel in the contrib directory
 (or even the org-goto interface) might provide some inspiration.

 Ugh, sounds like a lot of work.

 those are 3 powerful tools I hadn't used before.  org-toc not working
 for me at the moment though, there might be something wrong with my
 .emacs setup...

Yeah, some of that's out of date. Actually, since Org looks like it will
be slowly migrating over to a basis on org elements, that's probably a
good direction to look. `org-element-parse-buffer' will return a data
structure for the current buffer that would be ideal for creating a tree
visualization.



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Eric Abrahamsen
Vikas Rawal vikasli...@agrarianresearch.org writes:

 One remedy, to this, and a thing I think would be nice in any case,
 would be if keywords in the presenting sentence would link to (worg?)
 feature pages. 

 Another possibility would be to make the title just say Org mode.

 And the first headline, before Download and install, be something
 like the following:

 * Org mode is useful for
 ** Organising projects
 ** Maintaining TODO lists and calendars
 ** Keeping notes
 ** Creating high quality formatted documents
 ** Literate programming

 Each of the above could then be linked to relevant pages of the manual
 or worg.

I like this -- it seems like the best crash-landing strategy for
new users is to give them a single comforting phrase to look at (I liked
the old your life in plain text), and then a concise list of things
that org does, like the above.




Re: [O] The statement on what is orgmode.

2012-12-06 Thread Jambunathan K
Eric Abrahamsen e...@ericabrahamsen.net writes:

 Vikas Rawal vikasli...@agrarianresearch.org writes:

 One remedy, to this, and a thing I think would be nice in any case,
 would be if keywords in the presenting sentence would link to (worg?)
 feature pages. 

 Another possibility would be to make the title just say Org mode.

 And the first headline, before Download and install, be something
 like the following:

 * Org mode is useful for
 ** Organising projects
 ** Maintaining TODO lists and calendars
 ** Keeping notes
 ** Creating high quality formatted documents
 ** Literate programming

 Each of the above could then be linked to relevant pages of the manual
 or worg.

 I like this -- it seems like the best crash-landing strategy for
 new users is to give them a single comforting phrase to look at (I liked
 the old your life in plain text), and then a concise list of things
 that org does, like the above.

When description becomes boring what is needed is a catchy phrase that
stirs up imagination.

Free/Libre Digital diary for DIY nuts/ Gen Z geeks/ nerds

Freemind can create nice looking Mindmaps.

May be the above outline can be converted to a freemind which expands
and shrinks magically.

ps: I have org-e-freemind.el based on new exporter almost done.  It just
requires some tweaking before it lands.
-- 



Re: [O] new exporter: link abbrev

2012-12-06 Thread Michael Brand
Hi Nicolas

On Wed, Dec 5, 2012 at 10:05 PM, Nicolas Goaziou n.goaz...@gmail.com wrote:
 The second one is a more difficult problem. Org Elements usually
 translates links on the fly when parsing them: `org-element-link-parser'
 calls `org-translate-link'. This function requires
 `org-link-abbrev-alist' and `org-link-abbrev-alist-local' variables to
 be set properly, the second one being a local variable.

 Unfortunately, parsing of secondary strings (in particular headline
 titles or inline footnote definitions) happens in a temporary buffer,
 where no local variable is set. There `org-link-abbrev-alist-local' is
 nil, no matter what your #+LINK: keyword says, and link translation
 can't happen.

 Also, local variables cannot be send to the temporary buffer, because
 secondary string parsing can sometimes happen when the original buffer
 isn't supposed to exist, that is during export (when the parse tree is
 the only trusted data).

Thank you for the explanations.

 A possible solution would be to move link translation from
 org-element.el to org-export.el. But that would require to explicitly
 call a translator function on links, which would be an additional task
 for back-end developers. Also, `org-element-context' would not return
 anymore the real path of the abbreviated link, only its raw path.

I would like to not burden back-end developers with this.

In the meantime I found out that I can simply add
org-export-normalize-links to org-export-before-processing-hook and it
seems to do what I expect. But this is probably not to be included in
Org core because the (hopefully at least only basic) pre-parsing of
org-export-normalize-links undermines the later parsing of
org-elements. In case org-export-normalize-links would survive the old
exporter (I fear it will not) the workaround of hooking would do it
for me.

Michael



Re: [O] file link from org-mode file

2012-12-06 Thread ronaldo.mercado
Great. Thanks Bernt.
It works wonderfully. Are there other magic combinations?

 -Original Message-
 From: Bernt Hansen [mailto:be...@norang.ca]
 Sent: 06 December 2012 11:46
 To: Mercado, Ronaldo (DLSLtd,RAL,DIA)
 Cc: emacs-orgmode@gnu.org
 Subject: Re: file link from org-mode file
 
 ronaldo.merc...@diamond.ac.uk writes:
 
  Dear list,
 
  GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600) of 2012-06-10 on MARVIN
 
  Org-mode version 7.8.11
 
  on windows XP
 
  I create a link to a directory
 
  file:c:/home
 
 Try
 
 file+emacs:c:/home
 
 Regards,
 Bernt
 
 
  When I “mouse click” or press C-c C-o (org-open-at-point)
 
  I would like the link to be opened in dired, but windows explorer
 appears.
 
  How can I modify this behaviour?
 
  Thanks!


[O] Annoying empty line after M-RET / C-RET

2012-12-06 Thread Volker Grabsch
Dear Org-Mode Gurus,

I noticed some strange behaviour in Org Mode. I'm not sure
if this happens for a good reason, or is simply a bug.
Either way, it's pretty annoying.

Normally, C-RET inserts a new empty headline directly after
the previous one, i.e.


Stuff
* Head 1_


[C-RET]


Stuff
* Head 1
* _


(where underscore _ denotes the cursor)

However, if the headline is preceded by an empty line,
for whathever reason, the C-RET and M-RET commands
add an extra newline:


Stuff

* Head 1_


[C-RET]


Stuff

* Head 1

* _


This is especially annoying when quickly typing notes
into a small set of headers.

A similar behaviour occurs at deeper levels as well.
Also, this happens if there's a previous entry that
ends with an empty line (i.e. it doesn't have to happen
at the first headline entry).

Is this a bug? Does it happen for a good reason (if so,
what's the use case)? Can this be turned off?


Thanks,
Volker

-- 
Volker Grabsch
---(())---



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Brian van den Broek
On 6 December 2012 10:03, Jambunathan K kjambunat...@gmail.com wrote:

snip

 When description becomes boring what is needed is a catchy phrase that
 stirs up imagination.

 Free/Libre Digital diary for DIY nuts/ Gen Z geeks/ nerds


Tongue only half-in cheek:

Org-mode: the text editor's best chance at achieving the singularity

Best,

Brian vdB



Re: [O] org-gnome-calendar

2012-12-06 Thread Christopher Allan Webber
OH MY GOODNESS, this is VERY exciting to me!

Do you have any screenshots of this in action?  I've been thinking of
similar things for some time!


Lluís Vilanova writes:

 It's just barely working and quite slow, but here's an initial tentative on a
 package to get the agenda in Org mode to show up in GNOME's calendar:

   https://github.com/llvilanova/org-gnome-calendar


 Lluis




[O] [patch] Incorrect result of org-babel-edit-distance

2012-12-06 Thread Nicolas Richard
Hello,

(org-babel-edit-distance foo ffoo) returns 0, whereas 1 seems
appropriate. I don't know much about computing the levenshtein distance,
but it seems that part of the algorithm (which i found explained on
fr.wikipedia) is missing from the code. Please find a patch below trying
to address the issue.

-- 
Nico.

From 448cecaf3d6618274719fc6fa96f278b7202b784 Mon Sep 17 00:00:00 2001
From: nrichard (geodiff-mac3) nrich...@ulb.ac.be
Date: Thu, 6 Dec 2012 16:38:44 +0100
Subject: [PATCH] ob: Fix org-babel-edit-distance for insertion/deletion

* lisp/ob.el (org-babel-edit-distance): When insertion or deletion are
  needed, make sure the distance is incremented.  In addition, the now
  obsolete mmin function was removed.
---
 lisp/ob.el | 15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/lisp/ob.el b/lisp/ob.el
index c030a7f..0aba523 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -629,16 +629,19 @@ arguments and pop open the results in a preview buffer.
 	 (l2 (length s2))
 	 (dist (vconcat (mapcar (lambda (_) (make-vector (1+ l2) nil))
 (number-sequence 1 (1+ l1)
-	 (in (lambda (i j) (aref (aref dist i) j)))
-	 (mmin (lambda (rest lst) (apply #'min (remove nil lst)
+	 (in (lambda (i j) (aref (aref dist i) j
 (setf (aref (aref dist 0) 0) 0)
+(dolist (j (number-sequence 1 l2))
+  (setf (aref (aref dist 0) j) j))
 (dolist (i (number-sequence 1 l1))
+  (setf (aref (aref dist i) 0) i)
   (dolist (j (number-sequence 1 l2))
 	(setf (aref (aref dist i) j)
-	  (+ (if (equal (aref s1 (1- i)) (aref s2 (1- j))) 0 1)
-		 (funcall mmin (funcall in (1- i) j)
-			  (funcall in i (1- j))
-			  (funcall in (1- i) (1- j)))
+	  (min
+	   (1+ (funcall in (1- i) j))
+	   (1+ (funcall in i (1- j)))
+	   (+ (if (equal (aref s1 (1- i)) (aref s2 (1- j))) 0 1)
+		  (funcall in (1- i) (1- j)))
 (funcall in l1 l2)))
 
 (defun org-babel-combine-header-arg-lists (original rest others)
-- 
1.8.0



Re: [O] Org Writer's room

2012-12-06 Thread Matt Price
On Thu, Dec 6, 2012 at 9:15 AM, Eric Abrahamsen e...@ericabrahamsen.net wrote:

 On 12/06/12 20:09 PM, Matt Price wrote:
 On Thu, Dec 6, 2012 at 3:08 AM, Eric Abrahamsen e...@ericabrahamsen.net 
 wrote:
 Matt Price mopto...@gmail.com writes:

 On Wed, Dec 5, 2012 at 7:44 PM, Alan L Tyree alanty...@gmail.com wrote:
 On 06/12/12 11:22, Rasmus wrote:

 Andrew Hyatt ahy...@gmail.com writes:

 This sounds like an interesting project.  My advice is to make a few
 screenshots that give people an idea what you are working towards.
 Of course, they could be completely fake, but it would be helpful to
 understand for people like me who haven't used Scrivener.

 I would also like to see this.  It sounds nice when I read your
 description, but I still don't fully appreciate the idea.

 –Rasmus

 I'm also very interested. I haven't used Scrivener -- what features do you
 see as making org a *way* better writing environment?

 [...]

 To start with I would like to just replicate this window structure,
 because it keeps you focused on writing, while having the larger
 structure available if you feel the need to flit around a bit.  The
 third screenshot shows a semi-fake, still very primitive version of
 what I'd like to have.  (I haven't figured out a good way to do the
 metadata yet).

 I *really* like the idea of having a right-hand pane available showing
 properties around the current point -- it could include properties from
 the PROPERTIES drawer, from the structure returned by
 `org-element-property', text properties, and maybe properties of the
 current headline parent. I'm sort of envisioning what you get from the
 inspect element command in Firefox.

 For the left-hand pane, org-toc and org-panel in the contrib directory
 (or even the org-goto interface) might provide some inspiration.

 Ugh, sounds like a lot of work.

 those are 3 powerful tools I hadn't used before.  org-toc not working
 for me at the moment though, there might be something wrong with my
 .emacs setup...

 Yeah, some of that's out of date. Actually, since Org looks like it will
 be slowly migrating over to a basis on org elements, that's probably a
 good direction to look. `org-element-parse-buffer' will return a data
 structure for the current buffer that would be ideal for creating a tree
 visualization.

hmm, just looked at the output of that command and the data structures
look like:

(headline (:raw-value The Function of Copyright :begin 489 :end 610
:pre-blank 0 :hiddenp outline :contents-begin 517 ...) (section
(:begin 517 :end 610 :contents-begin 517 :contents-end 610 :post-blank
0 :parent #1)))

Those integers are char numbers in the buffer -- would this list then
have to be updated for every character stroke?  Hmm, I also can pretty
much see how to get each :raw-value and turn it into text that's
presented in a buffer... but I don't understand how to associate that
text with the existing headline in an org file.  Speedbar seems like a
much easier option, but while the org-mode parser is nowworking for
me(yay!) I can't make the same-frame package work (sr-speedbar)!  Gosh
darn it!

ANyway,  thanks eveyrone, I'm going to keep needing help on this so if
you have more suggestions please keep them coming..

matt



Re: [O] org-gnome-calendar

2012-12-06 Thread Erik Hetzner
At Thu, 06 Dec 2012 09:51:07 -0600,
Christopher Allan Webber wrote:
 
 OH MY GOODNESS, this is VERY exciting to me!
 
 Do you have any screenshots of this in action?  I've been thinking of
 similar things for some time!

This can also be accomplished using org-caldav + setting up evolution
to sync with a caldav server.

best, Erik
Sent from my free software system http://fsf.org/.


Re: [O] file link from org-mode file

2012-12-06 Thread Haider Rizvi
ronaldo.merc...@diamond.ac.uk writes:

 It works wonderfully. Are there other magic combinations?

Of course :-) See http://orgmode.org/org.html#External-links for a
comprehensive list.

Also keep in mind the keyboard and mouse shortcuts for opening links,
described immediately below the list.

Regards, 
-- 
Haider




Re: [O] Org Writer's room

2012-12-06 Thread Yagnesh Raghava Yakkala

Hello Matt,

On Dec 06 2012, Matt Price mopto...@gmail.com wrote:

 that looks really great, I'm going to play with it as soon as I can -
 -thanks! Hve you set up your own window layouts using htis package?

No, But I used a package written by tkf called ne2wm[1] for some time which
has very good prospectives (jargon from eclipse). For eg, `ne2wm:dp-code+' is
almost similar to the one discussed in this thread (Imenu window, code window,
dired).

It comes with a nice function set to create a desired prospective with in no
time. I stopped using it because of my screen resolution.

Thanks.,

Footnotes: 
[1]  https://github.com/tkf/ne2wm

-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR



[O] Has anybody noticed ellipses instead of the top line of the window?

2012-12-06 Thread Samuel Wales
Has anybody encountered ellipses instead of the first line of the window?

On 8/21/12, Samuel Wales samolog...@gmail.com wrote:
 === beginning of window
 ...
 *** Above all
 Above all, it is a collapse of the uneasy and corrupt
 identification of science -- that principled, unbiased, at
 times necessarily subversive, transparent, open-minded, and
 often selfless search for natural reality -- with rank
 authority.  The sloppy emulsion of water in oil.
 === end of window

 Note the ... on the first line.  (Above that is merely ordinary body
 text in a sibling.)

Thanks.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.



Re: [O] [PATCH] Nicer fontification for org-todo-list

2012-12-06 Thread Ingo Lohmar
On Tue, Dec 04 2012 15:39 (+0100), Bastien wrote:

 Hi Ingo,

 sorry nobody had the time to test the patch and report.

 It looks good to me and does the right thing.  

 Do you mind resending it using git?  Don't forget to add a changelog
 entry (with `C-x 4 a' in the modified places) and a TINYCHANGE cookie 
 at the end of the entry.

 Note that we cannot accept patches larger than 20 lines, so if you
 want to contribute further, maybe you can consider signing the FSF
 papers?

 See
 http://orgmode.org/cgit.cgi/org-mode.git/plain/request-assign-future.txt

 Thanks for your contribution/patience!

 -- 
  Bastien

Hi Bastien,

No worries, and thanks for taking the time.  Below is the patch in git
format, I hope the format is ok (incl changelog), otherwise please bear
with me...  Will send the mail regarding the FSF papers soon!

Ingo



From 1ecc9832bcda75638dc29565f71516416e599e89 Mon Sep 17 00:00:00 2001
From: Ingo Lohmar i.loh...@gmail.com
Date: Thu, 6 Dec 2012 20:51:59 +0100
Subject: [PATCH] Propertize keywords in todo list header

* org-agenda.el (org-todo-list): Propertize keywords with
  their proper faces in the header of a todo list agenda.

TINYCHANGE
---
 lisp/org-agenda.el |   15 ---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 2c484b5..15321e1 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4509,6 +4509,17 @@ in `org-agenda-text-search-extra-files'.
 
 ;;; Agenda TODO list
 
+(defun org-propertize-todo-keyword-list (keywords)
+  (concat
+   (if (or (equal keywords ALL) (not keywords))
+   (propertize ALL 'face 'warning)
+ (mapconcat
+  (lambda (kw)
+(propertize kw 'face (org-get-todo-face kw)))
+  (org-split-string keywords |)
+  |))
+   \n))
+
 (defvar org-select-this-todo-keyword nil)
 (defvar org-last-arg nil)
 
@@ -4569,9 +4580,7 @@ for a keyword.  A numeric prefix directly selects the Nth 
keyword in
   (concat ToDo: 
   (or org-select-this-todo-keyword 
ALL
(org-agenda-mark-header-line (point-min))
-   (setq pos (point))
-   (insert (or org-select-this-todo-keyword ALL) \n)
-   (add-text-properties pos (1- (point)) (list 'face 'org-warning))
+   (insert (org-propertize-todo-keyword-list org-select-this-todo-keyword))
(setq pos (point))
(unless org-agenda-multi
  (insert Available with `N r': (0)[ALL])
-- 
1.7.10.4




[O] [new-exporter] Macro expansion does not allow for newlines '\n'

2012-12-06 Thread Jonathan Leech-Pepin
Hello all,

The new exporter does not properly parse \n characters in macro definitions.

In the old exporter the following:

#+MACRO: test hello\ngoodbye

{{{test}}}

exports to ASCII as:

hello
goodbye

In the new exporter (e-ascii) it exports as:

hello\ngoodbye

I've also reproduced this using e-pdf and e-texinfo.

Regards,

--
Jon


[O] org-caldav: scripting for multiple calnedars?

2012-12-06 Thread Detlef Steuer
Hi David,

org-caldav comes a godsend for me! Fantastic!

I'm on owncloud and the first syncs worked like a charme!

What I'm trying to figure out at the moment, is how to setup a batch so, that
say work.org goes into calendar work, family.org into calendar family etc., 
without asking for  user/password combinations.

Would simply be great!  Any hints greatly appreciated!

Imagine the horror: I even considered moving my appointments under owncloud's 
control ... 

Thanx for org-caldav!

Detlef



Re: [O] Bug? : Nested macro expansion

2012-12-06 Thread Nicolas Goaziou
Hello,

Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes:

 When trying to insert a macro as one of the variables in another macro
 (inline and not in the definition), the export fails in both exporters
 in different ways.

 Using the following example:

 #+begin_src org
 #+MACRO: test2 /$1/
 #+MACRO: test3 *$1*
 #+MACRO: test {{{test2($1)}}} - $2
 #+MACRO: test4 $1 - $2

 Test
 1. {{{test(hello,goodbye)}}}
 2. {{{test(hello, {{{test3(goodbye)}}})}}}
 3. {{{test({{{test3(hello)}}},goodbye)}}}
 4. {{{test4({{{test3(hello)}}},goodbye)}}}
 5. {{{test4(hello,{{{test3(goodbye)}}})}}}
 #+end_src

You're not supposed to nest macro calls. Only macro definitions.


Regards,

-- 
Nicolas Goaziou



[O] [PATCH] Edit source: fix 'end' initialisation

2012-12-06 Thread Michael Gauland
I've been able to run org-edit-src-code just fine under NTEmacs
24.2.50.1 on Windows 7, but under GNU Emacs 23.2.1 on Debian, I got an
error:

Wrong type argument: integer-or-marker-p, nil

With the attached patch, I've been able to run it on both systems. The
change passes (make-marker) to (copy-marker), instead of nil.

Kind Regards,
Mike Gauland

From 9aca6bb03fe92adc7198c85699b2539bc811b414 Mon Sep 17 00:00:00 2001
From: Michael Gauland mike_gaul...@stanfordalumni.org
Date: Fri, 7 Dec 2012 10:44:09 +1300
Subject: [PATCH] Edit source: fix 'end' initialisation

* lisp/org-src.el: Create a marker to pass to copy-marker. This fixes a 'wrong
type argument' error when running org-edit-src-code (observed on Emacs 23.2.1).

The problem was that copy-marker expects a marker, and it was given nil. This
change gives it a marker that doesn't point anywhere, but still lets us set the
insertion type of the end marker.

TINYCHANGE
---
 lisp/org-src.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index 97ee8c5..ab937b8 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -230,7 +230,7 @@ buffer.
 	 (beg (make-marker))
 	 ;; Move marker with inserted text for case when src block is
 	 ;; just one empty line, i.e. beg == end.
-	 (end (copy-marker nil t))
+	 (end (copy-marker (make-marker) t))
 	 (allow-write-back-p (null code))
 	 block-nindent total-nindent ovl lang lang-f single lfmt buffer msg
 	 begline markline markcol line col transmitted-variables)
-- 
1.7.2.5



signature.asc
Description: OpenPGP digital signature


Re: [O] The statement on what is orgmode.

2012-12-06 Thread Axel E. Retif

What about starting with a quote by Dr. Stefan Vollmar:



It's difficult to say what exactly Emacs' Org-mode will do for you; it's 
easier to list all things it doesn't do





You know, from MPI talk.


Best

Axel




[O] Sort by Inactive Timestamp

2012-12-06 Thread Jeff Mickey
Hey Org mailing list!

So, I have been using org for years (2006?) now, absolutely adore it.
The generic org-export in contrib really excites me as well, I want to
try and write an org-e-mediawiki.el after I learn some more about
org's implementation.

However.. my current issue: I'd like to sort my todo's by when I
entered them. So in my capture template I put an inactive timestamp at
the bottom, so my headlines look something like:

--8---cut here---start-8---
* Todo
** TODO call mom
- Ask about christmas
- Talk about Dad
- See if she bought a dog

   [2012-12-05 Wed 16:36]
** TODO Yet another thing
   [2012-12-05 Wed 16:37]
--8---cut here---end---8---

I'd love to have a way to bring up the agenda and have it sorted by
this ctime I'm manually inserting. Do people have suggestions on the
best way to support this?

Maybe add a property to my TODOs that is this creation time?
Has anyone else done something similar to this using
org-agenda-cmp-user-defined?

... is this the wrong place to ask this question?

I appreciate any and all help!

  //  jeff



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
 like the following:
 
 * Org mode is useful for
 ** Organising projects
 ** Maintaining TODO lists and calendars
 ** Keeping notes
 ** Creating high quality formatted documents
 ** Literate programming
 
 Each of the above could then be linked to relevant pages of the manual
 or worg.

A slightly improved version in my view:

* Org mode is useful for
** Organising projects, maintaining TODO lists and calendars
** Creating high quality formatted documents
** Keeping notes
** Literate programming

Would everyone agree that before Download and install, we have
something like the above on the front-page?

We would still need to decide what to do with the title. Following
suggestions have come so far:

1. Org-mode (only)
2. Org-mode: your life in plain text
3. Orgmode is a Free/libre plain-text system for GNU Emacs for
organizing project, and maintaining TODO lists, keeping notes, doing
literate programming and exporting to many high quality formats.
4. Orgmode is a Free/libre plain-text versatile personal workflow and
information tool for GNU Emacs allowing you to keep and organize
notes, projects, calendars, do literate programming and reproducible
research, and export all your informations and documents to a variety
of cam-ready formats.
5. Org-mode: the text editor's best chance at achieving the singularity.
6. Org-mode: It's difficult to say what exactly Emacs' Org-mode will
do for you; it's easier to list all things it doesn't do.

I would actually vote for the old orgmode title phrase (option 2 above).

Vikas



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Eric Schulte
Vikas Rawal vikasli...@agrarianresearch.org writes:

 like the following:
 
 * Org mode is useful for
 ** Organising projects
 ** Maintaining TODO lists and calendars
 ** Keeping notes
 ** Creating high quality formatted documents
 ** Literate programming
 
 Each of the above could then be linked to relevant pages of the manual
 or worg.

 A slightly improved version in my view:

 * Org mode is useful for
 ** Organising projects, maintaining TODO lists and calendars
 ** Creating high quality formatted documents
 ** Keeping notes
 ** Literate programming


Suggested slight change which mentions RR in addition to LP, and doesn't
abuse the outline syntax (one of the most common beginner mistakes IMO).

Org-mode is useful for
- Organising projects, maintaining TODO lists and calendars
- Creating high quality formatted documents
- Keeping notes
- Literate programming and Reproducible Research


 Would everyone agree that before Download and install, we have
 something like the above on the front-page?

 We would still need to decide what to do with the title. Following
 suggestions have come so far:

 1. Org-mode (only)
 2. Org-mode: your life in plain text
 3. Orgmode is a Free/libre plain-text system for GNU Emacs for
 organizing project, and maintaining TODO lists, keeping notes, doing
 literate programming and exporting to many high quality formats.
 4. Orgmode is a Free/libre plain-text versatile personal workflow and
 information tool for GNU Emacs allowing you to keep and organize
 notes, projects, calendars, do literate programming and reproducible
 research, and export all your informations and documents to a variety
 of cam-ready formats.
 5. Org-mode: the text editor's best chance at achieving the singularity.
 6. Org-mode: It's difficult to say what exactly Emacs' Org-mode will
 do for you; it's easier to list all things it doesn't do.

 I would actually vote for the old orgmode title phrase (option 2 above).


+1, I also like option 2 best of all those listed above.


 Vikas


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



[O] priorities

2012-12-06 Thread J. David Boyd

How many of y'all have changed the default priorities from 'A', 'B', and
'C' to something else.

I've changed mine to '1' - '5', which showed up a bug in MobileOrg, and
I'm curious why no one else has seen this.

Am I the only one that doesn't like letter priorities?

Dave




Re: [O] Problem with template expansion of previous prompts.

2012-12-06 Thread Aaron Ecay
You need to escape the backslash inside the string, I think.  \1 is
interpreted as a string consisting of one character, the ASCII character
with hex code 0x01, which happens to be C-a.  \\1 is a 2-character
string: backslash, then one.

-- 
Aaron Ecay



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal

 
 Org-mode is useful for
 - Organising projects, maintaining TODO lists and calendars
 - Creating high quality formatted documents
 - Keeping notes
 - Literate programming and Reproducible Research

Use lower case for RR, since everything else is lower case?

Vikas




Re: [O] The statement on what is orgmode.

2012-12-06 Thread Thomas S. Dye
Vikas Rawal vikasli...@agrarianresearch.org writes:

 
 Org-mode is useful for
 - Organising projects, maintaining TODO lists and calendars
 - Creating high quality formatted documents
 - Keeping notes
 - Literate programming and Reproducible Research

 Use lower case for RR, since everything else is lower case?

 Vikas



Yes, lowercase is better.

Tom

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



Re: [O] The statement on what is orgmode.

2012-12-06 Thread David Rogers
Axel E. Retif axel.re...@mac.com writes:

 What about starting with a quote by Dr. Stefan Vollmar:

 

 It's difficult to say what exactly Emacs' Org-mode will do for you;
 it's easier to list all things it doesn't do


I'm not SO sure that it's difficult. Let me try:

Org-mode is a set of processors that work in the background of Emacs to
convert your text into action and your chaos into structure. With the
help of those processors, almost anything you type while using Org-mode
is already a computer program.

-- 
David



Re: [O] Sort by Inactive Timestamp

2012-12-06 Thread Samuel Wales
I can't give you the answer, only the tools, as my setup contains
years of stuff.

The manual says how to do sorting in the outline and the agenda using
user-defined functions.

The key thing is converting timestamps into something that you can use
reliably.  I wrote these over a long period years ago.

(defun alpha-org-timestamp-score (optional sg)
  Return unix minutes as a floating point number.

;;;for 0..1
;;;Beware adding this to a much larger number (around 100); you will
;;;lose resolution.  Multiply first by a number with a lot of
;;;zeroes.  Then add to a number with a lot of zeroes.

Seems to be unix time as 1970 (or a few hours off, possibly
depending on time zone) epoch.

This is for sorting conversations, which have an inactive
timestamp near the beginning of a header, and for all tasks.  Any
closed should be first inactive, followed by logbook if you sort
those reversed.  This is what you usually want.

Return the first inactive timestamp even if it is CLOSED.

===

There is no way to get Org to return the first ts of any type.

If closed check is after ts check, then if there is an inactive
timestamp (such as in logbook) that is after CLOSED, will use
that first.

/fixme/ request a timestamp-any property.  this gets you the
first timestamp no matter whether it is active and no matter
where it is.

This now checks closed first.  So the bug now is if there is a ts
in the headline, closed will take precedence if it exists.

Still, this approach works OK; think of the time as always being
the time of closing for a doneish, else first ts.  That is OK.

So not making the request now.

/Does not yet consider active timestamps/.
  ;;
  ;;make sure these work on any other processor or os
  ;;
  ;;(/ (org-time-string-to-seconds 1900-12-31 00:00) 60.0) nan
  ;;(/ (org-time-string-to-seconds 1901-12-31 00:00) 60.0) -35766300.0
  ;;(/ (org-time-string-to-seconds 1934-12-31 00:00) 60.0) -18409980.0
  ;;(/ (org-time-string-to-seconds 1960-12-31 00:00) 60.0) -4734300.0
  ;;(/ (org-time-string-to-seconds 1969-12-31 00:00) 60.0) -1020.0
  ;;(/ (org-time-string-to-seconds 1970-01-01 00:00) 60.0) 420.0
  ;;(/ (org-time-string-to-seconds 1980-01-01 00:00) 60.0) 5259300.0
  ;;(/ (org-time-string-to-seconds 1990-01-01 00:00) 60.0) 10519620.0
  ;;(/ (org-time-string-to-seconds 2010-01-01 00:00) 60.0) 21038820.0
  ;;(/ (org-time-string-to-seconds 2038-01-01 00:00) 60.0) 35765700.0
  ;;(/ (org-time-string-to-seconds 2138-01-01 00:00) 60.0) nan
  ;;if you do seconds instead of minutes, it changes order around 2010
  ;;seems ok to multiply by 1e7 or so
  ;;(+ 1.0 (* 10519620.0 1e8)) 10519621.0 :)
  ;;(+ 1.0 (* 10519620.0 1e9)) 1.051962e+16 :(
  ;;(= (+ 1.0 (* 10519620.0 1e9)) (* 10519620.0 1e9)) t :(
  ;;(/ (org-time-string-to-seconds 1990-01-01 00:00) 60.0) 10,519,620.0
  (let ((ts (or
 ;;this fixes either a doc bug or a real bug, not
 ;;sure which
 (alpha-org-entry-get CLOSED sg)
 (alpha-org-entry-get TIMESTAMP_IA sg
(aif ts
 (/ (org-time-string-to-seconds it)
60.0)
  0.0)))

;;all of my other get functions should use this.  are there
;;issues with it?
(defun alpha-org-entry-get (property optional sg inherit)
  Return the value of PROPERTY, whether you are in the outline
or the agenda, by calling `org-entry-get'.

SG is the agenda header string provided by user-defined agenda
sorting, or nil.  If it is nil and you are in the outline, use
the current headline directly.  If it is nil and you are in the
agenda, use the current headline by going to the outline.

INHERIT is the inherit argument for `org-entry-get'.

There are a few questions about Org properties:

  1) What does it mean to get alltags without inheritance or tags
 with inheritance?  I guess org-entry-get was originally
 meant for properties, not tags, so you don't use inherit?
  2) How do you get the first timestamp in an entry?  There seems
 to be no way without specifying the type of timestamp.

According to the manual at the time of this writing, possible
properties include these.

 TODO The TODO keyword of the entry.
 TAGS The tags defined directly in the headline.
 ALLTAGS  All tags, including inherited ones.
 CATEGORY The category of an entry.
 PRIORITY The priority of the entry, a string with a single letter.
 DEADLINE The deadline time string, without the angular brackets.
 SCHEDULEDThe scheduling timestamp, without the angular brackets.
 CLOSED   When was this entry closed?
 TIMESTAMPThe first keyword-less timestamp in the entry.
   - this works even in the headline
 TIMESTAMP_IA The first inactive timestamp in the entry.
   - this works even in the headline
   - it does not seem to report CLOSED ts -- use CLOSED
 CLOCKSUM The sum of CLOCK intervals in the subtree.  org-clock-sum
  must be run first to compute the values.
 

Re: [O] Sort by Inactive Timestamp

2012-12-06 Thread Samuel Wales
I think your setup is only by time, so you don't really need to
convert the timestamps, and you don't really need the generalized get
function.  You can just use org-entry-get.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.



Re: [O] Has anybody noticed ellipses instead of the top line of the window?

2012-12-06 Thread Brian van den Broek
On 6 Dec 2012 13:46, Samuel Wales samolog...@gmail.com wrote:

 Has anybody encountered ellipses instead of the first line of the window?

 On 8/21/12, Samuel Wales samolog...@gmail.com wrote:
  === beginning of window
  ...
  *** Above all
  Above all, it is a collapse of the uneasy and corrupt

I have. Haven't noticed a pattern; I always get mildly concerned and often
am motivated to reassure myself there's be no data loss. Never has been.

Best,

Brian vdB


Re: [O] The statement on what is orgmode.

2012-12-06 Thread Axel E. Retif

On 12/06/2012 06:18 PM, David Rogers wrote:


Axel E. Retif axel.re...@mac.com writes:


What about starting with a quote by Dr. Stefan Vollmar:



It's difficult to say what exactly Emacs' Org-mode will do for you;
it's easier to list all things it doesn't do



I'm not SO sure that it's difficult. Let me try:

Org-mode is a set of processors that work in the background of Emacs to
convert your text into action and your chaos into structure. With the
help of those processors, almost anything you type while using Org-mode
is already a computer program.



I very much like the phrase «... convert your text into action and your 
chaos into structure». Given Bastien's presentation, I think he would 
agree with this.


But, anyway, I stand by my statement that Dr. Vollmar's phrase is very 
good to intrigue would-be-users. I know it did it for me ---a couple of 
months old newbie. And thanks to org-mode now I'm also using exclusively 
AUCTeX for my work (copy-editor/typesetter).




Best

Axel





Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
 
 Org-mode is a set of processors that work in the background of Emacs to
 convert your text into action and your chaos into structure. With the
 help of those processors, almost anything you type while using Org-mode
 is already a computer program.

Well said. 

Vikas



Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
 Suggested slight change which mentions RR in addition to LP, and doesn't
 abuse the outline syntax (one of the most common beginner mistakes IMO).
 
 Org-mode is useful for
 - Organising projects, maintaining TODO lists and calendars
 - Creating high quality formatted documents
 - Keeping notes
 - Literate programming and Reproducible Research
 

May I also say that, and I perhaps see it this way because I am not a
developer myself, it is useful to keep this top blurb simple and
accessible to non-geeks. orgmode is incredible. And it is really not
all that difficult and inaccessible. It is super-simple to use, and
from what I understand, this simplicity was at the core when Carsten
created it. You don't need to know any latex or html, and you can
produce brilliant documents. Etc...

orgmode is really something that can be enormously useful to writers,
social scientists, and a lot of other people. Some of our
documentation must remain as simple and accessible to non-geeks as, I
think, our software is.

Vikas




Re: [O] The statement on what is orgmode.

2012-12-06 Thread Eric Abrahamsen
David Rogers davidandrewrog...@gmail.com writes:

 Axel E. Retif axel.re...@mac.com writes:

 What about starting with a quote by Dr. Stefan Vollmar:

 

 It's difficult to say what exactly Emacs' Org-mode will do for you;
 it's easier to list all things it doesn't do


 I'm not SO sure that it's difficult. Let me try:

 Org-mode is a set of processors that work in the background of Emacs to
 convert your text into action and your chaos into structure. With the
 help of those processors, almost anything you type while using Org-mode
 is already a computer program.

While these things are true, and well-stated, they're not really going
to help someone who's just landed on the homepage and has no idea what
he/she is looking at. If I didn't already know what org did, these
descriptions would kind of beg the question...




Re: [O] Annoying empty line after M-RET / C-RET

2012-12-06 Thread Eric Abrahamsen
Volker Grabsch v...@notjusthosting.com writes:

 Dear Org-Mode Gurus,

 I noticed some strange behaviour in Org Mode. I'm not sure
 if this happens for a good reason, or is simply a bug.
 Either way, it's pretty annoying.

 Normally, C-RET inserts a new empty headline directly after
 the previous one, i.e.

Check the docstring and value of org-blank-before-new-entry.

I think by default it tries to guess what you want by looking at what's
already there: ie it interprets the previous blank line above your
current heading to mean that you like having blank lines between all
your headings.




Re: [O] The statement on what is orgmode.

2012-12-06 Thread brian powell
 6. Org-mode: It's difficult to say what exactly Emacs' Org-mode will
 do for you; it's easier to list all things it doesn't do.

Wow! Great thread.

I was going to ask the question what @isn't@ Emacs OrgMode--and not in a
trite way at all; in a serious way.

Emacs is a mode-less (concurrent major modes and minor modes galore) and an
infinitely extensible software tool.

OrgMode is an amazing tool that enables Emacs users the ability to do a
huge number of things, very simply and easily.

(E)macs (M)akes (A)ll (C)omputing (S)imple.

I often think: What are the epistemological limits of Emacs? What can't
you do or find out in Emacs?

Emacs has the fastest regexp engine (in the NFA and first character
descrimination sense--p.197 MRE, Friedl, et. al) for some things.

OrgMode's table interfaces with EmacsCalc--an extremely high-quality
science and math tool.

Seriously, you can do anything in/with Emacs; and, OrgMode works well in
most all other major modes in Emacs.

Remember the old icon symbol of Emacs--it literally is a picture of
kitchen sink--because you can do everything except the kitchen sink in
Emacs--and therefore OrgMode.

So, again, seriously, this thread is misnamed.  What can't you do in
Emacs/OrgMode?  What can't it be used for?--this should be the thread!

I'd really like to know.  Every week or two, something comes off my very
tiny list, which is just about empty.

Of course we all have computing limits of cpu and hard-drive space etc. so
those hard limits will always be the bottleneck as to what Emacs and
OrgMode can really be used for--buffers can only be so big.

Theoretically there are no limits here except computing limits--P vs. NP
is unproven--but P(space) is a hard limit.

Like with so many other things in life; Emacs OrgMode is what you make of
it.

If I had to chose: I vote for #1 or something like: Its your life
[organized] in plain text.


[O] Emacs user conference

2012-12-06 Thread Ivan Kanis
Hello,

A user emacs conference would consist of talks of about an hour. I think
a week end should be sufficient. If we don't have enough talks we can
split workshops in smaller group on a given topic.

They are plenty of talk proposals listed on this web site.

http://emacsconf.herokuapp.com/

I can give a talk on GTD with org mode.

And since we are speaking of GTD, what need to happens next for this
event to happen?
-- 
Ivan Kanis
http://ivan.kanis.fr

Don't look back unless you intend to go that way.
-- Marc Holm



Re: [O] Emacs user conference

2012-12-06 Thread joakim
Burton Samograd bur...@samograd.ca writes:

 Ivan Kanis ivan.ka...@googlemail.com writes:

 Hello,

 A user emacs conference would consist of talks of about an hour. I think
 a week end should be sufficient. If we don't have enough talks we can
 split workshops in smaller group on a given topic.

 They are plenty of talk proposals listed on this web site.

 http://emacsconf.herokuapp.com/
 I can give a talk on GTD with org mode.

 And since we are speaking of GTD, what need to happens next for this
 event to happen?

 What city/country/continent are you thinking of holding it?

I think this would be very interesting!

I think the original idea was to host the conference in London, but if
this doesnt manifest, my previous proposal to host the conference at my
company offices in Stockholm still stands:

http://emacsconf.herokuapp.com/proposals/40

,
| LOCATION PROPOSAL: STOCKHOLM
| by joakim verona
| votes: 0
| I can likely provide a location free of charge, our company office. Its 
located in Stockholm, here: http://www.it-huset.se/kontakt/karta/ A weekend 
would be best.
`

I can (likely) provide beverages and snacks free of charge as well.



 --
 Burton


-- 
Joakim Verona