Re: [Orgmode] [BUG] Org-capture breaks if captured-to file is open in a narrowed buffer

2010-09-24 Thread Carsten Dominik


On Sep 23, 2010, at 9:06 PM, David Maus wrote:


David Maus wrote:

Jules Bean wrote:

If I run org-capture with the template:



(t Todo entry (file+headline
/Users/jules/work/TODO.org Tasks) * TODO %?
(Captured at %u)
%i
%a
)


whilst I have narrowed (using, e.g., org-narrow-to-subtree) the  
buffer

that contains TODO.org, a new * Tasks headline is inserted at the
end of my narrowing and the new entry is added there, which messes  
up

the hierarchy of the file.



I can confirm this with



Org-mode version 7.01trans (release_7.01h.497.g59fa)



GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-14 on raven, modified by Debian


Attached should fix this problem.


Looks good to me.

- Carsten



Best,
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
0001-Widen-to-remove-possible-restrictions-in-target- 
buff.patch___

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Yet another way to use maps --- the light way

2010-09-24 Thread Carsten Dominik


On Sep 23, 2010, at 10:17 AM, Sebastian Rose wrote:


Hi,


there is a light and easy way to use google and openstreetmap.org maps
if you define them as a custom link type:


(setq org-link-abbrev-alist
 '((gmap
. http://maps.google.com/maps?q=%s;)
   (omap
 . http://nominatim.openstreetmap.org/search?q=%spolygon=1;)))



Now
 [[gmap:Falkenstr 10, Hannover, Germany][Falkenstraße]]

and
 [[omap:Falkenstr 10, Hannover, Germany]]


I have added these examples to the manual.

Thanks!

- Carsten


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [bug] Gnus author in capture templates not working

2010-09-24 Thread Sébastien Vauban
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Though, for the scheduling part, I don't need a full timestamp: I just want
 to specify when (which day) I intend to work on it, and reply to it. There,
 it'd be cool to have a timestamp with only date and day of the week (no
 time).

 Does this make sense?

 Mh...  I'm not sure. :)

You're right not to be sure...


 Why don't you use a SCHEDULED: %t in this case? You'd still have to
 manually schedule the task correctly, of course.

Yes, that's the (obvious and existing) way to go. Sorry for my stupid
proposition.

Thanks!

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: *.org files showing up as exec files in Snow Leopard

2010-09-24 Thread Graham Smith
Erik

 Do they have their executable bits set?

Not sure how I tell,  googling suggests that an x in the permissions
says its an executable and it has rwx in the permissions (nothing
else) but I see this is the same as other files that aren't labelled
as exec. Indeed every file doc, excel etc is labelled with rwx in the
permission.

But an excel file I have just been sent has permissions -rw-r--r--(644)

Compared with an existing excel file whis has -rwx---(700)

It seems that all the files I brough back from the back up into the
fresh install of Snow Leopard have had their attributes changed to rwx


I think this is very much a Mac problem now, so I will move this to a mac forum.

But thanks for your help.

Graham

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Org-mode screencasts

2010-09-24 Thread Memnon Anon
Richard Moreland r...@ncogni.to writes:

 http://ncogni.to/org-screencasts/1-basics/

,
| This ScreenFlow video requires a more recent version of the Adobe Flash
| Player to display. Please update your version of the Adobe Flash Player.
`

...

?!?!
Gr!!!

wget http://ncogni.to/org-screencasts/1-basics/movie.f4v
vlc movie.f4v 

Aaaah!

Well done :)

Memnon






___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [babel] Environment around exported results

2010-09-24 Thread Sébastien Vauban
Hi Eric,

Eric Schulte wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 Eric Schulte wrote:
 Would you mind creating an LaTeX environment around the =results= block,
 so that we could have the code colorized (via listings or Minted), and
 clearly distinguish the results, if we want so.

 Having an environment would allow one to use non-proportional font for
 the results, or a shadowed background, or...

 Would such an environment be in addition too or in place of wrapping
 results in the example environment?

 I would think of something like this:

 \begin{orgresults}
 ... results block ...
 \end{orgresults}

 so that one can customize the =orgresults= environment in LaTeX to get a
 colored background, another font, etc.

 What would you suggest for tabular results?

 Nothing different for tables: just the same plain default environment
 around the results part.

 One very nice property of the current setup is that it relies solely on
 vanilla Org-mode for export features. If the example export of Org-mode
 allowed some form of customization through a customizable div class or
 latex environment would that be sufficient?

 The name of the environment could be in a variable, yes.

 But please note the above request can come out of a misunderstanding or
 poor knowledge of already existing parametrization of Org-Babel. Put me
 back on tracks if needed...

 I think you've made a good point for adding this functionality.

Thanks ;-)

 I'll put this on the Babel TODO stack, and reply to this email when we get
 something implemented.

FYI, I think it such a thing should be on by default, but with a possibility
to disable it, block per block (or subtree, or file, ...).

Something like a =:nowrapper= header argument?

Many thanks in advance...

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: orgmode as a reference system: Storing private/sensitive information and syncing across devices.

2010-09-24 Thread Sebastian Rose
Paul Sexton psex...@xnet.co.nz writes:
 Check out: http://ccrypt.sourceforge.net/

 There is an emacs package provided, ps-ccrypt.el,  which provides seamless
 loading  saving of encryted files. I have been using it with my org agenda
 file for several months with no problems. 

 Paul


Emacs comes with everything you need. See the epa package in Emacs for
seamless encryption. 

M-x customize-group RET epa RET


  Sebastian

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: From state table to state diagram

2010-09-24 Thread Dan Davison
Gary emacs-orgm...@garydjones.name writes:

 Sorry, I've been rather lax on this :( I got dragged onto other stuff,
 went on training courses, and all sorts of other things.

 Eric Schulte wrote:
 Babel does support generating diagrams with graphviz via dot code
 blocks.  Babel is also capable of converting Org-mode tables to list
 objects in a number of languages, so I'd recommend writing a table-dot
 script in your favorite language, and then using babel to handle the
 coordination and Org-mode integration.

 That's all very easy for you to say :))

 I'm happy to help in this regard, the first step would be something like
 the following example which assumes python is your preferred scripting
 language (as you can see I have no idea what your state table may look
 like)...

 Well, wikipedia suggests the following[1] (and goes into further detail
 as well[2])
 | Current State - | State | State | State |
 | Input   v|   A   |   B   |   C   |
 |--+---+---+---|
 | x|   B   | ...   | ...   |
 | y| ...   |   C   | ...   |
 which basically says that when the machine is in State A and receives
 'x' then it transitions to State B, and when it receives a 'y' in State
 B it transitions to State C.

 #+results: state-table
 | 1 | 2 |
 | 3 | 4 |

 #+source: table-to-dot
 #+begin_src python :var table=state-table
   python code here

 Okay. What should this python code here do? :) I know, it converts a
 table to dot-script, but are there any examples I could look at which
 take a table as input and output something (anything), just so I can see
 how the python code should expect its input?

Hi Gary,

The answer is that python receives that as [[1, 2], [3, 4]]. There are a
few ways to arrive at that answer. For your table-to-dot script I
suspect it is going to be easiest to use the :results output header
argument, which means that the result will be the printed output of the
python block (as opposed to...[1]). So using that, one way to see how
python receives its input is:

#+source: table-to-dot
#+begin_src python :var table=state-table :results output
  print str(table)
#+end_src

#+results: table-to-dot
: [[1, 2], [3, 4]]

Another way is to place point in the code block and use C-c C-v C-v
`org-babel-expand-src-block'.

Alternatively, you might want to use a session to play around with the
input data structure interactively. In that case, add :session, and
use either C-u C-c C-v C-z or C-u C-c C-v z to bring up the emacs python
session with the input variable pre-loaded.

Dan


 #+end_src

 #+begin_src dot :var text=table-to-dot(table=state-table)
   graph{
 $text
   }
 #+end_src

 Once this is working I think it could make a great addition to the
 library of babel [1] (a collection of generally useful code blocks).

 Sure :)

 [1] http://en.wikipedia.org/wiki/Finite-state_machine#Concepts_and_vocabulary
 [2] http://en.wikipedia.org/wiki/State_transition_table


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Footnotes:

