[Orgmode] Re: Ctrl-c a a does not switch automatically to agenda view

2009-06-16 Thread Tassilo Horn
Willi Richert w.rich...@gmx.net writes:

Hi Willi,

 if I invoke org-agenda-list it opens the list in a not visible
 buffer. I have to manually switch to that buffer all the time.

This behavior doesn't sound like a problem of the org configs, and what
you've posted looks sane.  Instead I think it may have something to do
with some variable influencing functions like `display-buffer'.
Something like `split-window-preferred-function' maybe.

Or maybe `display-buffer-reuse-frames' is set to true and the agenda is
already shown in another emacs frame on a different workspace.  In that
case, the frame is focussed, but you won't notice it cause it's on an
different workspace.

Bye,
Tassilo
-- 
Richard Stallman takes notes in binary.



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


[Orgmode] argument to org-revert-all-org-buffers

2009-06-16 Thread Chris Gray
Hello,

I think it would be nice if org-revert-all-org-buffers took an argument
so that it worked non-interactively when the argument is non-nil.  This
would mirror the function save-some-buffers, so that one can do
something like:

emacsclient -e (save-some-buffers t)
git pull
emacsclient -e (org-revert-all-org-buffers t)

from a script.

Cheers,
Chris



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


Re: [Orgmode] Org video for the SourceForge Commmunity Choices Award 2009

2009-06-16 Thread Ian Barton



I managed to create a short video for the SCCA 2009:

  http://www.youtube.com/watch?v=TlTDSX0vRiA
  http://vimeo.com/5155665 (for those who prefer)




Just watched it this morning. What a great advert for org mode. 
Congratulations to Bastien and all the other contributors.


Ian.


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


[Orgmode] user-defined agenda sorting

2009-06-16 Thread Samuel Wales
I have a sort comparison function for the outline, which
returns a number.  This works well.

The documentation for user-defined agenda sorting says This
function must receive two arguments, agenda entry a and b.
I am not sure what a and b are, strings?

My function gets priorities, tags, and todo kw assuming point is on a
headline.  It uses org functions to get those.  The org code for
agenda sorting uses text properties.

How to adapt my function to get the following information: priorities
as [?A..?C], inherited and local tags as a list, and todo kw as a
string?

Is there a place where how to parse a and b is documented?

Thanks.

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


Re: [Orgmode] Org video for the SourceForge Commmunity Choices Award 2009

2009-06-16 Thread Samuel Wales
Great video.

On Mon, Jun 15, 2009 at 07:03, Bastienbastiengue...@googlemail.com wrote:
 Hi all,

 I managed to create a short video for the SCCA 2009:

  http://www.youtube.com/watch?v=TlTDSX0vRiA
  http://vimeo.com/5155665 (for those who prefer)

 Chritopher Baker kindly allowed me to use some of his great
 video material from his Hello world! project:

  http://christopherbaker.net/projects/helloworld/

 I also used Manish's great code swarm video:

  http://www.vimeo.com/4581697

 And an electro song by Silence:

  http://www.jamendo.com/fr/album/395

 I hope you'll like the video!

 Thanks,

 --
  Bastien


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




-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


Re: [Orgmode] properties drawer indentation

2009-06-16 Thread Samuel Wales
Thanks!

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


[Orgmode] Re: user-defined agenda sorting

2009-06-16 Thread Samuel Wales
If my skills at cargo-cult programming can summon the air force, then
(get-text-property 1 'priority a/b] will work.  But I'm not sure if
there are functions for parsing tags etc.  Testing seems difficult as
cut and paste of headline strings seems to not include properties.

Thanks.

On Tue, Jun 16, 2009 at 01:57, Samuel Walessamolog...@gmail.com wrote:
 I have a sort comparison function for the outline, which
 returns a number.  This works well.

 The documentation for user-defined agenda sorting says This
 function must receive two arguments, agenda entry a and b.
 I am not sure what a and b are, strings?

 My function gets priorities, tags, and todo kw assuming point is on a
 headline.  It uses org functions to get those.  The org code for
 agenda sorting uses text properties.

 How to adapt my function to get the following information: priorities
 as [?A..?C], inherited and local tags as a list, and todo kw as a
 string?

 Is there a place where how to parse a and b is documented?

 Thanks.

 --
 Myalgic encephalomyelitis denialism is causing death and severe suffering,
 worse than MS.  Conflicts of interest are destroying research.  /You/ can
 get the disease at any time permanently.  Do science and justice matter to
 you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


Re: [Orgmode] Creating iCal from org files without Emacs

2009-06-16 Thread Bastien
(Looks like this didn't get an answer yet.)

Richard Riley rileyrg...@googlemail.com writes:

 I was wondering if possibly anyone has created a bash
 script/python/anything to produce an iCal export from a bunch of
 org-files? 

I've cron'ed this script:

,
| #!/bin/bash
| 
| /usr/local/bin/emacs --batch --eval \
| (progn (load-file \~/install/git/org-mode/org.el\) \
| (load-file \~/elisp/config/org-batch-config.el\) \
| (setq org-combined-agenda-icalendar-file \~/org/cal/org.ics\)
| (setq org-agenda-files (quote (\~/org/bzg.org\ \
| -f org-export-icalendar-combine-agenda-files
`

