Re: [Orgmode] export table html centered

2009-08-15 Thread Carsten Dominik

Hi Henry, Nick,

another way would be this:

#+STYLE: table.center {margin-left:auto; margin- 
right:auto;}


* A centered table

#+ATTR_HTML: class="center"
| a | b | c |
|---+---+---|
| 1 | 2 | 3 |

* An uncentered table

| a | b | c |
|---+---+---|
| 1 | 2 | 3 |


You can also configure org-export-html-table-tag to add the  
class="center"

if you want to center all tables.

HTH

- Carsten

On Aug 16, 2009, at 3:13 AM, Nick Dokos wrote:


Nick Dokos  wrote:


...  But if you don't mind using deprecated attributes, and assuming
you want *every* table centered, then customizing

   org-export-table-header-tags

...


Correction: that should be

org-export-html-table-tag

Sorry about that - the BIND version below is correct.


should do it. You can also use #+BIND to do it per-file:

,
| #+BIND: org-export-html-table-tag   "border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\"  
frame=\"hsides\">"

| | foo | bar |
| |-+-|
| | 1   | 2   |
| | 2   | 5   |
| | 3   | 10  |
`


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




___
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] correction in org.el


Fixed, thanks.

- Carsten

On Aug 15, 2009, at 10:12 PM, John Rakestraw wrote:


Hi --

After a git update this morning, several remember templates failed  
with

the error "Symbol's function definition is void:
org-completing-read-no-ido". The failure occurred at points using
"%^{Request for info}" formulation.

I think the patch included below fixes the problem.

--John

--- lisp/org.el 2009-08-15 16:08:26.109093816 -0400
+++ lisp/org.el_new 2009-08-15 16:08:53.640094201 -0400
@@ -7652,7 +7652,7 @@ Use TAB to complete link prefixes, then
(org-defkey minibuffer-local-completion-map "?"
'self-insert-command) (apply 'org-icompleting-read args)))

-(defun org-completing-read-no-i (&rest args)
+(defun org-completing-read-no-ido (&rest args)
  (let (org-completion-use-ido org-completion-use-iswitchb)
(apply 'org-completing-read args)))

--
John Rakestraw


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




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


Re: [Orgmode] problems with footnotes in 6.29trans?


Should be fixed, thanks.

- Carsten

On Aug 16, 2009, at 1:21 AM, Stefan Vollmar wrote:


Hello,

I observed the following problems with org-mode 6.29trans using  
Emacs 22.1.1 (Linux) and Aquamacs 2.0preview2 that exporting this  
example to HTML:


* Some Headline
Referring to some article [fn:somearticle].
* References
[fn:somearticle] R. Rivest, The MD5 Message-Digest Algorithm, RFC  
1321.


yields:

Referring to some article href="#fn.1">1.


[...]
1 R.  
Rivest, The MD5 Message-Digest Algorithm, RFC 1321.


so either something seems to go wrong in org-html.el or the problem  
is on my side?


Many thanks for any help with this.

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




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


[Orgmode] Re: how to draw picture in org-mode ? Does it support tikz/pgf ?

tikz is more power than ditaa and graphviz
.
I tikz's exporter will be supported in future version.

Thanks

2009/8/16 Bernt Hansen 

> waterloo  writes:
>
> > can I use #+begin_tikz  and export tikz to html ?
> >
>
> If you (or someone who wants tikz output to work) writes an exporter
> that knows what to do with the tikz block I'm sure that can work.
>
> Right now there is no such exporter available AFAIK.
>
> -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: how to draw picture in org-mode ? Does it support tikz/pgf ?

waterloo  writes:

> can I use #+begin_tikz  and export tikz to html ?
>

If you (or someone who wants tikz output to work) writes an exporter
that knows what to do with the tikz block I'm sure that can work.

Right now there is no such exporter available AFAIK.

-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] A stray (debug) in org.el

Hi Carsten,

In commit 15227843ab75f9e403acd467988efda066efa969, a (debug)
was introduced in org.el.

Thanks,
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] Re: how to draw picture in org-mode ? Does it support tikz/pgf ?

can I use #+begin_tikz  and export tikz to html ?

Thanks

2009/8/15 Bernt Hansen 

> waterloo  writes:
>
> > How to draw picture for exporting to html ?
> >
>
> I use ditaa and graphviz.  There are examples at
> http://doc.norang.ca/org-mode.html#Publishing
>
> Links to the source for the page is available in the Overview section.
>
> -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


Re: [Orgmode] export table html centered

Nick Dokos  wrote:

> ...  But if you don't mind using deprecated attributes, and assuming
> you want *every* table centered, then customizing
> 
> org-export-table-header-tags
> 
> ...

Correction: that should be

 org-export-html-table-tag

Sorry about that - the BIND version below is correct.

> should do it. You can also use #+BIND to do it per-file:
> 
> ,
> | #+BIND: org-export-html-table-tag   " cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">"
> | | foo | bar |
> | |-+-|
> | | 1   | 2   |
> | | 2   | 5   |
> | | 3   | 10  |
> `

Thanks,
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] problems with footnotes in 6.29trans?


Hello,