[1] As opposed to the default mode in which the result of the block is
the value of the last statement, turned into an Org-mode table if it is
a list/vector type object.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [BUG] Org-capture breaks if captured-to file is open in a narrowed buffer

2010-09-24 Thread David Maus
Carsten Dominik wrote:

On Sep 23, 2010, at 9:06 PM, David Maus wrote:

 David Maus wrote:
 Jules Bean wrote:
 If I run org-capture with the template:

 (t Todo entry (file+headline
 /Users/jules/work/TODO.org Tasks) * TODO %?
 (Captured at %u)
 %i
 %a
 )

 whilst I have narrowed (using, e.g., org-narrow-to-subtree) the
 buffer
 that contains TODO.org, a new * Tasks headline is inserted at the
 end of my narrowing and the new entry is added there, which messes
 up
 the hierarchy of the file.

 I can confirm this with

 Org-mode version 7.01trans (release_7.01h.497.g59fa)

 GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-08-14 on raven, modified by Debian

 Attached should fix this problem.

Looks good to me.

- Carsten

Okay, pushed to master.

 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgppzqaWZQB4C.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] File-level execute permissions?

2010-09-24 Thread Bill Harris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I understand at least the obvious risks in executing source code blocks
inside an unknown org file, but, when I created the org file myself, it
would be nice to be able to export the file without confirming execution
20+ times.  