Customize it to your needs.

Then cron another script which upload the resulting org.ics file onto a
webpage that my Google Calendar fetches.

HTH,

-- 
 Bastien


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


[Orgmode] Re: Hosed configuration

2009-06-16 Thread Bernt Hansen
Birch Browning birch.brown...@gmail.com writes:

 Birch Browning birch.browning at gmail.com writes:

 Earlier today I tried to update my org-mode/remember stuff following
 http://doc.norang.ca/org-mode.html. Somehow I hosed my org-mode/remember 
 config
 so I started over from scratch. (See http://pastebin.com/m1937d804). I STILL 
 get
 an error when I try to use ANY template what-so-ever: wrong type of argument:
 listp, 5. If I remove (org-remember-insinuate) I don't get the error, but I 
 only
 store a note in a file NOT listed as an agenda file in the configuration:
 (~/.notes).This leads me to believe that some org-mode/agenda/remember stuff 
 is
 stored in an 'undisclosed location' and that perhaps that has something funny
 stored in it. Is there a way to clear that cached info?
 I'm stumped and damn near desperate to get back to work.Help, please ...

 Thumper_ on #org-mode helped me get started from scratch with a new .emacs 
 file.
 I must have hosed something but good ...

 Thanks Thumper_!

You're most welcome :)

-Bernt (aka Thumper_)


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


Re: [Orgmode] Creating iCal from org files without Emacs

2009-06-16 Thread Bastien
I've also created a FAQ entry about this:

How can I tell my calendar web application about appointments in my
agenda files?

Bastien bastiengue...@googlemail.com writes:

 (Looks like this didn't get an answer yet.)

 Richard Riley rileyrg...@googlemail.com writes:

 I was wondering if possibly anyone has created a bash
 script/python/anything to produce an iCal export from a bunch of
 org-files? 

-- 
 Bastien


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


Re: [Orgmode] Org-Mode Demo

2009-06-16 Thread Bastien
sran...@gmail.com writes:

 Ok, I guess sending this as an attachment isn't going to work. So, below
 is a link to a Beamer presentation that is intended to give the viewer a
 taste of what can be done with org-mode.

 http://www3.uakron.edu/randby/orgmode/demo.pdf

Nice.  Three tiny suggestions:

- have a conclusive slide?
- use a better font for tables, align tags
- upload it somewhere (like slideshare.net)

 Originally, I was going to make a video, but getting good resolution on
 the video was too much trouble. I will post a link to the demo on Worg
 as soon as I get around to it.

Thanks!

-- 
 Bastien


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


Re: [Orgmode] A tool for creating source code files from example and src blocks in org files

2009-06-16 Thread Bastien
Eric H. Neilsen, Jr. neil...@fnal.gov writes:

 Is there any interest in this? 

Yes.  It's been a long time I want to use Org for literate programming,
I think it's just the right tool to do this.

Please send any code we can test!

 (If anyone feels like rewriting it, that would be even better; aside
 from a fairly straightforward .emacs, this is my first ever lisp code,
 so it is likely to need cleaning and refactoring.)

I may help if I have some time.

-- 
 Bastien


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


[Orgmode] Organize Your Life In Plain Text! - Change History

2009-06-16 Thread Bernt Hansen
Hi Everyone,

I received a request to provide change log history for my Organize Your
Life In Plain Text! document[*1*] so that frequent visitors can just
see the new (interesting) changes without rereading the entire document.

I've moved the source of this document into a separate git repository
and posted the history online[*2*].  The overview section of the
document has a link to the git repository history so you can see what
has changed.  The 'commitdiff' link shows the changes in each commit.

Regards,
Bernt

[*1*] http://doc.norang.ca/org-mode.html

[*2*] http://git.norang.ca/?p=org-mode-doc.git;a=summary


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


Re: [Orgmode] Org-Mode Demo

2009-06-16 Thread srandby

Bastien wrote:

sran...@gmail.com writes:


Ok, I guess sending this as an attachment isn't going to work. So, below
is a link to a Beamer presentation that is intended to give the viewer a
taste of what can be done with org-mode.

http://www3.uakron.edu/randby/orgmode/demo.pdf


Nice.  Three tiny suggestions:

- have a conclusive slide?
- use a better font for tables, align tags
- upload it somewhere (like slideshare.net)


I admit the demo is rough. I had to quit working on it in order to do my 
regular work. Adding a concluding slide shouldn't be hard though. As the 
method I used to make the demo is highly inefficient, it would be too 
much work to change the font, so I'm not going to do that. Anyway, I 
happen to like the font. :)


I didn't realize until you mentioned it that slideshare.net could take 
pdf files. I was thinking about putting the demo on Scribd, but not in 
its present form. Maybe slideshare.net is a better place. I'll check it out.


One problem, which is a result of the way I made the demo, is the large 
size of the pdf. I'm thinking about trying another method which should 
decrease the file size dramatically. But that will have to wait for awhile.





Originally, I was going to make a video, but getting good resolution on
the video was too much trouble. I will post a link to the demo on Worg
as soon as I get around to it.


Thanks!





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


Re: [Orgmode] Docbook export error...

2009-06-16 Thread Madhu Rao

Carsten,
I don't seem to have this problem on the latest pull. Don't know
what resolved it.

Thanks, Madhu

On 12-Jun-09, at 9:54 AM, Carsten Dominik wrote:


I cannot reproduce this.

- Carsten

On Jun 11, 2009, at 6:16 PM, Madhu Rao wrote:


Thanks Carsten for the response.



Most likely you have downloaded Org from the web (from git???) but  
not built

org-install.el by running make.



I have been using the git version (only yesterday I had download  
after

you fixed the other problem related to org-protecting-blocks and
could not access git repository). And I have not byte-compiled  
before.



I tried make on the git version now, I get this error:


In toplevel form:
lisp/org-exp.el:31:1:Error: Symbol's value as variable is void: org- 
protecting-blocks

make: *** [lisp/org-exp.elc] Error 1



Or you are not doing (require 'org-install) in .emacs.

Please read the installation section in the manual.

- Carsten
On Jun 11, 2009, at 6:09 AM, Madhu Rao wrote:

Hi, I get this when I try exporting to docbook. Could you please  
help?


Debugger entered--Lisp error: (wrong-type-argument commandp org- 
export-as-docbook)

call-interactively(org-export-as-docbook)
(if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set- 
process-sentinel p ...) (message Background process \%s\:  
started p)) (call-interactively (nth 1 ass)))
(let* ((bg ...) (help [t]   insert the export option template 
\n[v]   limit export to visible part of outline tree\n\n[a]  
export as ASCII   [A] to temporary buffer\n\n[h] export as  
HTML[H] to temporary buffer   [R] export region\n[b] export  
as HTML and open in browser\n\n[l] export as LaTeX   [L] to  
temporary buffer\n[p] export as LaTeX and process to PDF\n[d]  
export as LaTeX, process to PDF, and open the resulting PDF  
document\n\n[D] export as DocBook\n[V] export as DocBook, process  
to PDF, and open the resulting PDF document\n\n[x] export as XOXO 
\n\n[i] export current file as iCalendar file\n[I] export all  
agenda files as iCalendar files\n[c] export agenda files into  
combined iCalendar file\n\n[F] publish current file  [P]  
publish current project\n[X] publish a project...  [E]  
publish every projects) (cmds ...) r1 r2 ass) (save-excursion  
(save-window-excursion ... ... ... ... ...)) (setq r2 (if ... ...  
r1)) (unless (setq ass ...) (error No command associated with  
key %c r1)) (if (and bg ... ... ...) (let ... ... ...) (call- 
interactively ...)))