I observed the following problems with org-mode 6.29trans using Emacs  
22.1.1 (Linux) and Aquamacs 2.0preview2 that exporting this example to  
HTML:


* Some Headline
Referring to some article [fn:somearticle].
* References
[fn:somearticle] R. Rivest, The MD5 Message-Digest Algorithm, RFC 1321.

yields:

Referring to some article href="#fn.1">1.


[...]
1 R.  
Rivest, The MD5 Message-Digest Algorithm, RFC 1321.


so either something seems to go wrong in org-html.el or the problem is  
on my side?


Many thanks for any help with this.

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


[Orgmode] Thank you, Carsten, others (was: Refile error - Kill is not a (set of) trees)


On Aug 15,2009, at 9:15 AM, Carsten Dominik wrote:


Hi Michael, hi Stefan,

I have now finally been able to reproduce this problem.  It is
a bug in Aquamacs 2.0. Could one of you please propagate this
issue to the Aquamacs maintainer?




Thank you for your patience and persistence, Carsten. Looks like  
Stefan passed this on the the Aquamacs list. I might make a little  
donation (I can't contribute code, which is what they want) over there  
to see if I can bring attention to this issue, but I hope that knowing  
they have broken org-mode and other things might matter. We will see.


Thank you, again.

-- Michael


Michael C. Gilbert -- m...@gilbert.org

   The Gilbert Center -- http://gilbert.org
   Nonprofit Online News -- http://nonprofitnews.org

   "There can be no joy of life without joy of work." -- Aquinas


___
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: Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for keywords ?

waterloo wrote:

> Can I use other like begin_foo ?
> Only two begin_src and begin_example?

See also http://orgmode.org/worg/org-contrib/org-special-blocks.php

Cheers,
Chris



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


[Orgmode] correction in org.el

Hi --

After a git update this morning, several remember templates failed with
the error "Symbol's function definition is void:
org-completing-read-no-ido". The failure occurred at points using
"%^{Request for info}" formulation.

I think the patch included below fixes the problem. 

--John

--- lisp/org.el 2009-08-15 16:08:26.109093816 -0400
+++ lisp/org.el_new 2009-08-15 16:08:53.640094201 -0400
@@ -7652,7 +7652,7 @@ Use TAB to complete link prefixes, then 
 (org-defkey minibuffer-local-completion-map "?"
'self-insert-command) (apply 'org-icompleting-read args)))
 