Is there a header element I can set that asks one time for the entire
file (or session, perhaps) for execute permission?  I think that would
be safer than blindly turning on permission, for I'd at least get one
opportunity to abort exporting if I was surprised by the existence of
src blocks.

Thanks,

Bill
- -- 
Bill Harris  http://makingsense.facilitatedsystems.com/
Facilitated Systems  Everett, WA 98208 USA
http://www.facilitatedsystems.com/   phone: +1 425 374-1845
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkyco4sACgkQ3J3HaQTDvd/80wCfQgv/OSZ7XbH6U2c3F9TbRiMw
G4UAnRSDTxpprkuBhpBRukq9+Qxj3Mmm
=lmZG
-END PGP SIGNATURE-

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: FLOSS Weekly show about Org-mode

2010-09-24 Thread Julien Fantin
Just noticed the interview is available on iTunes.
http://itunes.apple.com/fr/podcast/floss-weekly-136-emacs-org/id368823654?i=87659805

Not sure how I'd watch it if I were on my gnu box though.

Cheers

On Thu, Sep 23, 2010 at 8:57 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:


 On Sep 22, 2010, at 7:49 PM, Memnon Anon wrote:

  Puneeth puncha...@gmail.com writes:

  It was a wonderful interview. Always a pleasure watching Carsten talk
 about org-mode.


 *sigh*, I missed it.
 And my wlan sucks that much, I probably would not have enjoyed a live
 stream.

 So, when can I download the whole thing and watch it after the fact?


 Usually 2 to 3 days...

 - Carsten



 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Requests about the code demarcation

2010-09-24 Thread Sébastien Vauban
Hi Eric and Richard,

Eric Schulte wrote:
 Applied, Thanks

Two comments about that great function:

- Would it be possible to leave the code where it is, and have it selected (in
  a region), when the question about the language is asked?

  Currently, it seems to be temporarily cut, and I sometimes hesitate about
  which language I wanna choose (moreover, when the right language does not
  exist, such as for demarcating an extract of config file). Would the code
  chunk stay visible, it'd be easier...

- Is it possible to envision completion of the language name?  Writing
  =emacs-lisp= could become easier...

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: FLOSS Weekly show about Org-mode

2010-09-24 Thread Charles Philip Chan
Julien Fantin julien.fan...@gmail.com writes:

 Just noticed the interview is available on iTunes.
 http://itunes.apple.com/fr/podcast/floss-weekly-136-emacs-org/id368823654?i=87659805

 Not sure how I'd watch it if I were on my gnu box though.

I downloaded the high quality version from here:

http://www.twit.tv/floss136

and watched it already with mplayer. Great interview.

Charles

-- 
But what can you do with it?  -- ubiquitous cry from Linux-user partner.
(Submitted by Andy Pearce, a...@hpopd.pwd.hp.com)


pgpYO9PM91b5N.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Tips for writing lecture notes in org-beamer?

2010-09-24 Thread Stephen Eglen
Dear all,

Has anyone recently used org-beamer to write lecture notes?  I'm now
updating my lecture notes on a R course, which previously I wrote in
latex with beamer.  I'm intrigued by the possibility of using org mode
directly, although I am yet to be convinced whether it will be any
easier than using auctex directly.  Has anyone written a set of lecture
notes recently in org mode, to persuade me?

For example, see http://www.damtp.cam.ac.uk/user/eglen/emacs/beamer.txt
for how I set up emacs with beamer, so that e.g. the table of contents
feature from reftex-toc works.  Also, I have auctex set up so that C-M-x
sends the current slide to latex for processing, so that I can just
see how the current slide gets typeset rather than recompiling the whole
document.  Can I process just the current slide in org mode?


So far I've found the following two sites useful:

http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html

http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.php
[In this tutorial.php, the link in footnote 1 is brokenn -- how do I
download presentation.org?]


For those interested, my R lecture notes (both .tex and beamer pdf) are
freely available as accompanying material for a paper I wrote last year:

  http://www.ploscompbiol.org/doi/pcbi.1000482

If I make significant progress with org mode and beamer, I'd be happy to
provide extra materials.

Best wishes, Stephen



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: listing org source blocks in LaTeX