org-export(nil)
call-interactively(org-export)



___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [Buglet] issue where org-agenda always prints to PostScript with faces

2009-06-16 Thread Manish
  On Tue, Jun 16, 2009 at 9:49 AM, James wrote:
   If you tweak org-agenda-custom-commands to create a PostScript version
   of your agenda (for example by following this link...
  
   http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php#sec-5.4
  
   ) ... and like me you happen to use a dark background in Emacs
   (set-face-background 'default black), you end up with PostScript
   files which take account of your background colour. In my case if I
   were to actually print my agenda on a printer, I'd probably drain it
   of black ink! :-)
  
   This problem appears to be because org-agenda always prints using
   ps-print-buffer-with-faces.
  
   Please could a variable be added such that for awkward users like me
   org-mode would use ps-print-buffer instead.

A similar issue was dicussed in this thread
http://thread.gmane.org/gmane.emacs.orgmode/12719

HTH

-- 
Manish


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


Re: [Orgmode] Org-Mode Demo

2009-06-16 Thread Bastien
sran...@gmail.com writes:

 I admit the demo is rough. I had to quit working on it in order to do my
 regular work. Adding a concluding slide shouldn't be hard though. As the
 method I used to make the demo is highly inefficient, it would be too
 much work to change the font, so I'm not going to do that. Anyway, I
 happen to like the font. :)

