[Orgmode] A Bug(?) and a question

2008-06-12 Thread Rustom Mody
This small file:

#+OPTIONS: toc:nil
#+TITLE: A Title
* Introduction
Some Text

generates html in which the

#+TITLE: A Title

appears (in the html).
Am I missing some option or is this a bug? [Version of org 6.04c]

While I am at OPTIONs Ive one more question:
How easy is it to have a tail line (in the generated html) which says
something like the following?

Auto-generated by org mode in emacs

I can use #+TEXT:
but this puts the text at the top

Thanks

Rustom


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


[Orgmode] Re: cdlatex like remember

2008-06-12 Thread Fabian Braennstroem
Hi Dominik,

* Dominik, C. <[EMAIL PROTECTED]> wrote:
> This is a multi-part message in MIME format.
>
> --===1707015929==
> Content-class: urn:content-classes:message
> Content-Type: multipart/alternative;
>   boundary="_=_NextPart_001_01C8CB90.5759715E"
>
> This is a multi-part message in MIME format.
>
> --_=_NextPart_001_01C8CB90.5759715E
> Content-Type: text/plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi Fabian,
>
> I have no plans to extend cdlatex in this direction,
> it is really a LaTeX support module and not a general
> template module.

Ok, but it is really great; I love it!


> There are *many* emacs packages that implement template
> insertion in one way or another.  Maybe you can find something
> here:
>
>   http://emacs-template.sourceforge.net/related.html
>
> I am not sure if I understand what you mean by
> "remember destrys my views".

It was not really correct. I am actually having my emacs tiled into four to
eight windows. Org 'destroys' the setup, which is kept using 

(defun my-toggle-window-state ()
(interactive)
(if my-saved-configuration
;; We're in the one-window mode and want to switch back.
(progn
  (set-window-configuration my-saved-configuration)
  (setq my-saved-configuration nil))
  ;; We're in the multi-window mode, and want to save it and
  ;; move to the single window mode.
  (setq my-saved-configuration (current-window-configuration))
  (delete-other-windows)))

, when using the agenda. 'remember' does not destroy the setup, but the 'C-u'
key does not work with viper/vimpulse mode. Which is a problem of 
viper/vimpulse...

Greetings!
Fabian




>
> - Carsten
>
>
> -Original Message-
> From: [EMAIL PROTECTED] on behalf =
> of Fabian Braennstroem
> Sent: Fri 5/30/2008 8:47 PM
> To: emacs-orgmode@gnu.org
> Subject: [Orgmode] cdlatex like remember
> =20
> Hi,
>
> I am using cdlatex a lot with auctex and start using it
> with org... great :-) For smaller templates
> and bigger templates, for which I used remember before, I
> start to 'convert' them. What I am kind of missing in cdlatex is a =
> function
> 'AUTOTEXT', 'AUTOQUESTION' and 'CURRENTTIME'... actually
> similar options like in remember. Is there a chance that
> cdlatex can do this? It is for me much 'easier' to handle
> than remeber. I am using viper-mode and have
> trouble with all those C-u bindings and often
> have a lot of tiled buffers on a large display.
> Remember kind of destroys my views...
>
> Greetings!
>  Fabian
>
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
> --_=_NextPart_001_01C8CB90.5759715E
> Content-Type: text/html;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> 
> 
> 
>  charset=3Diso-8859-1">
>  6.5.7650.28">
> RE: [Orgmode] cdlatex like remember
> 
> 
> 
>
> Hi Fabian,
> 
> I have no plans to extend cdlatex in this direction,
> it is really a LaTeX support module and not a general
> template module.
> 
> There are *many* emacs packages that implement template
> insertion in one way or another.  Maybe you can find something
> here:
> 
>    HREF=3D"http://emacs-template.sourceforge.net/related.html";>http://emacs-=
> template.sourceforge.net/related.html
> 
> I am not sure if I understand what you mean by
> "remember destrys my views".
> 
> - Carsten
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] on behalf =
> of Fabian Braennstroem
> Sent: Fri 5/30/2008 8:47 PM
> To: emacs-orgmode@gnu.org
> Subject: [Orgmode] cdlatex like remember
> 
> Hi,
> 
> I am using cdlatex a lot with auctex and start using it
> with org... great :-) For smaller templates
> and bigger templates, for which I used remember before, I
> start to 'convert' them. What I am kind of missing in cdlatex is a =
> function
> 'AUTOTEXT', 'AUTOQUESTION' and 'CURRENTTIME'... actually
> similar options like in remember. Is there a chance that
> cdlatex can do this? It is for me much 'easier' to handle
> than remeber. I am using viper-mode and have
> trouble with all those C-u bindings and often
> have a lot of tiled buffers on a large display.
> Remember kind of destroys my views...
> 
> Greetings!
>  Fabian
> 
> 
> 
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
>  HREF=3D"http://lists.gnu.org/mailman/listinfo/emacs-orgmode";>http://lists=
> .gnu.org/mailman/listinfo/emacs-orgmode
> 
> 
> 
>
> 
> 
> --_=_NextPart_001_01C8CB90.5759715E--
>
>
>
> --===1707015929==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to 