2010-09-24 Thread Sébastien Vauban
Hi Thomas,

Thomas S. Dye wrote:
 Has anyone configured the listings package to recognize org source code
 blocks?

 On LaTeX export, I get this:

 \lstset{language=org}

 org-buffer-color() $\equiv$
 \begin{lstlisting}
 #+LaTeX_CLASS_OPTIONS: [color]
 \end{lstlisting}

 The listings package throws an error when it sees language=org.

Normal. It is unknown... unluckily!


 It does just fine with source code blocks in other languages.

I remember that Dan or Eric once told us to play with the following var:

--8---cut here---start-8---
;; mapping between languages (listings in LaTeX) and their major mode
;; (in Emacs)
(setq org-src-lang-modes
  '((ocaml . tuareg)
(elisp . emacs-lisp)
;; (Delphi . perl)
(ditaa . artist)
(asymptote . asy)
(dot . fundamental)))
--8---cut here---end---8---

Though, not sure it's set up in a right way. And, yes, this should be set up
properly in Org, I guess, instead of relying on the users to make this
customization?

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: listing org source blocks in LaTeX

2010-09-24 Thread Eric Schulte

 The listings package throws an error when it sees language=org.

 Normal. It is unknown... unluckily!


I've used the following for org-mode listings

--8---cut here---start-8---
  \lstdefinelanguage{org}
  {
morekeywords={:results, :session, :var, :noweb, :exports},
sensitive=false,
morecomment=[l]{\#},
morestring=[b],
  }
--8---cut here---end---8---

Best -- Eric

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [BUG] Org-capture breaks if captured-to file is open in a narrowed buffer

2010-09-24 Thread Carsten Dominik


On Sep 24, 2010, at 2:29 PM, David Maus wrote:


Carsten Dominik wrote:


On Sep 23, 2010, at 9:06 PM, David Maus wrote:



David Maus wrote:

Jules Bean wrote:

If I run org-capture with the template:



(t Todo entry (file+headline
/Users/jules/work/TODO.org Tasks) * TODO %?
(Captured at %u)
%i
%a
)



whilst I have narrowed (using, e.g., org-narrow-to-subtree) the
buffer
that contains TODO.org, a new * Tasks headline is inserted at  
the

end of my narrowing and the new entry is added there, which messes
up
the hierarchy of the file.



I can confirm this with



Org-mode version 7.01trans (release_7.01h.497.g59fa)



GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-14 on raven, modified by Debian


Attached should fix this problem.



Looks good to me.



- Carsten


Okay, pushed to master.


Thank you for all your work, David.

- Carsten


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: FLOSS Weekly show about Org-mode

2010-09-24 Thread Nick Dokos
Julien Fantin julien.fan...@gmail.com wrote:

 Just noticed the interview is available on iTunes.
 http://itunes.apple.com/fr/podcast/floss-weekly-136-emacs-org/id368823654?i=87659805
 
 Not sure how I'd watch it if I were on my gnu box though.
 

I just went to

  http://twit.tv/floss

and clicked on the Download Video (High) button. I tried the Play Video
button but that crashed my browser (Firefox 3.0.19 with all the relevant 
plugins).

HTH,
Nick


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: FLOSS Weekly show about Org-mode

2010-09-24 Thread John Hendy
On Fri, Sep 24, 2010 at 11:28 AM, Nick Dokos nicholas.do...@hp.com wrote:

 Julien Fantin julien.fan...@gmail.com wrote:

  Just noticed the interview is available on iTunes.
 
 http://itunes.apple.com/fr/podcast/floss-weekly-136-emacs-org/id368823654?i=87659805
 
  Not sure how I'd watch it if I were on my gnu box though.
 

 I just went to

  http://twit.tv/floss

 and clicked on the Download Video (High) button. I tried the Play Video
 button but that crashed my browser (Firefox 3.0.19 with all the relevant
 plugins).


I right clicked and saved the link and it worked great. Maybe just download
it?

Just a thought.

John


 HTH,
 Nick


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: FLOSS Weekly show about Org-mode

2010-09-24 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote:

 On Fri, Sep 24, 2010 at 11:28 AM, Nick Dokos nicholas.do...@hp.com wrote:
 
 Julien Fantin julien.fan...@gmail.com wrote:

  Just noticed the interview is available on iTunes.
  
 http://itunes.apple.com/fr/podcast/floss-weekly-136-emacs-org/id368823654?i=87659805
 
  Not sure how I'd watch it if I were on my gnu box though.
 

 I just went to

  http://twit.tv/floss

 and clicked on the Download Video (High) button. I tried the Play 
 Video
 button but that crashed my browser (Firefox 3.0.19 with all the relevant 
 plugins).
 
 I right clicked and saved the link and it worked great. Maybe just download 
 it?
 
 Just a thought.
 

Just to clarify: The Download Video (High) method worked fine; I was
able to watch it in the browser.

Nick

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Org-mode screencasts

2010-09-24 Thread Raymond Zeitler
Hi Richard:

I really like the video!  I know some Emacs users have custom color screens,
so I was very encouraged that you recorded the tutorial using the default.
(I switched back to the default specifically for Org-mode.)

I also liked seeing the keystrokes (even though I'm a Windows PC user).  I
do know what the Meta key is (having used Emacs for over 10 years.)  But
maybe the Mac command key image could be replaced by M- to be consistent
with Emacs documentation.  I never knew about using M-Up  M-Down to
re-order items, so I did learn from this!

I thought the pace was too fast, actually.  Some of the keystrokes went by
very fast.  And some were missing, although now I realize that you
highlighted only the Org-mode-specific keys and not the ones for Emacs
functions, such as narrowing.  Maybe it's just me, but I never use
narrowing, so those are new keys for me.  Overall I felt that the pace would
be good for a recap.

I tried using Org-mode several months ago.  But I never fully embraced it.
I'm sure tutorials like yours will give me the incentive to use it
regularly.  I definitely look forward to watching more, and I will try hard
to respond often with helpful comments.

I hope this helps!

--
Raymond Zeitler r.zeit...@ieee.org 


-Original Message-
Date: Thu, 23 Sep 2010 20:45:30 -0400
From: Richard Moreland r...@ncogni.to
Subject: Re: [Orgmode] Re: Org-mode screencasts
To: Charles Cave charles_c...@optusnet.com.au
Cc: emacs-orgmode@gnu.org
Message-ID: f359ee5e-d8cf-4728-a3b9-03b01c78d...@ncogni.to
Content-Type: text/plain; charset=us-ascii

I jumped the gun a bit and decided to put together a video showing the very
basics.  It seems overly simple when I re-watch it, but I think it is
helpful for those who are unsure how to get started with the basics of
Org-mode.

http://ncogni.to/org-screencasts/1-basics/

Feedback is welcome, these were the least exciting topics to cover, but I
wasn't sure how to really wow new users without overwhelming them.  I
figured that taking it step by step with short, clear episodes covering
special topics would be a good start.

-Richard

On Sep 23, 2010, at 6:47 PM, Charles Cave wrote:

 Richard Moreland rlm at ncogni.to writes: 
 I think it would be helpful to create a series of screencasts to
 demonstrate Org-mode.  
 
 Great idea!  I would he happy to record a couple of screencasts
 based on tutorials I have written. Currently I am preparing
 a tutorial on date trees and capturing notes to a journal.
 
 I am a Windows user and a screencast tool I use is
 http://www.screenr.com - from Articulate.
 This allows screencasts up to 5 minutes to be recorded
 then hosted on their website.
 
 Charles


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: listing org source blocks in LaTeX

2010-09-24 Thread Sébastien Vauban
Hi Eric,

 The listings package throws an error when it sees language=org.

 Normal. It is unknown... unluckily!

 I've used the following for org-mode listings

   \lstdefinelanguage{org}
   {
 morekeywords={:results, :session, :var, :noweb, :exports},
 sensitive=false,
 morecomment=[l]{\#},
 morestring=[b],
   }

I'll try it out. Thanks!

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Org-mode screencasts

2010-09-24 Thread Stefan Vollmar
Dear Richard,

great job: great voice and an excellent way to get started! - 

ScreenFlow is probably the best (commercial) choice on the Mac, we also used it 
for Carsten's presentation at our institute. - One thing about showing the 
keystrokes: we prefer to use Aquamacs on the Mac (not least because it works 
out-of-the-box with a German keyboard and the usual Mac shortcuts), here Meta 
usually is the Alt key, another argument for not showing the Mac-specific 
Cmd-key icon.

We now use Org-mode to create personal pages for staff members of our 
institute, unfortunately, some parts of the documentation still need an English 
version: http://www.nf.mpg.de/cv-howto/cv-en.html. This example even implements 
hCard markup, http://www.nf.mpg.de/cv-howto/ex3-en.html (this was triggered by 
a suggestion from Shelagh Manton on this list). Your screencast has given me 
some ideas on how to present something on HTML generation with Org-mode as a 
screencast - maybe we can collaborate on this?

Warm regards,
 Stefan

On 24.09.2010, at 05:34, Richard Moreland wrote:

 Erik, thanks for the reminder about folding.  I had it in my script and 
 must've lost it in one of the edits.  I do prefer making these on the Mac.  
 It makes piecing them together much easier.  Recordmydesktop on Linux will do 
 single takes fine, but stitching it together in the end may be a chore.  
 Maybe you guys are good enough to do it all in one take though :)
 
 John, you raise good points about what we can expect of the viewer.  I'm open 
 to suggestions, in fact maybe a 'Just enough Emacs for Org-mode' intro could 
 help newcomers to Emacs who are here just for Org-mode (like I was a year 
 ago).  Some of these issues could also be addressed on the episode's webpage, 
 which would link to relevant docs and info.
 
 As far as some of the missing keystrokes, I was trying to find a balance 
 between showing every keystroke (and risk confusing the user), or just show 
 only the keys with modifiers (my 2 options in the tool, unfortunately).
 
 I've updated the screencast (same URL) to contain a small bit about folding.
 
 Thanks for the comments, I hope we can refine this and make a plan for more 
 as well.
 
 -Richard
 
 On Sep 23, 2010, at 11:09 PM, John Hendy wrote:
 
 Wow, Richard. That was sweet. You even have a pleasing screencaster's 
 voice.
 
 My only thought was along the lines of what one should assume about org-mode 
 viewers. Familiarity with emacs? No knowledge of emacs? I only got into 
 emacs because I found org-mode, so my only thought there is that I might not 
 even have known what meta was... I can't recall, but did you clarify meta 
 = alt on Win/Linux and Command on Mac?
 
 Stuff like that might be helpful. Obviously these won't all be done on a Mac 
 and some unfamiliar with it might wonder what the Command and carat symbols 
 are on their own keyboards?
 
 As Erik said -- folding and perhaps adjusting in and out (meta + 
 left/right). Also, it seems that only the meta or control functions show up 
 as keystrokes. For example, I thought you said M-n s and M-n w to narrow 
 on the tree and then widen the view but I only ever saw one part of that 
 flash on the screen.
 
 Great, great job. Loved it and think this is exactly what Org could use. I 
 have a co-worker who just got emacs and org-mode up on his computer and 
 would love to have something this simple and clear-cut.
 
 
 Great work, again.
 John
 
 On Thu, Sep 23, 2010 at 9:54 PM, Erik Iverson er...@ccbr.umn.edu wrote:
 On 09/23/2010 07:45 PM, Richard Moreland wrote:
 I jumped the gun a bit and decided to put together a video showing the very 
 basics.  It seems overly simple when I re-watch it, but I think it is 
 helpful for those who are unsure how to get started with the basics of 
 Org-mode.
 
 http://ncogni.to/org-screencasts/1-basics/
 
 Feedback is welcome, these were the least exciting topics to cover, but I 
 wasn't sure how to really wow new users without overwhelming them.  I 
 figured that taking it step by step with short, clear episodes covering 
 special topics would be a good start.
 
 
 Really nice, agree that the intro is the least exciting.
 
 But even starting with agendas in the next one, the more interesting things
 can be shown.
 
 Great job!
 
 So with the software you use, you can go and insert/delete/edit voice into 
 the
 presentation once it's complete, or if you want to change the wording in one
 part, do you have to record the whole thing over again?  I assume you can 
 change
 it, but don't know if the Linux tool has that capability.
 
 
 -Richard
 
 On Sep 23, 2010, at 6:47 PM, Charles Cave wrote:
 
 Richard Morelandrlmat  ncogni.to  writes:
 I think it would be helpful to create a series of screencasts to
 demonstrate Org-mode.
 
 Great idea!  I would he happy to record a couple of screencasts
 based on tutorials I have written. Currently I am preparing
 a tutorial on date trees and capturing notes to a journal.
 
 I am a Windows 

Re: [Orgmode] Re: [babel] Environment around exported results

2010-09-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/09/10 11:28, Sébastien Vauban wrote:
 Hi Eric,
 
 Eric Schulte wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 Eric Schulte wrote:
 Would you mind creating an LaTeX environment around the =results= block,
 so that we could have the code colorized (via listings or Minted), and
 clearly distinguish the results, if we want so.

 Having an environment would allow one to use non-proportional font for
 the results, or a shadowed background, or...

 Would such an environment be in addition too or in place of wrapping
 results in the example environment?

 I would think of something like this:

 \begin{orgresults}
 ... results block ...
 \end{orgresults}

 so that one can customize the =orgresults= environment in LaTeX to get a
 colored background, another font, etc.

 What would you suggest for tabular results?

 Nothing different for tables: just the same plain default environment
 around the results part.

 One very nice property of the current setup is that it relies solely on
 vanilla Org-mode for export features. If the example export of Org-mode
 allowed some form of customization through a customizable div class or
 latex environment would that be sufficient?

 The name of the environment could be in a variable, yes.

 But please note the above request can come out of a misunderstanding or
 poor knowledge of already existing parametrization of Org-Babel. Put me
 back on tracks if needed...

 I think you've made a good point for adding this functionality.
 
 Thanks ;-)
 
 I'll put this on the Babel TODO stack, and reply to this email when we get
 something implemented.
 
 FYI, I think it such a thing should be on by default, but with a possibility
 to disable it, block per block (or subtree, or file, ...).
 
 Something like a =:nowrapper= header argument?

