Re: [O] error while installing org-mode version 7.9.1

2012-09-04 Thread Nick Dokos
Supriya Sawant sp.sawan...@gmail.com wrote:

 while installing latest org-mode version after running make test I am getting 
 the following error.
  
 
 TMPDIR=/tmp/tmp-orgtest emacs -batch -Q  --eval '(add-to-list
 '''load-path ./lisp)' --eval ' (add-to-list '''load-path
 ./testing)'  -l org-install.el -l testing/org-test.el --eval '(require
 '''ob-awk)' --eval '(require '''ob-C)' --eval '(require '''ob-fortran)' 
 --eval '(require
 '''ob-maxima)' --eval '(require '''ob-lilypond)' --eval '(require 
 '''ob-octave)' --eval '
 (require '''ob-python)' --eval '(require '''ob-sh)'  --eval '(setq 
 org-confirm-babel-evaluate
 nil)' -f org-test-run-batch-tests
 Cannot open load file: testing/org-test.el
 make: *** [test] Error 255
 

Are you in the right directory? The above assumes that you are in the top-level
org directory and there are subdirectories ./lisp and ./testing. The testing/
subdirectory should contain org-test.el. Does it?

In particular, assuming you *are* in the right directory, if you try to
execute the first part of the command from the command line:

--8---cut here---start-8---
TMPDIR=/tmp/tmp-orgtest emacs -batch -Q --eval '(add-to-list '''load-path 
./lisp)' --eval ' (add-to-list '''load-path ./testing)' -l org-install.el 
-l testing/org-test.el
--8---cut here---end---8---

you should get no errors.

If you are missing org-test.el, then your install is incomplete.  In
that case, you'll have to tell us what method you used to install.

BTW, I use git and track both the master and maint branches: I get no
errors on either of them with the most recent bits.

Nick



Re: [O] Labels in beamer new exporter

2012-09-04 Thread Nicolas Goaziou
Hello,

Fabrice Popineau fabrice.popin...@supelec.fr writes:

 I'm trying to reference a slide using the beamer new exporter.
 Each frame gets its own label automagically (sec-#-##).
 Is there a way to reference those labels later on ? Using emacs-lisp ?
 Or ?

You refer to these labels when you create an internal link (fuzzy, by
custom-id, or by id) to the headline. So the idea is that you don't have
to bother with label's name.

Unfortunately, there's one limitation for now: it isn't possible to
specify an overlay for the target. For example:

--8---cut here---start-8---
#+OPTIONS: H:1

* Frame 1
  :PROPERTIES:
  :CUSTOM_ID: frame1
  :END:

  #+ATTR_BEAMER: :overlay +-
  - item 1
  - item 2

* Frame 2

  [[*Frame 1][Link to first frame]] (1)

  [[#frame1][@@e-beamer:2@@Link to first frame]]   (2)
--8---cut here---end---8---

(1) will produce \hyperlink{sec-1}{Link to first frame}

(2) will produce \hyperlink2{sec-1}{Link to first frame}   (*)

At the moment, there's no way to produce:

  \hyperlink{sec-12}{Link to first frame, second overlay}  (+)

I may swap the export-snippet usage in second case, if (*) is less
useful than (+).

Note that I hardly, if ever, use links in my presentations so
`org-e-beamer-link' is probably sub-optimal.

 I tried another way to solve my problem and wanted to define my own label
 on a frame :

 ** My frame titles :B_frame:
 :PROPERTIES:
 :BEAMER_opt: label=tcs
 :BEAMER_env: frame
 :END:

 Unfortunately, the new latex/beamer exporter does not seem to check that
 the user may have wanted to put his/her
 own label on a frame and it adds its own label to the user defined one.
 It is not that difficult to patch org-e-beamer--format-frame to avoid
 adding label when the user provides its own, but is it
 the right thing to do ?

Considering the remark above, I'm don't think that's the best way to
handle the problem. On the other hand, label is an option and should
be treated as such (that is, an user should be able to provide its own
value for it). It is implemented now.


Regards,

-- 
Nicolas Goaziou



Re: [O] Labels in beamer new exporter

2012-09-04 Thread Fabrice Popineau

  Unfortunately, the new latex/beamer exporter does not seem to check that
  the user may have wanted to put his/her
  own label on a frame and it adds its own label to the user defined one.
  It is not that difficult to patch org-e-beamer--format-frame to avoid
  adding label when the user provides its own, but is it
  the right thing to do ?

 Considering the remark above, I'm don't think that's the best way to
 handle the problem. On the other hand, label is an option and should
 be treated as such (that is, an user should be able to provide its own
 value for it). It is implemented now.


Well, thanks for this It solves an easy case that has already asked for in
the past.
Now I can do :

* section
** My frame title :B_frame:
:PROPERTIES:
:BEAMER_opt: label=tcs
:BEAMER_env: frame
:END:

Some text. Some text.  Some text. Some text.
Some text. Some text.  Some text. Some text.

* section :B_ignoreheading:
#+BEAMER: \againframe2{tcs}

** Following frame
etc.

Not as clean as we might want it, but it is working ok. I had to add an
invisible section
else the againframe is not exported between frames, but inside the
preceding frame.

I don't think it was possible before.
I think it may prove useful to be able to chose the label for the frame.

-- 
Fabrice


Re: [O] Beamer onlyenv

2012-09-04 Thread Nicolas Goaziou
Hello,

Avdi Grimm gro...@inbox.avdi.org writes:

 I have a lot of slides where I want to incrementally show arbitrary
 information or code that is *not* part of a bullet list. I've been doing it
 like this:

 #+BEAMER: \begin{onlyenv}2-
 ...some content...
 #+BEAMER: \end{onlyenv}

 I haven't been able to find any comprehensive org-beamer docs, and I've
 been wondering: is there a nicer way to do this using org's beamer
 support?

Using new back-end (and probably the old one, /mutatis mutandis/), you
can use something like:

  (add-to-list 'org-e-beamer-environments-extra
   '(onlyenv O \\begin{onlyenv}%a \\end{onlyenv}))

You can then add an headline above your information and set its
properties BEAMER_env and BEAMER_act to, respectively, onlyenv and
2-. You can set easily the first one with C-c C-b when
`org-e-beamer-mode' is active.


I am thinking about providing this feature with ignoreheading
environments. I.e.,

--8---cut here---start-8---
* Text   B_ignoreheading:
  :PROPERTIES:
  :BEAMER_env: ignoreheading
  :BEAMER_act: 2-
  :END:

  contents
--8---cut here---end---8---

would provide

\begin2-{onlyenv}
contents
\end{onlyenv}

Though, I'm not sure about which environment to use in this case:
onlyenv, visibleenv, another one. Any comment about this?


Regards,

-- 
Nicolas Goaziou



Re: [O] Labels in beamer new exporter

2012-09-04 Thread Nicolas Goaziou
Fabrice Popineau fabrice.popin...@supelec.fr writes:

 Well, thanks for this It solves an easy case that has already asked for in
 the past.
 Now I can do :

 * section
 ** My frame title :B_frame:
 :PROPERTIES:
 :BEAMER_opt: label=tcs
 :BEAMER_env: frame
 :END:

 Some text. Some text.  Some text. Some text.
 Some text. Some text.  Some text. Some text.

 * section :B_ignoreheading:
 #+BEAMER: \againframe2{tcs}

 ** Following frame
 etc.

 Not as clean as we might want it, but it is working ok. I had to add an
 invisible section
 else the againframe is not exported between frames, but inside the
 preceding frame.

Interesting. What about providing an againframe environment (on par
with appendix, note, etc.)?

It would use BEAMER_act property to set the overlay specification, and
a BEAMER_ref property using link syntax to refer to a particular
section. Here's an example:

--8---cut here---start-8---
* section
** My frame title :B_frame:
:PROPERTIES:
:BEAMER_env: frame
:END:

Some text. Some text.  Some text. Some text.
Some text. Some text.  Some text. Some text.

** section :B_againframe:
  :PROPERTIES:
  :BEAMER_env: againframe
  :BEAMER_act: 2
  :BEAMER_ref: *My frame title
  :END:

  This section will create \againframe2{sec-1-2}.

** Following frame
etc.
--8---cut here---end---8---

This is not really cleaner than your workaround, but at least, it feels
more integrated. Another advantage is that you don't need to know the
label of the frame being resumed.

For convenience, when asking for an againframe,
`org-e-beamer-select-environment' would always ask for act and ref
properties, since those are mandatory anyway.

I don't mind implementing this, but I'm not sure it's worth the
(although limited) hassle.


-- 
Nicolas Goaziou



Re: [O] Google-weather.el and the Latest Git Version of Org-mode

2012-09-04 Thread Ian Barton

On 31/08/12 14:19, Carson Chittom wrote:

Jude DaShiell jdash...@shellworld.net writes:


It might be near time to investigate wunderground.com and loose google for
weather before igoogle disappears.  Other weather sites capable of text
output may also be available, I haven't investigated that yet.


For those in the US, the National Weather Service has forecasts
available in XML, which could be parsed, requestable via latitude and
longitude.  I haven't done anything with that other than noting its
existence.  URL seems to be
http://forecast.weather.gov/MapClick.php?lat=xx.lon=yy.FcastType=dwml




There is also Yahoo, which uses The Weather Channel. Their official 
interface is documented at http://developer.yahoo.com/weather/ This 
returns a three day forecast. However, there is an undocumented 
interface that returns a five day forecast. See 
http://xml.weather.yahoo.com/forecastrss/UKXX0718_c.xml for an example 
forecast.


I have a python script that uses the undocumented interface, which I'll 
put on Github when I have tidied it up a bit. It doesn't look too hard 
to adapt the current googleweather.el script to use Yahoo.


Ian.




Re: [O] Labels in beamer new exporter

2012-09-04 Thread Fabrice Popineau

 Interesting. What about providing an againframe environment (on par
 with appendix, note, etc.)?

 It would use BEAMER_act property to set the overlay specification, and
 a BEAMER_ref property using link syntax to refer to a particular
 section. Here's an example:


That would be a nice idea. This againframe is quite used.
And your proposal is much cleaner wrt to the org syntax than my current
hack.


Fabrice


Re: [O] Labels in beamer new exporter

2012-09-04 Thread Nicolas Goaziou
Fabrice Popineau fabrice.popin...@supelec.fr writes:

 Interesting. What about providing an againframe environment (on par
 with appendix, note, etc.)?

 It would use BEAMER_act property to set the overlay specification, and
 a BEAMER_ref property using link syntax to refer to a particular
 section. Here's an example:


 That would be a nice idea. This againframe is quite used.
 And your proposal is much cleaner wrt to the org syntax than my current
 hack.

I've added support for againframe, as specified above.  Is it working
as expected, or am I missing something?

-- 
Nicolas Goaziou



[O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Giuseppe Pagnoni
Hi all,

I use org-mode for taking notes and I often need to jot down code
examples.  In the language R, subscription is often done with double
square brackets (for instance, I can extract the 2nd element of a
`list' object x with the code: x[[2]]).  Now, I haven't been able to
write such example code within org-mode, without them turning
automatically into hyperlinks (I am talking about the plain emacs
interface here, which is what I use most, not about exporting into
formats such as latex or HTML).

Is there a way to disable automatic link conversion for text enclosed
into double square brackets on a case-by-case basis (i.e., use double
square brackets as verbatim, non-link, text)?  I have found that I can
still *see* the brackets if I toggle org-toggle-link-display, but that
seems like a poor workaround since the text within the brackets is
still considered a hyperlink.  I have looked quite a bit into the
manual and on the mailing list for an answer, but to no avail...

Thanks in advance for any suggestion

best

giuseppe



[O] org-url-hexify-p default can be fragile?

2012-09-04 Thread James Harkins
Related to my earlier question about links -- the default of org-url-hexify-p 
is true, which has the side effect for naïve users that links to a subtree in a 
different file can no longer open the file automagically.

I guess there's a good reason to do that, but it threw me for a loop. (Actually 
I kind of guessed that it might happen, since I didn't see anywhere that the 
connections between the hashes and the target files were persisted, but trusted 
that org might have some magic and handle it gracefully, since it handles 
everything else gracefully :-p )

Just a thought. Not sure if it's worth changing, but it's a bit of a 
discrepancy, in that most of org-mode follows the principle of least surprise 
quite well but this does not: I store and insert a link, and it might not work 
after closing Emacs.

hjh


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal.  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks



Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes:

Hi Giuseppe:

 I use org-mode for taking notes and I often need to jot down code
 examples.  In the language R, subscription is often done with double
 square brackets (for instance, I can extract the 2nd element of a
 `list' object x with the code: x[[2]]).  Now, I haven't been able to
 write such example code within org-mode, without them turning
 automatically into hyperlinks (I am talking about the plain emacs
 interface here, which is what I use most, not about exporting into
 formats such as latex or HTML).

Use a src block. For example:

#+BEGIN_SRC R
bla..bla..
#+END_SRC

Please refer to this section:

http://orgmode.org/manual/Working-With-Source-Code.html#Working-With-Source-Code

in the manual.

Cheers,
Charles

-- 
...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly).
(By Matt Welsh)


pgpqIOurboEYY.pgp
Description: PGP signature


Re: [O] can't find org-version?

2012-09-04 Thread Giovanni Ridolfi
On 9/3/12 12:23 AM, Giovanni Ridolfi wrote:
 Da: Benjamin Slade sl...@jnanam.net
 Since updating to org 7.9, I've had an odd problem with another package 
 that depends on org-mode (org-toodledo).
 It reports that it can't find org-version.
 
 So the problem is  in org-toodledo. Did you ask its maintainer?

 Da: Christopher J. White orgm...@grierwhite.com
 Inviato: Lunedì 3 Settembre 2012 16:48

 I'm the maintainer of the org-toodledo and the OP did indeed contact me first.

Hi, Christopher,

 org-toodledo effectively does:
   (require 'org)
 Then uses the variable org-version.  
 This has worked just fine for a few years, but 

... but since few months the place where org-version is defined has changed 
from org.el
to org-version.el 
that is generated during compilation IIRC (!)   If I'm wrong  Achim Gratz will 
correct me.

 when the OP upgraded to 7.9, the org-toodledo function that checks
 the org-version yields an error along the lines of variable not defined.

 I did some googling and came across these threads which seemed relevant:
  http://thread.gmane.org/gmane.emacs.orgmode/59337
(august 2012)
  http://comments.gmane.org/gmane.emacs.orgmode/55412
(april 2012, really old thread)

 It seems wrong to me that hacking org-toodledo is the appropriate solution.  
I disagree.

Would you please try to add (require 'org-install) instead of (require 'org)  
and see if org-toodledo works?

 As mentioned in one of the above threads, the version of a package is pretty 
 fundamental
  and I'd expect it to be provided by the base require.

The variable org-version *is indeed provided* but not in the file your code 
expects it. 


cheers,
Giovanni



Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Giuseppe Pagnoni
Hello Charles,

thank you for the fast reply. I had actually tried to use the SRC
block, but the bracket-enclosed text is still converted to hyperlink
format in the Emacs GUI, with the consequent vanishing of the
brackets.  My understanding is that by using the SRC blocks, the
brackets are actually preserved (and the text printed verbatim) when
*exporting* to formats such as LaTeX or HTML, but they are *not*
displayed verbatim within the Emacs GUI.   Unless I am missing
something obvious here...

thanks again

giuseppe

-- 
Giuseppe Pagnoni
Dip. Scienze Biomediche, Metaboliche e Neuroscienze
Sezione Fisiologia e Neuroscienze
Univ. di Modena e Reggio Emilia
Via Campi 287
I-41125 Modena, Italy
Tel: +39-059-205-5742
Fax: +39-059-205-5363



Re: [O] can't find org-version?

2012-09-04 Thread Suvayu Ali
Hi Giovanni,

On Tue, Sep 04, 2012 at 12:14:43PM +0100, Giovanni Ridolfi wrote:
 
  org-toodledo effectively does:
    (require 'org)
  Then uses the variable org-version.  
  This has worked just fine for a few years, but 
 
 ... but since few months the place where org-version is defined has changed 
 from org.el
 to org-version.el 
 that is generated during compilation IIRC (!)   If I'm wrong  Achim Gratz 
 will correct me.
 

I think the change you mention above is transparent to both the end-user
and thrid-party packages.  It should be immaterial here.  Of course
Achim should correct me if I'm wrong. :)

  It seems wrong to me that hacking org-toodledo is the appropriate 
  solution.  
 I disagree.
 
 Would you please try to add (require 'org-install) instead of (require
 'org)  and see if org-toodledo works?
 

The (require 'org-install) bit is supposed to be user code, specific for
each installation; it is highly dependent on the load-path.  IMO, the
problem here is the OP[1] has a mixed installation and neither org or
org-toodledo needs any fix.

There are many discussions about mixed installations in the archive and
Worg.  It would be worthwhile if the OP went through this one in
particular: http://orgmode.org/worg/org-faq.html#mixed-install.

Hope this helps,

Cheers,

PS: I wish there was a canonical way to diagnose mixed installs. :-|


Footnotes:

[1] I forgot who it was, sorry.

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes:

Hi Giuseppe:

 thank you for the fast reply. I had actually tried to use the SRC
 block, but the bracket-enclosed text is still converted to hyperlink
 format in the Emacs GUI, with the consequent vanishing of the
 brackets.

Works fine for me- they do not show up as hyperlinks for me within a
block and they export correctly.

Maybe your version of org-mode is too old. I am using the current git
version.

Charles 

-- 
It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)


pgpKCYvswS4Bw.pgp
Description: PGP signature


Re: [O] can't find org-version?

2012-09-04 Thread Nick Dokos
Giovanni Ridolfi giovanni.rido...@yahoo.it wrote:


 Would you please try to add (require 'org-install) instead of (require 'org)  
 and see if org-toodledo works?
 
  As mentioned in one of the above threads, the version of a package is 
  pretty fundamental
   and I'd expect it to be provided by the base require.
 
 The variable org-version *is indeed provided* but not in the file your code 
 expects it. 
 
 

Is it? I can only find a function named org-version, not a variable.

Nick




Re: [O] Labels in beamer new exporter

2012-09-04 Thread Fabrice Popineau
Seems ok to me. Great !

Fabrice



2012/9/4 Nicolas Goaziou n.goaz...@gmail.com

 Fabrice Popineau fabrice.popin...@supelec.fr writes:

  Interesting. What about providing an againframe environment (on par
  with appendix, note, etc.)?
 
  It would use BEAMER_act property to set the overlay specification, and
  a BEAMER_ref property using link syntax to refer to a particular
  section. Here's an example:
 
 
  That would be a nice idea. This againframe is quite used.
  And your proposal is much cleaner wrt to the org syntax than my current
  hack.

 I've added support for againframe, as specified above.  Is it working
 as expected, or am I missing something?

 --
 Nicolas Goaziou




-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] Strange Problem with org-agenda-redo

2012-09-04 Thread François Allisson
  Thanks a lot! I confirm that everything works just fine. And not just as
  before, but better than before: I like the fact that, in a block agenda
  view, one agenda can move in time independently from another one. I'll
  play with that a bit and give you some feedback on it.
 
 Yes -- also note that `r' and `g' now refresh differently in multi
 agendas.  `r' keep the temporary parameters for the agenda under the
 point, while `g' restore the view from scratch (discard temporary
 change in the time span etc.)  I think this is useful -- at least
 more useful than a half-broken state of multi-agendas handling :)
 
 -- 
  Bastien
 

Hi Bastien,

After several tests with multiple agendas in a block agenda view, I just
found one strange case (or perhaps it is a feature?):

When one tries `.' (org-agenda-today) on an agenda that is either in the
past or in the future, *and* if another agenda already shows today's
day, then the cursor just jump to that other agenda, and does not go to
today on the current agenda.

Except for that case, all other commands (`f', `b', `r', `g', etc.) and
situations work in that context as one would expect them to work. This
is nice!

Thanks,
François



Re: [O] Please consider making a donation

2012-09-04 Thread François Allisson
  BTW, if it is to give you money, why not cut the middlemen and provide
  your IBAN ?(As a fellow countryman, it saddened me to pay for €→$(→€ ?)
  and to Visa™ and PayPal™ (which I despise) for naught.
 
 Here you go:
 http://lumiere.ens.fr/~guerry/u/bastien_guerry_rib_2012.jpg
 

+1 (iban)



Re: [O] can't find org-version?

2012-09-04 Thread Giovanni Ridolfi
Da: Nick Dokos nicholas.do...@hp.com

Inviato: Martedì 4 Settembre 2012 14:04

 Giovanni Ridolfi giovanni.rido...@yahoo.it wrote:
 Would you please try to add (require 'org-install) instead of (require 
 'org)  and see if org-toodledo works?
 
  As mentioned in one of the above threads, the version of a package is 
  pretty fundamental
   and I'd expect it to be provided by the base require.
 
 The variable org-version *is indeed provided* but not in the file your code 
 expects it. 
 
 Is it? I can only find a function named org-version, not a variable.

Hi, Nick,

you're right, therfore, obviously ;-) I was wrong.

The function is org-version and it gets its arguments from  the variables
org-release
and
org-git-version
defined in the file  lisp/org-version.el

thanks for pointing it up.

cheers,
Giovanni



Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Giuseppe Pagnoni
Hello Charles,

I upgraded to the latest Emacs and org-mode versions, but then I found
out that the text does reformat correctly if I position the cursor at
the beginning of the SRC block (that is, on the first `#') and enter a
newline (or, alternatively, if I close and reopen the file).  I have
no idea why you need to do that in order to have org-mode recognize
that it should use a code syntax, but it works.

thanks for all your help!

best

giuseppe

-- 
Giuseppe Pagnoni
Dip. Scienze Biomediche, Metaboliche e Neuroscienze
Sezione Fisiologia e Neuroscienze
Univ. di Modena e Reggio Emilia
Via Campi 287
I-41125 Modena, Italy
Tel: +39-059-205-5742
Fax: +39-059-205-5363



Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes:

Hi Giuseppe:

 I upgraded to the latest Emacs and org-mode versions, but then I found
 out that the text does reformat correctly if I position the cursor at
 the beginning of the SRC block (that is, on the first `#') and enter a
 newline (or, alternatively, if I close and reopen the file).  I have
 no idea why you need to do that in order to have org-mode recognize
 that it should use a code syntax, but it works.

In order to enter code comfortably, I suggest you use C-c' on the
block. This will bring up a major mode buffer for the language you are
using.

Cheers.
Charles

-- 
On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS.
(By Tarl Neustaedter)


pgp0kAMmI21e6.pgp
Description: PGP signature


Re: [O] can't find org-version?

2012-09-04 Thread Christopher J. White
So in version 7.8 and earlier, org-version is both a variable and a 
function.  The function is not useful to coders because it displays the 
version string as a message:


(org-version)
Org-mode version 7.8.03 (release_7.8.03.437.g60ca.dirty)

org-version
7.8.03

I used org-version as a variable because there was an incompatibility 
between 7.7 and 7.8 for the function org-export-remove-or-extract-drawers.


So, what is the proper way to get the version number in 7.9?  It seems 
awkward to me that all clients would have to require something other 
than just org to get the version number, but I can live with that.


What I don't want to do, though, is mess around with testing for the 
existence of various functions and variables just to figure out where to 
get the version number from.


Why not just keep the variable org-version around just like in 7.8 and 
earlier?


Otherwise, can someone please post a code snippet that gets me the 
version string 7.8.03 that will work with 7.7, 7.8 and 7.9?


...cj

On 9/4/12 6:13 AM, Giovanni Ridolfi wrote:

Da: Nick Dokos nicholas.do...@hp.com

Inviato: Martedì 4 Settembre 2012 14:04


Giovanni Ridolfi giovanni.rido...@yahoo.it wrote:

Would you please try to add (require 'org-install) instead of (require 'org)  
and see if org-toodledo works?


As mentioned in one of the above threads, the version of a package is pretty 
fundamental
   and I'd expect it to be provided by the base require.


The variable org-version *is indeed provided* but not in the file your code 
expects it.


Is it? I can only find a function named org-version, not a variable.


Hi, Nick,

you're right, therfore, obviously ;-) I was wrong.

The function is org-version and it gets its arguments from  the variables
org-release
and
org-git-version
defined in the file  lisp/org-version.el

thanks for pointing it up.

cheers,
Giovanni







Re: [O] can't find org-version?

2012-09-04 Thread Nick Dokos
Christopher J. White orgm...@grierwhite.com wrote:

 So in version 7.8 and earlier, org-version is both a variable and a
 function.  The function is not useful to coders because it displays
 the version string as a message:
 

Not so: there are three optional arguments - if the last one is nil
(or not provided), no message is printed in the echo area. The others
control whether to insert the string at point and whether to use the
abbreviated version or the full git version.

So just add one of the following at the beginning of org-toodledo and
you should be set:

(setq org-version (org-version))

or

(setq org-version (org-version nil t))

depending on what string you want.
Nick

 (org-version)
 Org-mode version 7.8.03 (release_7.8.03.437.g60ca.dirty)
 
 org-version
 7.8.03
 
 I used org-version as a variable because there was an incompatibility
 between 7.7 and 7.8 for the function
 org-export-remove-or-extract-drawers.
 
 So, what is the proper way to get the version number in 7.9?  It seems
 awkward to me that all clients would have to require something other
 than just org to get the version number, but I can live with that.
 
 What I don't want to do, though, is mess around with testing for the
 existence of various functions and variables just to figure out where
 to get the version number from.
 
 Why not just keep the variable org-version around just like in 7.8 and
 earlier?
 
 Otherwise, can someone please post a code snippet that gets me the
 version string 7.8.03 that will work with 7.7, 7.8 and 7.9?
 
 ...cj
 
 On 9/4/12 6:13 AM, Giovanni Ridolfi wrote:
  Da: Nick Dokos nicholas.do...@hp.com
 
  Inviato: Martedì 4 Settembre 2012 14:04
 
  Giovanni Ridolfi giovanni.rido...@yahoo.it wrote:
  Would you please try to add (require 'org-install) instead of (require 
  'org)  and see if org-toodledo works?
 
  As mentioned in one of the above threads, the version of a package is 
  pretty fundamental
 and I'd expect it to be provided by the base require.
 
  The variable org-version *is indeed provided* but not in the file your 
  code expects it.
 
  Is it? I can only find a function named org-version, not a variable.
 
  Hi, Nick,
 
  you're right, therfore, obviously ;-) I was wrong.
 
  The function is org-version and it gets its arguments from  the variables
  org-release
  and
  org-git-version
  defined in the file  lisp/org-version.el
 
  thanks for pointing it up.
 
  cheers,
  Giovanni
 
 
 
 



[O] list-load-path-shadows

2012-09-04 Thread Thomas S. Dye
Aloha all,

I'm working to understand why my initialization files don't work if I
compile org from git, but do seem to work (that is, initialization runs
to completion) when I don't compile org from git.  Right now I've
installed org from git and have run make uncompiled.

Because mixed installations are common, I'm following the FAQ Is my
Orgmode installation mixed?

(org-version) looks good:
Org-mode version 7.9.1 (release_7.9.1-138-geeb5b9 @
/Users/dk/.emacs.d/src/org-mode/lisp/)

The FAQ advises that I go through the output of list-load-path-shadows
line by line to get hints, but fails to mention what might qualify as a
hint.  So, I'm coming to the list to check if any of the shadow patterns
I'm seeing might be hints.

I see that 110 Emacs Lisp load-path shadowings were found.  

108 of the shadowings are cases where a file in
~/.emacs.d/src/org-mode/lisp (my home for the git version of org mode)
hides a file of the same name in
/Applications/Emacs.app/Contents/Resources/lisp/org/.  I think these 108
shadowings are the right thing, and that they are not hints that
something is wrong.  Is 108 shadowings the correct number for a normal
org mode installation nowadays?

The other two are different.

The first one is:
/Users/dk/.emacs.d/custom hides
/Applications/Emacs.app/Contents/Resources/lisp/custom

Here, the file created by the emacs Customize interface is on the
load-path and shadows something completely different (and important?),
though not part of org mode.  Should I do something to have the emacs
Customize interface put the file somewhere off the load-path?

The second one is: 
/Users/dk/.emacs.d/src/org-mode/.dir-locals hides
/Applications/Emacs.app/Contents/Resources/lisp/gnus/.dir-locals

I keep hoping gnus will heal itself and stop hanging emacs--could this
shadowing be causing problems?

All the best,
Tom

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



[O] creating a list from an R source block

2012-09-04 Thread Greg Tucker-Kellogg
Creating a list in Org from a Ruby Array is trivial

#+BEGIN_SRC ruby :exports results :results value list
[x , y, z ] 
#+END_SRC

#+RESULTS:
- x
- y
- z

But trying the same thing from R gives a surprising (to me) result

#+BEGIN_SRC R :exports results :results value list
c(x,y,z)
#+END_SRC

#+RESULTS: 
- (x)
- (y)
- (z)

removing the list header creates a table, but there seems to be no 
straightforward way in R to create a list of elements that is treated by Org as 
a list.  Am I missing something?

Greg




Re: [O] creating a list from an R source block

2012-09-04 Thread John Hendy
On Tue, Sep 4, 2012 at 11:42 AM, Greg Tucker-Kellogg
gtuckerkell...@gmail.com wrote:
 Creating a list in Org from a Ruby Array is trivial

 #+BEGIN_SRC ruby :exports results :results value list
 [x , y, z ]
 #+END_SRC

 #+RESULTS:
 - x
 - y
 - z


 But trying the same thing from R gives a surprising (to me) result

 #+BEGIN_SRC R :exports results :results value list
 c(x,y,z)
 #+END_SRC

 #+RESULTS:
 - (x)
 - (y)
 - (z)


Clunky, perhaps, but this works:

#+BEGIN_SRC R :exports results :results output org
a - c(x,y,z)
cat(paste(-, a), sep=\n)

#+END_SRC

#+RESULTS:
#+BEGIN_ORG
- x
- y
- z
#+END_ORG

Best regards,
John



 removing the list header creates a table, but there seems to be no
 straightforward way in R to create a list of elements that is treated by Org
 as a list.  Am I missing something?

 Greg





[O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.

2012-09-04 Thread Jonathan Arkell
Hi Orgers!

I recently picked up a Neruosky Mindwave, a consumer level EEG device (it
reads brainwaves).  Unfortunately, the software bundle doesn't include a
way to log the EEG levels.  Since I am fairly decent at Elisp, I thought I
would write a little library to interface with the mindwave, and store the
results.  Naturally I thought of using an org-mode buffer for this.

So I present, mindwave-emacs:
https://raw.github.com/jonnay/emagicians-starter-kit/master/extra/mindwave-
emacs.org

Mindwave-emacs.el really is just a low-level interface for emacs.  Inside
of the org file are 2 examples (actually, fully working programs) that
show you how to work with it.

  - gather-into-org.el :: allows you to write data into an org-mode file
  - solarized-mind.el  :: uses the eSense Attention and Meditation
measurements to provide feedback to the user on their brian state.

I am also working on a lower-level serial/binary connection to retrieve
data from the mindwave to help facilitate raw EEG logging.

I don't know if this is going to be useful to anyone, but I figured some
people may be interested.

Cheers!
__


Jonathan Arkell
Sr. Developer
Inspired By Drum  Bass, Scheme, Kawaii

p. 403.206.4377
1011 9th Ave SE, Suite 300

Calgary, AB, Canada T2G 0Y4

jonath...@criticalmass.com
criticalmass.com






The information contained in this message is confidential. It is intended to be 
read only by the individual or entity named above or their designee. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any distribution of this message, in any form, is strictly prohibited. If 
you have received this message in error, please immediately notify the sender 
and delete or destroy any copy of this message.



Re: [O] can't find org-version?

2012-09-04 Thread Nick Dokos
Christopher J. White orgm...@grierwhite.com wrote:

 So in version 7.8 and earlier, org-version is both a variable and a
 function.  The function is not useful to coders because it displays
 the version string as a message:
 
 (org-version)
 Org-mode version 7.8.03 (release_7.8.03.437.g60ca.dirty)
 
 org-version
 7.8.03
 
 I used org-version as a variable because there was an incompatibility
 between 7.7 and 7.8 for the function
 org-export-remove-or-extract-drawers.
 
 So, what is the proper way to get the version number in 7.9?  It seems
 awkward to me that all clients would have to require something other
 than just org to get the version number, but I can live with that.
 
 What I don't want to do, though, is mess around with testing for the
 existence of various functions and variables just to figure out where
 to get the version number from.
 

Disregard my previous email: in 7.7 (and maybe 7.8), org-version (the function)
does not return a simple 7.7.

Here is a snippet of code that works in those two and in 7.9.1 as well:

(setq version (if (boundp 'org-version)
  org-version
 (org-version))

It does not meet your requirements in the last paragraph above, but it's
not too bad.

I just hope that I haven't missed anything this time.

Nick

 Why not just keep the variable org-version around just like in 7.8 and
 earlier?
 
 Otherwise, can someone please post a code snippet that gets me the
 version string 7.8.03 that will work with 7.7, 7.8 and 7.9?
 
 ...cj
 
 On 9/4/12 6:13 AM, Giovanni Ridolfi wrote:
  Da: Nick Dokos nicholas.do...@hp.com
 
  Inviato: Martedì 4 Settembre 2012 14:04
 
  Giovanni Ridolfi giovanni.rido...@yahoo.it wrote:
  Would you please try to add (require 'org-install) instead of (require 
  'org)  and see if org-toodledo works?
 
  As mentioned in one of the above threads, the version of a package is 
  pretty fundamental
 and I'd expect it to be provided by the base require.
 
  The variable org-version *is indeed provided* but not in the file your 
  code expects it.
 
  Is it? I can only find a function named org-version, not a variable.
 
  Hi, Nick,
 
  you're right, therfore, obviously ;-) I was wrong.
 
  The function is org-version and it gets its arguments from  the variables
  org-release
  and
  org-git-version
  defined in the file  lisp/org-version.el
 
  thanks for pointing it up.
 
  cheers,
  Giovanni
 
 
 
 



Re: [O] list-load-path-shadows

2012-09-04 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote:

 Aloha all,
 
 I'm working to understand why my initialization files don't work if I
 compile org from git, but do seem to work (that is, initialization runs
 to completion) when I don't compile org from git.  Right now I've
 installed org from git and have run make uncompiled.
 

It might be a good idea to run with --debug-init in the compiled case
and get a backtrace.

I doubt the shadowing you discuss below makes a difference here (but
I could be wrong).

Nick

 Because mixed installations are common, I'm following the FAQ Is my
 Orgmode installation mixed?
 
 (org-version) looks good:
 Org-mode version 7.9.1 (release_7.9.1-138-geeb5b9 @
 /Users/dk/.emacs.d/src/org-mode/lisp/)
 
 The FAQ advises that I go through the output of list-load-path-shadows
 line by line to get hints, but fails to mention what might qualify as a
 hint.  So, I'm coming to the list to check if any of the shadow patterns
 I'm seeing might be hints.
 
 I see that 110 Emacs Lisp load-path shadowings were found.  
 
 108 of the shadowings are cases where a file in
 ~/.emacs.d/src/org-mode/lisp (my home for the git version of org mode)
 hides a file of the same name in
 /Applications/Emacs.app/Contents/Resources/lisp/org/.  I think these 108
 shadowings are the right thing, and that they are not hints that
 something is wrong.  Is 108 shadowings the correct number for a normal
 org mode installation nowadays?
 
 The other two are different.
 
 The first one is:
 /Users/dk/.emacs.d/custom hides
 /Applications/Emacs.app/Contents/Resources/lisp/custom
 
 Here, the file created by the emacs Customize interface is on the
 load-path and shadows something completely different (and important?),
 though not part of org mode.  Should I do something to have the emacs
 Customize interface put the file somewhere off the load-path?
 
 The second one is: 
 /Users/dk/.emacs.d/src/org-mode/.dir-locals hides
 /Applications/Emacs.app/Contents/Resources/lisp/gnus/.dir-locals
 
 I keep hoping gnus will heal itself and stop hanging emacs--could this
 shadowing be causing problems?
 
 All the best,
 Tom
 
 -- 
 Thomas S. Dye
 http://www.tsdye.com
 



[O] Org-export OpenDocument needs (defalias 'copy-seq 'copy-sequence)

2012-09-04 Thread Miguel Ruiz
GNU Emacs 24.2.1 (i386-mingw-nt6.1.7600) of 2012-09-02 on GNUPACKOrg-mode 
release_7.9.1-4-gdd2822





[O] Export properties as (csv) table

2012-09-04 Thread Bernd Weiss

Dear all,

Let's say I have the following entries and their associated properties. 
Is there an easy way to export these information as csv formated table?


* Marc, Mart   :Mart_Marc::
:PROPERTIES:
:name: Marc, Mart
:typ: diss
:empirisch: ja
:status: angemeldet
:END:
* Marc, Mart2  :Mart_Marc2:
:PROPERTIES:
:name: Marc, Mart2
:typ: diss
:empirisch: ja
:status: angemeldet
:END:

The final csv table would look like this:

name, typ, empirisch, status
Mart, Marc; diss; ja; angemeldet
Mart2, Marc; diss; ja; angemeldet


I played around with dynamic blocks and spent some time trying to 
understand the property API but since my elips skills are very (very) 
limited to no avail...


Thanks,

Bernd




[O] [OT] Does anyone use Tinderbox?

2012-09-04 Thread Marcelo de Moraes Serpa
Hi list,

I've recently found out about Tinderbox (http://www.eastgate.com/Tinderbox/),
a personal information management application/framework for the Mac. It
looks very interesting in its visualization capabilities.

Does anyone in the list use it, and if so, care to share a bit about the
experience?

Perhaps it could serve as inspiration for orgmode extensions/integration
ideas.

Cheers,

- Marcelo.


[O] Trouble with in-line images and iimage.el

2012-09-04 Thread John Hendy
Hi,


I'm trying to display inline images. I downloaded iimage.el and added
it's path to my load-path. I also added the code found on Worg for
inline images with iimage.[1] Lastly, I've added =#+startup:
inlineimages= just to be sure nothing is holding things back. I've
tried both =[[file:c:/path/to/file.png]]= and
=[[c:/path/to/file.png]]=

I toggle =org-toggle-iimage-in-org= and click the image and get a
buffer filled with symbols and the error in *Messages*:
-
Cannot display image: (Invalid image specification)
-

I had a modified .emacs from my Linux setup for Windows and didn't
remove all of my openwith configuration stuff. Originally  Windows was
looking for geeqie when I clicked the image. I removed that bit and no
longer get the error that geeqie doesn't exist. Could openwith be
doing anything else with this? I think I just git pulled/re-made last
week.

I used a couple different pictures I had as well as one downloaded off
of google images in .png form, just to try. This is on Windows 7. Is
there anything else I need to do? How might I troubleshoot this?

For something reproducible, here's a minimal .emacs I loaded using
=emacs.exe -Q -l /path/to/.emacs=
--
(add-to-list 'load-path C:/Users/a1rhwzz/installed/emacs-23.3/site-lisp)
(add-to-list 'load-path ~/.emacs.d/org.git/contrib/lisp)
(add-to-list 'load-path ~/.emacs.d/org.git/lisp)
(add-to-list 'load-path ~/.emacs.d/site-lisp)

(require 'org-install)
(require 'iimage)
(add-to-list 'iimage-mode-image-regex-alist
 (cons (concat \\[\\[file:\\(~? iimage-mode-image-filename-regex
   \\)\\])  1))

(defun org-toggle-iimage-in-org ()
  display images in your org file
  (interactive)
  (if (face-underline-p 'org-link)
  (set-face-underline-p 'org-link nil)
  (set-face-underline-p 'org-link t))
  (iimage-mode))
--

And here's a minimal file:
--
#+startup: inlineimages

* headline

[[C:\Users\username\Desktop\file.png]]

[[file:C:\Users\username\Desktop\file.png]]
--

And the *Messages* output:
--
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
OVERVIEW
(New file)
Type C-c C-c to view the image as an image.
Cannot display image: (Cannot determine image type)
--

Thanks,
John


[1] http://orgmode.org/worg/org-configs/org-config-examples.html#sec-2-2



Re: [O] Trouble with in-line images and iimage.el

2012-09-04 Thread Charles Philip Chan
John Hendy jw.he...@gmail.com writes:

Hi John:

 I'm trying to display inline images. I downloaded iimage.el and added
 it's path to my load-path. I also added the code found on Worg for
 inline images with iimage.[1] 

Iimage is obsolete. Org-mode have the ability to display inline images
for quite some time now.

 Lastly, I've added =#+startup: inlineimages= just to be sure nothing
 is holding things back.

This should be:

 #+org-startup-with-inline-images: t

and use C-c C-x C-v to toggle inline images.

Cheers,
Charles

-- 
The world is beating a path to our door

  -- Bruce Perens, (Open Sources, 1999 O'Reilly and Associates)


pgpMWi2SU7Yk2.pgp
Description: PGP signature


Re: [O] Trouble with in-line images and iimage.el

2012-09-04 Thread John Hendy
On Tue, Sep 4, 2012 at 2:29 PM, Charles Philip Chan cpc...@bell.net wrote:
 John Hendy jw.he...@gmail.com writes:

 Hi John:

 I'm trying to display inline images. I downloaded iimage.el and added
 it's path to my load-path. I also added the code found on Worg for
 inline images with iimage.[1]

 Iimage is obsolete. Org-mode have the ability to display inline images
 for quite some time now.

Good to know and I'll remove that stuff.


 Lastly, I've added =#+startup: inlineimages= just to be sure nothing
 is holding things back.

 This should be:

  #+org-startup-with-inline-images: t


The manual appears to be out of date on this?

 and use C-c C-x C-v to toggle inline images.


Either way, those weren't it. Windows, as usual, requires silly
maneuvers to get things working properly. I loosened my google hunting
to emacs in general and found this beauty:
- http://stackoverflow.com/questions/2650041/emacs-under-windows-and-png-files

I had to track down a bunch of .dlls and copy them into my Emacs bin/
directory. From there it worked. For the record, I added the following
to my bin/ dir:
libpng.dll
libpng12.dll
libpng12-0.dll
libpng13.dll
libpng14-14.dll
libjpeg62.dll
zlib1.dll

Now I have jpg and png viewing abilities in Org.


Thanks,
John

 Cheers,
 Charles

 --
 The world is beating a path to our door

   -- Bruce Perens, (Open Sources, 1999 O'Reilly and Associates)



Re: [O] Trouble with in-line images and iimage.el

2012-09-04 Thread Charles Philip Chan
John Hendy jw.he...@gmail.com writes:

 On Tue, Sep 4, 2012 at 2:29 PM, Charles Philip Chan cpc...@bell.net wrote:

 This should be:

  #+org-startup-with-inline-images: t


 The manual appears to be out of date on this?

Sorry you are right on that one for in buffer
setting. org-startup-with-inline-images is the variable that controls
it.

Charles

-- 
Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs.
(By Dennis Ritchie)


pgpdfNXaZwXz9.pgp
Description: PGP signature


Re: [O] can't find org-version?

2012-09-04 Thread Christopher J. White

Hi Nick,

On 9/4/12 10:15 AM, Nick Dokos wrote:

Here is a snippet of code that works in those two and in 7.9.1 as well:

(setq version (if (boundp 'org-version)
  org-version
 (org-version))

Thanks -- I do not have a copy of 7.9 available, so wasn't sure what 
parameters to call.


I can certainly add this to org-toodledo.el, but I guess I fail to 
understand why it was changed in the first place.  The above solution 
means that every package out there that is dependent on org and needs to 
look up the version needs to change to work with 7.9  If org simply kept 
the org-version as a variable, there would be no need for this.


If 7.9 is still an early release, I'd suggest adding the org-version 
variable back to org so as not to break other packages that may also 
depend the version string.


...cj




Re: [O] Org-export OpenDocument needs (defalias 'copy-seq 'copy-sequence)

2012-09-04 Thread Jambunathan K
Miguel Ruiz rbeni...@yahoo.es writes:


 Org-export OpenDocument needs (defalias 'copy-seq 'copy-sequence)

I see it is already aliased.  Anyways, replaced copy-seq with
copy-sequence in both org-odt.el and org-e-odt.el

,[ C-h f copy-seq RET ]
| copy-seq is an alias for `copy-sequence' in `cl.el'.
| 
| (copy-seq ARG)
| 
| Return a copy of a list, vector, string or char-table.
| The elements of a list or vector are not copied; they are shared
| with the original.
| 
| [back]
`

  GNU Emacs 24.2.1 (i386-mingw-nt6.1.7600) of 2012-09-02 on GNUPACK 

I am on Emacs bzr.

,[ C-h v emacs-bzr-version RET ]
| emacs-bzr-version is a variable defined in `version.el'.
| Its value is
| 109861 egg...@cs.ucla.edu-20120902171035-7mzihil3xd6bjfiy
| 
| Documentation:
| String giving the bzr revision from which this Emacs was built.
| Value is the bzr revision number and a revision ID separated by a blank.
| Value is nil if Emacs was not built from a bzr checkout, or if we could
| not determine the revision.
| 
| [back]
`
   
  Org-mode release_7.9.1-4-gdd2822  



-- 



Re: [O] [OT] Does anyone use Tinderbox?

2012-09-04 Thread Eric Abrahamsen
On Tue, Sep 04 2012, Marcelo de Moraes Serpa wrote:

 Hi list,

 I've recently found out about Tinderbox (http://www.eastgate.com/
 Tinderbox/), a personal information management application/framework
 for the Mac. It looks very interesting in its visualization
 capabilities.

 Does anyone in the list use it, and if so, care to share a bit about
 the experience?

 Perhaps it could serve as inspiration for orgmode extensions/
 integration ideas.

 Cheers,

 - Marcelo.

I used to use it, when I still used a Mac. Despite the price tag, it was
the only piece of software I paid for, *without* later discovering some
free open source software that did the same thing better.

Tinderbox has some feature overlap with Org, but not a lot. It's much
more a generalized note-taking/data collection program -- it can and
often is configured as a TODO machine, but you'd have to build in much
of the stuff that comes with Org by default. On the other hand, it's
much more powerful and flexible when it comes to (re)organizing chunks
of plain data. Tinderbox notes are comparable to a single Org
headline-plus-text-and-metadata, but they can be arranged and related
much more flexibly. Tinderbox doesn't have spreadsheets, tho -- not as
far as I remember.

Multiple views on the same data is something that Tinderbox also does
very well.

One interesting distinction is Tinderbox agents. Agents are notes that
are mini-programs: they collect other notes according to various search
criteria, and the act on them according to various rules. They make
Tinderbox powerful, but they also make it confusing: the search and
action rules are written in a mini-programming language that is a bit
perplexing.

But there are interesting implications for Org. Org agenda views are the
equivalent of agents, in the *collection* sense: you give it search
criteria, and it gives you what is essentially a set of symlinks to
other headlines. Action is done by the user, of course, with Agenda
commands.

I've daydreamed about this before: what if, instead of agenda views, we
took a page from the Tinderbox method and made agendas simple
headlines, with some cookie saying I'm an agenda, and a property
containing the search string. Instead of having an ephemeral *Org
Agenda* buffer, your agenda views are simply another in-file headline,
whose children are TODOs/headlines that match the query. Multiple and
persistent agendas are suddenly a matter of course.

It wouldn't work well for date-based Agendas, of course. In fact, it
would probably turn out to be a bad idea for reasons I haven't fully
thought through, yet, but it was an interesting daydream.

E

-- 
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
 of 2012-09-04 on pellet
7.9.1




Re: [O] [OT] Does anyone use Tinderbox?

2012-09-04 Thread Marcelo de Moraes Serpa
Hi Eric,

Thank your for sharing your insights! Tinderbox does look interesting,
albeit a bit overkill.

*without* later discovering some
 free open source software that did the same thing better.


Care to share which?

Thanks,

Marcelo.

On Tue, Sep 4, 2012 at 3:19 PM, Eric Abrahamsen e...@ericabrahamsen.netwrote:

 On Tue, Sep 04 2012, Marcelo de Moraes Serpa wrote:

  Hi list,
 
  I've recently found out about Tinderbox (http://www.eastgate.com/
  Tinderbox/), a personal information management application/framework
  for the Mac. It looks very interesting in its visualization
  capabilities.
 
  Does anyone in the list use it, and if so, care to share a bit about
  the experience?
 
  Perhaps it could serve as inspiration for orgmode extensions/
  integration ideas.
 
  Cheers,
 
  - Marcelo.

 I used to use it, when I still used a Mac. Despite the price tag, it was
 the only piece of software I paid for, *without* later discovering some
 free open source software that did the same thing better.

 Tinderbox has some feature overlap with Org, but not a lot. It's much
 more a generalized note-taking/data collection program -- it can and
 often is configured as a TODO machine, but you'd have to build in much
 of the stuff that comes with Org by default. On the other hand, it's
 much more powerful and flexible when it comes to (re)organizing chunks
 of plain data. Tinderbox notes are comparable to a single Org
 headline-plus-text-and-metadata, but they can be arranged and related
 much more flexibly. Tinderbox doesn't have spreadsheets, tho -- not as
 far as I remember.

 Multiple views on the same data is something that Tinderbox also does
 very well.

 One interesting distinction is Tinderbox agents. Agents are notes that
 are mini-programs: they collect other notes according to various search
 criteria, and the act on them according to various rules. They make
 Tinderbox powerful, but they also make it confusing: the search and
 action rules are written in a mini-programming language that is a bit
 perplexing.

 But there are interesting implications for Org. Org agenda views are the
 equivalent of agents, in the *collection* sense: you give it search
 criteria, and it gives you what is essentially a set of symlinks to
 other headlines. Action is done by the user, of course, with Agenda
 commands.

 I've daydreamed about this before: what if, instead of agenda views, we
 took a page from the Tinderbox method and made agendas simple
 headlines, with some cookie saying I'm an agenda, and a property
 containing the search string. Instead of having an ephemeral *Org
 Agenda* buffer, your agenda views are simply another in-file headline,
 whose children are TODOs/headlines that match the query. Multiple and
 persistent agendas are suddenly a matter of course.

 It wouldn't work well for date-based Agendas, of course. In fact, it
 would probably turn out to be a bad idea for reasons I haven't fully
 thought through, yet, but it was an interesting daydream.

 E

 --
 GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
  of 2012-09-04 on pellet
 7.9.1





Re: [O] Export properties as (csv) table

2012-09-04 Thread Nick Dokos
Bernd Weiss bernd.we...@uni-koeln.de wrote:

 Dear all,
 
 Let's say I have the following entries and their associated
 properties. Is there an easy way to export these information as csv
 formated table?
 
 * Marc, Mart :Mart_Marc::
 :PROPERTIES:
 :name: Marc, Mart
 :typ: diss
 :empirisch: ja
 :status: angemeldet
 :END:
 * Marc, Mart2:Mart_Marc2:
 :PROPERTIES:
 :name: Marc, Mart2
 :typ: diss
 :empirisch: ja
 :status: angemeldet
 :END:
 
 The final csv table would look like this:
 
 name, typ, empirisch, status
 Mart, Marc; diss; ja; angemeldet
 Mart2, Marc; diss; ja; angemeldet
 
 
 I played around with dynamic blocks and spent some time trying to
 understand the property API but since my elips skills are very (very)
 limited to no avail...
 

Perhaps a combination of a columnview dblock[fn:1] to produce a table and then
a radio table with a translation function[fn:2]:

--8---cut here---start-8---
#+COLUMNS: %name %typ %empirisch %status
* Marc, Mart   :Mart_Marc::
:PROPERTIES:
:name: Marc, Mart
:typ: diss
:empirisch: ja
:status: angemeldet
:END:
* Marc, Mart2  :Mart_Marc2:
:PROPERTIES:
:name: Marc, Mart2
:typ: diss
:empirisch: nein
:status: angemeldet
:END:

* The column view
#+ORGTBL: SEND foo orgtbl-to-csv
 #+BEGIN: columnview :hlines 1 :id global
 #+END:

#+BEGIN_EXAMPLE
BEGIN RECEIVE ORGTBL foo
END RECEIVE ORGTBL foo
#+END_EXAMPLE
--8---cut here---end---8---

C-c C-c on the columnview dblock will create a table from the properties
using the COLUMNS definition:

--8---cut here---start-8---
* The column view
#+ORGTBL: SEND foo orgtbl-to-csv
 #+BEGIN: columnview :hlines 1 :id global
 | name| typ  | empirisch | status |
 |-+--+---+|
 | Marc, Mart  | diss | ja| angemeldet |
 | Marc, Mart2 | diss | nein  | angemeldet |
 | |  |   ||
 #+END:
--8---cut here---end---8---

In order to accomplish the radio-table sending part, I had to switch
the ORGTBL and BEGIN lines, otherwise the sending is not activated.
This might qualify as a bug. So it looks like this:

--8---cut here---start-8---
* The column view
 #+BEGIN: columnview :hlines 1 :id global
#+ORGTBL: SEND foo orgtbl-to-csv
 | name| typ  | empirisch | status |
 |-+--+---+|
 | Marc, Mart  | diss | ja| angemeldet |
 | Marc, Mart2 | diss | nein  | angemeldet |
 | |  |   ||
 #+END:
--8---cut here---end---8---

Then C-c C-c in the table sends it to the target:

--8---cut here---start-8---
* The column view
 #+BEGIN: columnview :hlines 1 :id global
#+ORGTBL: SEND foo orgtbl-to-csv
 | name| typ  | empirisch | status |
 |-+--+---+|
 | Marc, Mart  | diss | ja| angemeldet |
 | Marc, Mart2 | diss | nein  | angemeldet |
 | |  |   ||
 #+END:

#+BEGIN_EXAMPLE
BEGIN RECEIVE ORGTBL foo
name,typ,empirisch,status
Marc, Mart,diss,ja,angemeldet
Marc, Mart2,diss,nein,angemeldet
,,,
END RECEIVE ORGTBL foo
#+END_EXAMPLE
--8---cut here---end---8---


Nick

Footnotes:

[fn:1] (info (org) Capturing column view)

[fn:2] (info (org) Tables in arbitrary syntax)



[O] Plug for Org-mode on Coursera

2012-09-04 Thread John Hendy
I'm taking a Machine Learning course via Coursera, taught by Andrew Ng
of Stanford University. I ran into a discussion thread where someone
asked for a notetaking application, so I plugged why I think Org-mode
is great for a class like this (in particular, the class is taught
using Octave as the programming language... which Org supports!). This
was written in StackOverflow formatting since that's what the forums
are using, so forgive the jumbling. I just wanted to send it out as I
don't think you'll be able to see it unless you're registered for the
class.


Best regards,
John

--

Emacs [Orgmode](http://orgmode.org/) for the world!

- Embeddable/executable source code blocks in line with notes ([Octave
is a supported 
language](http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-octave-matlab.html))
  - I can't tell you how huge this is. I compose work reports with
narrative interspersed with R code. It's fantastic to have everything
in one place: the code, your explanation, interpretation of results,
and plots generated by the code in the document... without having to
leave the document at all.
  - You can set the export settings, so I can export the code block
verbatim for co-workers interested in it, or just export the resultant
numbers/plots for those who just want visuals
  - You can tangle the various blocks to create a single source code
file. In other words your document might look something like this
(Org-mode uses `#+begin_src` and `#+end_src` to separate code blocks
from the rest of the document:

`To run my algorithm, first I need to create my data matrix.`
`- I'll read in my data file.`
`- Then I'll extract the last column in a separate vector, as this
contains my y's.`
`- Finally, I'll add a vector of 1's to create my design matrix, X `

`#+begin_src octave`
 `data = load 'data.dat'`
 `X = data(:, 1:size(X,2)-1)`
 `Y = data(:, size(X,2))`
 `X = [ones(size(X,1),1), X]`
 `#+end_src`

`From here, I'll find my solution for my vector, $\theta$, using a
normal equation since $n$ is small.`

`#+begin_src`

`[more code here]`

`#+end_src`

Once you tangle the org-mode document, you'll end up with one single
file stringing all of your code blocks together. This allows one to
type notes to yourself as you do the homework. You can execute them
right in the org-mode buffer and it will print the results right there
for you. You can check your work, perhaps add a comment about a common
error you're making, and only when you're ready, tangle the whole
thing and submit it.

- Viewable pictures inline (take your notes in whatever, save the pic
and insert them with a simple syntax (`[[../path/to/image.png]]`). [1]
They will be viewable in yorur emacs buffer and exported documents
- Export to html or LaTeX with full math typsetting ability (enter
something like `$h(x) = \theta_0 + \theta_1 x$` and it gets converted
in both LaTeX or html (via MathJax) automatically
- [Editable 
tables](http://orgmode.org/manual/Built_002din-table-editor.html#Built_002din-table-editor)
with built in calculation ability. This is quite nice for quickly
getting through some calculations. In addition, you can feed org-mode
tables to source code blocks as well.
- Stefan mentioned versioning and sharing. Org-mode enjoyed some
benefits of having a few Google Summer of Code projects, one of which
was called 
[Org-Merge](http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/git-merge-tool/proposal.html).
It eases the use of Org with git and other versioning tools quite
fantastically; see the short video showing Org and git
[here](http://www.youtube.com/watch?v=GbaaFmoEfGw).
- Org also allows for tagging of headlines. These could be content
based (e.g. `lin-reg` for linear regression) or based on something
else (`imp` for important, or `rev` to mark sections that were
unusually difficult and deserve more attention during reviewing of
concepts
- It has great built in searches for keywords, before/after date
timestamps, tag matching, or todo keywords.
- Todo, scheduling, and deadline management. Create a .org file on the
first day of class with an outline structure of the entire class
(imagine a machine-learning.org file). At its heart, Org-mode is
simply an outlining program.

`* Week 1`
`** Introduction`
`** Linear regression with one variable`
`** Linear algebra review`
`...`
`* Week 2`

You can mark headlines as a `todo`, which treats them a bit
separately. You can call up all `todo` headlines in a separate view
called `agenda`. [2] This is nice because you don't need a secondary
document to track your todos and your notes. You can also add
`scheduled` and `deadline` properties to a todo based on when you
plan to do something and when it's due. You could mark your lesson
plans as todos, add a scheduled date to watch the lectures and perhaps
separate headline for the homework along with a deadline for yourself.
Todos can even have recurring 

Re: [O] Trouble with in-line images and iimage.el

2012-09-04 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote:

 On Tue, Sep 4, 2012 at 2:29 PM, Charles Philip Chan cpc...@bell.net wrote:
  Lastly, I've added =#+startup: inlineimages= just to be sure nothing
  is holding things back.
 
  This should be:
 
   #+org-startup-with-inline-images: t
 
 

That doesn't look right to me: that's the internal variable, not the name
that should appear in the file. In fact, org.el says:

,
| $ grep org-startup-with-inline-images *.el
| org.el:(defcustom org-startup-with-inline-images nil
| org.el:(inlineimages org-startup-with-inline-images t)
| org.el:(noinlineimages org-startup-with-inline-images nil)
| org.el:(when org-startup-with-inline-images
`

so

#+STARTUP: inlineimages

seems to be the correct invocation.

Nick

PS. Not that I've tested anything, mind you...




Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11]

2012-09-04 Thread Feiming Chen
Hi Eric: 

Thanks a lot for your advice!

It works for me now after I press C-c C-c on the #+PROPERTY line.  It seems 
all my previous attempts fail because I didn't do C-c C-c.   It would be nice 
if org can notice something changes in the header lines and do automatic 
refreshing when exporting.  But anyway, the manual update C-c C-c works great 
as long as I can remember to do it.

Thanks!   

 Sincerely, 
Feiming Chen





From: Eric Schulte eric.schu...@gmx.com
To: Feiming Chen feimingc...@yahoo.com
Cc: emacs-orgmode@gnu.org
Sent: Fri, August 31, 2012 12:58:23 PM
Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective 
[7.8.11]

Feiming Chen feimingc...@yahoo.com writes:

 HI Eric: 

 Thanks a lot!  But I am still having trouble with some buffer-wide header 
 arguments.   In particular, I could not have the following code working as 
 expected: 


 #+PROPERTY: :eval no

 * test 3: Buffer-wide header arguments are NOT effective
 #+begin_src R :exports both
   print(pi)
 #+end_src

 I am getting the result printed even though I turned the evaluation off.  It 
 seems I could not turn off the evaluation with :eval no in the buffer-wide 
 header argument.   Could you help?  


Hi Feiming,

I apologize.  I gave you bad advice in my previous email.  Please use
the #+PROPERTY: setting as in your original email and as described in
the Org-mode manual.  Do *not* add a leading : to header argument
names as I suggested.  The following two Org-mode files both work as
expected locally.

If a buffer-wide header argument doesn't seem to be active, you can
activate it by pressing C-c C-c on the #+PROPERTY: line.


Cheers,



 Sincerely, 
 Feiming Chen




 
 From: Eric Schulte eric.schu...@gmx.com
 To: Feiming Chen feimingc...@yahoo.com
 Cc: emacs-orgmode@gnu.org
 Sent: Thu, August 30, 2012 11:53:44 AM
 Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective 
 [7.8.11]

 Feiming Chen feimingc...@yahoo.com writes:

 Hi: Could anyone help with the following problem? 

 Please see the attached file a.org with its text export a.txt (from C-c 
 C-e 


 a). 


 Replace

 #+PROPERTY: exports both
 #+PROPERTY: results output

 with

 #+PROPERTY: :exports both
 #+PROPERTY: :results output

 Best,

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


[O] Bug report: org-habit is not required by default

2012-09-04 Thread Russell Branca
While playing with org agenda mode and habits, I ran into the error:

symbol's function definition is void org-is-habit-p

The underlying problem was that org-habit did not get loaded. After
manually requiring org-habit everything works as expected.

If this is expected behavior, then I'm fine manually requiring
org-habit, but it was mentioned on #emacs that this was probably a
bug, so I'm sending it in.

Thanks for all the hard work on org-mode, you guys rock!!


-Russell



[O] Bug: startup: hidestars does not use the real window background color [7.8.11]

2012-09-04 Thread Arne Babenhauserheide (IMK)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
- 

Dear org Hackers,

I use a custom color scheme in KDE with brown window background color,
and when I activate #+STARTUP: hidestars, the first stars are white
instead of brown.

My color scheme is Antiford
? http://opendesktop.org/content/show.php/Antiford?content=142571

Best wishes,
Arne



Emacs  : GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-07-10 on 
Package: Org-mode version 7.8.11

current state:
==
(setq
 org-ditaa-jar-path ~/.emacs.d/private/org/ditaa0_9/ditaa0_9.jar
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-export-latex-listings 'minted
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-agenda-custom-commands '((o Agenda and TODOs ((tags KANBAN)
(agenda nil) (todo  ~/plan.org
 org-agenda-files '(~/plan.org)
 org-agenda-include-diary t
 org-babel-load-languages '((python . t) (sh . t) (emacs-lisp . t)
(ditaa . t) (dot . t) (C . t) (R . t) (gnuplot . t)
(org . t))
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-babel-tangle-lang-exts '((C++ . cpp) (python . py)
(emacs-lisp . el))
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-agenda-skip-scheduled-if-done t
 org-latex-to-pdf-process '(pdflatex -interaction nonstopmode
- -shell-escape -output-directory %o %f bibtex $(basename %b)
pdflatex -interaction nonstopmode
- -shell-escape -output-directory %o %f
pdflatex -interaction nonstopmode
- -shell-escape -output-directory %o %f)
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-export-latex-packages-alist '(( color) ( minted))
 org-default-notes-file ~/.emacs.d/private/org/emacs-remember-mode.org
 org-directory ~/.emacs.d/private/org
 outline-mode-hook '((lambda nil (require (quote outline-magic
 org-babel-pre-tangle-hook '(save-buffer)
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-export-latex-classes '((article
\\documentclass[11pt]{scrartcl} (\\section{%s} . \\section*{%s})
 (\\subsection{%s} .
\\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})
 (\\paragraph{%s} . \\paragraph*{%s})
(\\subparagraph{%s} . \\subparagraph*{%s}))
(report
\\documentclass[11pt]{scrreprt} (\\part{%s} . \\part*{%s})
 (\\chapter{%s} . \\chapter*{%s})
(\\section{%s} . \\section*{%s})
 (\\subsection{%s} .
\\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})
 (\\paragraph{%s} . \\paragraph*{%s})
(\\subparagraph{%s} . \\subparagraph*{%s}))
(book \\documentclass[11pt]{scrbook}
(\\part{%s} . \\part*{%s})
 (\\chapter{%s} . \\chapter*{%s})
(\\section{%s} . \\section*{%s})
 (\\subsection{%s} .
\\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}))
(beamer \\documentclass{beamer}
org-beamer-sectioning))
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-mode-hook '(org-mode-reftex-setup turn-on-font-lock
 #[nil \300\301\302\303\304$\207 [org-add-hook
change-major-mode-hook org-show-block-all append local] 5]
 #[nil \300\301\302\303\304$\207 [org-add-hook
change-major-mode-hook org-babel-show-result-all append local]
   5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-extend-today-until 4
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-start-on-weekday nil
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-agenda-skip-deadline-if-done t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp nil
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 

[O] [Orgmode] Bug: LaTeX export of subscripts and superscripts in Tables. [7.9.1]

2012-09-04 Thread gyaman...@gmail.com
Using the following orgmode text:
* table 
- table
  ||
  | 10^{3} |
  | H_{2}O |
  ||

- 10^{3} 
- H_{2}O

==EOF==



the LaTeX exporter produces in version 7.9.1:

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{table}
\label{sec-1}

\begin{itemize}
\item table

\begin{center}
\begin{tabular}{l}
\hline
 10^\{3\}  \\  % may be Bug
 H_\{2\}O  \\  %
\hline
\end{tabular}
\end{center}


\item 10$^{3}$
\item H$_{2}$O
\end{itemize}

==EOF==

\end{document}


The HTML export works fine!

Emacs: GNU Emacs 24.2.1 (x86_64-apple-darwin12.1.0, NS apple-appkit-1187.00)





the LaTeX exporter produces in version 7.8.11:
\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{table}
\label{sec-1}

\begin{itemize}
\item table

\begin{center}
\begin{tabular}{l}
\hline
 10$^{3}$  \\
 H$_{2}$O  \\
\hline
\end{tabular}
\end{center}


\item 10$^{3}$
\item H$_{2}$O
\end{itemize}

==EOF==

\end{document}




-- 
=== gyaman...@gmail.com ===







[O] suggestion for org manual

2012-09-04 Thread Jonas Stein

To the creators of org-mode

at first i have to thank you for the great package and the nice 
documentation.


A few suggestions on the manual
part 5.3.3 Tracking your habits
http://orgmode.org/manual/Tracking-your-habits.html

It says
# You have enabled the habits module by customizing the variable 
org-modules.


I would expect here a link about customizing the variable org-modules, 
and how the setting looks like.



It says
# You must also have state logging for the DONE state enabled, in order 
for historical data to be represented in the consistency graph. If it is 
not enabled it is not an error, but the consistency graphs will be 
largely meaningless.



I would expect here
# In order to get meaningful consistency graphs state logging for state 
DONE must be enabled.

(Link to article about enable logging or explain it here.)

kind regards,

--
Jonas Stein n...@jonasstein.de



Re: [O] Bug report: org-habit is not required by default

2012-09-04 Thread Christopher Schmidt
Russell Branca chewbra...@gmail.com writes:
 While playing with org agenda mode and habits, I ran into the error:

 symbol's function definition is void org-is-habit-p

 The underlying problem was that org-habit did not get loaded. After
 manually requiring org-habit everything works as expected.

 If this is expected behavior, then I'm fine manually requiring
 org-habit, but it was mentioned on #emacs that this was probably a
 bug, so I'm sending it in.

This non-issue is documented.  Check (info (org)Tracking your habits).

Christopher



[O] capture templates and org-contacts

2012-09-04 Thread Simon Thum

Hi all,

recently my org-contacts template broke; I get

%![Error: (void-function gnus-alive-p)]

in the capture buffer where the name should have been.

The template is

(c Kontakt entry (file+headline my-org-contacts-file Neu) * 
%(org-contacts-template-name)))



The setup worked before - wanyone an idea what could be the cause?

I'm using org-fixup to generate my autoloads.

Cheers,

Simon



Re: [O] Org-mode release 7.9

2012-09-04 Thread Eric Schulte
Jambunathan K kjambunat...@gmail.com writes:

 1.  There is no need to do download and M-x package-install-file RET if
 the publishing server has a `archive-contents' file.

 Org's daily tars are already pushed to Orgmode.org and then later
 pulled by GNU's ELPA servers.

 So only thing needed is a public URL on Orgmode.org for package tars
 and an archive-contents.

 What this mean is that there is no need for Tromey's repo or marmalade
 repo.  Orgmode itself is a repo and can be used in `package-archives'.

 Since release tars are already made available on Orgmode.org servers, I
 think bandwidth costs are not much of a concern for those sponsoring
 Orgmode.org's hosting.

There is still the point of discoverability.  Many more users already
have the tromney/marmalade archives in their .emacs.  If every package
hosted its own archive, then ELPA would be too cumbersome to use.

Best,

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



Re: [O] Org-mode release 7.9

2012-09-04 Thread Eric Schulte
Jambunathan K kjambunat...@gmail.com writes:

 1.  There is no need to do download and M-x package-install-file RET if
 the publishing server has a `archive-contents' file.

 Org's daily tars are already pushed to Orgmode.org and then later
 pulled by GNU's ELPA servers.

 So only thing needed is a public URL on Orgmode.org for package tars
 and an archive-contents.

 2.  IMO, packages destined for Emacs are much more valuable than those
 that lie in githubs and bitbuckets.

 Why is there a hesitation to bundle org-export.el and org-e-*.el
 (written by me and Ngz) in to it's own ELPA package or ship it along
 with daily tars.

 3. There is a `package-upload-file' from package-x.el that can upload
make-produced-tar and *also* update `archive-contents' with the new
version.

 All of 1, 2 and 3 is available my ELPA makefile changes in
 org-jambu.git.


Maybe if you could share individual diffs from your git branch which add
Makefile targets to:
- bundle org-export and org-e-*.el ELPA packages
- update package-upload-file
- bundle an org+contrib ELPA package (if you have this implemented)

then this functionality could be more easily folded into the master
branch.

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



Re: [O] creating a list from an R source block

2012-09-04 Thread Greg Tucker-Kellogg
Thanks, that works.  But does this count as a bug in ob-R?

Greg


On Sep 5, 2012, at 12:55 AM, John Hendy wrote:

 On Tue, Sep 4, 2012 at 11:42 AM, Greg Tucker-Kellogg
 gtuckerkell...@gmail.com wrote:
 Creating a list in Org from a Ruby Array is trivial
 
 #+BEGIN_SRC ruby :exports results :results value list
 [x , y, z ]
 #+END_SRC
 
 #+RESULTS:
 - x
 - y
 - z
 
 
 But trying the same thing from R gives a surprising (to me) result
 
 #+BEGIN_SRC R :exports results :results value list
 c(x,y,z)
 #+END_SRC
 
 #+RESULTS:
 - (x)
 - (y)
 - (z)
 
 
 Clunky, perhaps, but this works:
 
 #+BEGIN_SRC R :exports results :results output org
 a - c(x,y,z)
 cat(paste(-, a), sep=\n)
 
 #+END_SRC
 
 #+RESULTS:
 #+BEGIN_ORG
 - x
 - y
 - z
 #+END_ORG
 
 Best regards,
 John
 
 
 
 removing the list header creates a table, but there seems to be no
 straightforward way in R to create a list of elements that is treated by Org
 as a list.  Am I missing something?
 
 Greg
 
 




Re: [O] [OT] Does anyone use Tinderbox?

2012-09-04 Thread Eric Abrahamsen
On Tue, Sep 04 2012, Marcelo de Moraes Serpa wrote:

 Hi Eric,

 Thank your for sharing your insights! Tinderbox does look
 interesting, albeit a bit overkill.


 *without* later discovering some
 free open source software that did the same thing better.


 Care to share which?

Well the most obvious example was TextMate, which I was happy to pay for
and enjoyed using, but after hearing it described as emacs-like
several times, I googled emacs and ended up… here.

Others include Quicken, which I replaced with ledger; iWork, which I
replaced with OpenOffice (actually iWork is much nicer, so that doesn't
count); and some photo editing program I forget the name of, which I
replaced with GIMP.

I never said I'd bought a *lot* of software in the past :)

 Thanks,

 Marcelo.

 On Tue, Sep 4, 2012 at 3:19 PM, Eric Abrahamsen 
 e...@ericabrahamsen.net wrote:

 On Tue, Sep 04 2012, Marcelo de Moraes Serpa wrote:

  Hi list,
 
  I've recently found out about Tinderbox (http://
 www.eastgate.com/
  Tinderbox/), a personal information management application/
 framework
  for the Mac. It looks very interesting in its visualization
  capabilities.
 
  Does anyone in the list use it, and if so, care to share a bit
 about
  the experience?
 
  Perhaps it could serve as inspiration for orgmode extensions/
  integration ideas.
 
  Cheers,
 
  - Marcelo.

 I used to use it, when I still used a Mac. Despite the price tag,
 it was
 the only piece of software I paid for, *without* later
 discovering some
 free open source software that did the same thing better.

 Tinderbox has some feature overlap with Org, but not a lot. It's
 much
 more a generalized note-taking/data collection program -- it can
 and
 often is configured as a TODO machine, but you'd have to build in
 much
 of the stuff that comes with Org by default. On the other hand,
 it's
 much more powerful and flexible when it comes to (re)organizing
 chunks
 of plain data. Tinderbox notes are comparable to a single Org
 headline-plus-text-and-metadata, but they can be arranged and
 related
 much more flexibly. Tinderbox doesn't have spreadsheets, tho --
 not as
 far as I remember.

 Multiple views on the same data is something that Tinderbox also
 does
 very well.

 One interesting distinction is Tinderbox agents. Agents are notes
 that
 are mini-programs: they collect other notes according to various
 search
 criteria, and the act on them according to various rules. They
 make
 Tinderbox powerful, but they also make it confusing: the search
 and
 action rules are written in a mini-programming language that is a
 bit
 perplexing.

 But there are interesting implications for Org. Org agenda views
 are the
 equivalent of agents, in the *collection* sense: you give it
 search
 criteria, and it gives you what is essentially a set of symlinks
 to
 other headlines. Action is done by the user, of course, with
 Agenda
 commands.

 I've daydreamed about this before: what if, instead of agenda
 views, we
 took a page from the Tinderbox method and made agendas simple
 headlines, with some cookie saying I'm an agenda, and a
 property
 containing the search string. Instead of having an ephemeral *Org
 Agenda* buffer, your agenda views are simply another in-file
 headline,
 whose children are TODOs/headlines that match the query. Multiple
 and
 persistent agendas are suddenly a matter of course.

 It wouldn't work well for date-based Agendas, of course. In fact,
 it
 would probably turn out to be a bad idea for reasons I haven't
 fully
 thought through, yet, but it was an interesting daydream.

 E

 --
 GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
  of 2012-09-04 on pellet
 7.9.1







-- 
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
 of 2012-09-04 on pellet
7.9.1




[O] Org-babel and octave/Matlab?

2012-09-04 Thread John Hendy
Just getting into Octave and wanted to give Orgmode a whirl. The Worg
page is a bit sparse and I'm having a tough time getting things to
work.

- Originally, it wasn't finding octave at all. Per a previous long and
arduous discussion with the list about setting up R on Win 7, I was
able to take a hint and set =org-babel-octave-shell-command=.
- If I then tried setting =:session=, I got this error:
--
'octave' is not recognized as an internal or external command,
operable program or batch file.
--

This would leave an =inferior-octave= buffer open, so I checked around
and there was an =inferior-octave-command= variable which I set to the
octave bin directory.

Now, executing a block opens a background octave buffer, but the
results don't seem to behave with babel. Is this the right way to be
doing this, or is inferior-octave something totally different. Is
there a way to use babel, :session, and Org-mode as usual with
octave?


Thanks,
John



Re: [O] list-load-path-shadows

2012-09-04 Thread Thomas S. Dye
Nick Dokos nicholas.do...@hp.com writes:

 Thomas S. Dye t...@tsdye.com wrote:

 Aloha all,
 
 I'm working to understand why my initialization files don't work if I
 compile org from git, but do seem to work (that is, initialization runs
 to completion) when I don't compile org from git.  Right now I've
 installed org from git and have run make uncompiled.
 

 It might be a good idea to run with --debug-init in the compiled case
 and get a backtrace.

Hi Nick,

After make compile, starting emacs --debug-init yields this backtrace:

Debugger entered--Lisp error: (void-function org-find-library-dir)
  (org-find-library-dir org)
  (file-name-directory (org-find-library-dir org))
  (expand-file-name ../contrib (file-name-directory (org-find-library-dir 
org)))
  (file-name-as-directory (expand-file-name ../contrib (file-name-directory 
(org-find-library-dir org
  (expand-file-name scripts (file-name-as-directory (expand-file-name 
../contrib (file-name-directory (org-find-library-dir org)
  (file-name-as-directory (expand-file-name scripts (file-name-as-directory 
(expand-file-name ../contrib (file-name-directory (org-find-library-dir 
org))
  (expand-file-name ditaa.jar (file-name-as-directory (expand-file-name 
scripts (file-name-as-directory (expand-file-name ../contrib 
(file-name-directory (org-find-library-dir org)))
  eval((expand-file-name ditaa.jar (file-name-as-directory (expand-file-name 
scripts (file-name-as-directory (expand-file-name ../contrib 
(file-name-directory (org-find-library-dir org
  custom-initialize-reset(org-ditaa-jar-path (expand-file-name ditaa.jar 
(file-name-as-directory (expand-file-name scripts (file-name-as-directory 
(expand-file-name ../contrib (file-name-directory (org-find-library-dir 
org
  custom-declare-variable(org-ditaa-jar-path (expand-file-name ditaa.jar 
(file-name-as-directory (expand-file-name scripts (file-name-as-directory 
(expand-file-name ../contrib (file-name-directory (org-find-library-dir 
org))) Path to the ditaa jar executable. :group org-babel :type string)

AFAICT, org-find-library-dir is a macro defined in org-compat.el.  Not
sure why compiling would make it disappear.  Initialization runs to
completion when org isn't compiled.

Tom


 I doubt the shadowing you discuss below makes a difference here (but
 I could be wrong).

 Nick

 Because mixed installations are common, I'm following the FAQ Is my
 Orgmode installation mixed?
 
 (org-version) looks good:
 Org-mode version 7.9.1 (release_7.9.1-138-geeb5b9 @
 /Users/dk/.emacs.d/src/org-mode/lisp/)
 
 The FAQ advises that I go through the output of list-load-path-shadows
 line by line to get hints, but fails to mention what might qualify as a
 hint.  So, I'm coming to the list to check if any of the shadow patterns
 I'm seeing might be hints.
 
 I see that 110 Emacs Lisp load-path shadowings were found.  
 
 108 of the shadowings are cases where a file in
 ~/.emacs.d/src/org-mode/lisp (my home for the git version of org mode)
 hides a file of the same name in
 /Applications/Emacs.app/Contents/Resources/lisp/org/.  I think these 108
 shadowings are the right thing, and that they are not hints that
 something is wrong.  Is 108 shadowings the correct number for a normal
 org mode installation nowadays?
 
 The other two are different.
 
 The first one is:
 /Users/dk/.emacs.d/custom hides
 /Applications/Emacs.app/Contents/Resources/lisp/custom
 
 Here, the file created by the emacs Customize interface is on the
 load-path and shadows something completely different (and important?),
 though not part of org mode.  Should I do something to have the emacs
 Customize interface put the file somewhere off the load-path?
 
 The second one is: 
 /Users/dk/.emacs.d/src/org-mode/.dir-locals hides
 /Applications/Emacs.app/Contents/Resources/lisp/gnus/.dir-locals
 
 I keep hoping gnus will heal itself and stop hanging emacs--could this
 shadowing be causing problems?
 
 All the best,
 Tom
 
 -- 
 Thomas S. Dye
 http://www.tsdye.com
 



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



Re: [O] Export properties as (csv) table

2012-09-04 Thread Bernd Weiss

On 04.09.2012 21:26, Nick Dokos wrote:

[...]


Perhaps a combination of a columnview dblock[fn:1] to produce a table
and then a radio table with a translation function[fn:2]:


[...]

Thanks, Nick! Works like a charm!

Bernd



[O] Empty titles and new exporter

2012-09-04 Thread Fabrice Popineau
Whenever I put an empty headline and I add some tag like :B_note: or
whatever, the tag end up in the headline.

** Some Frame
***:B_note:
:PROPERTIES:
:BEAMER_env: note
:END:
[2012-09-03 lun. 09:22]
blah blah

is exported as :

\begin{frame}{Some Frame}
\note{:B\_note:
blah blah}
\end{frame}

I think that the tag should never be used for the headline.
What about you ?

-- 
Fabrice