[Orgmode] Bug in export to iCal : one solution

2008-06-12 Thread Paul R
I finaly tracked in down, while sitting in the train. I hope I'll have
enough battery life to give explaination here, and that I'll find some
wireless spot tonight to send this report.

Here is a simplified stack of exporting to ical : 

- org-export-icalendar-combine-agenda-files
`- org-export-icalendar
 `- org-print-icalendar-entries
  `- (org-diary-to-ical-string sexp-buffer) in org-exp.el:3791

A look at org-diary-to-ical-string shows :
,
| (defun org-diary-to-ical-string (frombuf)
|   "Get iCalendar entries from diary entries in buffer FROMBUF.
|   This uses the icalendar.el library."
`

then at the end of this function : 
 (kill-buffer frombuf)

This line is incriminated. Although I have a very limited
understanding of how the export procedure works, I think it can be
replaced by something like :
 (with-current-buffer frombuf (erase-buffer))

or, the "ical-tmp" buffer should be re-created by some mean in the
loop.

I don't understand how it can work for some people, though ... :)


-- 
  Paul


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


[Orgmode] Re: Kill text in org mode

2008-06-12 Thread John
Carsten Dominik  uva.nl> writes:

> This is a bug in XEmacs, in the definition of the variable `isearch- 
> mode-map'.  In this map, all printing characters should be bound to  
> `isearch-printing-char', but the setup does not handle non-ascii  
> characters correctly, I believe.  The purpose of this code is to  
> exactly handle packages like Org where all normal characters are bound  
> to a special function - but the implementation of this function is  
> incomplete.  A better implementation could be to find all characters  
> that are bound to self-insert-command in the global map and make the  
> replacement binding for those.

That's strange because whenever I isearch words with accented characters
in other modes then it works fine.  The problem only occurs when using org mode.










--
John
 



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


[Orgmode] Re: adding notes from agenda buffer

2008-06-12 Thread Bernt Hansen
Cezar Halmagean <[EMAIL PROTECTED]> writes:

> Nick Dokos <[EMAIL PROTECTED]> writes:
>
>> [Fat-fingered that one... I *meant* to say:]
>>
>> Peter Rayner <[EMAIL PROTECTED]> wrote:
>>
>>> >Typing  on an item in the agenda buffer takes you to the item
>>> >itself, where you can do anything you please, e.g. add a note. Is that
>>> >what you are looking for?
>>>
>>> It's close but I would rather automate adding the time-stamp, finding
>>> the correct place to add the note etc.  It's like adding a note with a
>>> state-change but *without* a state change. 
>>
>> [You should reply to the list, so everybody can "hear" the conversation.]
>>
>> org-add-note will add a note. It's bound to C-c C-z, so from the agenda,
>> you can do  and then C-c C-z: you'll get a note buffer where you
>> can type your note; C-c C-c will insert it.
>>
>
> This is really nice ! But I think we should have this in the agenda
> buffer so you don't have to type  to go to the actuall TODO entry.

It already works like that.  Just put the cursor on an agenda line and
C-c C-z and enter your note - it gets filed on the appropriate task.

-Bernt


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


[Orgmode] Re: carbon emacs org-add-link-type

2008-06-12 Thread Cezar Halmagean

On 2008-06-11 22:53:04 -0700, Carsten Dominik <[EMAIL PROTECTED]> said:


Hi Cezar,