Probably even one step further: being able to specify the environment to
be used in a header argument, so we would have three possible scenarios:

1) default (equals to :wrapper orgresults)   : using \begin{orgresults}
... \end{orgresult}
2) :nowrapper  : using no wrapper around the results block
3) :wrapper myEnvironment : using \begin{myEnvironment} ...
\end{myEnvironment}

This could possibly even extended to source blocks as well, enabling the
use of different formating for different source blocks?

Cheers,

Rainer

 
 Many thanks in advance...
 
 Best regards,
   Seb
 


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

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkydEZYACgkQoYgNqgF2egrXKgCfUK66v+huGysHoau6GRWy0wJr
UOAAmQGHseEUyUzI7pap5nB31SAnIN1T
=tkMG
-END PGP SIGNATURE-

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] http git clone

2010-09-24 Thread Skip Collins
Doing git clone http://repo.or.cz/w/org-mode.git gives the warning:
remote HEAD refers to nonexistent ref, unable to checkout.
Perhaps someone needs to run git update-server-info in the repo.
Is the post-update hook not executable?

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] ditaa set-up on windows box

2010-09-24 Thread Markus Heller
Hello everyone,

this might be a little OT, but I'm having a hard time to get ditaa to
run properly.  The org-mode part works, it's the Java part that's giving
me trouble, I'm getting loads of Exception in thread main
java.lang.misc stuff goes here errors, and I have no Java experience
whatsoever. 

