[Orgmode] Re: Hang after agenda export [6.34c]

2010-02-01 Thread Noorul Islam K M
manonf...@lavabit.com writes:

 The problem could be solved by removing the example code snippet suggested
 in the manual (Page 104 for 6.34c) from .emacs which is

 (setq org-agenda-exporter-setting)
 '((ps-number-of-columns 2)
  (ps-landscape-mode t)
  (org-agenda-add-entry-text-maxlines 5)))


 Export to txt and html works now. But for pdf I get an error message:

 Symbol's function definition is void: flet

You need 

cl.el --- Common Lisp extensions for Emacs

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


Re: [Orgmode] [PATCH] org-narrow-to-subtree: prevent prepending text to the next headline while narrowed

2010-02-01 Thread Carsten Dominik

Hi Samuel,

this remains a contriversial issue.  However, since I made the change,  
I have not received any concrete reports of problems - so I guess it  
is working pretty well the way it is now.


Case closed - until the next bug report :-)

- Carsten


On Jan 22, 2010, at 5:50 PM, Samuel Wales wrote:


I'm not so sure about this patch.

Are you sure this will work with sorting headlines?  Swallowed
headlines occur if end of narrowed region is at eol.  What about other
operations, including user-written commands?  Can we be sure that they
will not to swallowed headlines?

IMO the behavior described as a bug by the OP is correct -- the user
should insert a newline after xyz (or org could detect that and insert
a newline depending on mode-require-final-newline or
require-final-newline).

I think opinions might vary on this.

--
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied a deadly disease for  
25 years]

==
Retrovirus: http://www.wpinstitute.org/xmrv/index.html


- Carsten





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


Re: [Orgmode] Re: Hang after agenda export [6.34c]

2010-02-01 Thread Carsten Dominik


On Feb 1, 2010, at 9:10 AM, Noorul Islam K M wrote:


manonf...@lavabit.com writes:

The problem could be solved by removing the example code snippet  
suggested

in the manual (Page 104 for 6.34c) from .emacs which is

(setq org-agenda-exporter-setting)
   '((ps-number-of-columns 2)
(ps-landscape-mode t)
(org-agenda-add-entry-text-maxlines 5)))


Export to txt and html works now. But for pdf I get an error message:

Symbol's function definition is void: flet


You need

cl.el --- Common Lisp extensions for Emacs



All parts of Org that use the flet macro also have

(eval-when-compile
  (require 'cl))

so this should not be an issue in Org.

What Emacs version is this?

- Carsten


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


Re: [Orgmode] Announcing org-jekyll

2010-02-01 Thread Carsten Dominik

Hi Juan,

I like this idea, and I have implemented it.  Please use the property  
HTML_CONTAINER_CLASS.  And let me know if it works!


HTH

- Carsten

On Jan 30, 2010, at 12:16 AM, Juan Reyero wrote:


Greetings,

I've been toying around with a small package to export entries as a
Jekyll blog.  It is different from other approaches I am aware of in
that it will find your blog entries anywhere in the files belonging to
a project, and it will pass properties along to Jekyll as yaml front
matter.  It also includes some support for localization.

Full description: http://juanreyero.com/open/org-jekyll/
Source code: http://github.com/juanre/org-jekyll

Best regards,

Juan



___
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 with cua-mode org-support-shift-select

2010-02-01 Thread Ivan

I see no way to disable shift-select handling in CUA.

CUA on initializing disables shift-select-mode, and also if try to 
enable later, we got bug 
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4249 :


citation
CUA mode and shift-select-mode don't seem to be aware of each other.

If I turn on CUA first, and then shift-select-mode, shifted selection
fails (e.g. shift-right marks only one character as region).

Emacs -Q
(cua-mode 1)
(setq shift-select-mode t)

Why would one want to do that?
For example in order to get org-mode to work correctly with shifted
selection and the appropriate org-mode customization variable.

The fact that org-mode doesn't understand CUA's shifted selection is a
bit sad, too.
/citation

So need some other way to fix this.


On 01.02.2010 3:49, Ryan Thompson wrote:

Vanilla emacs now has shift selection (as of version 23?), so try
disabling shift select in CUA and enabling the standard shift select.

M-x customize-variable shift-select-mode

On Sun, Jan 31, 2010 at 2:36 PM, Ivan Vanyushkinva...@vanav.com.ua  wrote:

Hello.

I want to use C-x/C-c/C-v and Shift-arrows selection with org-mode.

GNU Emacs 23.1.50.1, org-mode 6.34, .emacs:
(cua-mode 1)
(setq org-support-shift-select t)

If this two options are on, then Shift key selection with arrow keys doesn't
work: no selection, just cursor movements. According to
http://orgmode.org/manual/Conflicts.html I think that org-mode should
support CUA. If not, what can you suggest for correct support of C-x/C-c/C-v
+ org-support-shift-select?

As far as I can say, the reason of problem is there:

In org.el:
(defun org-call-for-shift-select (cmd)
  (let ((this-command-keys-shift-translated t))
(call-interactively cmd)))

Called like this: (org-call-for-shift-select 'forward-char)

In cua-base.el Shift key is detected like this:
(memq 'shift (event-modifiers
  (aref (this-single-command-raw-keys) 0)))
binded as pre-command-hook.

So, I think, Shift key is just not detected by CUA, and need a way to set
it's flag. Sorry, I don't know emacs lisp.

Thank you for your suggestions.




___
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] Announcing org-jekyll

2010-02-01 Thread Carsten Dominik

Sorry, this reply was in the wrong thread and is therefore meaningless.

- Carsten

On Feb 1, 2010, at 9:38 AM, Carsten Dominik wrote:


Hi Juan,

I like this idea, and I have implemented it.  Please use the  
property HTML_CONTAINER_CLASS.  And let me know if it works!


HTH

- Carsten

On Jan 30, 2010, at 12:16 AM, Juan Reyero wrote:


Greetings,

I've been toying around with a small package to export entries as a
Jekyll blog.  It is different from other approaches I am aware of in
that it will find your blog entries anywhere in the files belonging  
to

a project, and it will pass properties along to Jekyll as yaml front
matter.  It also includes some support for localization.

Full description: http://juanreyero.com/open/org-jekyll/
Source code: http://github.com/juanre/org-jekyll

Best regards,

Juan


- Carsten





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


Re: [Orgmode] HTML / Site export: syntax to assign a class to a div

2010-02-01 Thread Carsten Dominik


Hi Ben,

I like this idea, and I have implemented it.  Please use the property  
HTML_CONTAINER_CLASS.  And let me know if it works!


- Carsten

On Jan 30, 2010, at 11:54 PM, Ben wrote:


Dear orgmode users,

I'm slowly (but firmly) getting my workflows and documents fitting in
orgmode. That's great. The agenda and notes-taking part is done and
I'm now migrating a few websites into org as well.
I've a pretty simple question which puzzles me though pretty
intensely. I've crawled the mailing list archives in vain -- the topic
is sometimes mentioned without an apparent solution.

I would very simply like to assign to an orgmode document section (or
subsection) a parameter which will be translated as a class attribute
in the corresponding div in the HTML output.

Example:

* Important section
** Serious Stuff
blah
** More serious Stuff
* Note
 :CLASS: rightbox
a silly comment
* Conclusion

orgmode would then name the div sections as usual, I would like to get
for the 'Note' section another attribute which would be
class=rightbox.

I've tried the #+HTML hacks, the html_attr, the drawers and even the
#+anchor tag. In vain. I'm sure I'm missing something obvious.
Any help would be really really much appreciated!

-- Ben


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


- Carsten





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


Re: [Orgmode] Export Options for subtree question

2010-02-01 Thread Giovanni Ridolfi
JBash bashve...@gmail.com writes:

 Hi,I am not able to get the export options for single sub-tree
 exporting to work as I expected it would.  In the attached file,
 exporting any of the subtrees yields the same author, date, export
 file name, and structure (absence of toc).   
 I had expected the
 #+EXPORT_DATE line (in #39;Week 5#39; heading) 

* Notes - Week 5
:PROPERTIES
#+EXPORT_TITLE:   Weekly Schedule - Week 5
#+EXPORT_AUTHOR:  Author 2
#+EXPORT_DATE:January 29, 2010
#+EXPORT_FILE_NAME:   week5
#+OPTIONS: H:2 toc:nil
#END

This syntax is wrong.


 and/or the EXPORT_DATE Property (Week 6 heading) 

* Notes - Week 6
  :PROPERTIES:
  EXPORT_TITLE:   Weekly Notes - Week 6
  EXPORT_AUTHOR:  Author 3
  EXPORT_DATE:February 6, 2010
  OPTIONS: H:2
  :END:

This syntax is wrong as well!

The properties MUST have the colon (:) *before* and *after*
the word(s).

This is the correct syntax, and, obviously, works ;-) 

* Notes - Week 6 CORRECT
  :PROPERTIES:
  :EXPORT_TITLE:   Weekly Notes - Week 6
  :EXPORT_AUTHOR:  Author 3
  :EXPORT_DATE:February 6, 2010
  :OPTIONS: H:2
  :END:
** Week 6 CORRECT Heading 1
 - Topic 1a
 - Topic 1b
** Week 6 CORRECT Heading 2
 - Topic 2a
 - Topic 2b


cheers,
Giovanni


___
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] Only show a certain weekday in the agenda view

2010-02-01 Thread Carsten Dominik

Hi Björn,

I am not sure I understand what your request is.  You want a view like  
the agenda, but only Thursdays?  So leave you Monday, Tuesday etc?


- Carsten

On Jan 29, 2010, at 5:35 PM, Björn Steffen wrote:


Hello,

I'm teaching every thursday at a school. So I made a recurring entry
in my org-file like this:

* Teaching
  2010-02-04 Thu 7:45-9:25 +1w

I would like to have a custom agenda view where I only see an entry
for all the Thursdays. But I cannot filter for the specific entry
above because I also would like to see other timestamped items which
fall on Thursdays.

Is there some kind of filtering function for this purpose?

Thanks and regards,
Björn


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


- Carsten





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


Re: [Orgmode] missing 'f' option in agenda view options list

2010-02-01 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Jan 29, 2010, at 3:02 PM, Eric S Fraga wrote:


Carsten,

just to point out that the follow mode option is not listed when
prompting for the option wanted when executing
org-agenda-view-mode-dispatch.  Maybe change the message along these  
lines:


--8---cut here---start-8---
(message View: [d]ay [w]eek [m]onth [y]ear 
[q]uit/abort

 time[G]rid [[]inactive [f]ollow [l]og [L]og-all [E]ntryText
 [a]rch-trees  [A]rch-files   clock[R]eport   include[D]iary)
--8---cut here---end---8---

(tested)

where I've added [f]ollow and also [q]uit/abort.

I've rearranged the options into some sort of logical grouping: time  
period,

information display, and others... but of course these are my personal
view of how they group!

Thanks,
eric


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


- Carsten





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


[Orgmode] Re: org-mode news as a feed

2010-02-01 Thread Carsten Dominik


On Feb 1, 2010, at 12:05 PM, Łukasz Stelmach wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


On Jan 31, 2010, at 3:59 PM, Łukasz Stelmach wrote:

Could you please consider publishing the News form the org-mode  
web

page as an RSS or Atom feed?


I don't know how to do this, so no.

Unless someone can do this for me, in a simple way.


How do you prepare the news for the web-page then?


I type it into index.org and then republish the website.

- Carsten



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


[Orgmode] Re: org-mode news as a feed

2010-02-01 Thread Carsten Dominik

Hi Lukasz,

you can see the raw file in the git repo, or here:

http://repo.or.cz/w/org-mode.git/blob_plain/HEAD:/ORGWEBPAGE/index.org

- Carsten

On Feb 1, 2010, at 12:14 PM, Łukasz Stelmach wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


On Feb 1, 2010, at 12:05 PM, Łukasz Stelmach wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


On Jan 31, 2010, at 3:59 PM, Łukasz Stelmach wrote:


Could you please consider publishing the News form the org-mode
web page as an RSS or Atom feed?


I don't know how to do this, so no.

Unless someone can do this for me, in a simple way.


How do you prepare the news for the web-page then?


I type it into index.org and then republish the website.


So it looks like this?

--8---cut here---start-8---
* News
 + 2010-01-10 Sun: Release 6.34
 + 2009-12-15 Tue: iPhone App MobileOrg version 1.1 available
 + 2009-11-13 Fri: Release 6.33
 + 2009-11-03 Tue: iPhone App MobileOrg available in the AppStore
 + 2009-10-26 Mon: Release 6.32
--8---cut here---end---8---

Or are the news items separate nodes?

--
Miłego dnia,
Łukasz Stelmach


- Carsten





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


Re: [Orgmode] Announcing org-jekyll

2010-02-01 Thread Rick Moynihan
On 29 January 2010 23:16, Juan Reyero joa...@gmail.com wrote:
 Greetings,

 I've been toying around with a small package to export entries as a
 Jekyll blog.  It is different from other approaches I am aware of in
 that it will find your blog entries anywhere in the files belonging to
 a project, and it will pass properties along to Jekyll as yaml front
 matter.  It also includes some support for localization.

 Full description: http://juanreyero.com/open/org-jekyll/
 Source code: http://github.com/juanre/org-jekyll


Wow, this is great news!  I wish I'd kept up with this group a bit
more than I have, as I've been spending sometime setting up and
modifying happyblogger but this looks like a far superior solution!

Unfortunately after some playing around, I can't seem to get it to work.

I'm not entirely clear on how the org-publish-project-alist relates to
org-jekyll and org-jekyll-export-blog?  What do you need to do to set
this up, other than annotate headlines with :blog: keywords and :on:
properties?

I've found that calling org-jekyll-export-blog, seems to do nothing...
 Also I've seen it complain about org-publish-initialize-files-alist
not being defined, unless I've first run an org-publish.

Very excited by this development to org-mode!

R.


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


Re: [Orgmode] Re: org-mode news as a feed

2010-02-01 Thread Greg Newman
All I do is subscribe to the rss feed of the mirror I have running at
bitbucket.
http://bitbucket.org/mirror/org-mode/overview/

It doesn't give me *just* the news but I get a better feed of what's getting
committed. Maybe too much noise for some but it works for me.

2010/2/1 Carsten Dominik carsten.domi...@gmail.com

 Hi Lukasz,

 you can see the raw file in the git repo, or here:

 http://repo.or.cz/w/org-mode.git/blob_plain/HEAD:/ORGWEBPAGE/index.org

 - Carsten


 On Feb 1, 2010, at 12:14 PM, Łukasz Stelmach wrote:

  Carsten Dominik carsten.domi...@gmail.com writes:

  On Feb 1, 2010, at 12:05 PM, Łukasz Stelmach wrote:

  Carsten Dominik carsten.domi...@gmail.com writes:

  On Jan 31, 2010, at 3:59 PM, Łukasz Stelmach wrote:

  Could you please consider publishing the News form the org-mode
 web page as an RSS or Atom feed?


 I don't know how to do this, so no.

 Unless someone can do this for me, in a simple way.


 How do you prepare the news for the web-page then?


 I type it into index.org and then republish the website.


 So it looks like this?

 --8---cut here---start-8---
 * News
  + 2010-01-10 Sun: Release 6.34
  + 2009-12-15 Tue: iPhone App MobileOrg version 1.1 available
  + 2009-11-13 Fri: Release 6.33
  + 2009-11-03 Tue: iPhone App MobileOrg available in the AppStore
  + 2009-10-26 Mon: Release 6.32
 --8---cut here---end---8---

 Or are the news items separate nodes?

 --
 Miłego dnia,
 Łukasz Stelmach


 - Carsten





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

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


Re: [Orgmode] Bug: Scope by tag in clock report dynamic blocks [6.33f]

2010-02-01 Thread Christoph LANGE
2010-01-29 16:48 Giovanni Ridolfi giovanni.rido...@yahoo.it:
 Christoph LANGE ch.la...@jacobs-university.de writes:
  At the end of the week, I would like to get an overview of how much time
  I spent on normal/important/very important tasks.  The total time
  (throughout the whole file) is all I need, but why not also optionally
  have a detailed breakdown?  So a clock report dynamic block would be the
  thing I need, but then I would like to select its scope not by file or
  tree, but by tag.  I.e. that all tasks that match a given tag search
  string would be considered.
 
 what about:
 overview of the file
 C-c \ :important:
 C-c C-x C-d

Thanks – that helps me selecting the tasks by tag.  But it does not respect
the desired time interval (e.g. this week or last week).  Is there some
way of combining selection by tag and time interval?

Cheers,

Christoph

-- 
Christoph Lange, Jacobs Univ. Bremen, http://kwarc.info/clange, Skype duke4701


signature.asc
Description: This is a digitally signed message part.
___
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] icalendar: exporting times of day specified in heading?

2010-02-01 Thread Stephen Eglen
Here is a shorter example of the bug of adding new items to
org-agenda-diary-file using 'i d' from the *Org Agenda* buffer.

(setq org-agenda-diary-file ~/txt/org/a.org)

Start with an small agenda.org file (a.org) containing
--
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
 test 1
 2010-03-02 Tue
*** 2010-03-06 Saturday
 test 2
 2010-03-06 Sat
--

(those entries were put in using 'i d' fine).

Go into a.org and show only the top-level heading is shown, i.e.

* 2010...

Everything else is hidden.  Now go back to the agenda and e.g. on the
3rd March add a diary entry 'i d test 3'.  What I then see in a.org is:

--
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
 test 1
 2010-03-02 Tue
*** 2010-03-03 Wednesday


** test 3
   2010-03-03 Wed
*** 2010-03-06 Saturday
 test 2
 2010-03-06 Sat
--

test 3 is incorrectly given a level 2 heading, and there are two lines
of whitespace before the level-3 date heading.

If however the whole date tree is visible before doing the 'i d'
command, I get the correct output:

--
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
 test 1
 2010-03-02 Tue
*** 2010-03-03 Wednesday
 test 3
 2010-03-03 Wed
*** 2010-03-06 Saturday
 test 2
 2010-03-06 Sat
--

(emacs-version)
GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
 of 2009-08-05 on maps

(org-version)
Org-mode version 6.34trans (release_6.34c.25.g3693.dirty)


___
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] Only show a certain weekday in the agenda view

2010-02-01 Thread Björn Steffen
Hi Carsten,

 I am not sure I understand what your request is.  You want a view like the
 agenda, but only Thursdays?

Basically I want a view like the agenda, but so that I see only the
events on Thursdays and the other weekdays are skipped.
I'm sorry, my question was a little confusing.

Björn


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


[Orgmode] Re: org-mode news as a feed

2010-02-01 Thread Łukasz Stelmach
Carsten Dominik carsten.domi...@gmail.com writes:

 On Jan 31, 2010, at 3:59 PM, Łukasz Stelmach wrote:

 Could you please consider publishing the News form the org-mode web
 page as an RSS or Atom feed?

 I don't know how to do this, so no.

 Unless someone can do this for me, in a simple way.

How do you prepare the news for the web-page then?

-- 
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: org-mode news as a feed

2010-02-01 Thread Łukasz Stelmach
Carsten Dominik carsten.domi...@gmail.com writes:

 On Feb 1, 2010, at 12:05 PM, Łukasz Stelmach wrote:

 Carsten Dominik carsten.domi...@gmail.com writes:

 On Jan 31, 2010, at 3:59 PM, Łukasz Stelmach wrote:

 Could you please consider publishing the News form the org-mode
 web page as an RSS or Atom feed?

 I don't know how to do this, so no.

 Unless someone can do this for me, in a simple way.

 How do you prepare the news for the web-page then?

 I type it into index.org and then republish the website.

So it looks like this?

--8---cut here---start-8---
* News
  + 2010-01-10 Sun: Release 6.34
  + 2009-12-15 Tue: iPhone App MobileOrg version 1.1 available
  + 2009-11-13 Fri: Release 6.33
  + 2009-11-03 Tue: iPhone App MobileOrg available in the AppStore
  + 2009-10-26 Mon: Release 6.32
--8---cut here---end---8---

Or are the news items separate nodes?

-- 
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: org-mode news as a feed

2010-02-01 Thread Łukasz Stelmach
Carsten Dominik carsten.domi...@gmail.com writes:

 you can see the raw file in the git repo, or here:

 http://repo.or.cz/w/org-mode.git/blob_plain/HEAD:/ORGWEBPAGE/index.org


OK. I've got some ideas. I'll see if they are feasible.

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


Re: [Orgmode] icalendar: exporting times of day specified in heading?

2010-02-01 Thread Carsten Dominik

Hi Stephen, Eric,

this bug should be fixed now.

Thanks!

- Carsten

On Feb 1, 2010, at 1:41 PM, Stephen Eglen wrote:


Here is a shorter example of the bug of adding new items to
org-agenda-diary-file using 'i d' from the *Org Agenda* buffer.

(setq org-agenda-diary-file ~/txt/org/a.org)

Start with an small agenda.org file (a.org) containing
--
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
 test 1
2010-03-02 Tue
*** 2010-03-06 Saturday
 test 2
2010-03-06 Sat
--

(those entries were put in using 'i d' fine).

Go into a.org and show only the top-level heading is shown, i.e.

* 2010...

Everything else is hidden.  Now go back to the agenda and e.g. on the
3rd March add a diary entry 'i d test 3'.  What I then see in a.org  
is:


--
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
 test 1
2010-03-02 Tue
*** 2010-03-03 Wednesday


** test 3
  2010-03-03 Wed
*** 2010-03-06 Saturday
 test 2
2010-03-06 Sat
--

test 3 is incorrectly given a level 2 heading, and there are two lines
of whitespace before the level-3 date heading.

If however the whole date tree is visible before doing the 'i d'
command, I get the correct output:

--
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
 test 1
2010-03-02 Tue
*** 2010-03-03 Wednesday
 test 3
2010-03-03 Wed
*** 2010-03-06 Saturday
 test 2
2010-03-06 Sat
--

(emacs-version)
GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
of 2009-08-05 on maps

(org-version)
Org-mode version 6.34trans (release_6.34c.25.g3693.dirty)


- Carsten





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


Re: [Orgmode] icalendar: exporting times of day specified in heading?

2010-02-01 Thread Eric S Fraga
At Mon, 1 Feb 2010 14:31:02 +0100,
Carsten Dominik wrote:
 
 Hi Stephen, Eric,
 
 this bug should be fixed now.

Thanks!


___
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] icalendar: exporting times of day specified in heading?

2010-02-01 Thread Stephen Eglen
Thanks Carsten, 
the test case I sent before now works properly in terms of indentation:

--
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
 test 1
 2010-03-02 Tue
*** 2010-03-03 Wednesday

 test 3
 2010-03-03 Wed
*** 2010-03-06 Saturday
 test 2
 2010-03-06 Sat
--

There's still something putting in an extra blank line though (see empty
line before 'test 3' heading.  This blank line is not added if the tree
is visible before doing 'i d'.

Stephen


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


Re: [Orgmode] icalendar: exporting times of day specified in heading?

2010-02-01 Thread Stephen Eglen

 There's still something putting in an extra blank line though (see empty
 line before 'test 3' heading.  This blank line is not added if the tree
 is visible before doing 'i d'.

That extra blank line doesn't seem reproducible, sorry.  I'll keep an
eye out, I think you've fixed the problem, thanks Carsten!

Stephen


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


Re: [Orgmode] Re: org-mode news as a feed

2010-02-01 Thread Olivier Schwander
Le 01 Feb 2010 12:25, Łukasz Stelmach a écrit:
 
 OK. I've got some ideas. I'll see if they are feasible.
 

Btw, it seems to be a very nice feature to be able to get rss/atom feed
from published org pages.

Olivier



___
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] Export Options for subtree question

2010-02-01 Thread JBash
Thanks, Giovanni.

I should have seen that.  Sorry for the noise.

Jerry

On Mon, Feb 1, 2010 at 4:43 AM, Giovanni Ridolfi
giovanni.rido...@yahoo.itwrote:

 JBash bashve...@gmail.com writes:

  Hi,I am not able to get the export options for single sub-tree
  exporting to work as I expected it would.  In the attached file,
  exporting any of the subtrees yields the same author, date, export
  file name, and structure (absence of toc).
  I had expected the
  #+EXPORT_DATE line (in #39;Week 5#39; heading)

 * Notes - Week 5
 :PROPERTIES
 #+EXPORT_TITLE:   Weekly Schedule - Week 5
 #+EXPORT_AUTHOR:  Author 2
 #+EXPORT_DATE:January 29, 2010
 #+EXPORT_FILE_NAME:   week5
 #+OPTIONS: H:2 toc:nil
 #END

 This syntax is wrong.


  and/or the EXPORT_DATE Property (Week 6 heading)

 * Notes - Week 6
  :PROPERTIES:
  EXPORT_TITLE:   Weekly Notes - Week 6
  EXPORT_AUTHOR:  Author 3
  EXPORT_DATE:February 6, 2010
  OPTIONS: H:2
  :END:

 This syntax is wrong as well!

 The properties MUST have the colon (:) *before* and *after*
 the word(s).

 This is the correct syntax, and, obviously, works ;-)

 * Notes - Week 6 CORRECT
  :PROPERTIES:
  :EXPORT_TITLE:   Weekly Notes - Week 6
  :EXPORT_AUTHOR:  Author 3
  :EXPORT_DATE:February 6, 2010
  :OPTIONS: H:2
  :END:
 ** Week 6 CORRECT Heading 1
  - Topic 1a
  - Topic 1b
 ** Week 6 CORRECT Heading 2
  - Topic 2a
  - Topic 2b


 cheers,
 Giovanni

___
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] Patch for links to dired buffers

2010-02-01 Thread Stephen Eglen
Currently if I do 'C-c l' (org-store-link) on the top line of a dired
buffer, I get:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  expand-file-name(nil)
  (abbreviate-file-name (expand-file-name (dired-get-filename nil t)))

This simple patch suggests that instead of signaling an error, the
default directory is used.  (I've not removed the trailing / from the
directory name, as I prefer that on the link name to indicate directory
- but that can be deleted.) 

Thanks, Stephen

2010-02-01  Stephen Eglen  step...@gnu.org

* org.el (org-store-link): For dired buffers, use
default-directory as link name if dired-get-filename returns
nil.

*** /tmp/ediff11782xez  2010-02-01 15:17:48.0 +
--- /home/stephen/langs/emacs/elisp-ds/org-mode/lisp/org.el 2010-02-01 
15:17:45.0 +
***
*** 7669,7679 
  
   ((eq major-mode 'dired-mode)
;; link to the file in the current line
!   (setq cpltxt (concat file:
!  (abbreviate-file-name
!   (expand-file-name
!(dired-get-filename nil t
!   link (org-make-link cpltxt)))
  
   ((and buffer-file-name (org-mode-p))
(setq custom-id (ignore-errors (org-entry-get nil CUSTOM_ID)))
--- 7669,7682 
  
   ((eq major-mode 'dired-mode)
;; link to the file in the current line
!   (let ((file (dired-get-filename nil t)))
!   (setq file (if file
!  (abbreviate-file-name
!   (expand-file-name (dired-get-filename nil t)))
!;; otherwise, no file so use current directory.
!default-directory))
!   (setq cpltxt (concat file: file)
! link (org-make-link cpltxt
  
   ((and buffer-file-name (org-mode-p))
(setq custom-id (ignore-errors (org-entry-get nil CUSTOM_ID)))




___
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] PDF export with texlive-2009: AUTO.def not found.

2010-02-01 Thread Jeff Kowalczyk
I'm using texlive-2009 on Gentoo Linux with org-mode git at 04c86c5.

Upon updating to texlive-2009, PDF export via pdflatex started producing the
following error:

---
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
entering extended mode
(/home/myuser/org/acme.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, bulgarian, russian, ukrainian, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size11.clo))
(/usr/share/texmf-dist/tex/latex/base/inputenc.sty

! LaTeX Error: File `AUTO.def' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: def)

Enter file name: 
! Emergency stop.
read * 
 
l.131 \endinput
   ^^M
!  == Fatal error occurred, no output PDF file produced!
Transcript written on central.log.
---

The system packaged texlive-2009 does have 32 .defs in
/usr/share/texmf-dist/tex/latex/base, but not AUTO.def.

Not sure if this is a change in texlive-2009, or an issue with system-packaging,
or application issue yet, just reporting the symptom.

Thanks,
Jeff



___
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] Autoset org-agenda-files

2010-02-01 Thread Fredrik
I wonder if someone with some elisp knowledge could help me out I  
have a folder containing all my org-files named as X.org and would  
like to autopopulate the org-agenda-files when I start emacs. So in  
short terms search folder for *.org (and exclude *-archive.org) so it  
is always done when starting emacs...


Anyone that could help me create such a function?

Regards,

Fredrik


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


Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-02-01 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com wrote:


 So here is a request for a volunteer.  Go through the list below
 and mark all macros according to three criteria:
 
 1. Does not exist in TeX/LaTeX
 2. Requires math-mode
 3. Does not require math mode.
 4. Is there another category, like this cannot be used in math mode?
 
 That would be a big help and let me fix the issue brought up by Rasmus.
 
 As this is a long list, maybe first post here that you are going
 to do it, so that not several people work on the same task.
 

Here is a partial result (there is a largish portion that I have not tested 
yet):

1. This is notated by commenting out (except for the largish portion)
   are undefined in LaTeX (some may be defined in external packages [1]).

2. This is notated by using \ensuremath{\foo}.

3. This is notated by \foo - neither commented out, nor \ensuramath'ed.

4. I think the answer to this is no.

5. There are some questionable items that cause problems but I have
   not investigated further: \divide, \and and \or are the ones that
   I remember. In addition, things like \sup2, \sup3 and \frac34 etc
   are almost certainly problematic.

This was pretty quick, so I may be able to do the unfinished block (but
don't let that stop you!), but I might not be able to do more in-depth
investigation of the questionable cases.

Thanks,
Nick

[1] BTW, I never announced it because it is very much still a
work-in-progress, and I didn't get as much done as I wanted over the
vacation, but there is a zeroth approximation to the external
dependencies doc on Worg:

http://orgmode.org/worg/org-dependencies.php

But since I haven't been able to do much in the last couple of weeks,
it's probably better to have people look at it, maybe even work at it.

---
\documentclass{article}

\begin{document}
% \nbsp
% \iexcl
% \cent
% \pound
% \curren
% \yen
% \brvbar

\ensuremath{\vert}
% \sect
% \uml
\copy
% \ordf
% \laquo
\not
% \shy
% \reg
% \macr
\ensuremath{\deg}
\ensuremath{\pm}
%\plusmn
\ensuremath{\sup }%2
\ensuremath{\sup }%3

\ensuremath{\acute x}
% \micro
% \para
% \middot
\ensuremath{\odot}
\ensuremath{\star}
%\cedil
\ensuremath{\sup1}
% \ordm
% \raquo
\ensuremath{\frac 1 4}
\ensuremath{\frac 1 2}
\ensuremath{\frac 3 4}
% \iquest
% \Agrave
% \Aacute
% \Acirc
% \Atilde
% \Auml
% \Aring
\AA
% \AElig
% \Ccedil
% \Egrave
% \Eacute
% \Ecirc
% \Euml
% \Igrave
% \Iacute
% \Icirc
% \Iuml
% \ETH
% \Ntilde
% \Ograve
% \Oacute
% \Ocirc
% \Otilde
% \Ouml
\ensuremath{\times}
% \Oslash
% \Ugrave
% \Uacute
% \Ucirc
% \Uuml
% \Yacute
% \THORN
% \szlig
% \agrave
% \aacute
% \acirc
% \atilde
% \auml
% \aring
% \aelig
% \ccedil
% \checkmark
% \egrave
% \eacute
% \ecirc
% \euml
% \igrave
% \iacute
% \icirc
% \iuml
% \eth
% \ntilde
% \ograve
% \oacute
% \ocirc
% \otilde
% \ouml
\divide 

% \oslash
% \ugrave
% \uacute
% \ucirc
% \uuml
% \yacute
% \thorn
% \yuml
% \fnof
% \Alpha
% \Beta
\ensuremath{\Gamma}
\ensuremath{\Delta}
% \Epsilon
% \Zeta
% \Eta
\ensuremath{\Theta}
% \Iota
% \Kappa
\ensuremath{\Lambda}
% \Mu
% \Nu
\ensuremath{\Xi}
%\Omicron
\ensuremath{\Pi}
%\Rho
\ensuremath{\Sigma}
%\Tau
\ensuremath{\Upsilon}
\ensuremath{\Phi}
%\Chi
\ensuremath{\Psi}
\ensuremath{\Omega}
\ensuremath{\alpha}
\ensuremath{\beta}
\ensuremath{\gamma}
\ensuremath{\delta}
\ensuremath{\epsilon}
\ensuremath{\varepsilon}
\ensuremath{\zeta}
\ensuremath{\eta}
\ensuremath{\theta}
\ensuremath{\iota}
\ensuremath{\kappa}
\ensuremath{\lambda}
\ensuremath{\mu}
\ensuremath{\nu}
\ensuremath{\xi}
%\omicron
\ensuremath{\pi}
\ensuremath{\rho}
%\sigmaf
\ensuremath{\varsigma}
\ensuremath{\sigma}
\ensuremath{\tau}
\ensuremath{\upsilon}
\ensuremath{\phi}
\ensuremath{\chi}
\ensuremath{\psi}
\ensuremath{\omega}
%\thetasym
\ensuremath{\vartheta}
%\upsih
% \piv
% \bull
\ensuremath{\bullet}
%\hellip
\dots
\ensuremath{\prime}
%\Prime
% \oline
% \frasl
% \weierp
% \image
% \real
% \trade
% \alefsym
% \larr
\ensuremath{\leftarrow}
\ensuremath{\gets}
%\uarr
\ensuremath{\uparrow}
%\rarr
\ensuremath{\to}
\ensuremath{\rightarrow}
%\darr
\ensuremath{\downarrow}
%\harr
\ensuremath{\leftrightarrow}
%\crarr
\ensuremath{\hookleftarrow}
%\lArr
\ensuremath{\Leftarrow}
%\uArr
\ensuremath{\Uparrow}
%\rArr
\ensuremath{\Rightarrow}
%\dArr
\ensuremath{\Downarrow}
%\hArr
\ensuremath{\Leftrightarrow}
\ensuremath{\forall}
\part{foo}
\ensuremath{\partial}
%\exist
\ensuremath{\exists}
\empty
\ensuremath{\emptyset}
\ensuremath{\nabla}
%\isin
\ensuremath{\in}
\ensuremath{\notin}
\ensuremath{\ni}
\ensuremath{\prod}
\ensuremath{\sum}
%\minus
%\lowast
\ensuremath{\ast}
% \radic
% \prop
% \proptp
% \infin
\ensuremath{\infty}
%\ang

\ensuremath{\angle}
%?? x \and y
\ensuremath{\wedge}
% ?? \or
\ensuremath{\vee}
\ensuremath{\cap}
\ensuremath{\cup}
\ensuremath{\int}
% \there4
\ensuremath{\sim}
\ensuremath{\cong}
\ensuremath{\simeq}
\ensuremath{\asymp}
\ensuremath{\approx}
\ensuremath{\ne}
\ensuremath{\neq}

Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-02-01 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote:

 Carsten Dominik carsten.domi...@gmail.com wrote:
 
 
  So here is a request for a volunteer.  Go through the list below
  and mark all macros according to three criteria:
  
  1. Does not exist in TeX/LaTeX
  2. Requires math-mode
  3. Does not require math mode.
  4. Is there another category, like this cannot be used in math mode?
  
  That would be a big help and let me fix the issue brought up by Rasmus.
  
  As this is a long list, maybe first post here that you are going
  to do it, so that not several people work on the same task.
  
 

Let me try the explanation again:

1. If something is undefined in LaTeX, this is notated by commenting the item 
out
   in the appended LaTeX file, e.g.

%\nbsp

2. If something requires math mode, this is notated by marking the item like 
this:
   \ensuremath{\foo} in the appended LaTeX file, e.g.

\ensuremath{\vert}

3. If an item is defined and does not require math mode, it is left unadorned in
   the appended LaTeX file, e.g.

   \copy

Hope this is clearer,
Nick

 Here is a partial result (there is a largish portion that I have not tested 
 yet):
 
 1. This is notated by commenting out (except for the largish portion)
are undefined in LaTeX (some may be defined in external packages [1]).
 
 2. This is notated by using \ensuremath{\foo}.
 
 3. This is notated by \foo - neither commented out, nor \ensuramath'ed.
 
 4. I think the answer to this is no.
 
 5. There are some questionable items that cause problems but I have
not investigated further: \divide, \and and \or are the ones that
I remember. In addition, things like \sup2, \sup3 and \frac34 etc
are almost certainly problematic.
 
 This was pretty quick, so I may be able to do the unfinished block (but
 don't let that stop you!), but I might not be able to do more in-depth
 investigation of the questionable cases.
 
 Thanks,
 Nick
 
 [1] BTW, I never announced it because it is very much still a
 work-in-progress, and I didn't get as much done as I wanted over the
 vacation, but there is a zeroth approximation to the external
 dependencies doc on Worg:
 
 http://orgmode.org/worg/org-dependencies.php
 
 But since I haven't been able to do much in the last couple of weeks,
 it's probably better to have people look at it, maybe even work at it.
 
 ---
 \documentclass{article}
 
 \begin{document}
 % \nbsp
 % \iexcl
 % \cent
 % \pound
 % \curren
 % \yen
 % \brvbar
 
 \ensuremath{\vert}
 % \sect
 % \uml
 \copy
 % \ordf
 % \laquo
 \not
 % \shy
 % \reg
 % \macr
 \ensuremath{\deg}
 \ensuremath{\pm}
 %\plusmn
 \ensuremath{\sup }%2
 \ensuremath{\sup }%3
 
 \ensuremath{\acute x}
 % \micro
 % \para
 % \middot
 \ensuremath{\odot}
 \ensuremath{\star}
 %\cedil
 \ensuremath{\sup1}
 % \ordm
 % \raquo
 \ensuremath{\frac 1 4}
 \ensuremath{\frac 1 2}
 \ensuremath{\frac 3 4}
 % \iquest
 % \Agrave
 % \Aacute
 % \Acirc
 % \Atilde
 % \Auml
 % \Aring
 \AA
 % \AElig
 % \Ccedil
 % \Egrave
 % \Eacute
 % \Ecirc
 % \Euml
 % \Igrave
 % \Iacute
 % \Icirc
 % \Iuml
 % \ETH
 % \Ntilde
 % \Ograve
 % \Oacute
 % \Ocirc
 % \Otilde
 % \Ouml
 \ensuremath{\times}
 % \Oslash
 % \Ugrave
 % \Uacute
 % \Ucirc
 % \Uuml
 % \Yacute
 % \THORN
 % \szlig
 % \agrave
 % \aacute
 % \acirc
 % \atilde
 % \auml
 % \aring
 % \aelig
 % \ccedil
 % \checkmark
 % \egrave
 % \eacute
 % \ecirc
 % \euml
 % \igrave
 % \iacute
 % \icirc
 % \iuml
 % \eth
 % \ntilde
 % \ograve
 % \oacute
 % \ocirc
 % \otilde
 % \ouml
 \divide 
 
 % \oslash
 % \ugrave
 % \uacute
 % \ucirc
 % \uuml
 % \yacute
 % \thorn
 % \yuml
 % \fnof
 % \Alpha
 % \Beta
 \ensuremath{\Gamma}
 \ensuremath{\Delta}
 % \Epsilon
 % \Zeta
 % \Eta
 \ensuremath{\Theta}
 % \Iota
 % \Kappa
 \ensuremath{\Lambda}
 % \Mu
 % \Nu
 \ensuremath{\Xi}
 %\Omicron
 \ensuremath{\Pi}
 %\Rho
 \ensuremath{\Sigma}
 %\Tau
 \ensuremath{\Upsilon}
 \ensuremath{\Phi}
 %\Chi
 \ensuremath{\Psi}
 \ensuremath{\Omega}
 \ensuremath{\alpha}
 \ensuremath{\beta}
 \ensuremath{\gamma}
 \ensuremath{\delta}
 \ensuremath{\epsilon}
 \ensuremath{\varepsilon}
 \ensuremath{\zeta}
 \ensuremath{\eta}
 \ensuremath{\theta}
 \ensuremath{\iota}
 \ensuremath{\kappa}
 \ensuremath{\lambda}
 \ensuremath{\mu}
 \ensuremath{\nu}
 \ensuremath{\xi}
 %\omicron
 \ensuremath{\pi}
 \ensuremath{\rho}
 %\sigmaf
 \ensuremath{\varsigma}
 \ensuremath{\sigma}
 \ensuremath{\tau}
 \ensuremath{\upsilon}
 \ensuremath{\phi}
 \ensuremath{\chi}
 \ensuremath{\psi}
 \ensuremath{\omega}
 %\thetasym
 \ensuremath{\vartheta}
 %\upsih
 % \piv
 % \bull
 \ensuremath{\bullet}
 %\hellip
 \dots
 \ensuremath{\prime}
 %\Prime
 % \oline
 % \frasl
 % \weierp
 % \image
 % \real
 % \trade
 % \alefsym
 % \larr
 \ensuremath{\leftarrow}
 \ensuremath{\gets}
 %\uarr
 \ensuremath{\uparrow}
 %\rarr
 \ensuremath{\to}
 \ensuremath{\rightarrow}
 %\darr
 \ensuremath{\downarrow}
 %\harr
 \ensuremath{\leftrightarrow}
 %\crarr
 \ensuremath{\hookleftarrow}
 %\lArr
 

[Orgmode] Table equations: II on lhs

2010-02-01 Thread Kim Toms
I am using a simple table to add up some estimates for tasks.  On the left
hand side of the equations in the TBLFM line I can't get an expression like
@II$2 to work.

Here's an example
| task  | estimate | probable |
|---+--+--|
| one   |   12 |2 |
| two   |   10 |3 |
|---+--+--|
| total |   22 |5 |
#+TBLFM: @4$2=vsum(@i...@ii-1)::@4$3=vsum(@i...@ii-1)

I'd like to be able to put @II$2 on the LHS of the equation.  That way, when
I add a row to the table, the equation doesn't have to change.

A workaround for the above table is to use $LR2 and $LR3 instead of the more
general references.
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [org-beamer] \alert

2010-02-01 Thread Carsten Dominik


On Jan 29, 2010, at 4:36 PM, Sébastien Vauban wrote:


Hi Eric, Tim, Carsten and all,

Eric S Fraga wrote:

At Fri, 29 Jan 2010 06:26:21 -0500, Tim Burt wrote:

Eric S Fraga writes:
For any LaTeX expert out there, is there an easy way to determine  
whether
a particular macro has been defined? If so, we wouldn't even need  
to check

for beamer, simply for \alert.


Use the
 \ifxcommand\undefined ... \else ... \fi
construct to determine if a command already exists, and then to  
take action
in the appropriate case. Test the example below both as-is and  
with the

first ~\newcommand*{\thisalert}~ commented out to see the different
results.


Thanks to all. This is great stuff...



The following org-mode line does the job for me:

#+latex_header: \ifx\alert\undefined\let\alert\textbf\fi

If \alert is not defined, I have =alert= behave as =textbf=.


Could this somehow made part of Org-mode, so that one does not need  
to repeat
this one-liner in every file that could be exported to pure LaTeX  
and/or

Beamer?


Yes - this is in there now.  Let's see if someone complains.

- Carsten



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


Re: [Orgmode] patch for local variable based todo blocking

2010-02-01 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Jan 28, 2010, at 7:27 PM, Wes Hardaker wrote:



Attached is a patch that lets local variables define whether or not  
todo
dependency blocking should be used (both for TODOs and for  
checkboxes).

I have one file in particular that I'm using checkboxes to quickly
indicate multi-selections from a list but for most of my files I want
TODOs blocked by uncompleted checkboxes.

Normally org uses hook methods for checking for TODO blocks and this
patch just inserts a check at the top to test and see if the variable
turning on the blocking type is still set.

--
Wes Hardaker
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/
diff --git a/lisp/org.el b/lisp/org.el
index cd378b4..bdc5c5a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10159,54 +10159,56 @@ changes.  Such blocking occurs when:
  3. The parent of the task is blocked because it has siblings that  
should

 be done first, or is child of a block grandparent TODO entry.

-  (catch 'dont-block
-;; If this is not a todo state change, or if this entry is  
already DONE,

-;; do not block
-(when (or (not (eq (plist-get change-plist :type) 'todo-state- 
change))

- (member (plist-get change-plist :from)
- (cons 'done org-done-keywords))
- (member (plist-get change-plist :to)
- (cons 'todo org-not-done-keywords))
- (not (plist-get change-plist :to)))
-  (throw 'dont-block t))
-;; If this task has children, and any are undone, it's blocked
-(save-excursion
-  (org-back-to-heading t)
-  (let ((this-level (funcall outline-level)))
-   (outline-next-heading)
-   (let ((child-level (funcall outline-level)))
- (while (and (not (eobp))
- ( child-level this-level))
-   ;; this todo has children, check whether they are all
-   ;; completed
-   (if (and (not (org-entry-is-done-p))
-(org-entry-is-todo-p))
-   (throw 'dont-block nil))
-   (outline-next-heading)
-   (setq child-level (funcall outline-level))
-;; Otherwise, if the task's parent has the :ORDERED: property,  
and

-;; any previous siblings are undone, it's blocked
-(save-excursion
-  (org-back-to-heading t)
-  (let* ((pos (point))
-(parent-pos (and (org-up-heading-safe) (point
-   (if (not parent-pos) (throw 'dont-block t)) ; no parent
-   (when (and (org-entry-get (point) ORDERED)
-  (forward-line 1)
-  (re-search-forward org-not-done-heading-regexp pos t))
-	  (throw 'dont-block nil)) ; block, there is an older sibling not  
done.
-	;; Search further up the hierarchy, to see if an anchestor is  
blocked

-   (while t
- (goto-char parent-pos)
- (if (not (looking-at org-not-done-heading-regexp))
- (throw 'dont-block t)) ; do not block, parent is not a TODO
- (setq pos (point))
- (setq parent-pos (and (org-up-heading-safe) (point)))
+  (if (not org-enforce-todo-dependencies)
+  t ; if locally turned off don't block
+(catch 'dont-block
+  ;; If this is not a todo state change, or if this entry is  
already DONE,

+  ;; do not block
+  (when (or (not (eq (plist-get change-plist :type) 'todo-state- 
change))

+   (member (plist-get change-plist :from)
+   (cons 'done org-done-keywords))
+   (member (plist-get change-plist :to)
+   (cons 'todo org-not-done-keywords))
+   (not (plist-get change-plist :to)))
+   (throw 'dont-block t))
+  ;; If this task has children, and any are undone, it's blocked
+  (save-excursion
+   (org-back-to-heading t)
+   (let ((this-level (funcall outline-level)))
+ (outline-next-heading)
+ (let ((child-level (funcall outline-level)))
+   (while (and (not (eobp))
+   ( child-level this-level))
+ ;; this todo has children, check whether they are all
+ ;; completed
+ (if (and (not (org-entry-is-done-p))
+  (org-entry-is-todo-p))
+ (throw 'dont-block nil))
+ (outline-next-heading)
+ (setq child-level (funcall outline-level))
+  ;; Otherwise, if the task's parent has the :ORDERED:  
property, and

+  ;; any previous siblings are undone, it's blocked
+  (save-excursion
+   (org-back-to-heading t)
+   (let* ((pos (point))
+  (parent-pos (and (org-up-heading-safe) (point
  (if (not parent-pos) (throw 'dont-block t)) ; no parent
  (when (and (org-entry-get (point) ORDERED)
 (forward-line 1)
 (re-search-forward org-not-done-heading-regexp pos t))
-   (throw 'dont-block nil))) ; block, older sibling not done.
+	(throw 

Re: [Orgmode] [PATCH] org-narrow-to-subtree: prevent prepending text to the next headline while narrowed

2010-02-01 Thread Samuel Wales
Hi Carsten,

On 2010-02-01, Carsten Dominik carsten.domi...@gmail.com wrote:
 Hi Samuel,

 this remains a contriversial issue.  However, since I made the change,
 I have not received any concrete reports of problems - so I guess it
 is working pretty well the way it is now.

 Case closed - until the next bug report :-)

Challenge accepted.

Sorting creates a blank line.

:)

-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied ME/CFS for 25 years]
==
Retrovirus: http://www.wpinstitute.org/xmrv/index.html


___
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] The way index.html is generated

2010-02-01 Thread Chao Lu
Dear all,

I'm writing to ask if there any way to control the way how the index.html is
generated? Now it works fine, but for a frontpage of the website, I really
want to put more stuff than only a list of all the pages.

Another question will be how to generate a tree-like navigation bar in all
the org pages, automatically? I know how to manually do so, using the
preamble var, but have to update it each time I send new org file in.

Thanks a lot,

Chao
___
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: Hang after agenda export [6.34c]

2010-02-01 Thread manonfire

 On Feb 1, 2010, at 9:10 AM, Noorul Islam K M wrote:

 manonf...@lavabit.com writes:

 The problem could be solved by removing the example code snippet
 suggested
 in the manual (Page 104 for 6.34c) from .emacs which is

 (setq org-agenda-exporter-setting)
'((ps-number-of-columns 2)
 (ps-landscape-mode t)
 (org-agenda-add-entry-text-maxlines 5)))


 Export to txt and html works now. But for pdf I get an error message:

 Symbol's function definition is void: flet

 You need

 cl.el --- Common Lisp extensions for Emacs


 All parts of Org that use the flet macro also have

 (eval-when-compile
(require 'cl))

 so this should not be an issue in Org.

 What Emacs version is this?

 - Carsten


It's 23.1.1

When I do a C-u M-x org-reload beforehand there is no error message and
the pdf export succeeds.

I'm using 6.34c from my home directory (installed with make only, not
make install) and renamed the emacs folder under /usr/local/share to
make sure that the older version isn't loaded. (BTW what's the right way
to uninstall a system wide installation of org?)
M-x org-version shows the right number.





___
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] Table equations: II on lhs

2010-02-01 Thread Russell Adams
On Mon, Feb 01, 2010 at 12:08:20PM -0500, Kim Toms wrote:
 I am using a simple table to add up some estimates for tasks.  On the left
 hand side of the equations in the TBLFM line I can't get an expression like
 @II$2 to work.
 
 Here's an example
 | task  | estimate | probable |
 |---+--+--|
 | one   |   12 |2 |
 | two   |   10 |3 |
 |---+--+--|
 | total |   22 |5 |
 #+TBLFM: @4$2=vsum(@i...@ii-1)::@4$3=vsum(@i...@ii-1)
 
 I'd like to be able to put @II$2 on the LHS of the equation.  That way, when
 I add a row to the table, the equation doesn't have to change.
 
 A workaround for the above table is to use $LR2 and $LR3 instead of the more
 general references.

I do this fairly often. Just use enter to add a row in the table, the
references are automatically updated. Now, if you copy and paste it
won't work.

I just tried your example with the LR, and that worked fine for me.

|---+--+--|
| task  | estimate | probable |
|---+--+--|
| one   |   12 |2 |
| two   |   10 |3 |
| three |8 |8 |
| three |8 |8 |
| three |8 |8 |
| three |8 |8 |
|---+--+--|
| total |   54 |   37 |
|---+--+--|
#+TBLFM: $LR2=vsum(@-...@-ii)::$LR3=vsum(@-...@-ii)

This isn't copy/paste sensitive at all.

Does that answer your question?

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Announcing org-jekyll

2010-02-01 Thread Juan Reyero
On Mon, Feb 1, 2010 at 12:23 PM, Rick Moynihan rick.moyni...@gmail.com wrote:
 On 29 January 2010 23:16, Juan Reyero joa...@gmail.com wrote:
 Full description: http://juanreyero.com/open/org-jekyll/
 Source code: http://github.com/juanre/org-jekyll

 I'm not entirely clear on how the org-publish-project-alist relates to
 org-jekyll and org-jekyll-export-blog?  What do you need to do to set
 this up, other than annotate headlines with :blog: keywords and :on:
 properties?

You set it up so that the files that contain blog entries belong to an
org-publish project, as described for example in
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php

The idea is that you might want to combine a blog with a bunch of
org-published files, as I do in http://juanreyero.com and
http://greaterskies.com, and you shouldn't have to spend too much time
separating the two things.  So it boils down to defining your
org-publish-project-alist.  Then you open a file that belongs to the
project and do org-jekyll-export-blog or
org-jekyll-export-current-entry, depending on what you need.

 I've found that calling org-jekyll-export-blog, seems to do nothing...

It should, if the file from which you are calling is part of an
org-publish project, and there are entries with the :blog: tag and the
:on: property.

  Also I've seen it complain about org-publish-initialize-files-alist
 not being defined, unless I've first run an org-publish.

It should be able to populate the org-publish files itself; it
certainly works for me without doing org-publish.  If nothing works
for you please send me a minimal setup that reproduces your problem
and I'll try to figure it out.

Best regards, and thanks for the positive feedback,

Juan
---
http://juanreyero.com/
http://unarueda.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: ics file not understood by google calendar

2010-02-01 Thread Vagn Johansen
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Vagn,

 you are saying that this used to work out of the box and no longer does?
 Could you please git bisect to identify the offending commit?

Hi Carsten

Did you see my follow-up email? (reproduced below)

The problem appears to be caused by a change from VEVENT to VTODO in
org-icalendar.el. Of course, the change may be correct and google
calendar just does not support VTODO.




I just discovered some entries in google calendar which comes from an
org export to ics that was done half a year ago. They use VEVENT (as
opposed to VTODO).

This works

BEGIN:VEVENT
UID: TS-9164991C-7E1A-4D65-8A44-3674B236A836
DTSTART;VALUE=DATE:20090621
DTEND;VALUE=DATE:20090622
SUMMARY:leg press
DESCRIPTION: 2009-06-21 Sun\nfik tips fra Martin om l...
CATEGORIES:privat
END:VEVENT

Does not work (test9365.ics)

BEGIN:VTODO
UID: TODO-34C3192F-21FE-48C1-BFD7-7934B51D03A3
DTSTART;VALUE=DATE:20100201
SUMMARY:feb1
CATEGORIES:test9365
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO

If i change the first todo in test9365.ics to use VEVENT and save it
at http://ozymandias.dk/test/test9365c.ics then the event shows up in
google calendar.

-- 
Vagn Johansen



___
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] Announcing org-jekyll

2010-02-01 Thread Eric Schulte
So to jump onto this thread that Carsten unwittingly brought back to
life ;)

I have been exporting org-mode subtrees to jekyll blog posts on a couple
of projects, and I've found it really handy
- resulting in more attractive web pages than I'm able to generate
  directly from org
- for the liquid syntax which jekyll provides for programmatic
  generation of elements of html files
- and for the ability to automatically generate xml/atom/rss from my
  projects

One issue that I've not been able to solve is the resolution of
intra-file links when I'm exporting subtrees to external files.  For
example say I have the following file

,[example.org]
| * top
| ** subtopic
|:PROPERTIES:
|:CUSTOM_ID: subtopic
|:END:
| stuff
| 
| ** another topic
| see stuff in [[subtopic]]
`

after I've exported the subtrees to separate files for processing by
jekyll, all of my intra-file links are broken.  I wonder if a
generalization of this issue might have wide enough appeal to merit an
org-mode based solution.  Specifically would it be possible to add
support for exporting subtrees to external files, and updating all links
within the subtree based on the new location of the exported file
(i.e. adjusting all intra-file links to point to the original file)?

Taking the above idea one step further, if say each subtree has an
EXPORT_FILE_NAME property then it would be great to support link
maintenance during export of all such subtrees in a file, so for example
the following file

,[example.org]
| * top
| 
| ** section one
|:PROPERTIES:
|:EXPORT_FILE_NAME: section-one
|:END:
| 
| *** subtopic
|:PROPERTIES:
|:CUSTOM_ID: subtopic
|:END:
| stuff
| 
| ** another topic
|:PROPERTIES:
|:EXPORT_FILE_NAME: another-topic
|:END:
| see stuff in [[subtopic]]
`

could export to

,[section-one.org]
| * section one
|   :PROPERTIES:
|   :EXPORT_FILE_NAME: section-one
|   :END:
| 
| ** subtopic
|:PROPERTIES:
|:CUSTOM_ID: subtopic
|:END:
| stuff
`

and

,[another-topic.org]
| * another topic
|:PROPERTIES:
|:EXPORT_FILE_NAME: another-topic
|:END:
| see stuff in [[file:section-one.org::subtopic][subtopic]]
`

I hope the above example is clear.  While writing this up I noticed the
existence of an EXPORT_FILE_NAME property however I was unable to use
it to successfully export a subtree.  It may be that the behavior I've
described is only useful in the case of jekyll export, in which case I
may try my hand at hacking a solution together.  Either way I'd be
interested to hear peoples thoughts or if I'm missing some existing
functionality.

Thanks -- Eric

Carsten Dominik domi...@uva.nl writes:

 Sorry, this reply was in the wrong thread and is therefore meaningless.

 - Carsten

 On Feb 1, 2010, at 9:38 AM, Carsten Dominik wrote:

 Hi Juan,

 I like this idea, and I have implemented it.  Please use the
 property HTML_CONTAINER_CLASS.  And let me know if it works!

 HTH

 - Carsten

 On Jan 30, 2010, at 12:16 AM, Juan Reyero wrote:

 Greetings,

 I've been toying around with a small package to export entries as a
 Jekyll blog.  It is different from other approaches I am aware of in
 that it will find your blog entries anywhere in the files belonging
 to
 a project, and it will pass properties along to Jekyll as yaml front
 matter.  It also includes some support for localization.

 Full description: http://juanreyero.com/open/org-jekyll/
 Source code: http://github.com/juanre/org-jekyll

 Best regards,

 Juan

 - Carsten





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


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


[Orgmode] Re: Autoset org-agenda-files

2010-02-01 Thread BKnoth

On 2/1/2010 7:59 AM, Fredrik wrote:

I wonder if someone with some elisp knowledge could help me out I
have a folder containing all my org-files named as X.org and would like
to autopopulate the org-agenda-files when I start emacs. So in short
terms search folder for *.org (and exclude *-archive.org) so it is
always done when starting emacs...

Anyone that could help me create such a function?

Regards,

Fredrik


Look at the doc for org-agenda-files.

- Bruce




___
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: Autoset org-agenda-files

2010-02-01 Thread BKnoth

On 2/1/2010 7:59 AM, Fredrik wrote:

I wonder if someone with some elisp knowledge could help me out I
have a folder containing all my org-files named as X.org and would like
to autopopulate the org-agenda-files when I start emacs. So in short
terms search folder for *.org (and exclude *-archive.org) so it is
always done when starting emacs...

Anyone that could help me create such a function?

Regards,

Fredrik


Sorry - I just sent a non-sensible response. I didn't read your message 
thoroughly. Still, I'd think the regex feature of the org-agenda-files 
variable could help you out. Maybe I'm missing the point.


- Bruce




___
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: Autoset org-agenda-files

2010-02-01 Thread Carsten Dominik


On Feb 1, 2010, at 9:47 PM, BKnoth wrote:


On 2/1/2010 7:59 AM, Fredrik wrote:

I wonder if someone with some elisp knowledge could help me out I
have a folder containing all my org-files named as X.org and would  
like

to autopopulate the org-agenda-files when I start emacs. So in short
terms search folder for *.org (and exclude *-archive.org) so it is
always done when starting emacs...


This is a FAQ.

http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards

- Carsten



Anyone that could help me create such a function?

Regards,

Fredrik


Sorry - I just sent a non-sensible response. I didn't read your  
message thoroughly. Still, I'd think the regex feature of the org- 
agenda-files variable could help you out. Maybe I'm missing the point.


- Bruce




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


- Carsten





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


Re: [Orgmode] Re: Autoset org-agenda-files

2010-02-01 Thread David Maus
At Mon, 1 Feb 2010 21:52:01 +0100,
Carsten Dominik wrote:


 On Feb 1, 2010, at 9:47 PM, BKnoth wrote:

  On 2/1/2010 7:59 AM, Fredrik wrote:
  I wonder if someone with some elisp knowledge could help me out I
  have a folder containing all my org-files named as X.org and would
  like
  to autopopulate the org-agenda-files when I start emacs. So in short
  terms search folder for *.org (and exclude *-archive.org) so it is
  always done when starting emacs...

 This is a FAQ.

 http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards


Or if your org folder contains subdirs and you store org-files as
attachments to headlines (read: more subfolders) you may use the
`find-list' library.

In my configuration file:

(require 'find-lisp)
(setq org-agenda-files (find-lisp-find-files org-directory ^[^#].+\\.org$))

adds all .org files to the list of agenda files.

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com


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


[Orgmode] index support for publishing

2010-02-01 Thread Stefan Vollmar
Hallo,

we have been using org-mode to create HTML output for several projects and this 
has worked so well that we want to change some of our software documentation 
from LaTeX to org. In this recent example, 
http://www.nf.mpg.de/vhist/usage.html, we are happy with the result (we still 
use too many macros and will provide the org-source when we have cleaned it up 
a bit; I really like the tables with alternating row styles). 

However, this is already plenty of content for one single HTML document. We are 
now looking for a good strategy on how to split content into multiple org-files 
that can then be used to create multiple, linked HTML files for another, more 
complex documentation project.

With Publishing, http://orgmode.org/manual/Publishing.html, org-mode already 
has a lot of support for this. What is missing, from our point of view, is 
support for one (optional) index file.

Here is a suggestion:

(1) 

* My Section
  :INDEX: Special Section Name
  Some contents...

* Another Section
  :INDEX:
  more contents...

(2) During publishing, for each org-file a corresponding .orgx file could be 
written, containing one line for each INDEX line:

[[org-link to corresponding section in org-file][desc]]

where desc defaults to the section name but is the argument after :INDEX: if 
provided. 

(3) The index could then be generated by reading all .orgx-files, sorting the 
desc parts of the links and generating a simple list of sorted links. This 
might prove useful for LaTeX, but would definetely be interesting for HTML 
output. We could manage this on our own, provided we get some help with (2). 
Generating the index file is probably pretty fast, so in (2) one could do this 
on-the-fly, however, I have a feeling that pulling meta information from 
org-files in corresponding files might prove useful for all sorts of 
post-processing later.

Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de






___
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] [babe] noweb used to work but no longer does... what has changed?

2010-02-01 Thread Eric S Fraga
Hi,

after two months away from a particular document, I find that all my
babel codes in that document no longer work as they used to.
Specifically, references to other source code blocks are now no longer
expanded:

--8---cut here---start-8---
* maxima test
*** COMMENT units
#+srcname: units
#+begin_src maxima
programmode: false$
h: 3600*s$
day: 24*h$
#+end_src

*** Real evaluations
#+srcname: unitstest
#+begin_src maxima :results output :exports results :noweb
units
solution: solve([m = 2*day], [m]),numer$
#+end_src

#+results: unitstest
: stdin:2:Incorrect syntax:  is not a prefix operator
: 
: ^
--8---cut here---end---8---

The error at the end is because the code segment immediately above,
unitstest, has been copied literally to the maxima input file without
expansion of units.  This used to work fine so something has
changed?  If the change is something that will have affected my maxima
babel code, I can post that (but it's a total hack...).

Any and all suggestions or pointers more than welcome!

Thanks,
eric


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


Re: [Orgmode] The way index.html is generated

2010-02-01 Thread Eric S Fraga
At Mon, 1 Feb 2010 13:42:08 -0500,
Chao Lu wrote:
 
 I'm writing to ask if there any way to control the way how the index.html is
 generated? Now it works fine, but for a frontpage of the website, I really
 want to put more stuff than only a list of all the pages.

The easy answer, but maybe not what you want, is to write your own
index.org file as part of the project, one which has the content you
want?  I've never used an automatically created index.html file so
don't even know what it looks like!

HTH,
eric


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


Re: [Orgmode] The way index.html is generated

2010-02-01 Thread Eric S Fraga
At Mon, 01 Feb 2010 23:13:44 +,
Eric S Fraga wrote:
 
 At Mon, 1 Feb 2010 13:42:08 -0500,
 Chao Lu wrote:
  
  I'm writing to ask if there any way to control the way how the index.html is
  generated? Now it works fine, but for a frontpage of the website, I really
  want to put more stuff than only a list of all the pages.
 
 The easy answer, but maybe not what you want, is to write your own
 index.org file as part of the project, one which has the content you
 want?  I've never used an automatically created index.html file so
 don't even know what it looks like!

Forgot to add that you may need to unset :auto-index in your
publishing directives or, alternatively, have the automatic index
create a different file (e.g. sitemap.org) as indicated in the
publishing documentation.

cheers,
eric


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


Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-02-01 Thread Nick Dokos
I went through the rest - same conventions apply.


 1. If something is undefined in LaTeX, this is notated by commenting the item 
 out
in the appended LaTeX file, e.g.
 
 %\nbsp
 
 2. If something requires math mode, this is notated by marking the item like 
 this:
\ensuremath{\foo} in the appended LaTeX file, e.g.
 
 \ensuremath{\vert}
 
 3. If an item is defined and does not require math mode, it is left unadorned 
 in
the appended LaTeX file, e.g.
 
\copy
 


In addition, there are some symbols that are defined in packages. Where
I knew about that, I indicated the package in a comment. There are a
couple of things (\divide, \and and \or) that are defined, but they are
not useful as symbols - where applicable, I have indicated that in a
comment as well. And there is a bug in org-exp.el that caused \heartsuit
to be omitted and \diamondsuit to be duplicated:

...
(hearts) (diamondsuit.hearts;)
...

HTH,
Nick

---
\documentclass{article}

\begin{document}
% \nbsp
% \iexcl
% \cent
% \pound
% \curren
% \yen
% \brvbar

\ensuremath{\vert}
% \sect
% \uml
\copy
% \ordf
% \laquo
\not
% \shy
% \reg
% \macr
\ensuremath{\deg}
\ensuremath{\pm}
%\plusmn
\ensuremath{\sup }%2
\ensuremath{\sup }%3

\ensuremath{\acute x}
% \micro
% \para
% \middot
\ensuremath{\odot}
\ensuremath{\star}
%\cedil
\ensuremath{\sup1}
% \ordm
% \raquo
\ensuremath{\frac 1 4}
\ensuremath{\frac 1 2}
\ensuremath{\frac 3 4}
% \iquest
% \Agrave
% \Aacute
% \Acirc
% \Atilde
% \Auml
% \Aring
\AA
% \AElig
% \Ccedil
% \Egrave
% \Eacute
% \Ecirc
% \Euml
% \Igrave
% \Iacute
% \Icirc
% \Iuml
% \ETH
% \Ntilde
% \Ograve
% \Oacute
% \Ocirc
% \Otilde
% \Ouml
\ensuremath{\times}
% \Oslash
% \Ugrave
% \Uacute
% \Ucirc
% \Uuml
% \Yacute
% \THORN
% \szlig
% \agrave
% \aacute
% \acirc
% \atilde
% \auml
% \aring
% \aelig
% \ccedil
% \checkmark
% \egrave
% \eacute
% \ecirc
% \euml
% \igrave
% \iacute
% \icirc
% \iuml
% \eth
% \ntilde
% \ograve
% \oacute
% \ocirc
% \otilde
% \ouml
{\count240=240
  \divide\count240 by 2% not useful as a symbol
}
% \oslash
% \ugrave
% \uacute
% \ucirc
% \uuml
% \yacute
% \thorn
% \yuml
% \fnof
% \Alpha
% \Beta
\ensuremath{\Gamma}
\ensuremath{\Delta}
% \Epsilon
% \Zeta
% \Eta
\ensuremath{\Theta}
% \Iota
% \Kappa
\ensuremath{\Lambda}
% \Mu
% \Nu
\ensuremath{\Xi}
%\Omicron
\ensuremath{\Pi}
%\Rho
\ensuremath{\Sigma}
%\Tau
\ensuremath{\Upsilon}
\ensuremath{\Phi}
%\Chi
\ensuremath{\Psi}
\ensuremath{\Omega}
\ensuremath{\alpha}
\ensuremath{\beta}
\ensuremath{\gamma}
\ensuremath{\delta}
\ensuremath{\epsilon}
\ensuremath{\varepsilon}
\ensuremath{\zeta}
\ensuremath{\eta}
\ensuremath{\theta}
\ensuremath{\iota}
\ensuremath{\kappa}
\ensuremath{\lambda}
\ensuremath{\mu}
\ensuremath{\nu}
\ensuremath{\xi}
%\omicron
\ensuremath{\pi}
\ensuremath{\rho}
%\sigmaf
\ensuremath{\varsigma}
\ensuremath{\sigma}
\ensuremath{\tau}
\ensuremath{\upsilon}
\ensuremath{\phi}
\ensuremath{\chi}
\ensuremath{\psi}
\ensuremath{\omega}
%\thetasym
\ensuremath{\vartheta}
%\upsih
% \piv
% \bull
\ensuremath{\bullet}
%\hellip
\dots
\ensuremath{\prime}
%\Prime
% \oline
% \frasl
% \weierp
% \image
% \real
% \trade
% \alefsym
% \larr
\ensuremath{\leftarrow}
\ensuremath{\gets}
%\uarr
\ensuremath{\uparrow}
%\rarr
\ensuremath{\to}
\ensuremath{\rightarrow}
%\darr
\ensuremath{\downarrow}
%\harr
\ensuremath{\leftrightarrow}
%\crarr
\ensuremath{\hookleftarrow}
%\lArr
\ensuremath{\Leftarrow}
%\uArr
\ensuremath{\Uparrow}
%\rArr
\ensuremath{\Rightarrow}
%\dArr
\ensuremath{\Downarrow}
%\hArr
\ensuremath{\Leftrightarrow}
\ensuremath{\forall}
\part{foo}
\ensuremath{\partial}
%\exist
\ensuremath{\exists}
\empty
\ensuremath{\emptyset}
\ensuremath{\nabla}
%\isin
\ensuremath{\in}
\ensuremath{\notin}
\ensuremath{\ni}
\ensuremath{\prod}
\ensuremath{\sum}
%\minus
%\lowast
\ensuremath{\ast}
% \radic
% \prop
% \proptp
% \infin
\ensuremath{\infty}
%\ang

\ensuremath{\angle}
% \and  - not useful as a symbol
\ensuremath{\wedge}
% \or   - not useful as a symbol
\ensuremath{\vee}
\ensuremath{\cap}
\ensuremath{\cup}
\ensuremath{\int}
% \there4
\ensuremath{\sim}
\ensuremath{\cong}
\ensuremath{\simeq}
\ensuremath{\asymp}
\ensuremath{\approx}
\ensuremath{\ne}
\ensuremath{\neq}
\ensuremath{\equiv}
\ensuremath{\le}
\ensuremath{\ge}
%\sub
\ensuremath{\subset}
\ensuremath{\sup}
\ensuremath{\supset}
%\nsub
% \sube
% \supe
\ensuremath{\oplus}
\ensuremath{\otimes}
\ensuremath{\perp}
%\sdot
\ensuremath{\cdot}
\ensuremath{\lceil}
\ensuremath{\rceil}
\ensuremath{\lfloor}
\ensuremath{\rfloor}
% \lang
% \rang
% \loz
% \Diamond % latexsym.sty
% \spades
\ensuremath{\spadesuit}
% \clubs
\ensuremath{\clubsuit}
% \hearts
\ensuremath{\heartsuit}% added for this testing
\ensuremath{\diamondsuit}
% \diams
% \diamondsuit % duplicate
\ensuremath{\smile}
% \blacksmile
% \sad
% \quot
% \amp
% \lt
% \gt
% \OElig
% \oelig
% \Scaron
% \scaron
% \Yuml
\ensuremath{\circ}

Re: [Orgmode] [babe] noweb used to work but no longer does... what has changed?

2010-02-01 Thread Thomas S. Dye


On Feb 1, 2010, at 1:06 PM, Eric S Fraga wrote:


Hi,

after two months away from a particular document, I find that all my
babel codes in that document no longer work as they used to.
Specifically, references to other source code blocks are now no longer
expanded:

--8---cut here---start-8---
* maxima test
*** COMMENT units
#+srcname: units
#+begin_src maxima
programmode: false$
h: 3600*s$
day: 24*h$
#+end_src

*** Real evaluations
#+srcname: unitstest
#+begin_src maxima :results output :exports results :noweb
units
solution: solve([m = 2*day], [m]),numer$
#+end_src

#+results: unitstest
: stdin:2:Incorrect syntax:  is not a prefix operator
: 
: ^
--8---cut here---end---8---

The error at the end is because the code segment immediately above,
unitstest, has been copied literally to the maxima input file without
expansion of units.  This used to work fine so something has
changed?  If the change is something that will have affected my maxima
babel code, I can post that (but it's a total hack...).

Any and all suggestions or pointers more than welcome!

Thanks,
eric


Hi Eric,

Yes, the :noweb syntax was changed.  You'll need to say :noweb yes  
now.  There are ways to set this by file and globally as well.


The Org-babel documentation should be up-to-date on the new syntax.

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


Re: [Orgmode] [babe] noweb used to work but no longer does... what has changed?

2010-02-01 Thread Eric S Fraga
At Mon, 1 Feb 2010 13:57:09 -1000,
Thomas S. Dye wrote:
 
 
 On Feb 1, 2010, at 1:06 PM, Eric S Fraga wrote:
 
  #+begin_src maxima :results output :exports results :noweb

[...]

 Hi Eric,
 
 Yes, the :noweb syntax was changed.  You'll need to say :noweb yes
 now.  There are ways to set this by file and globally as well.
 
 The Org-babel documentation should be up-to-date on the new syntax.
 
 All the best,
 Tom
 

Arggghhh yes, it had to be something so simple my eyes kept skipping
that bit!  The documentation is indeed up to date; my eyes obviously
are not.  Sigh.  In any case, it all works perfectly again.  

Sorry, as ever, for the noise.  I really must learn not to try working
late at night any more -- I'm not the hacker I once was ;-)

Thanks again,
eric


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


Re: [Orgmode] return of problem with hyperlinks in verbatim code when exporting to latex

2010-02-01 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Feb 2, 2010, at 1:23 AM, Eric S Fraga wrote:


At Mon, 01 Feb 2010 23:58:16 +,
Eric S Fraga wrote:


[1  text/plain; US-ASCII (7bit)]
Carsten,

possibly the recent changes to org-mode for how external links are
handled in the latex export (if I remember some of the messages  
flying
by in the past week or so correctly) may have re-introduced a bug  
that

existed a couple of months ago.  Specifically, in some circumstances,
the appearance of [[ in a verbatim code segment is translated into
\hyperref upon export to latex.



The puzzle deepens.  Please see attached files which show one case not
working and the other working just fine (in the same file) with the
only difference between them (as far as I can see but it *is* late at
night now...) being a single space.  I've hopefully managed to protect
the file from any email system mangling along the way...

I'm off to bed as my brain is turning into mush ;-)

Thanks again,
eric
 
examplebug 
.orgexamplebug.pdf___

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


- Carsten





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


Re: [Orgmode] PDF export with texlive-2009: AUTO.def not found.

2010-02-01 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Feb 1, 2010, at 4:54 PM, Jeff Kowalczyk wrote:


I'm using texlive-2009 on Gentoo Linux with org-mode git at 04c86c5.

Upon updating to texlive-2009, PDF export via pdflatex started  
producing the

following error:

---
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
entering extended mode
(/home/myuser/org/acme.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, usenglishmax,  
dumylang, noh

yphenation, bulgarian, russian, ukrainian, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size11.clo))
(/usr/share/texmf-dist/tex/latex/base/inputenc.sty

! LaTeX Error: File `AUTO.def' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: def)

Enter file name:
! Emergency stop.
read *

l.131 \endinput
  ^^M
!  == Fatal error occurred, no output PDF file produced!
Transcript written on central.log.
---

The system packaged texlive-2009 does have 32 .defs in
/usr/share/texmf-dist/tex/latex/base, but not AUTO.def.

Not sure if this is a change in texlive-2009, or an issue with  
system-packaging,

or application issue yet, just reporting the symptom.

Thanks,
Jeff



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


- Carsten





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


Re: [Orgmode] Re: Hang after agenda export [6.34c]

2010-02-01 Thread Carsten Dominik


On Feb 1, 2010, at 7:50 PM, manonf...@lavabit.com wrote:



On Feb 1, 2010, at 9:10 AM, Noorul Islam K M wrote:


manonf...@lavabit.com writes:


The problem could be solved by removing the example code snippet
suggested
in the manual (Page 104 for 6.34c) from .emacs which is

(setq org-agenda-exporter-setting)
  '((ps-number-of-columns 2)
   (ps-landscape-mode t)
   (org-agenda-add-entry-text-maxlines 5)))


Export to txt and html works now. But for pdf I get an error  
message:


Symbol's function definition is void: flet


You need

cl.el --- Common Lisp extensions for Emacs



All parts of Org that use the flet macro also have

(eval-when-compile
  (require 'cl))

so this should not be an issue in Org.

What Emacs version is this?

- Carsten



It's 23.1.1

When I do a C-u M-x org-reload beforehand there is no error message  
and

the pdf export succeeds.


That sounds like there still is a loading conflict - most likely you  
are doing something to load org-mode (like setting up appt with org,  
or visiting an Org file or constructing an agenda view) before adding  
the org directories to the load path.


- Carsten



I'm using 6.34c from my home directory (installed with make only, not
make install) and renamed the emacs folder under /usr/local/share to
make sure that the older version isn't loaded. (BTW what's the right  
way

to uninstall a system wide installation of org?)
M-x org-version shows the right number.





- Carsten





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


Re: [Orgmode] Re: ics file not understood by google calendar

2010-02-01 Thread Carsten Dominik

Hi Vagn

On Feb 1, 2010, at 8:47 PM, Vagn Johansen wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


Hi Vagn,

you are saying that this used to work out of the box and no longer  
does?

Could you please git bisect to identify the offending commit?


Hi Carsten

Did you see my follow-up email? (reproduced below)


Yes, I did see you followup - however, i still sounds to me that you
are saying that something changed in Org (VEVENT to VTODO).  It would  
still

be useful to identify when exactly this happened.

- Carsten



The problem appears to be caused by a change from VEVENT to VTODO in
org-icalendar.el. Of course, the change may be correct and google
calendar just does not support VTODO.




I just discovered some entries in google calendar which comes from an
org export to ics that was done half a year ago. They use VEVENT (as
opposed to VTODO).

This works

BEGIN:VEVENT
UID: TS-9164991C-7E1A-4D65-8A44-3674B236A836
DTSTART;VALUE=DATE:20090621
DTEND;VALUE=DATE:20090622
SUMMARY:leg press
DESCRIPTION: 2009-06-21 Sun\nfik tips fra Martin om l...
CATEGORIES:privat
END:VEVENT

Does not work (test9365.ics)

BEGIN:VTODO
UID: TODO-34C3192F-21FE-48C1-BFD7-7934B51D03A3
DTSTART;VALUE=DATE:20100201
SUMMARY:feb1
CATEGORIES:test9365
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO

If i change the first todo in test9365.ics to use VEVENT and save it
at http://ozymandias.dk/test/test9365c.ics then the event shows up in
google calendar.

--
Vagn Johansen



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


- Carsten





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


Re: [Orgmode] Patch for links to dired buffers

2010-02-01 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Feb 1, 2010, at 4:23 PM, Stephen Eglen wrote:


Currently if I do 'C-c l' (org-store-link) on the top line of a dired
buffer, I get:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
 expand-file-name(nil)
 (abbreviate-file-name (expand-file-name (dired-get-filename nil t)))

This simple patch suggests that instead of signaling an error, the
default directory is used.  (I've not removed the trailing / from the
directory name, as I prefer that on the link name to indicate  
directory

- but that can be deleted.)

Thanks, Stephen

2010-02-01  Stephen Eglen  step...@gnu.org

* org.el (org-store-link): For dired buffers, use
default-directory as link name if dired-get-filename returns
nil.

*** /tmp/ediff11782xez  2010-02-01 15:17:48.0 +
--- /home/stephen/langs/emacs/elisp-ds/org-mode/lisp/org.el	 
2010-02-01 15:17:45.0 +

***
*** 7669,7679 

  ((eq major-mode 'dired-mode)
   ;; link to the file in the current line
!   (setq cpltxt (concat file:
!  (abbreviate-file-name
!   (expand-file-name
!(dired-get-filename nil t
!   link (org-make-link cpltxt)))

  ((and buffer-file-name (org-mode-p))
   (setq custom-id (ignore-errors (org-entry-get nil  
CUSTOM_ID)))

--- 7669,7682 

  ((eq major-mode 'dired-mode)
   ;; link to the file in the current line
!   (let ((file (dired-get-filename nil t)))
!   (setq file (if file
!  (abbreviate-file-name
!   (expand-file-name (dired-get-filename nil t)))
!;; otherwise, no file so use current directory.
!default-directory))
!   (setq cpltxt (concat file: file)
! link (org-make-link cpltxt

  ((and buffer-file-name (org-mode-p))
   (setq custom-id (ignore-errors (org-entry-get nil  
CUSTOM_ID)))





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


- Carsten





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


Re: [Orgmode] [PATCH] org-narrow-to-subtree: prevent prepending text to the next headline while narrowed

2010-02-01 Thread Carsten Dominik


On Feb 1, 2010, at 6:26 PM, Samuel Wales wrote:


Hi Carsten,

On 2010-02-01, Carsten Dominik carsten.domi...@gmail.com wrote:

Hi Samuel,

this remains a contriversial issue.  However, since I made the  
change,

I have not received any concrete reports of problems - so I guess it
is working pretty well the way it is now.

Case closed - until the next bug report :-)


Challenge accepted.

Sorting creates a blank line.


Hi Samuel,

You mean, narrowing to a subtree, then sorting, then widening
does create an empty line?

That is *much* more acceptable that swallowing a headline, don't you  
agree?


And if you sort without narrowing, nothing will happen, I think.

- Carsten



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


[Orgmode] Re: a bug @ remember template

2010-02-01 Thread zwz
Carsten Dominik carsten.dominik at gmail.com writes:

 
 
 On Jan 31, 2010, at 5:00 PM, zwz wrote:
 
  I use org-remember for my contact records.
 
  This is a template in org-remember-templates
  (Contact ?c * %^{Name} \n%[~/.contact]\n contact.org Contacts)
 
  the content of the file ~/.contact:
  :PROPERTIES:
  :Mobile: %^{mobile}
  :Email:
  :Added: %u
  :END:
 
  I found that the prompt %^{mobile} works, but *the inactive time  
  stamp %u
  does not.* It is not replaced.
 
  I guess it is a bug.
 
 
 Maybe not a bug - this simplt depends on the sequence
 in which % escapes are expanded in the template.

Yes, it indeed depend on the expanding-order.

Yesterday, I tried a workaround.

I moved :Added: %u \n :END: from ~/.contact to ~/.emacs,
which makes the new template in org-remember-templates as
(Contact ?c * %^{Name} \n%[~/.contact] :Added: %u \n :END: contact.org
Contacts)

But then I found that the content of the file ~/.contact was not inserted at
all.  *Maybe this is a bug.*

I added \n before :Added::
(Contact ?c * %^{Name} \n%[~/.contact]\n :Added: %u \n :END: contact.org
Contacts)
then it did the work, but the result was not perfect.



 
 However, I can see that it could be nice to define the templates
 in a separate file like you do - so I have changed the sequence now.
 File insertion happens first, so that this should now work (untested).
 
 HTH
 
 - Carsten
 
 
 
 
  ___
  Emacs-orgmode mailing list
  Please use `Reply All' to send replies to the list.
  Emacs-orgmode at gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 - Carsten
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode at gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 






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


Re: [Orgmode] return of problem with hyperlinks in verbatim code when exporting to latex

2010-02-01 Thread Eric S Fraga
At Tue, 2 Feb 2010 06:32:42 +0100,
Carsten Dominik wrote:
 
 Fixed, thanks.
 
 - Carsten

It is indeed!  Thanks.

 
 On Feb 2, 2010, at 1:23 AM, Eric S Fraga wrote:
 
  At Mon, 01 Feb 2010 23:58:16 +,
  Eric S Fraga wrote:
 
  [1  text/plain; US-ASCII (7bit)]
  Carsten,
 
  possibly the recent changes to org-mode for how external links are
  handled in the latex export (if I remember some of the messages
  flying
  by in the past week or so correctly) may have re-introduced a bug
  that
  existed a couple of months ago.  Specifically, in some circumstances,
  the appearance of [[ in a verbatim code segment is translated into
  \hyperref upon export to latex.
 
 
  The puzzle deepens.  Please see attached files which show one case not
  working and the other working just fine (in the same file) with the
  only difference between them (as far as I can see but it *is* late at
  night now...) being a single space.  I've hopefully managed to protect
  the file from any email system mangling along the way...
 
  I'm off to bed as my brain is turning into mush ;-)
 
  Thanks again,
  eric
   examplebug
  .orgexamplebug.pdf___
  Emacs-orgmode mailing list
  Please use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 - Carsten
 
 
 


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