-(defun org-completing-read-no-i (&rest args)
+(defun org-completing-read-no-ido (&rest args)
   (let (org-completion-use-ido org-completion-use-iswitchb)
 (apply 'org-completing-read args)))

-- 
John Rakestraw


___
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] numbered figures and tables?


Hello,

org-mode has a powerful capability to support the creation of  
footnotes. We are currently working on software documentation using  
org-mode and find that some similar features to support numbering of  
figures would be very useful, maybe something like this in analogy to  
footnotes:


[fig:name: a definition]

Or is there already a way to number figures (numbering tables in their  
captions, would, obviously be next on our wish list)?


Many thanks in advance for any comments.
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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] export table html centered

henry atting  wrote:

> That is what I am searching for: Is there a markup rule that puts org
> tables centered on the resulting page when exported as html.
> Seems that #+BEGIN_CENTER – #+END_CENTER does not do this, marking a
> table like that solely leads to an error message:
> 
> progn: Args out of range: 84, 906
> 
> 

Version info: Org-mode version 6.29trans
  GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 
2009-08-09 on gamaville.dokosmarshall.org

I don't get an error using #+BEGIN_CENTER/#+END_CENTER, but otoh I also
don't get a centered table: it's meant for centered paragraphs I think.

The align= attribute for a table is deprecated and I don't know what
the currently recommended method is (probably CSS - but I don't know much
about that). But if you don't mind using deprecated attributes, and assuming
you want *every* table centered, then customizing

org-export-table-header-tags

to add 

align="center"

should do it. You can also use #+BIND to do it per-file:

,
| #+BIND: org-export-html-table-tag   ""
| | foo | bar |
| |-+-|
| | 1   | 2   |
| | 2   | 5   |
| | 3   | 10  |
`

HTH,
Nick





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


Re: [Orgmode] Re: Emacs crashes when using S-TAB in drawer


Hi Markus,

it appears that this bug is now fixed in CVS Emacs, and if you
get it installed on your machine, you should be able to use
org-indent-mode safely.

Best

- Carsten

On Aug 11, 2009, at 7:30 PM, Markus Heller wrote:


On Tue, Aug 11, 2009 at 9:47 AM, Carsten
Dominik wrote:

Hi Markus,

yes, I can reproduce this, and I will file an Emacs bug report.
This is an Emacs problem, not an Org-mode problem.


Carsten,

that's good stuff.  Glad it worked for you.


Thanks for putting in the time to narrow it down.  For the time
being, until this problem is solved, it is better not to use
org-indent-mode, or at least to never switch to overview from
an expanded state.


Will do.  Hope they'll fix it soon ...

Cheers
M


- Carsten


On Aug 10, 2009, at 11:02 PM, Markus Heller wrote:


On Mon, Aug 10, 2009 at 11:00 AM, Carsten
Dominik wrote:


On Aug 10, 2009, at 6:08 PM, Markus Heller wrote:


Carsten Dominik wrote:


Are you using org-indent-mode?


Yes I do.

This is the configuration I use:

#+DRAWERS: IDEAS COMMENTS REVIEW
#+STARTUP: content
#+STARTUP: hidestars
#+STARTUP: indent

followed by 3 lines of #+TAG.

I use the :COMMENTS: drawer very frequently to jot down comments  
on
specific tasks etc. and the :IDEAS: drawer only occasionally,  
but the

crash
happens when point is in either of them.

I'm sorry I couldn't reproduce a minimal file that shows the  
crash.


Hi,

does the crash happen reproducible in the big file?
If yes, would you mind sharing that file with just me?


Attached is a (somewhat) minimized file that reproduces the bug, not
necessarily on the frst try, but cycling with S-TAB *inside* a  
drawer
works reliably for me.  Please let me know if this file works for  
you.


Cheers
Markus

I have Emacs crash occasionally with org-indent-mode as well, I  
think

this is an Emacs bug, the features with line-prefix are still new.
But if there is a reproducible case, we could at least make a good
backtrace including the C code and a core dump, maybe some Emacs
developer could do something with it.

Please also test if the crashes disappear when you no longer
use org-indent-mode.

- Carsten





Please let me know if you need further info.

Cheers
M


- Carsten
On Aug 8, 2009, at 12:30 AM, Markus Heller wrote:


Hello all,

emacs crashes reproducibly when using S-Tab in an expended  
drawer.

 I've
noticed this with my org-file, which is rather big.  I tried  
to narrow

it
down to a minimal org file, but could not reproduce the  
crash.  While

trying
to narrow things down, I noticed that drawers get corrupted  
when using

S-Tab
multiple times, looks like the :END: line goes missing.

I'm happy to provide more info if you tell me what you're  
looking for,
but as I said, I wasn't able to create a minimal org file  
showing the

crash.
 I'm wondering if anybody else has the same problems ...

Here are my versions:

Emacs version: GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of
2009-06-30
on LENNART-69DE564

org version: 6.269c

Cheers
Markus




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












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


Re: [Orgmode] what is shy hyphen ?

waterloo  wrote:

> I can not understant the following para.
> 
> Finally, ‘\-’ is treated as a shy hyphen, and ‘--’, ‘---’, and ‘...’ are 
> all converted into special commands creating hyphens of different lengths
> or a compact set of dots.
> 
> When I input \- in org file and export it to html , I see nothing .
> 
> What is shy hyphen ?
> 

[Could you please add a bit more context to your questions? E.g., it
would really help if you had added the information that this paragraph
is found in the Org manual, section 12.1 "Markup rules", subsection
"TeX macros and LaTeX fragments".]

,
| 
| * Shy hyphen
| 
| There is a shy\-hyphen here.
`

You can see what it does by looking at the HTML file:


There is a shy­hyphen here.


For more information, see http://www.cs.tut.fi/~jkorpela/shy.html
which contains pointers to more docs.

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


Re: [Orgmode] Re: Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for keywords ?

waterloo  writes:

> Can I use other like begin_foo ?
> Only two begin_src and begin_example?
> Thanks

The two indexes in the manual are really useful. If you go to

http://orgmode.org/manual/Main-Index.html

you'll see all the #+BEGIN_XXX keywords listed, and of course you can
click on them to see the documentation. The ones in this manual index are

#+BEGIN, clocktable: Clocking work time
#+BEGIN, columnview: Capturing column view
#+BEGIN_CENTER: Paragraphs
#+BEGIN_COMMENT: Comment lines
#+BEGIN_DOCBOOK: Quoting DocBook code
#+BEGIN_EXAMPLE: Literal examples
#+BEGIN_HTML: Quoting HTML tags
#+BEGIN_LaTeX: Quoting LaTeX code
#+BEGIN_QUOTE: Paragraphs
#+BEGIN_SRC: Literal examples
#+BEGIN_VERSE: Paragraphs

Dan



>
> 2009/8/15 Bernt Hansen 
>
> waterloo  writes:
>
> > Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for 
> keywords ?
>
> Your questions really don't have enough detail to get good answers.
> What keywords do you know about already?
>
> I use begin_src, begin_example
>
> and yes lowercase works too.
>
> -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


___
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] export table html centered

That is what I am searching for: Is there a markup rule that puts org
tables centered on the resulting page when exported as html.
Seems that #+BEGIN_CENTER – #+END_CENTER does not do this, marking a
table like that solely leads to an error message:

progn: Args out of range: 84, 906


henry


___
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] what is shy hyphen ?

I can not understant the following para.


Finally, ‘\-’ is treated as a shy hyphen, and ‘--’, ‘---’, and ‘...’ are all
> converted into special commands creating hyphens of different lengths or a
> compact set of dots.


When I input \- in org file and export it to html , I see nothing .

What is shy hyphen ?

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


Re: [Orgmode] Re: Refile error - Kill is not a (set of) trees



On Aug 15, 2009, at 6:15 PM, Carsten Dominik wrote:


Hi Michael, hi Stefan,