Yeah, I was just being fussy about the |---+ sequence of characters in
the table not being aligned...  no problem.


 I didn't realize until you mentioned it that slideshare.net could take
 pdf files. I was thinking about putting the demo on Scribd, but not in
 its present form. Maybe slideshare.net is a better place. I'll check it
 out.

Don't know if slideshare is better but it's definitely more suitable
for presentations.

 One problem, which is a result of the way I made the demo, is the large
 size of the pdf. I'm thinking about trying another method which should
 decrease the file size dramatically. But that will have to wait for
 awhile.

No hurry!  Thanks,

-- 
 Bastien


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


[Orgmode] Re: Docbook export error...

2009-06-16 Thread Baoqiu Cui
Hi Madhu,

Madhu Rao bgm...@gmail.com writes:

 Carsten,
   I don't seem to have this problem on the latest pull. Don't know
   what resolved it.

You might have run into the same problem that I ran into (see messages
posted recently with subject Compilation error about
org-protecting-blocks).

AFAIK, this problem is finally gone after a small patch to Makefile is
applied to swap the order of lisp directories during compilation.

Baoqiu

 Thanks, Madhu

 On 12-Jun-09, at 9:54 AM, Carsten Dominik wrote:

 I cannot reproduce this.

 - Carsten

 On Jun 11, 2009, at 6:16 PM, Madhu Rao wrote:

 Thanks Carsten for the response.


 Most likely you have downloaded Org from the web (from git???) but
 not built
 org-install.el by running make.


 I have been using the git version (only yesterday I had download
 after
 you fixed the other problem related to org-protecting-blocks and
 could not access git repository). And I have not byte-compiled
 before.


 I tried make on the git version now, I get this error:

 
 In toplevel form:
 lisp/org-exp.el:31:1:Error: Symbol's value as variable is void: org- 
 protecting-blocks
 make: *** [lisp/org-exp.elc] Error 1
 

 Or you are not doing (require 'org-install) in .emacs.

 Please read the installation section in the manual.

 - Carsten
 On Jun 11, 2009, at 6:09 AM, Madhu Rao wrote:

 Hi, I get this when I try exporting to docbook. Could you please
 help?

 Debugger entered--Lisp error: (wrong-type-argument commandp org- 
 export-as-docbook)
 call-interactively(org-export-as-docbook)
 (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set- 
 process-sentinel p ...) (message Background process \%s\:
 started p)) (call-interactively (nth 1 ass)))
 (let* ((bg ...) (help [t]   insert the export option template
 \n[v]   limit export to visible part of outline tree\n\n[a]  export
 as ASCII   [A] to temporary buffer\n\n[h] export as  HTML[H] to
 temporary buffer   [R] export region\n[b] export  as HTML and open
 in browser\n\n[l] export as LaTeX   [L] to  temporary buffer\n[p]
 export as LaTeX and process to PDF\n[d]  export as LaTeX, process
 to PDF, and open the resulting PDF  document\n\n[D] export as
 DocBook\n[V] export as DocBook, process  to PDF, and open the
 resulting PDF document\n\n[x] export as XOXO \n\n[i] export current
 file as iCalendar file\n[I] export all  agenda files as iCalendar
 files\n[c] export agenda files into  combined iCalendar file\n\n[F]
 publish current file  [P]  publish current project\n[X]
 publish a project...  [E]  publish every projects) (cmds
 ...) r1 r2 ass) (save-excursion  (save-window-excursion
 ... ... ... ... ...)) (setq r2 (if ... ...  r1)) (unless (setq ass
 ...) (error No command associated with  key %c r1)) (if (and bg
 ... ... ...) (let ... ... ...) (call- 
 interactively ...)))
 org-export(nil)
 call-interactively(org-export)




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


