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

2012-12-07 Thread Alan Schmitt
brian powell briangpowel...@gmail.com writes:

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

There have been great suggestions on how to explain what is org-mode.
But if we want a catch phrase I'd also vote for this.

Orgmode: your life, in plain text.

Alan



[O] Sort by Inactive Timestamp

2012-12-07 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] Org Writer's room

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

On 06/12/12 16:51, Matt Price wrote:
 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..

Looking forward to the right side of the three...
As the left side is using existing packages, could you post the commands needed 
to make it work? I
only have it on the right side, and I assume you are using hooks to start 
sr-speedbar?

Rainer


 
 matt
 
 

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

iEYEARECAAYFAlDBqzsACgkQoYgNqgF2egoxEwCeJAs9Ykuse8I146w+5M+yR4hJ
mC0AnAqwz6UAPy9BiP4psA8RJTGFM+hH
=Tfpu
-END PGP SIGNATURE-



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

2012-12-07 Thread David Rogers
brian powell briangpowel...@gmail.com writes:


 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.

Seriously seriously?

Things you can't do in Emacs that feel as if they *should* be practical,
even though they currently are not

- Web browsing with ease, and with a full list of currently-expected
  features (i.e. features to make the general public say Wow! This is
  much better than Firefox! I'm switching to this for banking, and for
  everything else as well! - not Umm, why does it look like
  this?). This single (admittedly huge) feature, probably along with
  the next one, are IMO the killer features that Emacs does not have.

- Ability to continue working in other buffers when one buffer is
  busy. Combine this feature and the one mentioned above, and I (perhaps
  along with a lot of other people) move from two primary every-day
  applications down to one.

- WYSIWYG word processing with multiple fonts per page, adjustable
  margins, and named styles (not saying it should ever be implemented,
  just saying it's something Emacs can't currently be used for)


And how about fantasy-but-would-be-really-useful features? Nearly unlimited.

- Fully-functioning, practical Org-mode  Gnus  Emacs on a touch screen

- Optical character recognition within Emacs

- Text entry by voice (including programming languages) within Emacs

- Hand-written text entry directly into Emacs, including filling in web forms


And then comes the truly unlimited category of What, are you crazy???

- Emacs Movie Editor

- Emacs Music Recording Studio

- Emacs Audio-To-Text Song Lyrics Transcriber

- SkypEmacs simultaneous videoconferencing and collaborative text
  editing, where the participants all type into the same document at
  once, but also their entire voice conversation is automatically
  transcribed to plain text, and that transcription saved in the same
  directory as the document.

(i.e. things that prove It isn't all text after all, but some of it is.)


-- 
David



[O] export_file_name problem with new exporter

2012-12-07 Thread Alan Schmitt
Hello,

I have #+EXPORT_FILE_NAME: ~/tmp/jsseccloud.tex in an org file, but
when I export it (either to beamer or to latex), it's using the name of
the file instead of the given file name.

Am I doing something wrong here?

Thanks,

Alan



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

2012-12-07 Thread Volker Grabsch
Eric Abrahamsen schrieb:
 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.

Ah, okay. That makes sense to me. So I'll either have to be
consistent with empty lines (using or not using them), or I'll
have to adjust org-blank-before-new-entry.

Also, I just noticed that this is explained in the FAQ:

http://orgmode.org/worg/org-faq.html#blank-line-after-headlines-and-list-items

Sorry for not having looked there before asking.


Regards,
Volker

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



Re: [O] [PATCH] Fix org-entry-put (trouble with org-columns-edit-value)

2012-12-07 Thread Takafumi Arakaki
It turned out that the bug I encountered was due to
after-change-function in flyspell-lazy.  It alters the
match data that's why org-entry-put worked unexpectedly.

https://github.com/rolandwalker/flyspell-lazy/pull/4


On Sun, Dec 2, 2012 at 9:39 AM, Nicolas Goaziou n.goaz...@gmail.com wrote:
 Takafumi Arakaki aka@gmail.com writes:

 I can confirm that the behavior I described still exists.
 I checked with the latest version (8d22b119786206bbae98183b0fb61e3ab1b22a43)
 in maint branch of org-mode and the latest version (110979) in emacs-24 
 branch
 of Emacs bzr repository.  I also checked with the master branch
 (6642177dee3ec04404ebd99391748f373ada3d2a) result was the same.

 OK thanks for the confirmation. Could you provide an ECM (or better:
 write an ERT test) for it?


 Regards,

 --
 Nicolas Goaziou



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

2012-12-07 Thread Nicolas Goaziou
Hello,

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

 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.

Indeed. There is no support anymore for that feature. Macros are
a simple tool for simple tasks. Anything more complicated would overlap
with Babel functionalities. There's no point in providing that.

As a side note, the old exporter is wrong anyway, since only line breaks
should ensure to keep a real line break in the output.

Also, a macro can be replaced with a more complicated Babel call, if
needed.


Regards,

-- 
Nicolas Goaziou



Re: [O] export_file_name problem with new exporter

2012-12-07 Thread Suvayu Ali
On Fri, Dec 07, 2012 at 11:27:40AM +0100, Alan Schmitt wrote:
 Hello,
 
 I have #+EXPORT_FILE_NAME: ~/tmp/jsseccloud.tex in an org file, but
 when I export it (either to beamer or to latex), it's using the name of
 the file instead of the given file name.
 
 Am I doing something wrong here?
 

As far as I am aware, that works for subtree export only.

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] export_file_name problem with new exporter

2012-12-07 Thread Alan Schmitt
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 On Fri, Dec 07, 2012 at 11:27:40AM +0100, Alan Schmitt wrote:
 Hello,
 
 I have #+EXPORT_FILE_NAME: ~/tmp/jsseccloud.tex in an org file, but
 when I export it (either to beamer or to latex), it's using the name of
 the file instead of the given file name.
 
 Am I doing something wrong here?
 

 As far as I am aware, that works for subtree export only.

Ah, this is problematic. I need to change the file name for two reasons:
- the org file name has spaces in it, and latexmk fails when processing
it
- processing the file creates a bunch of files that clobber my org
directory, so I want the created files to be out of the way

If someone has suggestions on how to deal with these issues, I'd gladly
try them.

Thanks,

Alan



Re: [O] export_file_name problem with new exporter

2012-12-07 Thread Suvayu Ali
On Fri, Dec 07, 2012 at 01:38:50PM +0100, Alan Schmitt wrote:
 Suvayu Ali fatkasuvayu+li...@gmail.com writes:
 
  On Fri, Dec 07, 2012 at 11:27:40AM +0100, Alan Schmitt wrote:
  Hello,
  
  I have #+EXPORT_FILE_NAME: ~/tmp/jsseccloud.tex in an org file, but
  when I export it (either to beamer or to latex), it's using the name of
  the file instead of the given file name.
  
  Am I doing something wrong here?
  
 
  As far as I am aware, that works for subtree export only.
 
 Ah, this is problematic. I need to change the file name for two reasons:
 - the org file name has spaces in it, and latexmk fails when processing
 it
 - processing the file creates a bunch of files that clobber my org
 directory, so I want the created files to be out of the way
 
 If someone has suggestions on how to deal with these issues, I'd gladly
 try them.
 

You could try the publishing facilities in Org.

(info (org)Publishing)

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Org Writer's room