I have now finally been able to reproduce this problem.  It is
a bug in Aquamacs 2.0. Could one of you please propagate this
issue to the Aquamacs maintainer?

In Aquamacs Distribution 2.0preview2, at least the following commands
fail to set the kill ring appropriately:

   (copy-region-as-kill beg end)
   (kill-kill-region beg end)


Sorry, this second line is a typo:

   (kill-region beg end)

- Carsten



After these commands, in normal Emacs operations,

   (current-kill 0)

will return the content of the copied/killed region.  Not so
in Aquamacs.  This breaks Org-mode and presumably other
packages that will use these function calls.

This used to work in earlier version of Aquamacs.

- Carsten

On Aug 15, 2009, at 2:13 PM, Stefan Vollmar wrote:


Dear Carsten,

On 15.08.2009, at 12:57, Carsten Dominik wrote:


How did you check? In Emacs, when looking at an Org file,
with M-x org-version?


In my case, M-x org-version also yields 6.29trans (and it works  
beautifully with the changes you made for multi-line macros, so  
this is looking good). I observe the same behaviour as reported by  
Michael Gilbert: when trying to re-file a tree with C-c $ (bound to  
org-archive.el) Aquamacs 2.0pr2 complains "The kill is not a  
(setof) tree(s) - please use ^Y to yank anyway". This used to work  
with Aquamacs 1.7 (but it was an older version of org-mode, too).


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




===
PLEASE NOTE NEW ADDRESS
===
prof.dr. Carsten Dominikdomi...@uva.nl
Astronomical Institute 'Anton Pannekoek'
www.astro.uva.nl/~dominik
Faculty of Science, University of Amsterdam phone   
+31-20-5257477/7491
SCIENCE PARK 904, ROOM C4-106   fax +31-20-5257484
1098 XH Amsterdam, The Netherlands
mail: PO BOX 94249, 1090GE, Amsterdam






___
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: Refile error - Kill is not a (set of) trees


Hi Michael, hi Stefan,

I have now finally been able to reproduce this problem.  It is
a bug in Aquamacs 2.0. Could one of you please propagate this
issue to the Aquamacs maintainer?

In Aquamacs Distribution 2.0preview2, at least the following commands
fail to set the kill ring appropriately:

(copy-region-as-kill beg end)
(kill-kill-region beg end)

After these commands, in normal Emacs operations,

(current-kill 0)

will return the content of the copied/killed region.  Not so
in Aquamacs.  This breaks Org-mode and presumably other
packages that will use these function calls.

This used to work in earlier version of Aquamacs.

- Carsten

On Aug 15, 2009, at 2:13 PM, Stefan Vollmar wrote:


Dear Carsten,

On 15.08.2009, at 12:57, Carsten Dominik wrote:


How did you check? In Emacs, when looking at an Org file,
with M-x org-version?


In my case, M-x org-version also yields 6.29trans (and it works  
beautifully with the changes you made for multi-line macros, so this  
is looking good). I observe the same behaviour as reported by  
Michael Gilbert: when trying to re-file a tree with C-c $ (bound to  
org-archive.el) Aquamacs 2.0pr2 complains "The kill is not a (setof)  
tree(s) - please use ^Y to yank anyway". This used to work with  
Aquamacs 1.7 (but it was an older version of org-mode, too).


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




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


Re: [Orgmode] Re: Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for keywords ?

Bernt Hansen  wrote:

> waterloo  writes:
> 
> > Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for 
> > keywords ?
> 
> Your questions really don't have enough detail to get good answers.
> What keywords do you know about already?
> 

In this connection, waterloo might find the following helpful:

   http://linuxmafia.com/faq/Essays/smart-questions.html

HTH,
Nick


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


[Orgmode] Re: Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for keywords ?

waterloo  writes:

> Can I use other like begin_foo ?
> Only two begin_src and begin_example?
> Thanks

You can use whatever you like.  It's just a text document.  Whether they
_do_ anything special or not is defined by the org-mode code (which of
course you're free to expand).

Doing a quick search of the org-mode source for BEGIN_ yields:

BEGIN_HTML
BEGIN_LaTeX
BEGIN_EXAMPLE
BEGIN_DOCBOOK
BEGIN_ASCII
BEGIN_SRC
BEGIN_COMMENT
BEGIN_QUOTE
BEGIN_VERSE
BEGIN_CENTER

-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: Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for keywords ?

Can I use other like begin_foo ?
Only two begin_src and begin_example?
Thanks

2009/8/15 Bernt Hansen 

> waterloo  writes:
>
> > Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for
> keywords ?
>
> Your questions really don't have enough detail to get good answers.
> What keywords do you know about already?
>
> I use begin_src, begin_example
>
> and yes lowercase works too.
>
> -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: how to draw picture in org-mode ? Does it support tikz/pgf ?

waterloo  writes:

> How to draw picture for exporting to html ?
>

I use ditaa and graphviz.  There are examples at
http://doc.norang.ca/org-mode.html#Publishing

Links to the source for the page is available in the Overview section.

-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: Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for keywords ?

waterloo  writes:

> Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for 
> keywords ?

Your questions really don't have enough detail to get good answers.
What keywords do you know about already?

I use begin_src, begin_example

and yes lowercase works too.

-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] link to magit-status buffers