[Orgmode] Re: Org video for the SourceForge Commmunity Choices Award 2009

2009-06-16 Thread Sivaram Neelakantan
Bastien bastiengue...@googlemail.com writes:

 Hi all,

 I managed to create a short video for the SCCA 2009:

   http://www.youtube.com/watch?v=TlTDSX0vRiA
   http://vimeo.com/5155665 (for those who prefer)

 Chritopher Baker kindly allowed me to use some of his great
 video material from his Hello world! project:

   http://christopherbaker.net/projects/helloworld/

 I also used Manish's great code swarm video:

   http://www.vimeo.com/4581697

 And an electro song by Silence:

   http://www.jamendo.com/fr/album/395

 I hope you'll like the video!

 Thanks,


[snipped 10 lines]

Excellent.  A little more ominous Carsten voice, we could scare the
viewer into trying org mode. :-)

 sivaram
 -- 



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


Re: [Orgmode] Org-Mode Demo

2009-06-16 Thread srandby

Bastien wrote:

sran...@gmail.com writes:


I admit the demo is rough. I had to quit working on it in order to do my
regular work. Adding a concluding slide shouldn't be hard though. As the
method I used to make the demo is highly inefficient, it would be too
much work to change the font, so I'm not going to do that. Anyway, I
happen to like the font. :)


Yeah, I was just being fussy about the |---+ sequence of characters in
the table not being aligned...  no problem.


I just took another look at the pdf in two different viewers. In both 
viewers, the table characters are aligned except for a few slides where 
they are purposely not aligned. I thought the fonts where embedded in 
the pdf, but maybe they aren't. Would you be kind enough to take another 
look at the pdf and the table character alignment?


Scott




I didn't realize until you mentioned it that slideshare.net could take
pdf files. I was thinking about putting the demo on Scribd, but not in
its present form. Maybe slideshare.net is a better place. I'll check it
out.


Don't know if slideshare is better but it's definitely more suitable
for presentations.


One problem, which is a result of the way I made the demo, is the large
size of the pdf. I'm thinking about trying another method which should
decrease the file size dramatically. But that will have to wait for
awhile.


No hurry!  Thanks,





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


Re: [Orgmode] Org-Mode Demo

2009-06-16 Thread srandby

Bastien wrote:

sran...@gmail.com writes:


I admit the demo is rough. I had to quit working on it in order to do my
regular work. Adding a concluding slide shouldn't be hard though. As the
method I used to make the demo is highly inefficient, it would be too
much work to change the font, so I'm not going to do that. Anyway, I
happen to like the font. :)


Yeah, I was just being fussy about the |---+ sequence of characters in
the table not being aligned...  no problem.


I see what you mean now. The - and the + characters are not aligned 
in the font I used. I hadn't noticed that before.


Scott




