[Orgmode] Re: Projects+Next Actions view

2010-10-01 Thread Marcelo de Moraes Serpa
Thanks Matt!

However, this seems to show all the TODO items below a PROJECT item,
including the DONE ones. What I had in mind was to show only the first
child. Is it possible?

Thanks,

Marcelo.

On Thu, Sep 30, 2010 at 6:56 PM, Matt Lundin m...@imapmail.org wrote:
 Marcelo de Moraes Serpa celose...@gmail.com writes:

 Another thing that I like about Things
 (http://culturedcode.com/things/) is the Next Actions view. It
 basically lists all projects plus the very first next action for each
 of them. When you need some perspective, having quick access to a view
 like this is very useful. It also shows any orphan tasks (tasks that
 don't belong to a project), so you have a nice overview of what you
 can do based on your own input.

 With org, I have created a Projects view, a tags agenda filter
 filtering for non-todo items. I could use follow mode, which is quite
 useful, but doesn't give the same uncluttered view Things does with
 its next actions view. I was wondering if it would be possible, even
 if more elisp would be needed, to create a view like this?

 E.x:

 * Keep the cat alive :PROJECT:HOME:
  ** TODO Feed the cat
   ...

 * Feature 2 :PROJECT:FEATURE:
 ** TODO Run the script
  ...


 You could use a sparse tree view:

 (add-to-list 'org-agenda-custom-commands
             '(x PROJECT+N/A tags-tree PROJECT|TODO=\TODO\
               ((org-show-siblings nil)
                (org-show-entry-below nil

 Best,
 Matt


___
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] latex export problem

2010-10-01 Thread Jörg Hagmann

 Hi Christian,

On 9/30/10 7:02 PM, Christian Moe wrote:
The exact error message is No such file: /Users/me/test.org:: with 
two colons at the end, right? 

You are right, I forgot the colons.
I reported the same problem on 23 September (Bug: subtree export 
fails with src block), but others were not able to reproduce it.
I can understand that. In my case it worked for at least a month. I have 
no idea why it stopped doing so.
As I wrote at the time, it looks like the problem comes to a head in 
this part of org-babel-exp-src-blocks


:   (link (org-make-link-string
:  (concat
:   org-current-export-file
:   ::
:   (nth 4 (ignore-errors (org-heading-components))

and that org-heading-components fails to return the heading text. I'm 
not lisp-canny enough to see why. Maybe something to do with the 
active region?
I don't know enough lisp either. But it would be nice if it could be 
corrected; the (working) alternative is to have all the lines in the 
source block preceded by #+LATEX:  which is less convenient.



On 9/30/10 4:55 PM, Jörg Hagmann wrote:

Dear list,

I have an org file named test.org structured as follows (minimal
example):

--minimal example
* Head
text

* Second head
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t
skip:nil d:nil tags:nil
:EXPORT_TITLE: My Title
:EXPORT_FILE_NAME: scripts/filename
:END:


#+begin_src latex
\input gentium-ge
#+end_src

** section
text
--end of minimal example---

I export the second head to a filename.tex file in a subdirectory (and
convert it later to ConTeXt code, but that shouldn't matter here). I
swear that this worked -- I have everything pertaining to my lectures
in this file.
However, it stopped working recently (without updating org-mode). All
I get when I export Second Head to latex is:
No such file: /Users/me/test.org
The cause is the #+begin_src ... #+end_src block

Did I inadvertently change some parameter? Or is it a bug (less likely)?

Thanks for your suggestions, Jörg


___
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: latex export problem

2010-10-01 Thread Noorul Islam K M
Jörg Hagmann joerg.hagm...@unibas.ch writes:

  Dear list,

 I have an org file named test.org structured as follows (minimal example):

 --minimal example
 * Head
   text

 * Second head
   :PROPERTIES:
   :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t
 *:t skip:nil d:nil tags:nil
   :EXPORT_TITLE: My Title
   :EXPORT_FILE_NAME: scripts/filename
   :END:


 #+begin_src latex
 \input gentium-ge
 #+end_src

 ** section
text
 --end of minimal example---

 I export the second head to a filename.tex file in a subdirectory (and
 convert it later to ConTeXt code, but that shouldn't matter here). I
 swear that this worked -- I have everything pertaining to my lectures
 in this file.
 However, it stopped working recently (without updating org-mode). All
 I get when I export Second Head to latex is:
 No such file: /Users/me/test.org
 The cause is the #+begin_src ... #+end_src block


Can you please tell us which version of emacs and org-mode are you
using? 

M-x org-version
M-x emacs-version

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


[Orgmode] Re: latex export problem

2010-10-01 Thread Jörg Hagmann

 org-version: yesterday's pull
emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
 of 2010-05-09

On 10/1/10 9:32 AM, Noorul Islam K M wrote:

Jörg Hagmannjoerg.hagm...@unibas.ch  writes:


  Dear list,

I have an org file named test.org structured as follows (minimal example):

--minimal example
* Head
   text

* Second head
   :PROPERTIES:
   :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t
*:t skip:nil d:nil tags:nil
   :EXPORT_TITLE: My Title
   :EXPORT_FILE_NAME: scripts/filename
   :END:


#+begin_src latex
\input gentium-ge
#+end_src

** section
text
--end of minimal example---

I export the second head to a filename.tex file in a subdirectory (and
convert it later to ConTeXt code, but that shouldn't matter here). I
swear that this worked -- I have everything pertaining to my lectures
in this file.
However, it stopped working recently (without updating org-mode). All
I get when I export Second Head to latex is:
No such file: /Users/me/test.org
The cause is the #+begin_src ... #+end_src block


Can you please tell us which version of emacs and org-mode are you
using?

M-x org-version
M-x emacs-version

Thanks and Regards
Noorul


--
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565


___
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] POPERTIES Effort and HTML export

2010-10-01 Thread Rouvinez, Jean-Claude
Hi,

I have defined in an org file some entries like that:

*** TODO Actions
:PROPERTIES:
:Effort:   24
:END:

I want to export the POPERTIES Effort in an html file but I don't know how.
I want to export a table view of my file with a summary of POPERTIES Effort 
(like C-c C-x C-c) but I don't know how.

Google and FAQ searches didn't help me.

Thank you for your help.

Best Regards
Jean-Claude


___
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] Agenda sorting strategy

2010-10-01 Thread Sébastien Vauban
Hello,

Here is a minimal example of problems I experience with the sorting strategy
of the agenda.

--8---cut here---start-8---
* Appointments

** Technician for washing machine
   2010-10-01 Fri

I don't know when he will come. He'll call a couple of minutes before coming.

** TV show
   2010-10-01 Fri 19:00-20:00

* Task areas

** Work
   :PROPERTIES:
   :CATEGORY: Work
   :END:

*** TODO [#A] Reply to mail
SCHEDULED: 2010-09-29 Wed

*** TODO Work on offer
SCHEDULED: 2010-09-30 Thu

*** TODO Have the report ready for my boss
DEADLINE: 2010-10-08 Fri

** Personal
   :PROPERTIES:
   :CATEGORY: Personal
   :END:

*** TODO [#A] Call neighbor
SCHEDULED: 2010-09-27 Mon

*** TODO Put oil on the outside table
SCHEDULED: 2010-09-28 Tue

*** TODO Invite some friends
SCHEDULED: 2010-10-01 Fri

* Agenda sorting strategy

** Objectives

Get the tasks sorted:

- by priority (A, B or C), then
- by role (category personal or work), then
- by delay

i.e.,

:   Sched:  Technician for washing machine
:8:00-09:00 
:   10:00-11:00 
:   12:00-13:00 
:   14:00-15:00 
:   16:00-17:00 
:   18:00-19:00 
:   Sched:  19:00-20:00 TV show
:   20:00-21:00 
:   22:00-23:00 
:   Personal:   Sched. 5x:  TODO [#A] Call neighbor
:   Work:   Sched. 3x:  TODO [#A] Reply to mail
:   Personal:   Sched. 4x:  TODO Put oil on the outside table
:   Personal:   Scheduled:  TODO Invite some friends
:   Work:   Sched. 2x:  TODO Work on offer
:   Work:   In   7 d.:  TODO Have the report ready for my boss

Note that I would like (well dated but) untimed events (such as The
technician will come today) to be just before the day overview. Would it be
just after, it's OK as well, but less visible.

:8:00-09:00 
:   10:00-11:00 
:   12:00-13:00 
:   14:00-15:00 
:   16:00-17:00 
:   18:00-19:00 
:   Sched:  19:00-20:00 TV show
:   20:00-21:00 
:   22:00-23:00 
:   Sched:  Technician for washing machine
:   Personal:   Sched. 5x:  TODO [#A] Call neighbor
:   Work:   Sched. 3x:  TODO [#A] Reply to mail
:   Personal:   Sched. 4x:  TODO Put oil on the outside table
:   Personal:   Scheduled:  TODO Invite some friends
:   Work:   Sched. 2x:  TODO Work on offer
:   Work:   In   7 d.:  TODO Have the report ready for my boss

But, anyway, I cannot get any of these!

What is important to see as well is that all my A tasks are at the top of the
list (sorted by category: first Personal, then Work), then all my B tasks
(sorted by category: first Personal, then Work).

** Default value

#+begin_src emacs-lisp
(setq org-agenda-sorting-strategy
  '((agenda habit-down time-up priority-down category-keep)
(todo priority-down category-keep)
(tags priority-down category-keep)
(search category-keep)))
#+end_src

#+results:
:8:00-09:00 
:   10:00-11:00 
:   12:00-13:00 
:   14:00-15:00 
:   16:00-17:00 
:   18:00-19:00 
:   Sched:  19:00-20:00 TV show
:   20:00-21:00 
:   22:00-23:00 
:   Personal:   Sched. 5x:  TODO [#A] Call neighbor
:   Work:   Sched. 3x:  TODO [#A] Reply to mail
:   Personal:   Sched. 4x:  TODO Put oil on the outside table
:   Work:   Sched. 2x:  TODO Work on offer
:   Personal:   Scheduled:  TODO Invite some friends
:   Sched:  Technician for washing machine
:   Work:   In   7 d.:  TODO Have the report ready for my boss

** Custom value

#+begin_src emacs-lisp
(setq org-agenda-sorting-strategy
  '((agenda priority-down category-up time-up)
(todo priority-down category-keep)
(tags priority-down category-keep)
(search category-keep)))
#+end_src

#+results:
:   Personal:   Sched. 5x:  TODO [#A] Call neighbor
:   Work:   Sched. 3x:  TODO [#A] Reply to mail
:   Personal:   Sched. 4x:  TODO Put oil on the outside table
:   Work:   Sched. 2x:  TODO Work on offer
:   Personal:   Scheduled:  TODO Invite some friends
:   Sched:  19:00-20:00 TV show
:   Sched:  Technician for washing machine
:   Work:   In   7 d.:  TODO Have the report ready for my boss
:8:00-09:00 
:   10:00-11:00 
:   12:00-13:00 
:   14:00-15:00 
:   16:00-17:00 
:   18:00-19:00 
:   20:00-21:00 
:   22:00-23:00 

Observations:

- for equivalent priorities (B), *tasks are not sorted by category* (?):
  + Personal:   Sched. 4x:  TODO Put oil on the outside 

Re: [Orgmode] Re: latex export problem

2010-10-01 Thread Christian Moe

On 10/1/10 9:40 AM, Jörg Hagmann wrote:

org-version: yesterday's pull
emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
of 2010-05-09


And mine is

- this morning's pull

- GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) 
of 2010-09-03


CM


___
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: latex export problem

2010-10-01 Thread Noorul Islam K M
Jörg Hagmann joerg.hagm...@unibas.ch writes:

  org-version: yesterday's pull
 emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
  of 2010-05-09


I copied your example to a file /tmp/test.org and with the cursor on
Second head I did C-c C-e 1 l. It did generate output file
/tmp/scripts/filename.tex and I did not get any error.

Is it related to Mac? I am not sure though

I have on my machine:

Org-mode version 7.01trans (release_7.01h.609.gc4916)
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-09-29 on noorul

Thanks and Regards
Noorul


 On 10/1/10 9:32 AM, Noorul Islam K M wrote:
 Jörg Hagmannjoerg.hagm...@unibas.ch  writes:

   Dear list,

 I have an org file named test.org structured as follows (minimal example):

 --minimal example
 * Head
text

 * Second head
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t
 *:t skip:nil d:nil tags:nil
:EXPORT_TITLE: My Title
:EXPORT_FILE_NAME: scripts/filename
:END:


 #+begin_src latex
 \input gentium-ge
 #+end_src

 ** section
 text
 --end of minimal example---

 I export the second head to a filename.tex file in a subdirectory (and
 convert it later to ConTeXt code, but that shouldn't matter here). I
 swear that this worked -- I have everything pertaining to my lectures
 in this file.
 However, it stopped working recently (without updating org-mode). All
 I get when I export Second Head to latex is:
 No such file: /Users/me/test.org
 The cause is the #+begin_src ... #+end_src block

 Can you please tell us which version of emacs and org-mode are you
 using?

 M-x org-version
 M-x emacs-version

 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


[Orgmode] Store link upon sending a message

2010-10-01 Thread Ulf Stegemann
It often happens to me that I send a message (Gnus) and need to keep a
reference of the mail just sent as link in an org file.  In Gnus copies
of sent messages can be store in one or more groups using the `Gcc'
header.  So I usually select the group where the copy went right after
sending and do an `org-store-link' on the newly created copy.

It would of course be much nicer if the org link could be stored
automagically upon sending the message (or more precisely upon creating
the copy of the message).  Such functionality could certainly be
introduced in `gnus-inews-do-gcc' where group and article number of the
copy are determined and the actual copy is written.  But that would mean
to actually modify Gnus code which is probably not a good and clean
approach.

As I'm not very familiar with the Gnus code I'll probably have to ask at
the Gnus towers if it's possible to get hold of the group and article
number of the last Gcc message created.  But maybe someone around here
has a partly or completely different idea how to achieve the described
behaviour?

Ulf


___
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] Store link upon sending a message

2010-10-01 Thread Ulf Stegemann
It often happens to me that I send a message (Gnus) and need to keep a
reference of the mail just sent as link in an org file.  In Gnus copies
of sent messages can be store in one or more groups using the `Gcc'
header.  So I usually select the group where the copy went right after
sending and do an `org-store-link' on the newly created copy.

It would of course be much nicer if the org link could be stored
automagically upon sending the message (or more precisely upon creating
the copy of the message).  Such functionality could certainly be
introduced in `gnus-inews-do-gcc' where group and article number of the
copy are determined and the actual copy is written.  But that would mean
to actually modify Gnus code which is probably not a good and clean
approach.

As I'm not very familiar with the Gnus code I'll probably have to ask at
the Gnus towers if it's possible to get hold of the group and article
number of the last Gcc message created.  But maybe someone around here
has a partly or completely different idea how to achieve the described
behaviour?

Ulf


___
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: latex export problem

2010-10-01 Thread Noorul Islam
On Fri, Oct 1, 2010 at 2:33 PM, Noorul Islam K M noo...@noorul.com wrote:
 Jörg Hagmann joerg.hagm...@unibas.ch writes:

  org-version: yesterday's pull
 emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
  of 2010-05-09


 I copied your example to a file /tmp/test.org and with the cursor on
 Second head I did C-c C-e 1 l. It did generate output file
 /tmp/scripts/filename.tex and I did not get any error.

 Is it related to Mac? I am not sure though

 I have on my machine:

 Org-mode version 7.01trans (release_7.01h.609.gc4916)
 GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
  of 2010-09-29 on noorul

 Thanks and Regards
 Noorul



On emacs

GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of
2010-01-30 on noorul


I get the following error

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  get-file-buffer(nil)
  org-babel-exp-src-blocks(#(\\input gentium-ge 0 17 (fontified nil
font-lock-fontified t)) #(latex 0 5 (font-lock-fontified t fontified
nil)))
  apply(org-babel-exp-src-blocks #(\\input gentium-ge 0 17
(fontified nil font-lock-fontified t)) #(latex 0 5
(font-lock-fontified t fontified nil)))
  byte-code(ÆÇ%'(ÈÉ!)#

Thanks and Regards
Noorul

 On 10/1/10 9:32 AM, Noorul Islam K M wrote:
 Jörg Hagmannjoerg.hagm...@unibas.ch  writes:

   Dear list,

 I have an org file named test.org structured as follows (minimal 
 example):

 --minimal example
 * Head
    text

 * Second head
    :PROPERTIES:
    :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t
 *:t skip:nil d:nil tags:nil
    :EXPORT_TITLE: My Title
    :EXPORT_FILE_NAME: scripts/filename
    :END:


 #+begin_src latex
 \input gentium-ge
 #+end_src

 ** section
     text
 --end of minimal example---

 I export the second head to a filename.tex file in a subdirectory (and
 convert it later to ConTeXt code, but that shouldn't matter here). I
 swear that this worked -- I have everything pertaining to my lectures
 in this file.
 However, it stopped working recently (without updating org-mode). All
 I get when I export Second Head to latex is:
 No such file: /Users/me/test.org
 The cause is the #+begin_src ... #+end_src block

 Can you please tell us which version of emacs and org-mode are you
 using?

 M-x org-version
 M-x emacs-version

 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


[Orgmode] Re: POPERTIES Effort and HTML export

2010-10-01 Thread Noorul Islam K M
Rouvinez, Jean-Claude jean-claude.rouvi...@ipi.ch writes:

 Hi,

 I have defined in an org file some entries like that:

 *** TODO Actions
 :PROPERTIES:
 :Effort:   24
 :END:

 I want to export the POPERTIES Effort in an html file but I don't know how.
 I want to export a table view of my file with a summary of POPERTIES Effort 
 (like C-c C-x C-c) but I don't know how.

 Google and FAQ searches didn't help me.


Did you try http://orgmode.org/worg/org-contrib/org-collector.php ?

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


[Orgmode] Re: Store link upon sending a message

2010-10-01 Thread Łukasz Stelmach
Ulf Stegemann ulf-n...@zeitform.de writes:

 It often happens to me that I send a message (Gnus) and need to keep a
 reference of the mail just sent as link in an org file. 
[...]
 It would of course be much nicer if the org link could be stored
 automagically upon sending the message (or more precisely upon creating
 the copy of the message).

In Gnus, just like in other Emacs applications, there is a lot of hooks
and I am quite sure there is one we could use. I am going to investigate
the problem soon as I also need the feature you descibed.

 As I'm not very familiar with the Gnus code I'll probably have to ask at
 the Gnus towers if it's possible to get hold of the group and article
 number

AFAIR, message-id is used for org links rather than the articla
number.

 of the last Gcc message created.  But maybe someone around here
 has a partly or completely different idea how to achieve the described
 behaviour?

Which simplifies the problem quite a lot because we need to be able to
see the buffer just before sending or copying it to Gcc folder. All the
information is there.

-- 
Miłego dnia,
Łukasz Stelmach


___
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: Projects+Next Actions view

2010-10-01 Thread Łukasz Stelmach
Marcelo de Moraes Serpa celose...@gmail.com writes:


 On Thu, Sep 30, 2010 at 6:56 PM, Matt Lundin m...@imapmail.org wrote:
 Marcelo de Moraes Serpa celose...@gmail.com writes:

 Another thing that I like about Things
 (http://culturedcode.com/things/) is the Next Actions view. It
 basically lists all projects plus the very first next action for each
 of them. When you need some perspective, having quick access to a view
 like this is very useful.

 It also shows any orphan tasks (tasks that don't belong to a
 project), so you have a nice overview of what you can do based on
 your own input.

Remember, you can set CATEGORY property which is displayed in the
leftmost column of an agenda view. I set it in projects.org file so I
don't have to use :PROJECT: tag.

 You could use a sparse tree view:

 (add-to-list 'org-agenda-custom-commands
             '(x PROJECT+N/A tags-tree PROJECT|TODO=\TODO\
               ((org-show-siblings nil)
                (org-show-entry-below nil

 However, this seems to show all the TODO items below a PROJECT item,
 including the DONE ones. What I had in mind was to show only the first
 child. Is it possible?

So use the ORDERED property, or properly nest action and enforce todo
dependencies info:(org)TODO dependencies. Actions that cannot be taken
right know because they depend on other actions will be displayed in
grey font on an agenda. If, however, they are featured this way there
probably is a way to hide them completely.

-- 
Miłego dnia,
Łukasz Stelmach


___
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: Store link upon sending a message

2010-10-01 Thread Ulf Stegemann
Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl wrote:

 Ulf Stegemann ulf-n...@zeitform.de writes:

[snipped 15 lines]

 AFAIR, message-id is used for org links rather than the articla
 number.

ah, right, that's at least what raw gnus-article links look like.  I
remember vaguely that this was different in the past and I obviously
hadn't checked again.

 of the last Gcc message created.  But maybe someone around here
 has a partly or completely different idea how to achieve the described
 behaviour?

 Which simplifies the problem quite a lot because we need to be able to
 see the buffer just before sending or copying it to Gcc folder. All the
 information is there.

Yes, this makes things a lot easier :)
IIUC we just need to parse the Gcc header for the group(s), grab the
message-id and put things together.  We should however keep in mind that
we need to parse the Gcc header _before_ `gnus-inews-do-gcc' copies the
message as the Gcc header is removed in the process.  But the org link
should probably be built _after_ `gnus-inews-do-gcc' to avoid bogus org
links in case the Gcc fails.

Additionally, it's probably not necessary to create a link for every
group in Gcc but only for one (first one?).  Furthermore, storing an org
link should only happen when somehow requested by the user and not on
every send.  Although prefix args of `message-send' and friends already
serve a different purpose that nevertheless seems to be trivial.

Ulf



___
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] AW: POPERTIES Effort and HTML export

2010-10-01 Thread Rouvinez, Jean-Claude
This helps:
  capture columns view in dynamic block
  Type C-c C-x i in the head of the org file
According to http://orgmode.org/orgcard.txt

Best Regards,
Jean-Claude


-Ursprüngliche Nachricht-
Von: emacs-orgmode-bounces+jean-claude.rouvinez=ipi...@gnu.org 
[mailto:emacs-orgmode-bounces+jean-claude.rouvinez=ipi...@gnu.org] Im Auftrag 
von Rouvinez, Jean-Claude
Gesendet: Freitag, 1. Oktober 2010 10:38
An: emacs-orgmode@gnu.org
Betreff: [Orgmode] POPERTIES Effort and HTML export

Hi,

I have defined in an org file some entries like that:

*** TODO Actions
:PROPERTIES:
:Effort:   24
:END:

I want to export the POPERTIES Effort in an html file but I don't know how.
I want to export a table view of my file with a summary of POPERTIES Effort 
(like C-c C-x C-c) but I don't know how.

Google and FAQ searches didn't help me.

Thank you for your help.

Best Regards
Jean-Claude


___
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] Re: latex export problem

2010-10-01 Thread Jörg Hagmann



On 10/1/10 11:17 AM, Noorul Islam wrote:

I have on my machine:

Org-mode version 7.01trans (release_7.01h.609.gc4916)
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
  of 2010-09-29 on noorul

Thanks and Regards
Noorul

On emacs

GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of
2010-01-30 on noorul


I get the following error

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   get-file-buffer(nil)
   org-babel-exp-src-blocks(#(\\input gentium-ge 0 17 (fontified nil
font-lock-fontified t)) #(latex 0 5 (font-lock-fontified t fontified
nil)))
   apply(org-babel-exp-src-blocks #(\\input gentium-ge 0 17
(fontified nil font-lock-fontified t)) #(latex 0 5
(font-lock-fontified t fontified nil)))
   byte-code(ÆÇ%'(ÈÉ!)#

Thanks and Regards
Noorul

I now tried it on linux (23.1.1 i486 pc-linux-gnu, GTK+ version 2.20.0) ...
... and there it works!

Kind regards, Jörg

Jörg Hagmannjoerg.hagm...@unibas.chwrites:


   Dear list,

I have an org file named test.org structured as follows (minimal example):

--minimal example
* Head
text

* Second head
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t
*:t skip:nil d:nil tags:nil
:EXPORT_TITLE: My Title
:EXPORT_FILE_NAME: scripts/filename
:END:


#+begin_src latex
\input gentium-ge
#+end_src

** section
 text
--end of minimal example---

I export the second head to a filename.tex file in a subdirectory (and
convert it later to ConTeXt code, but that shouldn't matter here). I
swear that this worked -- I have everything pertaining to my lectures
in this file.
However, it stopped working recently (without updating org-mode). All
I get when I export Second Head to latex is:
No such file: /Users/me/test.org
The cause is the #+begin_src ... #+end_src block



___
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: latex export problem

2010-10-01 Thread Jörg Hagmann

 And an update:

It also doesn't work on my Mac with Emacs 24 (GNU Emacs 24.0.50.1 
(x86_64-apple-darwin, NS apple-appkit-1038.32) of 2010-10-01 on 
black.porkrind.org


Summary:

Works on
- GNU Emacs 24.0.50.1 (i686-pc-linux-gnu) (Noorul)
- GNU Emacs 23.1.1 (i486 pc-linux-gnu) (Jörg)

Error on:
- GNU Emacs 23.1.1 (i686-pc-linux-gnu) (Noorul)
- GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0) (Christian)
- GNU Emacs 23.2.1 (x86_64-apple-darwin) (Jörg)
- GNU Emacs 24.0.50.1 (x86_64-apple-darwin) (Jörg)

But, to repeat myself, it might not depend on the Emacs version. In my 
case, it used to work with GNU Emacs 23.2.1 (x86_64-apple-darwin)...


Thanks and regards, Jörg

On 10/1/10 1:38 PM, Jörg Hagmann wrote:



On 10/1/10 11:17 AM, Noorul Islam wrote:

I have on my machine:

Org-mode version 7.01trans (release_7.01h.609.gc4916)
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
  of 2010-09-29 on noorul

Thanks and Regards
Noorul

On emacs

GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of
2010-01-30 on noorul


I get the following error

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   get-file-buffer(nil)
   org-babel-exp-src-blocks(#(\\input gentium-ge 0 17 (fontified nil
font-lock-fontified t)) #(latex 0 5 (font-lock-fontified t fontified
nil)))
   apply(org-babel-exp-src-blocks #(\\input gentium-ge 0 17
(fontified nil font-lock-fontified t)) #(latex 0 5
(font-lock-fontified t fontified nil)))
   byte-code(ÆÇ%'(ÈÉ!)#

Thanks and Regards
Noorul
I now tried it on linux (23.1.1 i486 pc-linux-gnu, GTK+ version 
2.20.0) ...

... and there it works!

Kind regards, Jörg

Jörg Hagmannjoerg.hagm...@unibas.chwrites:


   Dear list,

I have an org file named test.org structured as follows 
(minimal example):


--minimal example
* Head
text

* Second head
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} 
-:t f:t

*:t skip:nil d:nil tags:nil
:EXPORT_TITLE: My Title
:EXPORT_FILE_NAME: scripts/filename
:END:


#+begin_src latex
\input gentium-ge
#+end_src

** section
 text
--end of minimal example---

I export the second head to a filename.tex file in a subdirectory 
(and

convert it later to ConTeXt code, but that shouldn't matter here). I
swear that this worked -- I have everything pertaining to my 
lectures

in this file.
However, it stopped working recently (without updating org-mode). 
All

I get when I export Second Head to latex is:
No such file: /Users/me/test.org
The cause is the #+begin_src ... #+end_src block


___
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: Filter scheduled items

2010-10-01 Thread Jeff Horn
I meant in particular whether there was a built-in agenda view for
*unscheduled* items.

Jeff

On Thu, Sep 30, 2010 at 1:05 PM, Marcelo de Moraes Serpa
celose...@gmail.com wrote:
 Thanks Matt, I will try that out and let you know how it goes.

Out of curiosity, how are you doing this in org-mode? I currently use
an inbox and touch each TODO item once to schedule, prioritize, and
file it, but I have to open up my tasks file.

 I just add it to the agenda C-c [. Agenda will then show any scheduled
 items in the calendar view (C-c a a). Is that what you are asking
 about?

 Cheerds,

 Marcelo.

 On Thu, Sep 30, 2010 at 11:58 AM, Matt Lundin m...@imapmail.org wrote:
 Marcelo de Moraes Serpa celose...@gmail.com writes:

 Hmm, org actually does this already.

 The problem is that I was filtering by TODO items, and the scheduled
 item was the parent of two TODO items (A non-TODO item tagged as
 PROJECT).

 So now I guess the question is:
 Can I make sub-items inherit the schedule information?

 Yes, by using org-use-property-inheritance. This works when doing a
 property search, so you'll have to use tags-todo.

 Does this custom command accomplish what you are looking for?

 --8---cut here---start-8---
 (add-to-list 'org-agenda-custom-commands
             ;; a todo list with no future items and inherited scheduling info
             '(x No future items tags-todo 
 +SCHEDULED=\today\/!+TODO
               ((org-use-property-inheritance '(SCHEDULED)
 --8---cut here---end---8---

 Best,
 Matt


 ___
 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




-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

___
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: FSF Copyright Assignment

2010-10-01 Thread Sébastien Vauban
Hi Eric,

Eric Schulte wrote:
 I've just added this functionality to the repository, so babel commands can
 now be used as speed commands when the point is on the beginning of a code
 block.

Is there a way to pass a universal argument?

I'm thinking, for example, at =C-u C-c C-v C-z=, knowing that =C-u z= simply
inserts 4 times a =z=...

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: FSF Copyright Assignment

2010-10-01 Thread Eric Schulte
I'm not sure,

Babel uses the existing speed-commands infrastructure already existing
in Org-mode for headlines, so the behavior should be the same, whatever
that behavior may be...

Best -- Eric

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

 Hi Eric,

 Eric Schulte wrote:
 I've just added this functionality to the repository, so babel commands can
 now be used as speed commands when the point is on the beginning of a code
 block.

 Is there a way to pass a universal argument?

 I'm thinking, for example, at =C-u C-c C-v C-z=, knowing that =C-u z= simply
 inserts 4 times a =z=...

 Best regards,
   Seb

___
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: [PATCH] Compiling multiple times the LaTeX output

2010-10-01 Thread Thomas S. Dye

On Sep 30, 2010, at 6:55 AM, Sébastien Vauban wrote:


Hi Nick,

Nick Dokos wrote:

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

Noorul Islam K M wrote:

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
I've been taught of a weird observation: the page number  
indicated in

the TOC of a PDFLaTeX output is wrong by one page...


Quoting from source code

(defcustom org-latex-to-pdf-process
 '(pdflatex -interaction nonstopmode -output-directory %o %f
   pdflatex -interaction nonstopmode -output-directory %o %f)
 Commands to process a LaTeX file to a PDF file.
This is a list of strings, each of them will be given to the shell
as a command.


Attached my proposed patch for fixing this, regarding the TOC  
error (needed a
third compilation). Here, as many compilations as necessary are  
run, up to
when LaTeX confirms the result is stable (no message please re- 
run...).


I don't know if that's still the case, but there were (rare)  
situations
where that would *never* happen: LaTeX would oscillate between two  
different
states of output, so you always needed to do one more compilation.  
The only
fix was to rearrange the *input* sligthly to try to get LaTeX out  
of its

rut.


In years of LaTeX use, that's something that I never have had to  
play with. I
think such experiences are close to 0 in one full LaTeX live.  
Though, yes, it

can happen.


It may be wise to limit the number of compilations to 3 (but  
perhaps make it

configurable, so that it can be increased if necessary).


Nice idea. I'll try to see if I can come up with something like that.

Best regards,
 Seb

--
Sébastien Vauban



Aloha Seb,

This will be a nice addition to Org-mode.

All the best,
Tom
___
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: FSF Copyright Assignment

2010-10-01 Thread Sébastien Vauban
Hi Eric,

 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 Eric Schulte wrote:
 I've just added this functionality to the repository, so babel commands can
 now be used as speed commands when the point is on the beginning of a code
 block.

 Is there a way to pass a universal argument?

 I'm thinking, for example, at =C-u C-c C-v C-z=, knowing that =C-u z= simply
 inserts 4 times a =z=...

 I'm not sure,

 Babel uses the existing speed-commands infrastructure already existing
 in Org-mode for headlines, so the behavior should be the same, whatever
 that behavior may be...

I'm not asking for changes -- at least, not yet. Just wanted to know if there
was a way to send the C-u through the speed command. If not, then not. Nothing
more.

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


[Orgmode] strike through display problem

2010-10-01 Thread Sebastian Hofer
Hi,
I just found a little display bug (or a weirdness at least). The following text

${+}$ some text ${+}$

is displayed as struck-trough in org-mode (git checkout from some days ago). 
Note that

${A+}$ some text ${+}$
${+}$ some text ${+A}$

both work fine. This may not be very common, still I thought I report it. Maybe 
it's easy to fix :)
Cheers
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


Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-01 Thread Nick Dokos
Sébastien Vauban wxhgmqzgw...@spammotel.com wrote:

 Hi Nick,
 
 Nick Dokos wrote:
  Sébastien Vauban wxhgmqzgw...@spammotel.com wrote:
  Noorul Islam K M wrote:
   Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
   I've been taught of a weird observation: the page number indicated in
   the TOC of a PDFLaTeX output is wrong by one page...
  
   Quoting from source code
  
   (defcustom org-latex-to-pdf-process
 '(pdflatex -interaction nonstopmode -output-directory %o %f
   pdflatex -interaction nonstopmode -output-directory %o %f)
 Commands to process a LaTeX file to a PDF file.
   This is a list of strings, each of them will be given to the shell
   as a command.
  
  Attached my proposed patch for fixing this, regarding the TOC error 
  (needed a
  third compilation). Here, as many compilations as necessary are run, up to
  when LaTeX confirms the result is stable (no message please re-run...).
 
  I don't know if that's still the case, but there were (rare) situations
  where that would *never* happen: LaTeX would oscillate between two different
  states of output, so you always needed to do one more compilation. The only
  fix was to rearrange the *input* sligthly to try to get LaTeX out of its
  rut.
 
 In years of LaTeX use, that's something that I never have had to play with. I
 think such experiences are close to 0 in one full LaTeX live. Though, yes, it
 can happen.
 

Me neither - it is really rare. See

   http://www.tex.ac.uk/cgi-bin/texfaq2html?label=rerun

for one possibility.

OTOH, I have never had a document that requires more than 3 compilations to get
references right either, although I'm sure that they exist. That's what the 3
suggestion was based on.

 
  It may be wise to limit the number of compilations to 3 (but perhaps make it
  configurable, so that it can be increased if necessary).
 
 Nice idea. I'll try to see if I can come up with something like that.
 

Cheers,
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: Filter scheduled items

2010-10-01 Thread Matt Lundin
Jeff Horn jrhorn...@gmail.com writes:

 I meant in particular whether there was a built-in agenda view for
 *unscheduled* items.


With the following setting...

(setq org-agenda-todo-ignore-scheduled t)

...org-todo-list (C-c a t) will show only unscheduled todos.

If you don't want the setting above to apply globally, you could bind it
to a custom command:

(add-to-list 'org-agenda-custom-commands
 '(u Unscheduled todo 
   ((org-agenda-todo-ignore-scheduled t

Best,
Matt

___
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: Requests about the code demarcation

2010-10-01 Thread Achim Gratz
Eric Schulte schulte.e...@gmail.com writes:
 Fixed, Thanks -- Eric

Confirmed.

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

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


___
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: Filter scheduled items

2010-10-01 Thread Jeff Horn
Matt,

 With the following setting...

 (setq org-agenda-todo-ignore-scheduled t)

 ...org-todo-list (C-c a t) will show only unscheduled todos.

 If you don't want the setting above to apply globally, you could bind it
 to a custom command:

 (add-to-list 'org-agenda-custom-commands
             '(u Unscheduled todo 
               ((org-agenda-todo-ignore-scheduled t

The function is exactly what I was looking for. Thank you!

Jeff

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

___
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: babel-* dirs

2010-10-01 Thread Achim Gratz
Eric Schulte schulte.e...@gmail.com writes:
 I've re-enabled this functionality, I believe the problems should be
 fixed, from the commit message...

Byte compile warns:

In org-babel-temp-file:
ob.el:1792:36:Warning: reference to free variable
`org-babel-temporary-directory'

In addition, byte-compiling produces 173 empty /tmp/babel-* directories.

The newly installed version does not produce a temporary directory (I'm
not using babel yet), but calling up emacs like make does (extending the
load-path and not sourcing the site-file) will produce one that does not
go away after Emacs is closed on each start of emacs (which explains the
result of byte-compiling).


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

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


___
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] Tips for writing lecture notes in org-beamer?

2010-10-01 Thread Eric S Fraga
On Fri, 24 Sep 2010 14:56:34 +0100, Stephen Eglen s.j.eg...@damtp.cam.ac.uk 
wrote:
 
 Dear all,
 
 Has anyone recently used org-beamer to write lecture notes?  I'm now

[...]

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

Yes, the target of the link has been converted for the web site, which
it shouldn't have.  I am not sure how to get the Worg automatic
publishing mode to not do this...  hopefully somebody else can answer
and/or fix the link in that footnote.

In the meantime, attached is the file =presentation.org=.

HTH,
eric
#+TITLE: Writing Beamer presentations in org-mode
#+AUTHOR:Eric S Fraga
#+EMAIL: e.fr...@ucl.ac.uk
#+DATE:  2010-03-30 Tue
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 
path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 

#+startup: oddeven

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [bigger]
#+latex_header: \modebeamer{\usetheme{Madrid}}
#+BEAMER_FRAME_LEVEL: 2

#+COLUMNS: %20ITEM %13BEAMER_env(Env) %6BEAMER_envargs(Args) %4BEAMER_col(Col) 
%7BEAMER_extra(Extra)

* Introduction
** Overview
- org-mode template
- beamer structure
- beamer settings


* Methodology

** A simple slide
This slide consists of some text with a number of bullet points:
- the first, very @important@, point!
- the previous point shows the use of the special markup which
  translates to the Beamer specific /alert/ command for highlighting
  text.
The above list could be numbered or any other type of list and may
include sub-lists.

** A more complex slide
This slide illustrates the use of Beamer blocks.  The following text,
with its own headline, is displayed in a block:
*** Org mode increases productivity   :B_theorem:
:PROPERTIES:
:BEAMER_env: theorem
:END:
- org mode means not having to remember \LaTeX commands.
- it is based on ascii text which is inherently portable.
- Emacs!

\hfill \(\qed\)

** Two columns

*** A block   :B_ignoreheading:BMCOL:
:PROPERTIES:
:BEAMER_env: ignoreheading
:BEAMER_col: 0.4
:END:
- this slide consists of two columns
- the first (left) column has no heading and consists of text
- the second (right) column has an image and is enclosed in an
  @example@ block

*** A screenshot:BMCOL:B_example:
:PROPERTIES:
:BEAMER_col: 0.6
:BEAMER_env: example
:END:
#+ATTR_LATEX: width=\textwidth
[[file:../../images/org-beamer/a-simple-slide.png]]


* Conclusions

** Summary
   - org is an incredible tool for time management
   - @but@ it is also excellent for writing and for preparing presentations
   - Beamer is a very powerful \LaTeX{} package for presentations
   - the combination is unbeatable!

-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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: bug: babel-* dirs

2010-10-01 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes:

 Eric Schulte schulte.e...@gmail.com writes:
 I've re-enabled this functionality, I believe the problems should be
 fixed, from the commit message...

 Byte compile warns:

 In org-babel-temp-file:
 ob.el:1792:36:Warning: reference to free variable
 `org-babel-temporary-directory'


Fixed the byte-compilation warning, thanks for the catch.


 In addition, byte-compiling produces 173 empty /tmp/babel-*
 directories.

 The newly installed version does not produce a temporary directory (I'm
 not using babel yet), but calling up emacs like make does (extending the
 load-path and not sourcing the site-file) will produce one that does not
 go away after Emacs is closed on each start of emacs (which explains the
 result of byte-compiling).


Thanks for the debugging information, it's great to finally have enough
context to address this issue.  I've just pushed up what I hope is a fix
for this.

Thanks -- Eric



 Achim.

___
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: babel-* dirs

2010-10-01 Thread Achim Gratz
Eric Schulte schulte.e...@gmail.com writes:
 Fixed the byte-compilation warning, thanks for the catch.
[...]
 Thanks for the debugging information, it's great to finally have enough
 context to address this issue.  I've just pushed up what I hope is a fix
 for this.

Glad to be of service -- I can confirm both fixes, byte-compile now runs
cleanly and without cluttering /tmp.


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

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


___
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] Tips for writing lecture notes in org-beamer?

2010-10-01 Thread John Hendy
Eric,


Per Bastien, you put the file wherever, but you link to the file at
http://orgmode.org/worg/sources/path/to/file/file.org. For example:
- If the file is in: ~/worg.git/org-tutorials/org-beamer/presentation.org

- You make the footnote/link to:
http://orgmode.org/worg/sources/org-tutorials/org-beamer/presentation.org
--- You can try that link; it works
--- Afaik, you can't help that it gets worg-i-fied/published but this is
how to link to the actual .org file


Hope that helps,
John


On Fri, Oct 1, 2010 at 2:54 PM, Eric S Fraga ucec...@ucl.ac.uk wrote:

 On Fri, 24 Sep 2010 14:56:34 +0100, Stephen Eglen 
 s.j.eg...@damtp.cam.ac.uk wrote:
 
  Dear all,
 
  Has anyone recently used org-beamer to write lecture notes?  I'm now

 [...]

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

 Yes, the target of the link has been converted for the web site, which
 it shouldn't have.  I am not sure how to get the Worg automatic
 publishing mode to not do this...  hopefully somebody else can answer
 and/or fix the link in that footnote.

 In the meantime, attached is the file =presentation.org=.

 HTH,
 eric

 --
 Eric S Fraga
 GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

 ___
 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] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-01 Thread Sébastien Vauban
Hi Nick and Thomas,

Thomas S. Dye wrote:
 On Sep 30, 2010, at 6:55 AM, Sébastien Vauban wrote:
 Nick Dokos wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com wrote:
 Noorul Islam K M wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 I've been taught of a weird observation: the page number indicated in
 the TOC of a PDFLaTeX output is wrong by one page...

 Quoting from source code

 (defcustom org-latex-to-pdf-process
  '(pdflatex -interaction nonstopmode -output-directory %o %f
pdflatex -interaction nonstopmode -output-directory %o %f)
  Commands to process a LaTeX file to a PDF file.
 This is a list of strings, each of them will be given to the shell
 as a command.

 Attached my proposed patch for fixing this, regarding the TOC error
 (needed a third compilation). Here, as many compilations as necessary are
 run, up to when LaTeX confirms the result is stable (no message please
 re- run...).

 I don't know if that's still the case, but there were (rare) situations
 where that would *never* happen: LaTeX would oscillate between two
 different states of output, so you always needed to do one more
 compilation. The only fix was to rearrange the *input* sligthly to try to
 get LaTeX out of its rut.

 In years of LaTeX use, that's something that I never have had to play with.
 I think such experiences are close to 0 in one full LaTeX live. Though,
 yes, it can happen.

 It may be wise to limit the number of compilations to 3 (but perhaps make
 it configurable, so that it can be increased if necessary).

 Nice idea. I'll try to see if I can come up with something like that.

 This will be a nice addition to Org-mode.

Here is my (much) better proposition:

--8---cut here---start-8---
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 9a62457..0a2c5fe 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -455,25 +455,35 @@ allowed.  The default we use here encompasses both.
   :group 'org-export-latex
   :group 'org-export)
 
+(defcustom org-latex-pdf-max-runs 3
+  Maximum number of times PDFLaTeX is run after BibTeX.
+  :group 'org-export-pdf
+  :type 'int)
+
 (defcustom org-latex-to-pdf-process
-  '(pdflatex -interaction nonstopmode -output-directory %o %f
-pdflatex -interaction nonstopmode -output-directory %o %f)
+  `(pdflatex -interaction nonstopmode -output-directory %o %f
+bibtex %b
+,(concat let COUNTER=0; while (grep -e \Rerun .* cross-references\ 
%b.log  /dev/null); do if [ $COUNTER -eq 
+ (int-to-string org-latex-pdf-max-runs)
+  ]; then break; fi; pdflatex -interaction nonstopmode 
-output-directory %o %f; let COUNTER=COUNTER+1; done))
   Commands to process a LaTeX file to a PDF file.
 This is a list of strings, each of them will be given to the shell
 as a command.  %f in the command will be replaced by the full file name, %b
 by the file base name (i.e. without extension) and %o by the base directory
 of the file.
 The reason why this is a list is that it usually takes several runs of
-pdflatex, maybe mixed with a call to bibtex.  Org does not have a clever
-mechanism to detect which of these commands have to be run to get to a stable
-result, and it also does not do any error checking.
+pdflatex, mixed with a call to bibtex.  Org does now have a clever mechanism
+to detect how many times the document has to be compiled to get to a stable
+result for the cross-references.  Moreover, the number of compilations after
+bibtex is limited to 3 by default (see `org-latex-pdf-max-runs' for more).
+Though, it does not do any error checking.
 
 Alternatively, this may be a Lisp function that does the processing, so you
 could use this to apply the machinery of AUCTeX or the Emacs LaTeX mode.
 This function should accept the file name as its single argument.
   :group 'org-export-pdf
   :type '(choice (repeat :tag Shell command sequence
- (string :tag Shell command))
+(string :tag Shell command))
 (function)))
 
 (defcustom org-export-pdf-logfiles
--8---cut here---end---8---

Enhancements:

- variable to limit the number of PDFLaTeX runs (3, by default)

  Though, the way it is evaluated, you need to set it before calling org-latex
  (before defining org-latex-to-pdf-process). Not a problem, IMHO. Maybe there
  are better ways, though?

- real standard sequence to compile the doc:

  + one call to PDFLaTeX
  + one call to BibTeX
  + as many calls as needed to PDFLaTeX (max 3)

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


[Orgmode] publishing orgmode to a CMS

2010-10-01 Thread Erik Iverson

Does anyone have any general advice or comments regarding
the publishing of org-mode documents to a CMS?

I'm thinking of the case where I have HTML files generated
by Org-mode, and want to publish it Worg-style, but would
prefer to publish to a system with comments/RSS/etc.

If anyone has done that, I'd love to hear your experience,
which CMS software you chose, and how it is working for you.

Thanks,
Erik

___
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] Testing --- again...

2010-10-01 Thread Sebastian Rose
Hi,


I thought about testing again recently.  This is something, that never
really got started.  For a reason:  there's no framework for testing.

I therefore wrote a very rough proposal,  found  on
http://github.com/SebastianRose/org-test

The idea is, to provide two simple commands:


  *  org-test-test-current-defun
 will search for tests for the defun point is in or behind
 (`beginning-of-defun') and execute them surrounded by

  (let ((select (or selector ^org))
(deactivate-mark nil))
(save-excursion
  (save-match-data


  *  org-test-test-buffer-file
 will search for tests for the entire file and execute them the same
 way.

If you use one of these commands, all currently registered ERT tests are
deleted, and files are reloaded (since you're likely to work on the
tests, too).  To repeat the tests without reloading, you will use the
ERT commands like `ert-results-rerun-all-tests', bound to `r' in the ERT
results buffer.



I choose ERT (git clone http://github.com/ohler/ert.git) because that's
likely to go into Emacs core (or elpa.gnu.org).




The idea is to search the directory structure from the current source
file upwards for a directory named tests/ if it exists.  Else ask the
user.  Similar to what `add-change-log-entry' does.

Below that directory, a tree like the source tree exists:

project
   +-- lisp/
   | +-- a.el
   | `-- b/
   | +-- b.el
   |
   `-- tests/
 +-- a.el/
 | +-- tests.el
 | `-- a-defun.el
 `-- b/
 +-- b.el/
   +-- tests.el
   `-- b-defun.el

If this setup exists, when editing defun-x in lisp/a.el,
`M-x org-test-test-current-defun' will load tests/a.el/defun-x.el
(fallback: tests.el there) and execute all tests with selector
^a-defun.
`M-x org-test-test-buffer-file' in that same source file will load all
*.el files in tests/a.el/ and execute all ERT tests for selector ^a.


Thus tests for
org-mode/lisp/org-protocol.el
will be searched in the directory
org-mode/tests/lisp/org-protocol.el/*.el


Once the basic route of testing is clear, I'd like to translate the
existing tests for org-html.el to work with ERT, which will involve
writing more tools (create output buffers, compare output with control
files using ediff etc.).  I know Lennart Borgman has wrote that stuff
for nXhtml already.  I hope we can use his stuff and help here.

The directory org-mode/lisp/tests/ would not need to be part of the
official Org mode package.  It could as well be checked out
separately, if tests is part of org-mode/lisp/.gitignore (e.g.).


Any thoughts?




  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