2012-12-07 Thread Matt Price
On Fri, Dec 7, 2012 at 3:39 AM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 06/12/12 16:51, Matt Price wrote:
 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..

 Looking forward to the right side of the three...
 As the left side is using existing packages, could you post the commands 
 needed to make it work? I
 only have it on the right side, and I assume you are using hooks to start 
 sr-speedbar?


I don't have the speedbar interface running properly yet (no time the
last couple of days).  sr-speedbar is not working right for me, so I
am tryng some code from emacswiki (which is also posted in various
places around the web):

http://emacswiki.org/emacs/SpeedBar#toc1

I'm noticing a few issues:

- at least on my machine, it's not easy to click on a heading that has
subheadings.  THe trick is probably to make some improvements to the
underlying org/speedbar integration.
- when speedbar is running in the same frame as other windows, it
isn't so good at determining where it should open new buffers.
Binding the clicks to my writers-room-pop-buffer function should fix
that.
- the builtin speedbar browsers are awesome, but I think it would be
better to have a stripped-down interfacd that only showed the project
you're working on. I guess the way to do that would be to extend
speedbr with a new major or minor mode.  (
http://www.gnu.org/software/emacs/manual/html_node/speedbar/Major-Display-Modes.html#Major-Display-Modes
).  It doesn't look that ocmplicated but I need to learn a bunch
before I do it...

All the code I have (not much)  is still available at the github repo
I posted at the beginning of this thread,
https://github.com/titaniumbones/org-writers-room/

I tried adding 

Re: [O] Org Writer's room

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

On 07/12/12 13:57, Matt Price wrote:
 On Fri, Dec 7, 2012 at 3:39 AM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 06/12/12 16:51, Matt Price wrote:
 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..
 
 Looking forward to the right side of the three... As the left side is using 
 existing
 packages, could you post the commands needed to make it work? I only have it 
 on the right
 side, and I assume you are using hooks to start sr-speedbar?
 
 
 I don't have the speedbar interface running properly yet (no time the last 
 couple of days).
 sr-speedbar is not working right for me, so I am tryng some code from 
 emacswiki (which is also
 posted in various places around the web):
 
 http://emacswiki.org/emacs/SpeedBar#toc1

OK - waiting for news on this front. For the time, I will be using the 
sr-speedbar.

 
 I'm noticing a few issues:
 
 - at least on my machine, it's not easy to click on a heading that has 
 subheadings.  THe trick
 is probably to make some improvements to the underlying org/speedbar 
 integration.

True - works only for the last headers.

 - when speedbar is running in the same frame as other windows, it isn't so 
 good at determining
 where it should open new buffers. Binding the clicks to my 
 writers-room-pop-buffer function
 should fix that. - the builtin speedbar browsers are awesome, but I think it 
 would be better to
 have a stripped-down interfacd that only showed the project you're working 
 on. I guess the way
 to do that would be to extend speedbr with a new major or minor mode.  ( 
 

Re: [O] export_file_name problem with new exporter

2012-12-07 Thread Alan Schmitt
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 You could try the publishing facilities in Org.

 (info (org)Publishing)

I did not know about that, it's a very nice suggestion. I have one
question that I did not see addressed in the documentation, though: is
it possible to use it with the new exporter?

Thanks a lot,

Alan



Re: [O] Emacs user conference

2012-12-07 Thread Ivan Kanis
Hi Joakim,

Good we got a place! So it will be Stockholm.

Roughly how many people can you hold comfortably in a meeting room? It's
important to know so that we don't get too many people.

When we did a Org Mode conference in Paris in 2012 we were very
surprised that 12 people turned up.

The next question is when?

I think like you that a week-end is best. I can't think talking about
emacs for more than two days. I am thinking between April and June 2013.

I am only saying this because warm weather puts me in a good mood. It
could be done sooner.

I don't think we should do it in July or August because most people
takes their holiday then... [1]

Take care,

Ivan Kanis

[1] Well in France at least ;)



[O] info for org not found in emacs

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

Hi

I am using org from git using the following commands (in a script):

##
cd ~/.emacs.d/org-mode-git/org-mode
git checkout master
git fetch --tags origin
git pull
git gc
git checkout master
make clean
make
make autoloads
make doc
make info
##

But I can't find the info file and get the error message Info-find-file: Info 
file org does not
exist.

How can I tell where emacs can find the info file (I assume it is in the doc/ 
subdirectory?)?

Thanks,

Rainer

- -- 
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/

iEYEARECAAYFAlDB/CAACgkQoYgNqgF2egoT5wCePFG8JfsokJ6Vyc+/+C3qo2BY
jvgAnjlyZV2yenyrVDj+1HwMRsd+fhfm
=AtFN
-END PGP SIGNATURE-



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

2012-12-07 Thread Rasmus
 There have been great suggestions on how to explain what is org-mode.
 But if we want a catch phrase I'd also vote for this.

 Orgmode: your life, in plain text.

I like the idea of a catch phrase (your life, in plain text) and
perhaps a more detailed paragraph belows, potentially with links.

–Rasmus

-- 
C is for Cookie




Re: [O] info for org not found in emacs

2012-12-07 Thread Grégoire Jadi
Rainer M Krug r.m.k...@gmail.com writes:

 Hi

 I am using org from git using the following commands (in a script):

 ##
 cd ~/.emacs.d/org-mode-git/org-mode
 git checkout master
 git fetch --tags origin
 git pull
 git gc
 git checkout master
 make clean
 make
 make autoloads
 make doc
 make info
 ##

 But I can't find the info file and get the error message Info-find-file: 
 Info file org does not
 exist.

 How can I tell where emacs can find the info file (I assume it is in the doc/ 
 subdirectory?)?

(add-to-list 'Info-default-directory-list
 (expand-file-name ~/.emacs.d/org-mode-git/org-mode/doc))


 Thanks,

 Rainer

 --
 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




Re: [O] export_file_name problem with new exporter

2012-12-07 Thread Suvayu Ali
On Fri, Dec 07, 2012 at 03:02:32PM +0100, Alan Schmitt wrote:
 Suvayu Ali fatkasuvayu+li...@gmail.com writes:
 
  You could try the publishing facilities in Org.
 
  (info (org)Publishing)
 
 I did not know about that, it's a very nice suggestion. I have one
 question that I did not see addressed in the documentation, though: is
 it possible to use it with the new exporter?
 

Since the new exporter is not documented yet, information is absent from
the info manual.  You can find relevant docs in the source files.  I am
slowly working towards a tutorial type docs for org-e-beamer.  When it
is in shape, I'll push to Worg.

That said, publishing is fully supported by the new exporter, just
change the publishing function names to the functions provided by the
new exporter.

Here is an improperly tested example from one of my tests:

(setq org-e-publish-project-alist
  '((thesis :components (thesis-tex thesis-html))
(thesis-tex :base-directory /path/PhD-thesis
 :publishing-directory /path/PhD-thesis/latex
 :publishing-function org-e-publish-org-to-latex
 )))

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.



[O] bug#12905: 24.2.50; org: edit source block causes data loss

2012-12-07 Thread Chong Yidong
Hi Bastien,

Could you please take a look at Bug#12905?  If it causes data loss, I
think it should be fixed in the emacs-24 branch.  Thanks.





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

2012-12-07 Thread Brett Viren
Rasmus ras...@gmx.us writes:

 Orgmode: your life, in plain text.

 I like the idea of a catch phrase (your life, in plain text) and
 perhaps a more detailed paragraph belows, potentially with links.

This phrase is also what first comes to my mind when I try to explain
org-mode to others.