I'm on a windoze XP box, and I was wondering if a fellow user might be
willing to share his/her set-up.

Thanks and Cheers
Markus


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] orgmode as a reference system: Storing private/sensitive information and syncing across devices.

2010-09-24 Thread Greg Troxel

  That being said, I store all my sensitive information in a huge
  reference.org file that is added to the agenda. I sync this (among
  other org files) to MobileOrg through a HTTPS-secured WebDav server.

I do this, but I use my own server, not dropbox.

It would be nice if there were some interoperable crypto between
MobileOrg and org, so that the server files were encrypted.


pgpuuVdD0HFli.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] ditaa set-up on windows box

2010-09-24 Thread John Hendy
Interesting. I use Linux but have a Win XP box at work and set up Org-mode
for a co-worker so that I would know how to set it up on Windows for him. I
didn't have any trouble, actually.

I just put:
(setq org-ditaa-jar-path C:/Program
Files/emacs23/org.git/contrib/scripts/ditaa.jar)

and

(org-babel-do-load-languages
 'org-babel-load-languages
 '((ditaa . t)))

in init.el and all worked fine. One thing you might try is running ditaa
right from the command line. I haven't done this on Windows, but the Linux
command would be:

Make the file ditaa.txt and copy this into it (from
http://ditaa.sourceforge.net/):

++   +---++---+
|| --+ ditaa +-- |   |
|  Text  |   +---+|diagram|
|Document|   |!magic!||   |
| {d}|   |   ||   |
+---++   +---++---+
: ^
|   Lots of work  |

+-+

Save the file and run java -jar /path/to/ditaa.jar ditaa.txt and see what
happens.

If it works, something's goofed with the org-mode setup. If it doesn't work,
something else is goofy.

Sorry I can't help more!
John


On Fri, Sep 24, 2010 at 6:41 PM, Markus Heller helle...@gmail.com wrote:

 Hello everyone,

 this might be a little OT, but I'm having a hard time to get ditaa to
 run properly.  The org-mode part works, it's the Java part that's giving
 me trouble, I'm getting loads of Exception in thread main
 java.lang.misc stuff goes here errors, and I have no Java experience
 whatsoever.

 I'm on a windoze XP box, and I was wondering if a fellow user might be
 willing to share his/her set-up.

 Thanks and Cheers
 Markus


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] http git clone

2010-09-24 Thread John Hendy
Works fine for me... though it's http://repo.or.cz/r/org-mode.git (you have
/w/).