you must have a setup in which org-add-link-type is called before  
org.el is loaded.  This can happen by a package that calls this  
function without doing (require 'org) first.


- Carsten



I am not 100% that happens. Here is my org-init file.

http://mixandgo.com/org-mode-init.el

P.S. This works in Emacs CVS on linux.


Cezar




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


Re: [Orgmode] Re: Bug in iCalendar export

2008-06-12 Thread Adam Spiers
On Thu, Jun 12, 2008 at 11:03:12AM +0100, Adam Spiers wrote:
> On Wed, Jun 11, 2008 at 07:13:49PM -0400, Nick Dokos wrote:
> > So it seems to me that the bug is somewhere fairly deep in emacs
> > itself (btw, I sent a bug report off to the emacs maintainers - we'll
> > see what they say). I also tried on an ancient RHEL4.1(?)  system with
> > the stock emacs 21 version that was packaged with it: I had to do some
> > work to get org-mode installed there, but I could not then reproduce the
> > error.
> 
> Please keep us informed if you make any progress.  I see this error
> probably at least once most days.  What backtrace do you get if you
> turn on `debug-on-error' (also doable from the Options menu) ?

Doh - you already posted that, sorry.


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


[Orgmode] Re: GFDL with cover texts

2008-06-12 Thread Seb
On 2008-06-12, Carsten Dominik <[EMAIL PROTECTED]> wrote:
>> But anyway, if you're the sole author, you can definitely move to a
>> GPL+GFDL dual-license when you so please, but I guess I still need
>> to add that IANAL...
>
> I don't know what this last sentence means.

the "I Am Not A Lawyer" part ? Simply that my however strong my
opinion is, it does not constitute legal advice :)

> ALso, can you point me to an example of the text that I would have
> to insert to make you and Debian happy?

Adding something like "Alternatively, this program is licensed under
the terms of the General Public License [..]", after the existing license, will do the trick.

Cheers,

--Seb




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


[Orgmode] Re: Bug in iCalendar export

2008-06-12 Thread Nick Dokos
Paul R <[EMAIL PROTECTED]> wrote:


> I currently don't use export, and have very little time to track this
> bug down. Do you use combined org files for export ? IOW, do you have
> a single org file or multiple files ?
> 

I don't use export very much either - for now, I 'm playing with it, which
is how I came with the problem. In answer to your question, I have many org
files, only some of which are ever exported (to latex and html). The ical
thing was strictly a home experiment and consisted solely of a single test
file.

Regards,
Nick



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


[Orgmode] extionsions typo in docs

2008-06-12 Thread Adam Spiers
Attached ...
diff --git a/doc/org.texi b/doc/org.texi
index 6e0aa7a..89c54b1 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -89,7 +89,7 @@ Software Foundation raise funds for GNU development.''
 * Exporting::   Sharing and publishing of notes
 * Publishing::  Create a web site of linked Org files
 * Miscellaneous::   All the rest which did not fit elsewhere
-* Extionsions:: 
+* Extensions:: 
 * Hacking:: 
 * History and Acknowledgments::  How Org came into being
 * Main Index::  An index of Org's concepts and features
@@ -7889,7 +7889,7 @@ Org uses timestamps to track when a file has changed. The 
above
 functions normally only publish changed files. You can override this and
 force publishing of all files by giving a prefix argument.
 
[EMAIL PROTECTED] Miscellaneous, Extionsions, Publishing, Top
[EMAIL PROTECTED] Miscellaneous, Extensions, Publishing, Top
 @chapter Miscellaneous
 
 @menu
@@ -8495,7 +8495,7 @@ The exporters work well, but could be made more efficient.
 @end itemize
 
 
[EMAIL PROTECTED] Extionsions, Hacking, Miscellaneous, Top
[EMAIL PROTECTED] Extensions, Hacking, Miscellaneous, Top
 @appendix Extensions
 
 This appendix lists the extension modules that have been written for Org.
@@ -8507,7 +8507,7 @@ distribution, others are available somewhere on the web.
 * Other extensions::These you have to find on the web.
 @end menu
 
[EMAIL PROTECTED] Extensions in the contrib directory, Other extensions, 
Extionsions, Extionsions
[EMAIL PROTECTED] Extensions in the contrib directory, Other extensions, 
Extensions, Extensions
 @section Extensions in the @file{contrib} directory
 
 @table @asis
@@ -8572,12 +8572,12 @@ distribution, others are available somewhere on the web.
 @end table
 
 
[EMAIL PROTECTED] Other extensions,  , Extensions in the contrib directory, 
Extionsions
[EMAIL PROTECTED] Other extensions,  , Extensions in the contrib directory, 
Extensions
 @section Other extensions
 
 @i{TO BE DONE}
 
[EMAIL PROTECTED] Hacking, History and Acknowledgments, Extionsions, Top
[EMAIL PROTECTED] Hacking, History and Acknowledgments, Extensions, Top
 @appendix Hacking
 
 This appendix covers some aspects where users can extend the functionality of
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Narrow to subtree and widen again - missing documentation

2008-06-12 Thread Harri Kiiskinen

Carsten Dominik wrote:

But how do I clean the buffer after sparse tree by criteria -selection 
( C-c / )?



What do you mean by "clean".

You can use `C-c C-a' to show everything, or S-TAB once or several times 
to cycle through global visibility states.


Sorry, I meant (C-c \), which gives a TAG query. If I select a tag, its 
entry is coloured, if I select no tags, all entries are coloured, but 
how to remove the selection/colouring altogether was the problem. I did 
discover, that (C-c / t RET) removes all the colouring, but only after 
receiving you response. 'C-c C-a' and S-TAB just change the views, but 
the selected entries still stay coloured.

Hope I managed to express the problem.



Harri K.


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


Re: [Orgmode] Bug: switch state of invisible todo item

2008-06-12 Thread Reimar Finken
Dear Carsten,

Carsten Dominik <[EMAIL PROTECTED]> writes:

> Hi Raimar, this bug is now fixed, thank you for your detailed
> and very clear report.
>
> - Carsten

Thank you very much. Clocking in works like a charm now.

Reimar



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


[Orgmode] Link to MH-E message that has been refiled

2008-06-12 Thread Paisa Seeluangsawat

Hi,

I would like some tips on using org-mode's links to MH-E messages.
Here is what I currently do:

1) As I read new emails, I use org-remember to make a new org entry.  It
   automatically creates a link to the email message:
   mhe:[EMAIL PROTECTED]