I didn't realize until you mentioned it that slideshare.net could take
pdf files. I was thinking about putting the demo on Scribd, but not in
its present form. Maybe slideshare.net is a better place. I'll check it
out.


Don't know if slideshare is better but it's definitely more suitable
for presentations.


One problem, which is a result of the way I made the demo, is the large
size of the pdf. I'm thinking about trying another method which should
decrease the file size dramatically. But that will have to wait for
awhile.


No hurry!  Thanks,






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


[Orgmode] .emacs works on Mac but not on Ubuntu

2009-06-16 Thread Graham Smith
I have gone back to using Ubuntu and in the past I used to copy any
updates of the .emacs file from Ubuntu to the Mac. So I expected to be
able to copy the .emacs from the Mac to the newly installed Ubuntu.

But it isn't loading the current version of Org-mode, I am getting
4.67 where I should be getting 6.xx. The EmacsAddins folder has been
copied from my Mac home directory into my Ubuntu home directory.

Has anyone any idea where  the errors might be.

Many thanks,

Graham

The lines in my emacs are

(setq load-path (cons ~/EmacsAddins/OrgMode/lisp load-path))
(setq load-path (cons ~/EmacsAddins/OrgMode/contrib/lisp load-path))
(setq org-hide-leading-stars t)

(require 'org-install)
(require 'org-mouse)
(load org-R)

;; The following lines are always needed. Choose your own keys.
(add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
(global-set-key \C-cb 'org-iswitchb)

(global-font-lock-mode 1); for all buffers
;;(add-hook 'org-mode-hook 'turn-on-font-lock) ; Org buffers only

;Basic Remember;;

(add-to-list 'load-path ~/EmacsAddins/remember)


;;Remember plus Org-Mode;;;

(org-remember-insinuate)


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


[Orgmode] In response to: .emacs works on Mac but not on Ubuntu

2009-06-16 Thread Jere McDevitt
Apologize for having to start a new thread, but I just signed up to the
mailing list and since I didn't have the original message to reply to.

What may be happening is that Ubuntu has a default version of org-mode
pre-installed in the primary load path directories, so that is what is being
picked up and not your latest version.  To check that, type

dpkg --list | grep org

and see if org mode was installed by the package manager.  If so, just do a
normal remove and see if that doesn't take care of it.

Jere
http://news.gmane.org/find-root.php?message_id=%3c2c75873c0906161257v9f2ad99pa80364ebb0febb50%40mail.gmail.com%3e
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] In response to: .emacs works on Mac but not on Ubuntu

2009-06-16 Thread Graham Smith
Jere,

 What may be happening is that Ubuntu has a default version of org-mode
 pre-installed in the primary load path directories, so that is what is being
 picked up and not your latest version.  To check that, type

 dpkg --list | grep org

 and see if org mode was installed by the package manager.  If so, just do a
 normal remove and see if that doesn't take care of it.

I can't check this just now (as I don't have access to my ubuntu
machine at the moment)  but as I understand it Org-mode is distributed
with Emacs now, but the commands in the .emacs file over ride the
built in version and use the version in the path set up in .emacs.
That is what happens on the Mac, unless I have misunderstood.

Thanks,

Graham


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


Re: [Orgmode] In response to: .emacs works on Mac but not on Ubuntu

2009-06-16 Thread jere.mcdevitt
Debian based distros are doing some odd things with emacs packages by placing 
additional global load scripts in /etc/emacs.  I haven't fully figured out when 
they get called, but it might be they get called before your init file does.

I know I removed the default org mode install on my Ubuntu machine and haven't 
seen any problems.

-Original Message-

From:  Graham Smith myotis...@gmail.com
Subj:  Re: [Orgmode] In response to: .emacs works on Mac but not on Ubuntu
Date:  Tue Jun 16, 2009 5:31 pm
Size:  968 bytes
To:  emacs-orgmode@gnu.org

Jere,

 What may be happening is that Ubuntu has a default version of org-mode
 pre-installed in the primary load path directories, so that is what is being
 picked up and not your latest version.  To check that, type

 dpkg --list | grep org

 and see if org mode was installed by the package manager.  If so, just do a
 normal remove and see if that doesn't take care of it.

I can't check this just now (as I don't have access to my ubuntu
machine at the moment)  but as I understand it Org-mode is distributed
with Emacs now, but the commands in the .emacs file over ride the
built in version and use the version in the path set up in .emacs.
That is what happens on the Mac, unless I have misunderstood.

Thanks,

Graham


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

--- message truncated ---



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


Re: [Orgmode] In response to: .emacs works on Mac but not on Ubuntu

2009-06-16 Thread Nick Dokos
Graham Smith myotis...@gmail.com wrote:


  What may be happening is that Ubuntu has a default version of org-mode
  pre-installed in the primary load path directories, so that is what is being
  picked up and not your latest version.  To check that, type
 
  dpkg --list | grep org
 
  and see if org mode was installed by the package manager.  If so, just do a
  normal remove and see if that doesn't take care of it.
 
 I can't check this just now (as I don't have access to my ubuntu
 machine at the moment)  but as I understand it Org-mode is distributed
 with Emacs now, but the commands in the .emacs file over ride the
 built in version and use the version in the path set up in .emacs.
 That is what happens on the Mac, unless I have misunderstood.
 

Jere may be right: I recall previous discussions on the list that
indicated this kind of problem. You might want to check for the existence
of /etc/emacsXXX/site-start.d/50org-mode.el.

I can't find a reference to this mail in the archive (the thread seems to have
been cut off somehow), but I found it in my archive: Scot Becker had
pointed out the existence of this file to Eraldo Helal and that turned out
to be the problem. Here is what Eraldo had to say about it:

,
| 
| Sender: Eraldo Helal ad...@eraldo.at
| From: Eraldo Helal off...@eraldo.at
| To: Scot Becker scot.bec...@gmail.com
| Cc: nicholas.do...@hp.com, Org-Mode emacs-orgmode@gnu.org
| Date: Wed, 29 Apr 2009 19:29:32 +0200 (CEST)
| Subject: Re: [Orgmode] ascii export error
| X-FireGPG-Version: 0.7.5
| 
| 
| [[PGP Signed Part:Undecided]]
| I deleted /etc/emacs/site-start.d/50org-mode.el.
| Everything works as intended now.
| 
| Special thanks to Nick and Scot. :)
| 
| On Wed, Apr 29, 2009 at 10:36, Scot Becker scot.bec...@gmail.com wrote:
| 
| On a debian-based system, and perhaps others, /etc/emacs/site-start.d
| has a few files that set variables and define functions for use with
| the Debian(Ubuntu, etc) system policies.  There might be nothing in
| there that your setup depends on, but I wouldn't want to risk it. you
| can glance through the files in there and see what kinds of things
| they touch.
|
| However, if you want to try without it, you can rename it.  If that
| causes errors, you can rename it, then create an empty directory in
| the same place /etc/emacs/site-start.d.
|
| If that's where the problem is, the principal of dissection should
| work there as well, just move the files out of the directory one at a
| time (tryiing your export with emacs -Q each time, to see where the
| offending file is.
|
| Scot
| 
| On Tue, Apr 28, 2009 at 10:02 PM, Eraldo Helal off...@eraldo.at wrote:
|  Is it save to just delte that directory: /etc/emacs/site-start.d
|  Because I guess the error lies somewhere in there.
|  Or is this directory important for something?
| 
|  On Tue, Apr 28, 2009 at 22:46, Eraldo Helal off...@eraldo.at wrote:
| 
|  I discovered that there is a directory: /etc/emacs/site-start.d
|  http://paste.org/6848
| 
|  Does this also get loaded by default and ignored with --no-site-file ? 
//
|  that would make some sense again (to me)
| 
| 
|  ___
|  Emacs-orgmode mailing list
|  Remember: use `Reply All' to send replies to the list.
|  Emacs-orgmode@gnu.org
|  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
| 
| 
| 
| 
| [[End of PGP Signed Part]]
`

But I don't think that there is an org-mode package as Jere suggests: I
think it came as part of emacs. You'll probably need to do a little
surgery as the mail describes.

HTH,
Nick


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


[Orgmode] #+LATEX_HEADER: does not seem to work

2009-06-16 Thread Nicolas Girard
Hi,
as title says: using the trunk version of org-mode,
I couldn't get
   #+LATEX_HEADER:
to work.

Cheers,
Nicolas


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


[Orgmode] Error when saving remember entries in non org-mode file types.

2009-06-16 Thread Jere McDevitt
Org-mode version: 6.27a

I configured org-remember-templates to use a file named project.todo to
hold todo entries for me.

(setq org-remember-templates
(Project ?p * TODO %?\n %u  ~/org/project.todo bottom )))

I hadn't added the .todo extension to the auto-mode-alist so when it was
loaded to be written to by the org-remember-handler, it came up by default
in fundamental-mode, not org-mode.

This generates an error condition that I tracked down in the org-remember.el
file to line 887 in the org-remember-handler function:

 ((not (org-mode-p))
(if (eq heading 'top)
(goto-char (point-min))
  (goto-char (point-max))
  (or (bolp) (newline)))
(insert text-before-node-creation)
  ...


The error is that text-before-node-creation apparently is a nil and the
insert routine is generating an error because of it.  This variable is set
earlier in the handler at around line 845 but only if the text being
inserted does not look like an org-outline-regexp:

  (unless (looking-at org-outline-regexp)
;; add a headline
(setq text-before-node-creation (buffer-string))

Because my template actually does look like an org-outline-regexp (it starts
with * TODO), that variable is never set and because the buffer is not in
org-mode, this code is triggered using the text-buffer-node-creation.

The simple work around was to add .todo files to the auto-mode-alist (or I
could have changed the template), but I thought I would post a note about
it.

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


[Orgmode] Makefile: missing rule for org-exp-blocks.elc

2009-06-16 Thread Nicolas Girard
Hi,
following the last commits, it seems like a rule for
org-exp-blocks.elc is missing in the Makefile.

Cheers,
Nicolas


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


[Orgmode] org-exp-blocks: what about previewing blocks ?

2009-06-16 Thread Nicolas Girard
Hi all,

currently the code in org-exp-blocks is intended for pre-processing only.
It seems to me like org-mode would gain a very powerful feature, if
blocks could also be previewed in their own buffer, using the same
mechanism as the org-format-latex function.
What do you think ?

Cheers,
Nicolas


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


[Orgmode] I just discovered the clone subtree command

2009-06-16 Thread Charles Cave
I am reading the Org-mode Release 6.27a manual to learn new things.
and just discovered the C-c C-x c  (clone subtree) command.

This makes copies of a tree and inserts them as siblings. The command
prompts you for the number of copies to make. The really useful
feature is to update dates according to a pattern. 

Here is an example of creating headings for each of the next six months:

Start with this:

** First of the month
*** July
SCHEDULED: 2009-07-01 Wed

Position the cursor to the beginning of the line *** July
then issue the C-c C-x c 

Answer the question Number of clones to produce:  with 6

Next question is
Date shift per clone (e.g. +1w, empty to copy unchanged): 

Answer it +1m and the tree looks like:

*** July
SCHEDULED: 2009-07-01 Wed
*** July
SCHEDULED: 2009-08-01 Sat
*** July
SCHEDULED: 2009-09-01 Tue
*** July
SCHEDULED: 2009-10-01 Thu
*** July
SCHEDULED: 2009-11-01 Sun
*** July
SCHEDULED: 2009-12-01 Tue
*** July
SCHEDULED: 2010-01-01 Fri

Now you just have to change the occurrences of July to the real
month names!   

I don't know when this feature appeared but it is very useful.

Charles







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


[Orgmode] org-remember templates with dynamic target headline

2009-06-16 Thread Daniel J. Sinder
I want a remember template that will have a target headline based on the 
date on which I call org-remember.


For a simple example, the effect I'd like to achieve is shown by putting 
the following in my .emacs:


(setq org-remember-templates
  `((Journal ?j * %u %?\n ~/org/wjournal.org 
,(format-time-string %G: Week %V


I'm an elisp noob, but I realize the problem here is that 
format-time-string is only evaluated once when my .emacs is read.  So, 
unless I restart emacs every week.  This doesn't work.


How can I cause format-time-string to be re-evaluated whenever 
org-remember is called?


Thanks,
Dan


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