However, it is clear there are many apt description-blurbs.  How about
having a database along the lines of what people are saying about
org-mode that is initially seeded with what has come up in this thread
and then have each refresh of the main org page select and present a new
one?  I'm sure there are lots of issues and details with this idea so I
just toss it out there.

-Brett.


pgpTinPD3BPee.pgp
Description: PGP signature


Re: [O] export_file_name problem with new exporter

2012-12-07 Thread Alan Schmitt
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 Since the new exporter is not documented yet, information is absent from
 the info manual.  You can find relevant docs in the source files.  I am
 slowly working towards a tutorial type docs for org-e-beamer.  When it
 is in shape, I'll push to Worg.

Great.

 That said, publishing is fully supported by the new exporter, just
 change the publishing function names to the functions provided by the
 new exporter.

 Here is an improperly tested example from one of my tests:

 (setq org-e-publish-project-alist
   '((thesis :components (thesis-tex thesis-html))
   (thesis-tex :base-directory /path/PhD-thesis
:publishing-directory /path/PhD-thesis/latex
:publishing-function org-e-publish-org-to-latex
)))

 Hope this helps.

It does, but for some reason I can't make it work. It seems that it has
issues getting the base file. Here is my setup:

(setq org-e-publish-project-alist
  '((jsseccloud
 :base-directory ~/Documents/Org
 :include 2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org
 :publishing-directory ~/tmp
 :publishing-function org-e-beamer-publish-to-latex
 )))

and with this I get an error:

Debugger entered--Lisp error: (wrong-type-argument sequencep 50)
  #[(f) \304  P!\305\n\\203\202\nB\211)\207 [base-dir f x 
org-e-publish-temp-files expand-file-name memql] 3](50)
  mapc(#[(f) \304 P!\305\n\\203\202\nB\211)\207 [base-dir f x 
org-e-publish-temp-files expand-file-name memql] 3] 
2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org)
  org-e-publish-get-base-files((jsseccloud :base-directory ~/Documents/Org 
:include 2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org 
:publishing-directory ~/tmp :publishing-function 
org-e-beamer-publish-to-latex) nil)
  #[(project) \306@!\210A\307\310\\307  \311\\307  
\312\\206\313\307 \314\\206#\315\307 \316\\206- \307  
\317\\2068!\\307 \320\\307 
\321\\322\n\#\323$\203X\324\325!\210\203a
\f\\210#\323$\211%\203\201%@$\326$\327#\210%A\211%\204l*\307
\330\\203\235\331\307 \332\\\210\326\333\334\307
\332\\\327#\210\203\246\324\335!\210\336 .\207 [project project-plist 
exclude-regexp sitemap-p sitemap-filename sitemap-function 
org-e-publish-initialize-cache plist-get :exclude :auto-sitemap 
:sitemap-filename sitemap.org :sitemap-function org-e-publish-org-sitemap 
:sitemap-date-format :sitemap-file-entry-format :preparation-function 
:completion-function org-e-publish-get-base-files nil run-hooks 
preparation-function org-e-publish-file t :makeindex 
org-e-publish-index-generate-theindex :base-directory expand-file-name 
theindex.org completion-function org-e-publish-write-cache-file 
org-e-publish-sitemap-date-format org-sitemap-date-format 
org-e-publish-sitemap-file-entry-format org-sitemap-file-entry-format files 
file --cl-dolist-temp--] 7]((jsseccloud :base-directory ~/Documents/Org 
:include 2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org 
:publishing-directory ~/tmp :publishing-function 
org-e-beamer-publish-to-latex))
  mapc(#[(project) \306@!\210A\307   \310\\307  \311\\307  
\312\\206\313\307 \314\\206#\315\307 \316\\206- \307  
\317\\2068!\\307 \320\\307 
\321\\322\n\#\323$\203X\324\325!\210\203a
\f\\210#\323$\211%\203\201%@$\326$\327#\210%A\211%\204l*\307
\330\\203\235\331\307 \332\\\210\326\333\334\307
\332\\\327#\210\203\246\324\335!\210\336 .\207 [project project-plist 
exclude-regexp sitemap-p sitemap-filename sitemap-function 
org-e-publish-initialize-cache plist-get :exclude :auto-sitemap 
:sitemap-filename sitemap.org :sitemap-function org-e-publish-org-sitemap 
:sitemap-date-format :sitemap-file-entry-format :preparation-function 
:completion-function org-e-publish-get-base-files nil run-hooks 
preparation-function org-e-publish-file t :makeindex 
org-e-publish-index-generate-theindex :base-directory expand-file-name 
theindex.org completion-function org-e-publish-write-cache-file 
org-e-publish-sitemap-date-format org-sitemap-date-format 
org-e-publish-sitemap-file-entry-format org-sitemap-file-entry-format files 
file --cl-dolist-temp--] 7] ((jsseccloud :base-directory ~/Documents/Org 
:include 2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org 
:publishing-directory ~/tmp :publishing-function 
org-e-beamer-publish-to-latex)))
  org-e-publish-projects(((jsseccloud :base-directory ~/Documents/Org 
:include 2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org 
:publishing-directory ~/tmp :publishing-function 
org-e-beamer-publish-to-latex)))
  org-e-publish((jsseccloud :base-directory ~/Documents/Org :include 
2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org 
:publishing-directory ~/tmp :publishing-function 
org-e-beamer-publish-to-latex) nil)
  call-interactively(org-e-publish record nil)
  command-execute(org-e-publish record)
  

[O] including the result of a block in several places?

2012-12-07 Thread Alan Schmitt
Hello,

I tried including the result of evaluation a block in several slides,
but the second time it was not included. Here is the code I ran:

#+begin_src org
** Prototype-based objects

#+name: object_example
#+begin_src js :results code output :exports both
var f = function(a) {
this.x = a
}

f.prototype = {y : 1}

var o = new f (42)

console.log(o.x =  + o.x + , o.y =  + o.y)
#+end_src

Results

#+results: object_example

** Prototype-based objects

#+begin_src js
var f = function(a) {
this.x = a
}

f.prototype = {y : 1}

var o = new f (42)

console.log(o.x =  + o.x + , o.y =  + o.y)
#+end_src

Results

#+results: object_example

(Some additional images added)
#+end_src

I cannot do a \pause because a slide will be inserted in the middle.

Is it possible to have the results of the evaluation of a block in
several places?

Thanks,

Alan



Re: [O] priorities

2012-12-07 Thread David Rogers
da...@adboyd.com (J. David Boyd) writes:

 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?

I currently don't make effective use of priorities. However, I do like
letters because they're less ambiguous; the letter A appears to mean
both most important and do it first, while the numeral 1 could mean
do it first or most important OR least important.

However, in the end, priority markers should be anything that works for
the individual, and being able to change their display makes sense.

-- 
David



Re: [O] Sort by Inactive Timestamp

2012-12-07 Thread John Hendy
On Thu, Dec 6, 2012 at 4:13 PM, Jeff Mickey j...@codemac.net wrote:

 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?


Two thoughts:

1) I recently requested a feature addition like this for sparse trees and
Bastian quickly and awesomely added it:
- http://comments.gmane.org/gmane.emacs.orgmode/55501

I wonder if something similar could be added to agenda to allow for what
you want?

2) On that note, have you looked at the agenda log mode? It seems that it's
nearly got what you're looking for, except at the moment it only allows for
things with inactive time stamps that are todo state changes, clocked, or
have been marked done.