2) I refile the email message to a folder (e.g. "family").  Keep my
   inbox clean :-).

3) Problem: the link in my org entry is now broken.  It still
   (understandably) points to "inbox", while the message is now in
   "family".

Is there a convenient way to get around this problem?

Paisa


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


Re: [Orgmode] iCal export of repeated tasks

2008-06-12 Thread Adam Spiers
On Thu, Jun 12, 2008 at 12:54:04PM +0200, Carsten Dominik wrote:
> On Jun 12, 2008, at 12:05 PM, Adam Spiers wrote:
> >On Thu, Jun 12, 2008 at 08:02:48AM +0200, Carsten Dominik wrote:
> >>On Jun 10, 2008, at 12:17 PM, Adam Spiers wrote:
> >>
> >>>Currently, if I have a repeated task such as
> >>>
> >>>* NEXT [#B] water plants
> >>>SCHEDULED: <2008-06-16 Mon 10:30-10:45 .+1w>
> >>>
> >>>then iCal export includes something like this in the VEVENT:
> >>>
> >>>RRULE:FREQ=WEEKLY;INTERVAL=1
> >>>
> >>>For most repeated tasks, this is a perfectly sensible default.
> >>>However, for a task of this nature, I only want to see the next
> >>>occurrence show up in my calendar client - any more just clutters
> >>>up the monthly view.  So I would suggest that there should be an
> >>>option to control whether the repeated occurrences get exported.
> >>>Even better if you could limit this to only apply to certain
> >>>types of repeat; maybe having it only apply to the 'battery
> >>>charging' type of renewable events denoted by '.+' would make a
> >>>sensible default?
> >>
> >>I don't think the icalendar format does support repeated entries
> >>for a limited time interval, does it?
> >
> >Quite possibly not - however this need not get in the way of my
> >suggestion, which was simply to export the repeated event as a one-off
> >where appropriate.  Does that make sense?
> 
> Not really, to be honest.  I am having trouble to envision a good  
> definitions of when a repeated event is a repeated one and when not.

Well, I agree that there may not be a good definition, in which case a
per-event property disabling export of the RRULE would be a perfect
solution.


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


Re: [Orgmode] iCal export of repeated tasks

2008-06-12 Thread Carsten Dominik


On Jun 12, 2008, at 12:05 PM, Adam Spiers wrote:


On Thu, Jun 12, 2008 at 08:02:48AM +0200, Carsten Dominik wrote:

On Jun 10, 2008, at 12:17 PM, Adam Spiers wrote:


Currently, if I have a repeated task such as

* NEXT [#B] water plants
SCHEDULED: <2008-06-16 Mon 10:30-10:45 .+1w>

then iCal export includes something like this in the VEVENT:

RRULE:FREQ=WEEKLY;INTERVAL=1

For most repeated tasks, this is a perfectly sensible default.
However, for a task of this nature, I only want to see the next
occurrence show up in my calendar client - any more just clutters up
the monthly view.  So I would suggest that there should be an option
to control whether the repeated occurrences get exported.  Even  
better

if you could limit this to only apply to certain types of repeat;
maybe having it only apply to the 'battery charging' type of  
renewable

events denoted by '.+' would make a sensible default?


I don't think the icalendar format does support repeated entries  
for a

limited time interval, does it?


Quite possibly not - however this need not get in the way of my
suggestion, which was simply to export the repeated event as a one-off
where appropriate.  Does that make sense?


Not really, to be honest.  I am having trouble to envision a good  
definitions of when a repeated event is a repeated one and when not.


- Carsten



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


Re: [Orgmode] FR: headline iteration API

2008-06-12 Thread Carsten Dominik



Fixed, thanks.

- Carsten

On Jun 12, 2008, at 12:16 PM, Adam Spiers wrote:



Ooo, shiny! :-)


I am very curious to see what kind of tricks you will do with this,
to keep us posted!


Sure - but first I need to surmount this compilation error with the
latest git master:

- 8< - 8< - 8< - 8< - 8<  
-

$ make
Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el  
(source)...


In end of data:
org-compat.el:254:1:Warning: the function `add-local-hook' is not  
known to be

   defined.
Wrote /home/adam/lib/emacs/major-modes/org-mode.git/lisp/org- 
compat.elc
emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand- 
file-name \"./lisp/\")) (add-to-list (quote load-path) \"/usr/local/ 
share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org-faces.el
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gtypist-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/lilypond-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/muse-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode- 
init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el  
(source)...

Wrote /home/adam/lib/emacs/major-modes/org-mode.git/lisp/org-faces.elc
emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand- 
file-name \"./lisp/\")) (add-to-list (quote load-path) \"/usr/local/ 
share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org.el
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gtypist-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/lilypond-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/muse-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode- 
init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el  
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el  
(source)...


In toplevel form:
\30\303EE\207\304\303rrF\207" [place x setq cons callf2] 5 ("/usr/ 
share/emacs/22.1/lisp/emacs-lisp/cl.elc" . 2669)], 1

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





$ rpm -qf /usr/share/emacs/22.1/lisp/emacs-lisp/cl.elc
emacs-common-22.1-4.fc7
- 8< - 8< - 8< - 8< - 8<  
-


How is one supposed to figure out which part of lisp/org.el is  
causing that?

My elisp-fu isn't strong enough.


Yes, this is hard to find.  I just happend to remember that I did  
something dangerous with "push".


- Carsten



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


Re: [Orgmode] FR: headline iteration API

2008-06-12 Thread Adam Spiers
On Thu, Jun 12, 2008 at 08:46:47AM +0200, Carsten Dominik wrote:
> 
> On Jun 10, 2008, at 12:28 PM, Adam Spiers wrote:
> >Yes.  There will be many intricacies involved in iteration, and
> >probably only Carsten knows them all - without an API we would
> >individually be reinventing the same wheel over and over ... badly.
> 
> 
> Hi Adam, Daniel, and others,
> 
> the mapping API is in place and already quite general.
> It supports different scopes like the current tree, or the file,
> or all agenda files, or even all agenda files with associated
> archives.  You can specify a tags/property/todo match to
> restrict the mapping to selected entries.  And you can use the full
> org-agenda-skip mechanism (but you might want to do these checks in
> the mapping function, of course).
> 
> Adam, as you suspected, this is only a small bit of code, for the
> rest it re-uses the agenda stuff.
> 
> Documentation is in Appendix B6 of the manual.

Ooo, shiny! :-)

> I am very curious to see what kind of tricks you will do with this,
> to keep us posted!

Sure - but first I need to surmount this compilation error with the
latest git master:

- 8< - 8< - 8< - 8< - 8< -
$ make
Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el (source)...

In end of data:
org-compat.el:254:1:Warning: the function `add-local-hook' is not known to be
defined.
Wrote /home/adam/lib/emacs/major-modes/org-mode.git/lisp/org-compat.elc
emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand-file-name 
\"./lisp/\")) (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org-faces.el
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gtypist-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/lilypond-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/muse-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el 
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el (source)...
Wrote /home/adam/lib/emacs/major-modes/org-mode.git/lisp/org-faces.elc
emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand-file-name 
\"./lisp/\")) (add-to-list (quote load-path) 
\"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org.el
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/gtypist-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/lilypond-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/muse-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el 
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el (source)...

In toplevel form:
\30\303EE\207\304\303rrF\207" [place x setq cons callf2] 5 
("/usr/share/emacs/22.1/lisp/emacs-lisp/cl.elc" . 2669)], 1
make: *** [lisp/org.elc] Error 1

$ rpm -qf /usr/share/emacs/22.1/lisp/emacs-lisp/cl.elc
emacs-common-22.1-4.fc7
- 8< - 8< - 8< - 8< - 8< -

How is one supposed to figure out which part of lisp/org.el is causing that?
My elisp-fu isn't strong enough.


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


Re: [Orgmode] iCal export of repeated tasks

2008-06-12 Thread Adam Spiers
On Thu, Jun 12, 2008 at 08:02:48AM +0200, Carsten Dominik wrote:
> On Jun 10, 2008, at 12:17 PM, Adam Spiers wrote:
> 
> >Currently, if I have a repeated task such as
> >
> >* NEXT [#B] water plants
> > SCHEDULED: <2008-06-16 Mon 10:30-10:45 .+1w>
> >
> >then iCal export includes something like this in the VEVENT:
> >
> >RRULE:FREQ=WEEKLY;INTERVAL=1
> >
> >For most repeated tasks, this is a perfectly sensible default.
> >However, for a task of this nature, I only want to see the next
> >occurrence show up in my calendar client - any more just clutters up
> >the monthly view.  So I would suggest that there should be an option
> >to control whether the repeated occurrences get exported.  Even better
> >if you could limit this to only apply to certain types of repeat;
> >maybe having it only apply to the 'battery charging' type of renewable
> >events denoted by '.+' would make a sensible default?
>
> I don't think the icalendar format does support repeated entries for a  
> limited time interval, does it?

Quite possibly not - however this need not get in the way of my
suggestion, which was simply to export the repeated event as a one-off
where appropriate.  Does that make sense?


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


Re: [Orgmode] Re: Bug in iCalendar export

2008-06-12 Thread Adam Spiers
On Wed, Jun 11, 2008 at 07:13:49PM -0400, Nick Dokos wrote:
> So it seems to me that the bug is somewhere fairly deep in emacs
> itself (btw, I sent a bug report off to the emacs maintainers - we'll
> see what they say). I also tried on an ancient RHEL4.1(?)  system with
> the stock emacs 21 version that was packaged with it: I had to do some
> work to get org-mode installed there, but I could not then reproduce the
> error.

Please keep us informed if you make any progress.  I see this error
probably at least once most days.  What backtrace do you get if you
turn on `debug-on-error' (also doable from the Options menu) ?


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


[Orgmode] Re: Bug in iCalendar export

2008-06-12 Thread Paul R
Nick Dokos <[EMAIL PROTECTED]> writes:

> After some testing (it took me a while to get back to it - sorry for the
> delay), it certainly looks like the bug is somewhere other than
> org-export-icalendar, but I'm not sure that debian site-lisp is to blame
> in this case (although I may very well be missing something). 

You are absolutly right ! I can now repoduce it on a home-built emacs
22.2, on ubuntu, with emacs -Q . Sorry for the wrong track.

> I
> originally tried this on GNU Emacs 22.1.50.2, which I had gotten from
> CVS and built myself. I don't think I use any of Ubuntu's emacs setup at
> all. I also tried it on emacs 23.0.60.1 (also obtained from CVS) and
> starting it from the build directory with -Q, using whatever version of
> org-mode is distributed with that version: I get the error there as
> well. So it seems to me that the bug is somewhere fairly deep in emacs
> itself (btw, I sent a bug report off to the emacs maintainers - we'll
> see what they say). I also tried on an ancient RHEL4.1(?)  system with
> the stock emacs 21 version that was packaged with it: I had to do some
> work to get org-mode installed there, but I could not then reproduce the
> error.

I currently don't use export, and have very little time to track this
bug down. Do you use combined org files for export ? IOW, do you have
a single org file or multiple files ?

-- 
  Paul


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