See this page:
http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development

http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-developmentTry
this: git clone http://repo.or.cz/r/org-mode.git; and see if that works.

I just did it and it worked.


John

On Fri, Sep 24, 2010 at 5:43 PM, Skip Collins skip.coll...@gmail.comwrote:

 Doing git clone http://repo.or.cz/w/org-mode.git gives the warning:
 remote HEAD refers to nonexistent ref, unable to checkout.
 Perhaps someone needs to run git update-server-info in the repo.
 Is the post-update hook not executable?

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Org-Mode as core-modul of an open-source Emacs-ERP

2010-09-24 Thread Anonymus
I recently discovered Emacs as a great tool for almost everything, not easily 
accessible, but with incredible depth. I will have to fight the steep learning 
curve for many more month to become something like a routine Auctex, ESS, ECB, 
GNUS, ORG ... user, to name just a few. 
However, the newcomers view is sometimes fresh and unconventional, and I would 
like to present an idea I had after getting an overview of Emacs powers.

I'm interested in open source ERP (Enterprise Ressource Planning) software. 
There is an emerging market for free ERP software services with great 
potential, 
since nowadays SAP, Oracle and Microsoft earn a lot of money with high licence 
fees in this sector.  
The most popular Open Source ERP is OpenERP (with quality-focussed fork 
Tryton), 
both written in Python as GUI-based Client Server (Web-)Applications on top of
a Postgres DB. OpenERP has a lot of quality problems, 500 modules but some are 
just crap and don't even work. There is quit a lot of marketing going on, but 
the software often cannot stand up to the hype.