Perhaps log mode could have a journal mode in which all time stamped
items are extracted?


I'm thinking someone will have to add a tweak to current functionality.
There's a bit I found when googling that org-mode can sort by timestamps --
I'm assuming this means to rearrange actual headlines in the file, which is
probably not what you want. Perhaps the build in sorting combined with the
above could get you the view you're looking for.


Best regards,
John



 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




[O] unicode in org-mode

2012-12-07 Thread Doug Lewan
For notes (and other things) I tend to use non-ASCII characters fairly freely. 
(Among them the most common are: ∃ -- there is, ∀ -- every, ∈ -- in, ∴ -- 
therefore, ≡, arrows, bullets, checks, subscripts, superscripts, etc.)

It would be nice to be able to configure org-mode to handle them nicely. (Where 
nicely means in exactly the vague way that I want.)

(1) Bullets are for bullet lists. It would be nice if they could be interpreted 
as such.
(2) The other symbols (∃, ∀, etc.) are natural for LaTeX, but they would have 
to expand to things like \assuremath{\exists}.

Is there currently any way (short of hacking org-mode code) to accomplish this? 
If not, what is the official venue for feature requests?
I'm willing to help, but I can't do so at this address.

Thanks.

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

When I do good, I feel good. When I do bad, I feel bad and that's my religion. 
- Abraham Lincoln





[O] Exclude tag from custom agenda

2012-12-07 Thread Karl Voit
Hi!

I very much like the agenda customization from [1] and I would like
to adopt it for my needs.

What I want to achieve: on top, there should be my normal agenda
(events, tasks, habits, ...) but minus elements tagged with
reward.

Below, there should be a section with all reward-tasks (excluded
are future ones) and so forth.

,
| (setq org-agenda-custom-commands
|   (quote (
|   ;; http://doc.norang.ca/org-mode.html#CustomAgendaViews
|   (o overview Agenda
|((agenda  nil)
| (tags-todo +reward
| (org-agenda-overriding-header Rewards)
|)
| (tags-todo -CANCELLED/!
|((org-agenda-overriding-header Stuck Projects)
| (org-agenda-skip-function 
'bh/skip-non-stuck-projects)))
| (tags-todo -CANCELLED+WAITING/!
|((org-agenda-overriding-header Waiting and 
Postponed Tasks)
| (org-agenda-skip-function 'bh/skip-stuck-projects)
| (org-tags-match-list-sublevels nil)
| (org-agenda-todo-ignore-scheduled 'future)
| (org-agenda-todo-ignore-deadlines 'future)
| ))
| )
|nil)
|
| )))
`

Above snippet works but shows my usual agenda including items tagged
with reward.

I think, that «(agenda  nil)» has to be modified but I don't know
how.

Can you help me?

  1. http://doc.norang.ca/org-mode.html#CustomAgendaViews
-- 
Karl Voit




Re: [O] org-gnome-calendar

2012-12-07 Thread Lluís Vilanova
Erik Hetzner writes:

 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.

Sure, but the whole point was to avoid using other intermediary apps and 
formats.


Lluis

-- 
 And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer.
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth



Re: [O] including the result of a block in several places?

2012-12-07 Thread Sebastien Vauban
Hi Alan,

Alan Schmitt wrote:
 I tried including the result of evaluation a block in several slides,
 but the second time it was not included.

 Is it possible to have the results of the evaluation of a block in
 several places?

OOTB, I don't think so. However, you could have a code block which simply
copies the results.

See `echo' in the `library-of-babel.org'.

Best regards,
Seb

-- 
Sebastien Vauban




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

2012-12-07 Thread Karl Voit
I describe Org-mode to people using something like: «Org-mode is a
very large box of LEGO bricks. What it does for you? It depends on
the bricks you use and how you combine them. It adopts to your
requirements.»

* Vikas Rawal vikasli...@agrarianresearch.org wrote:

 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

** Organizing your thoughts (might be redundant to above)
** Managing contacts[1]
** Managing references[2]
** Re-claim you data from the Cloud[3]
** ...

  1. http://julien.danjou.info/projects/emacs-packages#org-contacts
  2. 
http://www-public.it-sudparis.eu/~berger_o/weblog/2012/03/23/how-to-manage-and-export-bibliographic-notesrefs-in-org-mode/
  3. https://github.com/novoid/Memacs
-- 
Karl Voit




Re: [O] unicode in org-mode

2012-12-07 Thread Sebastien Vauban
Hi Doug Lewan,

Doug Lewan wrote:
 For notes (and other things) I tend to use non-ASCII characters fairly freely.
 (Among them the most common are: ∃ -- there is, ∀ -- every, ∈ -- in, ∴ --
 therefore, ≡, arrows, bullets, checks, subscripts, superscripts, etc.)

 It would be nice to be able to configure org-mode to handle them nicely. 
 (Where nicely means in exactly the vague way that I want.)

 (1) Bullets are for bullet lists. It would be nice if they could be 
 interpreted as such.
 (2) The other symbols (∃, ∀, etc.) are natural for LaTeX, but they would have 
 to expand to things like \assuremath{\exists}.

 Is there currently any way (short of hacking org-mode code) to accomplish 
 this? 

Are you aware of `org-entities' (and even `org-entities-user')?

Don't they allow you to use such symbols for multiple back-ends, in the way
you want?  If not, please detail what the problem is...

Best regards,
  Seb

-- 
Sebastien Vauban




[O] What can *not* be done with Org-mode yet (was: The statement on what is orgmode.)

2012-12-07 Thread Karl Voit
I do like those kind of future/brainstorming threads :-)

* David Rogers davidandrewrog...@gmail.com wrote:

 Things you can't do in Emacs that feel as if they *should* be practical,
 even though they currently are not
[...]
 - Ability to continue working in other buffers when one buffer is
   busy. Combine this feature and the one mentioned above, and I (perhaps
   along with a lot of other people) move from two primary every-day
   applications down to one.

Well this relates to me to:
- Multi-threaded GNU/Emacs

... because I have multiple CPU cores but Emacs (and Org-mode
obviously) is only able to use one single core :-(

Usually I do not care. But for complex agenda commands, I have to
wait 5-30 seconds some times. :-(

Sure, this is not an Org-mode specific issue at all.

 - WYSIWYG word processing with multiple fonts per page, adjustable
   margins, and named styles (not saying it should ever be implemented,
   just saying it's something Emacs can't currently be used for)

... and should not IMHO.

 And how about fantasy-but-would-be-really-useful features? Nearly unlimited.

 - Fully-functioning, practical Org-mode  Gnus  Emacs on a touch screen

https://play.google.com/store/apps/details?id=com.zielm.emacshl=en
... Org-mode works as well.

Note that you have to use Hackers keyboard[1] in order to type
Meta, Ctrl, ...

I could not find any hardware keyboard for Android which provided me
working ESC, Meta, Ctrl, ... so far.

 - Optical character recognition within Emacs

This would be awesome! I do have many hand written notes I wanted to
be digitized and searchable. No, I do not want them to be published
in any cloud not owned by me.

 - Text entry by voice (including programming languages) within Emacs

In a few years, this should be a normal option for entering simple
text. 

 - Hand-written text entry directly into Emacs, including filling in web forms

Sorry, I am *much* faster using any kind of hardware keyboard (not
on-screen ones).


  1. 
https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboardfeature=search_result#?t=W251bGwsMSwxLDEsIm9yZy5wb2NrZXR3b3Jrc3RhdGlvbi5wY2tleWJvYXJkIl0.
-- 
Karl Voit




Re: [O] FAILED test-org-clock/clocktable

2012-12-07 Thread Achim Gratz
Achim Gratz writes:
 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.

I've pushed a fix (29117be) for this issue after checking the
documentation again and running the tests manually to really see what
happened.

As nice as org-test-with-temp-text is, it is really hard to figure out
what happened if there's an error — would it be possible to make a
(named) buffer with the result if the test is unsuccessful, at least as
an option?


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

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




Re: [O] unicode in org-mode

2012-12-07 Thread Doug Lewan
I had not known about org-entities-user. (New user. I'm barely through the 
Guide.)

The documentation certainly looks good. Thanks!

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

When I do good, I feel good. When I do bad, I feel bad and that's my religion. 
- Abraham Lincoln


 -Original Message-
 From: emacs-orgmode-bounces+dougl=shubertticketing@gnu.org
 [mailto:emacs-orgmode-bounces+dougl=shubertticketing@gnu.org] On
 Behalf Of Sebastien Vauban
 Sent: Friday, 2012 December 07 13:30
 To: emacs-orgmode@gnu.org
 Subject: Re: [O] unicode in org-mode
 
 Hi Doug Lewan,
 
 Doug Lewan wrote:
  For notes (and other things) I tend to use non-ASCII characters
 fairly freely.
  (Among them the most common are: ∃ -- there is, ∀ -- every, ∈ -- in,
 ∴ --
  therefore, ≡, arrows, bullets, checks, subscripts, superscripts,
 etc.)
 
  It would be nice to be able to configure org-mode to handle them
 nicely. (Where nicely means in exactly the vague way that I want.)
 
  (1) Bullets are for bullet lists. It would be nice if they could be
 interpreted as such.
  (2) The other symbols (∃, ∀, etc.) are natural for LaTeX, but they
 would have to expand to things like \assuremath{\exists}.
 
  Is there currently any way (short of hacking org-mode code) to
 accomplish this?
 
 Are you aware of `org-entities' (and even `org-entities-user')?
 
 Don't they allow you to use such symbols for multiple back-ends, in the
 way
 you want?  If not, please detail what the problem is...
 
 Best regards,
   Seb
 
 --
 Sebastien Vauban
 



Re: [O] export_file_name problem with new exporter

2012-12-07 Thread Suvayu Ali
On Fri, Dec 07, 2012 at 05:12:46PM +0100, Alan Schmitt wrote:
 Suvayu Ali fatkasuvayu+li...@gmail.com writes:
 
  Since the new exporter is not documented yet, information is absent from
  the info manual.  You can find relevant docs in the source files.  I am
  slowly working towards a tutorial type docs for org-e-beamer.  When it
  is in shape, I'll push to Worg.
 
 Great.
 
  That said, publishing is fully supported by the new exporter, just
  change the publishing function names to the functions provided by the
  new exporter.
 
  Here is an improperly tested example from one of my tests:
 
  (setq org-e-publish-project-alist
'((thesis :components (thesis-tex thesis-html))
  (thesis-tex :base-directory /path/PhD-thesis
   :publishing-directory /path/PhD-thesis/latex
   :publishing-function org-e-publish-org-to-latex
   )))
 
  Hope this helps.
 
 It does, but for some reason I can't make it work. It seems that it has
 issues getting the base file. Here is my setup:
 
 (setq org-e-publish-project-alist
   '((jsseccloud
  :base-directory ~/Documents/Org
  :include 2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org
  :publishing-directory ~/tmp
  :publishing-function org-e-beamer-publish-to-latex
  )))
 
 and with this I get an error:
 

I believe that is because org-e-beamer does not support publishing yet.
Nicolas can confirm.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



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

2012-12-07 Thread Eric Schulte

 Things you can't do in Emacs that feel as if they *should* be practical,
 even though they currently are not

 - Web browsing with ease, and with a full list of currently-expected
   features (i.e. features to make the general public say Wow! This is
   much better than Firefox! I'm switching to this for banking, and for
   everything else as well! - not Umm, why does it look like
   this?). This single (admittedly huge) feature, probably along with
   the next one, are IMO the killer features that Emacs does not have.

 - Ability to continue working in other buffers when one buffer is
   busy. Combine this feature and the one mentioned above, and I (perhaps
   along with a lot of other people) move from two primary every-day
   applications down to one.


I can sympathize with these first two points.  Until the symbolics lisp
machine is resurrected and we return to a world of parens and turtles
all the way down, I've resigned myself to living in a mixed lisp/unix
environment.  That said, I've been able to cobble together an interface
which very closely approximates an Emacs operating system.

1. A tiling window manager (I personally use xmonad [1]).  This lets you
   navigate all of your windows as if they were Emacs buffers, and
   allows one to go hours using multiple applications without having to
   use a mouse.

2. Conkeror [2], a web browser built on the same code base as Firefox,
   which makes web browsing as Emacs-like as possible (e.g., tabs are
   buffers, and most of the main key chords are the same).

The major component my desktop is missing is a system-wide kill ring.
I've used tools which purport to provide this, but have yet to find one
that works the way I want it to.

Cheers,

Footnotes: 
[1]  http://xmonad.org

[2]  http://conkeror.org/

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



Re: [O] Sort by Inactive Timestamp

2012-12-07 Thread Memnon Anon
Jeff Mickey j...@archlinux.org writes:

 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?

Hmmm.
If your 'creation' timestamp is the only inactive timestamp, you won't
need a special property; org-entry-get should give you the right one.

I am not good at this, but what about something like:

--8---cut here---start-8---
(defun my-agenda-sort-by-inactive-timestamp (a b)
  Sort by interactive timestamp. Oldest first, items without any ts at the 
bottom.
  (let* ((ma (or (get-text-property 1 'org-marker a)
 (get-text-property 1 'org-hd-marker a)))
 (mb (or (get-text-property 1 'org-marker b)
 (get-text-property 1 'org-hd-marker b)))
 (tsa (org-entry-get ma TIMESTAMP_IA))
 (tsb (org-entry-get mb TIMESTAMP_IA))
 (ta (when tsa (date-to-time tsa)))
 (tb (when tsb (date-to-time tsb

(cond  ((eq tsa nil) +1)
   ((eq tsb nil) -1)
   ((time-less-p ta tb)
-1)
   ((time-less-p tb ta)
   +1)
   (t nil

(setq org-agenda-custom-commands
  '((x Tasks todo 
   ((org-agenda-overriding-header Tasks sorted by
   TIMESTAMP_IA)
   (org-agenda-cmp-user-defined 
'my-agenda-sort-by-inactive-timestamp)
(org-agenda-sorting-strategy
 '(user-defined-up)))
   )))
--8---cut here---end---8---

Does that work?

If you use :logbook:, entries within will 'override' your inactive
timestamp at the end of the entry. A special CREATED property would be
useful in this case.

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

Definitely not :).

Memnon




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

2012-12-07 Thread Eric Schulte
Nicolas Richard theonewiththeevill...@yahoo.fr writes:

 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.


Applied. Thanks!,

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



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

2012-12-07 Thread Ivan Andrus
On Dec 7, 2012, at 9:50 AM, David Rogers davidandrewrog...@gmail.com wrote:
 brian powell briangpowel...@gmail.com writes:
 
 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.
 
 Seriously seriously?
 
 Things you can't do in Emacs that feel as if they *should* be practical,
 even though they currently are not
 
 - Web browsing with ease, and with a full list of currently-expected
  features (i.e. features to make the general public say Wow! This is
  much better than Firefox! I'm switching to this for banking, and for
  everything else as well! - not Umm, why does it look like
  this?). This single (admittedly huge) feature, probably along with
  the next one, are IMO the killer features that Emacs does not have.

Well, with ease is the problem there, eh?  I think that's the problem with 
most of the rest of these as well.  I think the problem is someone thinks, 
Hey, X would be cool in Emacs and so they start implementing it.  But then 
it's not as cool as they thought and since it _really_ hard to compete with 
some of the existing software that does X, they give up and the result is that 
it barely works.I have included some links below as evidence.  I have no 
affiliation with any of them (even as user) so I cannot say whether they work 
or don't or how well, etc.  This list is intended for entertainment purposes 
only, comes with no warranty expressed or implied… It just amazes me the things 
that people are willing to try to implement in Emacs.

 - Ability to continue working in other buffers when one buffer is
  busy. Combine this feature and the one mentioned above, and I (perhaps
  along with a lot of other people) move from two primary every-day
  applications down to one.

I agree, this would be very nice.

 - WYSIWYG word processing with multiple fonts per page, adjustable
  margins, and named styles (not saying it should ever be implemented,
  just saying it's something Emacs can't currently be used for)
 
Well, there is enriched-mode.  I did use this once briefly.


 And how about fantasy-but-would-be-really-useful features? Nearly unlimited.
 
 - Fully-functioning, practical Org-mode  Gnus  Emacs on a touch screen

Would Emacs be Emacs without 5 modifier keys?

 - Optical character recognition within Emacs

http://emacspeak.sourceforge.net/info/emacspeak_002docr.html

 - Text entry by voice (including programming languages) within Emacs

http://www.emacswiki.org/emacs/SpeechToText

 - Hand-written text entry directly into Emacs, including filling in web forms

Maybe if you speak Chinese: http://www.youtube.com/watch?v=hC6l8gDaYzQ


 And then comes the truly unlimited category of What, are you crazy???

Yes, Emacs users are crazy!

 - Emacs Movie Editor

Maybe you haven't heard of https://savannah.nongnu.org/projects/gneve/ ?  I was 
originally going to just reply with just this link, but then I did some 
searching and found the rest.

 - Emacs Music Recording Studio

Not a studio, but maybe a step in the right direction: 
http://emacswiki.org/emacs/erec.el

 - Emacs Audio-To-Text Song Lyrics Transcriber

This one seems very hard, and in fact I could not find anyone who has tried.

 - SkypEmacs simultaneous videoconferencing and collaborative text
  editing, where the participants all type into the same document at
  once, but also their entire voice conversation is automatically
  transcribed to plain text, and that transcription saved in the same
  directory as the document.

I think this is probably only chat, but there is 
https://github.com/buzztaiki/emacs-skype

 (i.e. things that prove It isn't all text after all, but some of it is.)

:-)

-Ivan


[O] [PATCH] ob-python: specify defcustom parameters

2012-12-07 Thread Achim Gratz

This avoids a byte-compiler warning and makes these customizations
easier to find.

--8---cut here---start-8---
commit 9666909a8db4f8ba54c6cabde40f35cbf82a3b52 (HEAD, refs/heads/lth-mk)
Author: Achim Gratz strom...@stromeko.de
Date:   Fri Dec 7 21:05:52 2012 +0100

ob-python: specify defcustom parameters

* lisp/ob-python.el (org-babel-python-hline-to,
  org-babel-python-None-to): Specify customize group as 'org-babel and
  widget type as 'string.

Modified   lisp/ob-python.el
diff --git a/lisp/ob-python.el b/lisp/ob-python.el
index 4d94ecf..e393d1d 100644
--- a/lisp/ob-python.el
+++ b/lisp/ob-python.el
@@ -53,10 +53,14 @@ (defvar org-babel-python-mode (if (featurep 'xemacs) 
'python-mode 'python)
 (defvar org-src-preserve-indentation)
 
 (defcustom org-babel-python-hline-to None
-  Replace hlines in incoming tables with this when translating to python.)
+  Replace hlines in incoming tables with this when translating to python.
+  :group 'org-babel
+  :type 'string)
 
 (defcustom org-babel-python-None-to 'hline
-  Replace 'None' in python tables with this before returning.)
+  Replace 'None' in python tables with this before returning.
+  :group 'org-babel
+  :type 'string)
 
 (defun org-babel-execute:python (body params)
   Execute a block of Python code with Babel.

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

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

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




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

2012-12-07 Thread Rasmus
Eric Schulte schulte.e...@gmail.com writes:

 1. A tiling window manager (I personally use xmonad [1]).  This lets you
navigate all of your windows as if they were Emacs buffers, and
allows one to go hours using multiple applications without having to
use a mouse.

I use i3.  It's nice and can be configured to use the Windows key on
my laptop so that it is not intruding with Emacs.

 2. Conkeror [2], a web browser built on the same code base as Firefox,
which makes web browsing as Emacs-like as possible (e.g., tabs are
buffers, and most of the main key chords are the same).

I use Keysnail ¹  which runs with normal Firefox and gives it more of an
Emacs feel.  Obviously, not as much as Conkeror, but it allows you to
follow Firefox bleeding edge and still have nice key bindings etc.

–Rasmus


Footnotes: 
 ¹   https://github.com/mooz/keysnail/wiki

-- 
C is for Cookie



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

2012-12-07 Thread Michael Baum
Yes, you're correct, Aaron, thanks. Apparently the secondary substitutions
only get processed after all the questions are asked and the template is
written out to the temp buffer. So the backslash has to be escaped to
survive the first round of substitutions.

I kind of feel that this should be stated more explicitly in the manual. IN
BOLD TYPE.

maabaum

On Thu, Dec 6, 2012 at 6:34 PM, Aaron Ecay aarone...@gmail.com wrote:

 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




-- 

Michael Baum maab...@gmail.com

You should never have your best trousers on when you go out
 to fight for freedom and truth. - Ibsen


[O] texinfo export of @@

2012-12-07 Thread Thomas S. Dye
Aloha Jon,

With this macro:

#+MACRO: code @@info:@code{$1}@@

this Org source:

 {{{code([@@b])}}}

is exported as:

 @code{[b]@}.

Any idea how to get @code{[@@b]} instead?

All the best,
Tom
-- 
T.S. Dye  Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



[O] Custom Agenda (was: Exclude tag from custom agenda)

2012-12-07 Thread Karl Voit
Hi!

Playing around with Agenda today, I developed a perspective what I
want to achieve. Unfortunately, I am not able to come up with a
working configuration :-(

I'd like to have an agenda like that:

,[ What I want to achieve ]
| Friday  7 December 2012
|8:00.. 
|   10:00.. 
|   misc:   12:00-13:00 this event  :@home:
|   12:00.. 
|   phd:13:45-19:00 that event:@office:
|   20:00.. 
|   20:19.. now - - - - - - - - - - -
|   IST:(2/2):  2012-12-06 Thu-2012-12-07 Fri foobar
|   tagstore:   In  -3 d.:  STARTED a started thing which is overdue :tag3:
|   misc:   In  -1 d.:  NEXT another overdue task
|   misc:   Deadline:   NEXT a task  :tag1:
|   misc:   Deadline:   NEXT another task:tag2:
|   phd:In   4 d.:  NEXT some pre-warning task
|   misc:   TODO an habit task   IIOIOOO!!!__
| Extra tasks
|   misc:   In  -1 d.:  NEXT overdue reward task   :tag1:extra:
|   misc:   Deadline:   NEXT another extra task  :foobar:extra:
|   phd:In   4 d.:  NEXT extra-task with pre-warning:extra:
| DONE today
|   tagstore:   DONE glad I did this :tag1:
|   misc:   DONE this other task I finished :extra:
|   misc:   DONE this task was hard to do as well  :extra:tag2:
| Waiting or Postponed
|   as shown on [1]
| Stuck Projects
|   as shown on [1]
`

I guess, I need to look at following things:

- [ ] org-agenda-custom-commands (see below)
  - I got the agenda, but not with filtered out :extra: tags,
:extra: section below, and the «DONE today» section
  - Bonus: «DONE today» matches the current agenda-day being 
displayed (and not only the current day)

- [?] (setq org-agenda-skip-deadline-if-done t)
  - I am not sure, whether or not this is a contradiction to my
desire to list them only in the «DONE today» section above

- [X] org-agenda-sorting-strategy (see below) and [2]
  - I could manage to get the overdue events (like «STARTED a started
thing...») on the top of the list yet by using a modified version
of «bh/agenda-sort» from [2]
  - So this thing is solved for me


,[ current snippet of org-agenda-custom-commands ]
| (setq org-agenda-custom-commands
|   (quote (
|   (o overview Agenda
|((agenda  nil) ;; still contains tasks tagged with 
extra
| (tags +extra
|( (org-agenda-overriding-header Extra) )))
| (tags +CLOSED=\today\  ;; does not work yet
|  ( (org-agenda-overriding-header DONE today) ))
|nil)
|
| )))
`

,[ current org-agenda-sorting-strategy ]
| (setq org-agenda-sorting-strategy
|   (quote ((agenda habit-down time-up user-defined-up priority-down 
category-keep)
|   (todo priority-down category-keep)
|   (tags priority-down category-keep)
|   (search category-keep
`

Are you able to help here?

My current workaround is excluding tags using [3] and «/ RET» in
agenda. But I want to get rid of this separate step.

  1. http://doc.norang.ca/org-mode.html#CustomAgendaViews
  2. http://doc.norang.ca/org-mode.html#AgendaViewTweaks
  3. http://doc.norang.ca/org-mode.html#CustomAgendaViewFilteringContext
-- 
Karl Voit




Re: [O] Emacs user conference

2012-12-07 Thread Richard Stallman
An Emacs user conference sounds useful if users are interested in it.
But keep in mind that running a physical conference is a lot of work.
If you have not done it before, you might think it is easy,
and then be very surprised.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call




[O] texinfo -- markup in example blocks

2012-12-07 Thread Thomas S. Dye
Aloha Jon,

How can I mark up text in an example block? The following describes what
I'm after, but the markup, @b{} and @i{}, is passed through on export.

#+begin_example
,** Lord of the Rings
   My favorite scenes are (in this order)
   1. The attack of the Rohirrim
   2. Eowyn's fight with the witch king
  + this was already my favorite scene in the book
  + I really like Miranda Otto.
   3. Peter Jackson being shot by Legolas
  - on DVD only
  He makes a really funny face when it happens.
   But in the end, no individual scenes matter but the film as a whole.
   Important actors in this film are:
   - @@info:@b{Elijah Wood}@@ :: He plays Frodo
   - @@info:@b{Sean Austin}@@ :: He plays Sam, Frodo's friend.  I still remember
 him very well from his role as Mikey Walsh in @@info:@i{The Goonies}@@.
#+end_example

All the best,
Tom

-- 
T.S. Dye  Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



Re: [O] Emacs user conference

2012-12-07 Thread Nic Ferrier
Ivan Kanis ivan.ka...@googlemail.com writes:

 Good we got a place! So it will be Stockholm.


 The next question is when?

 I think like you that a week-end is best. I can't think talking about
 emacs for more than two days. I am thinking between April and June
 2013.

That's a shame. I would like to come and present Elnode. But I wouldn't
do a weekend.

My understanding is that the guy who started the emacsconf.herokuapp.com
IS planning to do a conference in London in March/April time.



Nic Ferrier



Re: [O] info for org not found in emacs

2012-12-07 Thread Jude DaShiell
Try /usr/local/info, when I had that problem with org-mode that's where 
the file would end up.On Fri, 7 Dec 2012, Rainer M Krug wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi
 
 I am using org from git using the following commands (in a script):
 
 ##
 cd ~/.emacs.d/org-mode-git/org-mode
 git checkout master
 git fetch --tags origin
 git pull
 git gc
 git checkout master
 make clean
 make
 make autoloads
 make doc
 make info
 ##
 
 But I can't find the info file and get the error message Info-find-file: 
 Info file org does not
 exist.
 
 How can I tell where emacs can find the info file (I assume it is in the doc/ 
 subdirectory?)?
 
 Thanks,
 
 Rainer
 
 - -- 
 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/
 
 iEYEARECAAYFAlDB/CAACgkQoYgNqgF2egoT5wCePFG8JfsokJ6Vyc+/+C3qo2BY
 jvgAnjlyZV2yenyrVDj+1HwMRsd+fhfm
 =AtFN
 -END PGP SIGNATURE-
 
 

---
jude jdash...@shellworld.net
Adobe fiend for failing to Flash





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

2012-12-07 Thread Vikas Rawal

  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.
  
  Seriously seriously?
  

Sorry to interrupt, but may I suggest that we turn our heads back to
the original focus of this thread, the statement on the orgmode
website.

Is Bastien watching this thread? Isn't he the one who has to finally
change it on the website?

Vikas



[O] Linking to Thunderbird

2012-12-07 Thread Christoph Herzog
Today I discovered a really practical add-on for Thunderbird that solved 
my problem of how to linking to a mail in Thunderbird:


https://addons.mozilla.org/de/thunderbird/addon/thunderlink/

(It requires some modification of the mimetypes on your system as 
described in the documentation.)

Next, I set up a file org-thunderlink.el to register the link in orgmode.
The code is not more than this:


(require 'org)

(org-add-link-type thunderlink 'org-thunderlink-open)

(defun org-thunderlink-open (path)
  Opens  a specified email in Thunderbird with the help of the add-on 
ThunderLink.

  ;(message-box path)
  (start-process myname nil xdg-open (concat thunderlink: path)))

(provide 'org-thunderlink)


It works mostly except when Thunderbird is not running and for some 
emails whose id start with a number (but I have to check out).


I would be interested in feedback if someone improves the code above to 
make it right: I'm aware that, as I am not an Elisp programmer, the code 
above is probably not the way to do it. :-)





[O] BUG in org-mobile-create-index-file()

2012-12-07 Thread J. David Boyd

This is in org-mobile.el.

I discovered this while learning to use MobileOrg.

The section of the code that writes out the Priorities (line 462 in org
version 7.9.2) totally ignores the variables org-highest-priority and
org-lowest-priority, and simply sets the #+ALLPRIORITIES value to A B
C.

In my case, I have org-highest-priority set to '1', and
org-lowest-priority set to '5', so I would expect #+ALLPRIORITIES to be
set to 1 2 3 4 5.

My elisp-fu is non-existant, so could someone please fix this to enable
MobileOrg to work more correctly?

Thank you all for your efforts on this great product.   I use Org all
the time, for years now.

Dave in St. Petersburg, FL, USA




[O] TINYCHANGE cookie

2012-12-07 Thread J. David Boyd

What is a TINYCHANGE cookie?  I see it alluded to in many messages about
patches for the Org code base, but googling it has left me with no
information.

Dave




[O] [RESOLVED] Re: TINYCHANGE cookie

2012-12-07 Thread Ian Bryant

On Fri, 2012-12-07 at 19:43 -0500, J. David Boyd wrote:
 What is a TINYCHANGE cookie?  I see it alluded to in many messages about
 patches for the Org code base, but googling it has left me with no
 information.
 
 Dave

If the change is a minor change made by a committer without 
copyright assignment to the FSF, the commit message should also 
contain the cookie TINYCHANGE (anywhere in the message). When 
we later produce the ChangeLog file for Emacs, the change will 
be marked appropriately.

http://orgmode.org/worg/org-contribute.html 

-- 
Happy hacking,

Ian Bryant





[O] two questions about speedbar

2012-12-07 Thread Matt Price
Hi,

I am trying to modify the way speedbar interacts with org files (for
the purpose of the 'writers room' project I've discussed in other
threads).  I wonder if anyone can help me with these two issues:

- when I browse an org file in speedbar (and, interestingly, some org
files don't seem to work with speedbar, though most do) I can't
navigate directly to a headline by clicking on in if it has
subheadings.  Is that everyone else's experience?  Anyone know if it's
possible to change this behaviour?

- instead of navigating to the location of headline in an org buffer
(when I click on a headline in speedbar), I would like to call
org-tree-to-indirect-buffer on that headline.  I'm not sure, but I
think the behaviour of speedbar clicks for org-mode is set in org.el:

(eval-after-load speedbar
  '(progn
 (speedbar-add-supported-extension .org)
 (define-key speedbar-file-key-map  'org-speedbar-set-agenda-restriction)
 (define-key speedbar-file-key-map \C-c\C-x
'org-speedbar-set-agenda-restriction)
 (define-key speedbar-file-key-map  'org-agenda-remove-restriction-lock)
 (define-key speedbar-file-key-map \C-c\C-x
'org-agenda-remove-restriction-lock)
 (add-hook 'speedbar-visiting-tag-hook
   (lambda () (and (derived-mode-p 'org-mode)
(org-show-context 'org-goto))


I'm not entirely sure what that last add-hook statement does, but can
I maybe replace org-goto with org-tree-to-indirect-buffer (or better,
my own custom function)?  In fact I just tried that but it doesn't
seem to have worked, so maybe I have the wrong function.  Any
suggestions?

(and a bonus: if anyone happens to know how I can limit the view in
speedbar to the headlines in a single file, I'd loveto hear about that
too!)



Re: [O] What's new in an orgmode based website

2012-12-07 Thread Tony Day
Hi Vikas,


On 6 Dec 2012, at 11:49, Vikas Rawal vikasli...@agrarianresearch.org wrote:

 I would like to have a section in the index.html that shows links to
 recently changed/added html pages. It would be nice if I could show
 titles of such pages, and create links from these titles to the files.

I'm not sure exactly how to do it purely in org, but 
http://renard.github.com/o-blog/ has similar functionality - if you look 
through the project you might find useful patterns.  The project has a separate 
lisp parser to org-mode but.

An example,

- [[#][/icon-file icon-white/ Tips]]
  - [[file:{lisp}(format %s/%s (ob:path-to-root) (ob:post-htmlfile 
(ob:get-last-post Tips 0))){/lisp}][{lisp}(ob:post-title (ob:get-last-post 
Tips 0)){/lisp}]]
  - [[file:{lisp}(format %s/%s (ob:path-to-root) (ob:post-htmlfile 
(ob:get-last-post Tips 1))){/lisp}][{lisp}(ob:post-title (ob:get-last-post 
Tips 1)){/lisp}]]
  - [[file:{lisp}(format %s/%s (ob:path-to-root) (ob:post-htmlfile 
(ob:get-last-post Tips 2))){/lisp}][{lisp}(ob:post-title (ob:get-last-post 
Tips 2)){/lisp}]]
  - [[file:{lisp}(format %s/%s (ob:path-to-root) (ob:post-htmlfile 
(ob:get-last-post Tips 3))){/lisp}][{lisp}(ob:post-title (ob:get-last-post 
Tips 3)){/lisp}]]
  - [[file:{lisp}(format %s/%s (ob:path-to-root) (ob:post-htmlfile 
(ob:get-last-post Tips 4))){/lisp}][{lisp}(ob:post-title (ob:get-last-post 
Tips 4)){/lisp}]]

Tony






[O] Adding a class to html export of a list

2012-12-07 Thread Tony Day
Hi,

I would like to add a class to a list on html export.  So, this:

#+BEGIN_EXAMPLE 
- [[#][Home]]
- [[#about][About]]
- [[#contact][Contact]]
#+END_EXAMPLE

becomes this:

#+BEGIN_EXAMPLE 
ul class=nav
lia href=#Home/a
/li
lia href=#aboutAbout/a
/li
lia href=#contactContact/a
/li
/ul
#+END_EXAMPLE

I've been back and forth through the docs and I can't place a way to
do it, other than to drop back to raw html (and I love my plain
lists).

Any help appreciated.

tony




Re: [O] texinfo export of @@

2012-12-07 Thread Jonathan Leech-Pepin
Hello Tom,

On Dec 7, 2012 3:35 PM, Thomas S. Dye t...@tsdye.com wrote:

 Aloha Jon,

 With this macro:

 #+MACRO: code @@info:@code{$1}@@

 this Org source:

  {{{code([@@b])}}}

 is exported as:

  @code{[b]@}.

 Any idea how to get @code{[@@b]} instead?

You should be able to simply use ~@@b~ to create @code blocks


 All the best,
 Tom
 --
 T.S. Dye  Colleagues, Archaeologists
 735 Bishop St, Suite 315, Honolulu, HI 96813
 Tel: 808-529-0866, Fax: 808-529-0884
 http://www.tsdye.com


Regards,
Jon


[O] org-export-handle-include-files

2012-12-07 Thread Tony Day
In the current buffer, org-export-handle-include-file overwrites:

#+INCLUDE: ./some-other-file.org

with contents of the other file. For example,

#+BEGIN_EXAMPLE
* other file header
:PROPERTIES:
:OTHER_PROPS: yes
:END:

Contents of the other file.

#+END_EXAMPLE

Is this the intended behaviour?  Is there a method where you can use #+INCLUDE 
without overwriting the current buffer?

tony
tonyday...@gmail.com





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

2012-12-07 Thread James Harkins
Semi-off topic, related to this:

brian powell briangpowel...@gmail.com writes:

 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 had four main uses for emacs:

- Programming in SuperCollider
- Email (wanderlust)
- Editing of Lilypond source files for music notation
- Org

Lilypond was the first to go. Lilypond-mode is basically unmaintained, and its 
code completion is rather poor compared to the dedicated, qt-based editor 
Frescobaldi.

Then SuperCollider 3.6 came out, with a new, dedicated qt-based editor, again 
improving on the code completion available in sclang-mode.

Then I got a tablet and started doing email on it, and lost interest in 
wanderlust.

So now I'm down to using emacs just for org-mode and... that's [expletive] 
spectacular all by itself :)  In the last year, using beamer export for my 
class 
presentations opened my eyes to org-mode as a writing tool. My next paper will 
be written entirely in org-mode, looking forward to that!

hjh