Hello,

if you use magit mode for your git repositories and want to
create/follow links to magit status buffers (showing the current branch) like 
this:

[[magit:/usr/local/emacs/org-mode/][/usr/local/emacs/org-mode/]]

you may want to use this code snippet:

--8<---cut here---start->8---
(defun org-magit-store-link ()
  "Store a link to a directory to open with magit."
  (when (eq major-mode 'magit-mode)
(let* ((dir default-directory)
   (link (org-make-link "magit:" dir))
   (desc (abbreviate-file-name dir)))
  (org-store-link-props :type "magit" :link link :description desc)
  link)))

(defun org-magit-open (dir)
  "Follow a magit link to DIR."
  (require 'magit)
  (magit-status dir))

(org-add-link-type "magit" 'org-magit-open nil)
(add-hook 'org-store-link-functions 'org-magit-store-link)
--8<---cut here---end--->8---

Greetings,
Stephan


___
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: Refile error - Kill is not a (set of) trees


Do you have a download url for tis version of aquaemacs for me?

Thanks.

- Carsten

On Aug 15, 2009, at 2:13 PM, Stefan Vollmar wrote:


Dear Carsten,

On 15.08.2009, at 12:57, Carsten Dominik wrote:


How did you check? In Emacs, when looking at an Org file,
with M-x org-version?


In my case, M-x org-version also yields 6.29trans (and it works  
beautifully with the changes you made for multi-line macros, so this  
is looking good). I observe the same behaviour as reported by  
Michael Gilbert: when trying to re-file a tree with C-c $ (bound to  
org-archive.el) Aquamacs 2.0pr2 complains "The kill is not a (setof)  
tree(s) - please use ^Y to yank anyway". This used to work with  
Aquamacs 1.7 (but it was an older version of org-mode, too).


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




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


Re: [Orgmode] Re: Refile error - Kill is not a (set of) trees


Dear Carsten,

On 15.08.2009, at 12:57, Carsten Dominik wrote:


How did you check? In Emacs, when looking at an Org file,
with M-x org-version?


In my case, M-x org-version also yields 6.29trans (and it works  
beautifully with the changes you made for multi-line macros, so this  
is looking good). I observe the same behaviour as reported by Michael  
Gilbert: when trying to re-file a tree with C-c $ (bound to org- 
archive.el) Aquamacs 2.0pr2 complains "The kill is not a (setof)  
tree(s) - please use ^Y to yank anyway". This used to work with  
Aquamacs 1.7 (but it was an older version of org-mode, too).


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


Re: [Orgmode] how to draw picture in org-mode ? Does it support tikz/pgf ?

How to draw picture for exporting to html ?

Thanks

2009/8/14 waterloo 

> Yes , I mean preview-latex
>
> 2009/8/14 Nick Dokos 
>
>> waterloo  wrote:
>>
>>
>> > Yes, dvi file can not display tikz picture correctly .
>> >
>> > Why do you use divpng? Auctex can preview tikz , it does not use dvipng.
>> >
>>
>> You mean preview-latex? Not for me: it just leaves the tikzpicture
>> environment
>> alone.
>>
>> 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] Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for keywords ?

Is there any other keywords for #+BEGIN_XXX ? Can I use lower case for
keywords ?

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


Re: [Orgmode] Re: Refile error - Kill is not a (set of) trees



On Aug 15, 2009, at 9:45 AM, Michael Gilbert wrote:



On Aug 15,2009, at 12:04 AM, Carsten Dominik wrote:


Hi Michael,

On Aug 15, 2009, at 8:39 AM, Michael Gilbert wrote:


Carsten Dominik  writes:


could you please do the following:

- Run Emacs with a minimal configuration
- Make me a test file that will let me reproduce the bug if  
possible.


I followed Chris Mann's example and did the following:

1) Create a file `reproduce.org', with the following contents:

Level1-1


Is there a star missing here before Level1-1?


Yes, just a copy error here in my email. The original file has the  
star.




** Level2-1
*** TODO Level3-1
  SCHEDULED: <2009-08-05 Wed>
** Level2-2
* Level1-2

2) Ran emacs clean, with no preferences file.

3) Executed this, to make sure I was using the latest orgmode:


(setq load-path (cons "~/Applications/Text/Aquamacs/contrib/org/ 
lisp" load-path))


Checked to make sure. Yes, it's 6.29trans




How did you check? In Emacs, when looking at an Org file,
with M-x org-version?







4) Moved the points to Level3-1. C-c C-w. Attempt to refile to  
Level1-2.


So you are refiling en entry to the same position where is was  
before?

OK, this it not forbidden.


No. I think that is meant to move it DOWN to the bottom entry.




5) "The kill is not a (set of) trees" etc.


For me it works just fine.  I just tried in AquaEmacs.


Huh. This is so strange. Wish we could reproduce this OYM.



Running:

Aquamacs, Emacs 23.1.1
Org-Mode 6.29trans


I am at the end of this. My pile of things to refile is now so  
huge that my agenda is incomprehensible. I really do not know what  
to do here. The error is real. I hope that this reproduction is in  
some way useful. Is there something else I can do? Backtrace?  
Examine the kill-ring?


Yes, backtrace, and the content of the kill ring would be  
interesting.
Backtrace with uncompiled code if possible, press C-u C-c C-x !  
before trying to create the bug.


Here's the backtrace:

Debugger entered--Lisp error: (error "The kill is not a (set of)  
tree(s) - please use  to yank anyway")
  signal(error ("The kill is not a (set of) tree(s) - please use insertchar> to yank anyway"))
  ad-Orig-error("%s" "The kill is not a (set of) tree(s) - please  
use  to yank anyway")
  apply(ad-Orig-error ("%s" "The kill is not a (set of) tree(s) -  
please use  to yank anyway"))

  (setq ad-return-value (apply (quote ad-Orig-error) args))
  (if aquamacs-ring-bell-on-error-flag (progn (aquamacs-bell) (setq  
ad-return-value ...)) (setq ad-return-value (apply ... args)))
  (let (ad-return-value) (if aquamacs-ring-bell-on-error-flag  
(progn ... ...) (setq ad-return-value ...)) ad-return-value)
  error("%s" "The kill is not a (set of) tree(s) - please use insertchar> to yank anyway")
  (if (org-kill-is-subtree-p tree) nil (error "%s" (substitute- 
command-keys "The kill is not a (set of) tree(s) - please use \\ 
[yank] to yank anyway")))
  (unless (org-kill-is-subtree-p tree) (error "%s" (substitute- 
command-keys "The kill is not a (set of) tree(s) - please use \\ 
[yank] to yank anyway")))

  org-paste-subtree(2)
  (save-restriction (widen) (if pos (progn ... ... ... ...) (setq  
level 1) (if ... ... ... ...)) (if (not ...) (newline)) (bookmark- 
set "org-refile-last-stored") (org-paste-subtree level) (if  
(fboundp ...) (deactivate-mark)) (run-hooks (quote org-after-refile- 
insert-hook)))
  (save-excursion (save-restriction (widen) (if pos ... ... ...)  
(if ... ...) (bookmark-set "org-refile-last-stored") (org-paste- 
subtree level) (if ... ...) (run-hooks ...)))
  (save-excursion (set-buffer (setq nbuf ...)) (setq reversed (org- 
notes-order-reversed-p)) (save-excursion (save- 
restriction ... ... ... ... ... ... ...)))
  (if goto (progn (switch-to-buffer nbuf) (goto-char pos) (org-show- 
context ...)) (if regionp (progn ... ...) (org-copy-subtree 1 nil  
t)) (save-excursion (set-buffer ...) (setq reversed ...) (save- 
excursion ...)) (if regionp (delete-region ... ...) (org-cut- 
subtree)) (when (featurep ...) (org-inlinetask-remove-END-maybe))  
(setq org-markers-to-move nil) (message "Refiled to \"%s\"" (car it)))
  (progn (setq file (nth 1 it) re (nth 2 it) pos (nth 3 it)) (if  
(and ... pos ... ...) (error "Cannot refile to position inside the  
tree or region")) (setq nbuf (or ... ...)) (if goto  
(progn ... ... ...) (if regionp ... ...) (save- 
excursion ... ... ...) (if regionp ... ...) (when ... ...) (setq org- 
markers-to-move nil) (message "Refiled to \"%s\"" ...)))
  (if (setq it (or rfloc ...)) (progn (setq file ... re ... pos ...)  
(if ... ...) (setq nbuf ...) (if goto ... ... ... ... ... ... ...)))
  (when (setq it (or rfloc ...)) (setq file (nth 1 it) re (nth 2 it)  
pos (nth 3 it)) (if (and ... pos ... ...) (error "Cannot refile to  
position inside the tree or region")) (setq nbuf (or ... ...)) (if  
goto (progn ... ... ...) (if regionp ... ...) (save- 
excursion ... ... ...) (if regionp ... ...) (when ... ...) (setq org- 
markers-to

[Orgmode] Re: DiTAA error under Ubuntu

Hi Nick, Hi Eric,

Eric S Fraga wrote:
> Sébastien Vauban wrote:
>> Here is the situation of Java-related packages on my system so far:
>
> [...]
>
>> p   openjdk-6-dbg   - Java runtime based on OpenJDK 
>> (debugging symbols)
>> p   openjdk-6-demo  - Java runtime based on OpenJDK (demos 
>> and examples)
>> p   openjdk-6-doc   - OpenJDK Development Kit (JDK) 
>> documentation
>> p   openjdk-6-jdk   - OpenJDK Development Kit (JDK)
>> p   openjdk-6-jre   - OpenJDK Java runtime, using Hotspot JIT
>> p   openjdk-6-jre-zero  - Alternatve JVM for OpenJDK, using 
>> Zero/Shark
>> p   openjdk-6-source- OpenJDK Development Kit (JDK) source 
>> files
>> p   openjdk-6-source-files  - OpenJDK 6 source files (used as a 
>> build dependency)
>
> [...]
>
>> p   sun-java6-demo  - Sun Java(TM) Development Kit (JDK) 6 
>> demos and examples
>> p   sun-java6-doc   - Sun JDK(TM) Documention -- integration 
>> installer
>> p   sun-java6-fonts - Lucida TrueType fonts (from the Sun 
>> JRE)
>> p   sun-java6-javadb- Java(TM) DB, Sun Microsystems' 
>> distribution of Apache Derby
>> p   sun-java6-jdk   - Sun Java(TM) Development Kit (JDK) 6
>> p   sun-java6-jre   - Sun Java(TM) Runtime Environment (JRE) 
>> 6 (architecture independent f
>> p   sun-java6-plugin- The Java(TM) Plug-in, Java SE 6
>> p   sun-java6-source- Sun Java(TM) Development Kit (JDK) 6 
>> source files
>
> Is there any reason you do not wish to install either of openjdk or
> sun-java?

No, it's just that part of the Java things were installed with `bootchart'.
So, I did not make any choice, and I fear problems of mixing versions...


> The gnu java implementation is (I believe -- I could be horridly
> out of date on this) still not complete, especially with respect to AWT. My
> recommendation would be to install either openjdk-6 (which Nick I believe is
> using and works) or sun-java6 (which I am using and works).

This clarifies what I have to do...

Just did:

--8<---cut here---start->8---
sudo aptitude install openjdk-6-jre
--8<---cut here---end--->8---

And, now, it works!  Thanks a lot!


> Best is to do:
>
> update-alternatives --display java
>
> which will list the alternatives installed for that command as well as
> tell you the default.  For me:
>
> $ update-alternatives --display java
> java - manual mode
>  link currently points to /usr/lib/jvm/java-6-sun/jre/bin/java
> /usr/bin/gij-4.3 - priority 43
> /usr/bin/gij-wrapper-4.0 - priority 40
>  slave java.1.gz: /usr/share/man/man1/gij-wrapper-4.0.1.gz
> /usr/bin/gij-wrapper-4.1 - priority 41
> /usr/lib/jvm/java-6-sun/jre/bin/java - priority 63
>  slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
> /usr/lib/jvm/java-gcj/jre/bin/java - priority 1043
>  slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz
> Current `best' version is /usr/lib/jvm/java-gcj/jre/bin/java.
> $

For the records, I now have:

--8<---cut here---start->8---
> update-alternatives --display java
java - status is auto.
 link currently points to /usr/lib/jvm/java-6-openjdk/jre/bin/java
/usr/bin/gij-4.3 - priority 43
 slave java.1.gz: /usr/share/man/man1/gij-4.3.1.gz
/usr/lib/jvm/java-gcj/jre/bin/java - priority 1042
 slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz
/usr/lib/jvm/java-6-openjdk/jre/bin/java - priority 1061
 slave java.1.gz: /usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz
Current `best' version is /usr/lib/jvm/java-6-openjdk/jre/bin/java.
--8<---cut here---end--->8---

Thanks again,
  Seb

-- 
Sébastien Vauban



___
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: Refile error - Kill is not a (set of) trees



On Aug 15,2009, at 12:04 AM, Carsten Dominik wrote:


Hi Michael,

On Aug 15, 2009, at 8:39 AM, Michael Gilbert wrote:


Carsten Dominik  writes:


could you please do the following:

- Run Emacs with a minimal configuration
- Make me a test file that will let me reproduce the bug if  
possible.


I followed Chris Mann's example and did the following:

1) Create a file `reproduce.org', with the following contents:

Level1-1


Is there a star missing here before Level1-1?


Yes, just a copy error here in my email. The original file has the star.



** Level2-1
*** TODO Level3-1
  SCHEDULED: <2009-08-05 Wed>
** Level2-2
* Level1-2

2) Ran emacs clean, with no preferences file.

3) Executed this, to make sure I was using the latest orgmode:


(setq load-path (cons "~/Applications/Text/Aquamacs/contrib/org/ 
lisp" load-path))


Checked to make sure. Yes, it's 6.29trans






4) Moved the points to Level3-1. C-c C-w. Attempt to refile to  
Level1-2.


So you are refiling en entry to the same position where is was before?
OK, this it not forbidden.


No. I think that is meant to move it DOWN to the bottom entry.




5) "The kill is not a (set of) trees" etc.


For me it works just fine.  I just tried in AquaEmacs.


Huh. This is so strange. Wish we could reproduce this OYM.



Running:

Aquamacs, Emacs 23.1.1
Org-Mode 6.29trans


I am at the end of this. My pile of things to refile is now so huge  
that my agenda is incomprehensible. I really do not know what to do  
here. The error is real. I hope that this reproduction is in some  
way useful. Is there something else I can do? Backtrace? Examine  
the kill-ring?


Yes, backtrace, and the content of the kill ring would be interesting.
Backtrace with uncompiled code if possible, press C-u C-c C-x !  
before trying to create the bug.


Here's the backtrace:

Debugger entered--Lisp error: (error "The kill is not a (set of)  
tree(s) - please use  to yank anyway")
  signal(error ("The kill is not a (set of) tree(s) - please use insertchar> to yank anyway"))
  ad-Orig-error("%s" "The kill is not a (set of) tree(s) - please use  
 to yank anyway")
  apply(ad-Orig-error ("%s" "The kill is not a (set of) tree(s) -  
please use  to yank anyway"))

  (setq ad-return-value (apply (quote ad-Orig-error) args))
  (if aquamacs-ring-bell-on-error-flag (progn (aquamacs-bell) (setq  
ad-return-value ...)) (setq ad-return-value (apply ... args)))
  (let (ad-return-value) (if aquamacs-ring-bell-on-error-flag  
(progn ... ...) (setq ad-return-value ...)) ad-return-value)
  error("%s" "The kill is not a (set of) tree(s) - please use insertchar> to yank anyway")
  (if (org-kill-is-subtree-p tree) nil (error "%s" (substitute- 
command-keys "The kill is not a (set of) tree(s) - please use \\[yank]  
to yank anyway")))
  (unless (org-kill-is-subtree-p tree) (error "%s" (substitute- 
command-keys "The kill is not a (set of) tree(s) - please use \\[yank]  
to yank anyway")))

  org-paste-subtree(2)
  (save-restriction (widen) (if pos (progn ... ... ... ...) (setq  
level 1) (if ... ... ... ...)) (if (not ...) (newline)) (bookmark-set  
"org-refile-last-stored") (org-paste-subtree level) (if (fboundp ...)  
(deactivate-mark)) (run-hooks (quote org-after-refile-insert-hook)))
  (save-excursion (save-restriction (widen) (if pos ... ... ...)  
(if ... ...) (bookmark-set "org-refile-last-stored") (org-paste- 
subtree level) (if ... ...) (run-hooks ...)))
  (save-excursion (set-buffer (setq nbuf ...)) (setq reversed (org- 
notes-order-reversed-p)) (save-excursion (save- 
restriction ... ... ... ... ... ... ...)))
  (if goto (progn (switch-to-buffer nbuf) (goto-char pos) (org-show- 
context ...)) (if regionp (progn ... ...) (org-copy-subtree 1 nil t))  
(save-excursion (set-buffer ...) (setq reversed ...) (save- 
excursion ...)) (if regionp (delete-region ... ...) (org-cut-subtree))  
(when (featurep ...) (org-inlinetask-remove-END-maybe)) (setq org- 
markers-to-move nil) (message "Refiled to \"%s\"" (car it)))
  (progn (setq file (nth 1 it) re (nth 2 it) pos (nth 3 it)) (if  
(and ... pos ... ...) (error "Cannot refile to position inside the  
tree or region")) (setq nbuf (or ... ...)) (if goto  
(progn ... ... ...) (if regionp ... ...) (save-excursion ... ... ...)  
(if regionp ... ...) (when ... ...) (setq org-markers-to-move nil)  
(message "Refiled to \"%s\"" ...)))
  (if (setq it (or rfloc ...)) (progn (setq file ... re ... pos ...)  
(if ... ...) (setq nbuf ...) (if goto ... ... ... ... ... ... ...)))
  (when (setq it (or rfloc ...)) (setq file (nth 1 it) re (nth 2 it)  
pos (nth 3 it)) (if (and ... pos ... ...) (error "Cannot refile to  
position inside the tree or region")) (setq nbuf (or ... ...)) (if  
goto (progn ... ... ...) (if regionp ... ...) (save- 
excursion ... ... ...) (if regionp ... ...) (when ... ...) (setq org- 
markers-to-move nil) (message "Refiled to \"%s\"" ...)))
  (if (equal goto (quote ...)) (org-refile-goto-last-stored) (when  
(setq it ...) (setq file ... re ..

Re: [Orgmode] Re: Refile error - Kill is not a (set of) trees


Hi Michael,

On Aug 15, 2009, at 8:39 AM, Michael Gilbert wrote:


Carsten Dominik  writes:


could you please do the following:

- Run Emacs with a minimal configuration
- Make me a test file that will let me reproduce the bug if  
possible.


I followed Chris Mann's example and did the following:

1) Create a file `reproduce.org', with the following contents:

Level1-1


Is there a star missing here before Level1-1?


** Level2-1
*** TODO Level3-1
   SCHEDULED: <2009-08-05 Wed>
** Level2-2
* Level1-2

2) Ran emacs clean, with no preferences file.

3) Executed this, to make sure I was using the latest orgmode:


(setq load-path (cons "~/Applications/Text/Aquamacs/contrib/org/ 
lisp" load-path))


Checked to make sure. Yes, it's 6.29trans






4) Moved the points to Level3-1. C-c C-w. Attempt to refile to  
Level1-2.


So you are refiling en entry to the same position where is was before?
OK, this it not forbidden.



5) "The kill is not a (set of) trees" etc.


For me it works just fine.  I just tried in AquaEmacs.




Running:

Aquamacs, Emacs 23.1.1
Org-Mode 6.29trans


I am at the end of this. My pile of things to refile is now so huge  
that my agenda is incomprehensible. I really do not know what to do  
here. The error is real. I hope that this reproduction is in some  
way useful. Is there something else I can do? Backtrace? Examine the  
kill-ring?


Yes, backtrace, and the content of the kill ring would be interesting.
Backtrace with uncompiled code if possible, press C-u C-c C-x ! before  
trying to create the bug.


- Carsten



-- Michael





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




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