The main modules of OpenERP are:
-CRM (Customer Relationship Management)
-Purchase
-Manufacturing
-Warehouse Management
-Project Management
-Accounting
-Human Resources 

Now in Emacs, there is similar functionality (and much more of course):
-Accounting: Ledger
-Warehouse Management: Ledger (same double entry accounting principle)
-Project Management: TaskJuggler, Org
-CRM (Customer Relationship Management):Org, BBDB 
-Human Resources: Org, BBDB 
-Purchase ?
-Manufacturing ?

In addition, Emacs is one of the preferred tool for scientists, programmers and 
writers. More or less all the Functions of a typical ERP can be realized with 
Emacs, and many smart individuals merge all this power-modes to one incredibly 
productive work environment. 

What is missing (in my eyes) is something like an erp-minor-mode that glues the 
scattered emacs modes together to an fully integrated ERP system, that works 
out-of-the-box without weeks and month of websearching, downloading and 
configuration. This could be called a verticalization of Emacs for the use as 
an ERP software. erp-mode would need a completly new menu based on the ERP 
functionality listed above, and it would be nice to have two flavors (something 
like SuSi-ERP = 'Super Simple ERP' and xPro-ERP = 'Extreme Productivity ERP'), 
the first with very reduced funcionality/keymap.

Org-Mode would of course be the core of an Emacs ERP, and it alone probably has 
almost all the needed functionality. It has to be a client/server- application, 
and collaboration is very important (version control).  

USP would be extreme productivity, very stable environment, no vendor lock in 
(textfiles) etc. Buisiness model is consulting, integration, customization, 
training (!) and SaaS, like always. 
Targetgroup would be small to medium companies and organizations which are 
dominated by highly qualified personnal (IT, Research, Finance, Securities...), 
all sectors where expert users (statisticans, programmers etc) could be early 
adopters and multipliers. 

I feel that Emacs/Org is an extremely good product with almost zero marketing 
(just the opposite to some of the other products on the market). May be there
is just a little glue code necessary and one would have by far the best ERP 
System 
on the market, and people could start consulting-services/-companies around 
Emacs-ERP/Org and actually earn money with it. Lots of money, like SAP-
consultants today.

Imagine a company where everybody, from the accountant to the analyst and 
programmer uses emacs, some only 2%, others 80% of the functionality. extremely 
productive and competitive, and all the knowledge is in the house. 

Just my 2 cents (ok, 20 cents )




   

 


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] File-level execute permissions?

2010-09-24 Thread Noorul Islam
On Fri, Sep 24, 2010 at 6:41 PM, Bill Harris
bill_har...@facilitatedsystems.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I understand at least the obvious risks in executing source code blocks
 inside an unknown org file, but, when I created the org file myself, it
 would be nice to be able to export the file without confirming execution
 20+ times.

 Is there a header element I can set that asks one time for the entire
 file (or session, perhaps) for execute permission?  I think that would
 be safer than blindly turning on permission, for I'd at least get one
 opportunity to abort exporting if I was surprised by the existence of
 src blocks.


How about setting `org-confirm-babel-evaluate' to nil

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode