Re: [Orgmode] latex wrap

2009-07-01 Thread Carsten Dominik


On Jul 1, 2009, at 2:16 AM, Patrick Bahr wrote:


Hi Carsten,

On 27.06.2009 09:00 Carsten Dominik wrote:


On Jun 26, 2009, at 11:13 PM, hello world wrote:


bla bla
\begin{equation}
1+1=2
\end{equation}

into

bla bla \begin{equation} 1+1=2 \end{equation}


Why would you press M-q in such a location?


This behaviour is also bothering me. The example may not illustrate  
the problem

explicitly enough. Here is a more elaborate one:

I often find myself writing a paragraph that includes an equation  
like in this

example:

---
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum.
\[
a^2 + b^ = c^2
\]
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum.
---

When writing such a paragraph you need to use M-q. In AUCTeX this is  
no problem.
You easily get the above paragraph using M-q. In org-mode, however,  
you get this:


---
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum.  \[ a^2 + b^ = c^2 \] Stet clita kasd gubergren, no sea
takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
invidunt ut labore et dolore magna aliquyam erat, sed diam
voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
---

This is quite confusing. A possible workaround to this problem is to  
insert

newlines around the equation like this:



Another work-around would be

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum.
#
\[
a^2 + b^ = c^2
\]
#
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum.






---
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum.

\[
a^2 + b^ = c^2
\]

Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum.
---+

However, the equation is then put into a new paragraph which is not  
intended
here: The resulting PDF contains additional spacing around the  
equations. The

intention that this should be a single paragraph is not achieved.

It would be very nice to have the same behaviour in this setting as  
AUCTeX.


Cheers,
Patrick




___
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: Release 6.28

2009-07-01 Thread Ulf Stegemann
Carsten Dominik carsten.domi...@gmail.com wrote:

 Bulk action
 

 You can now use the `s' key to select entries in the agenda.
 When one or more entries have been selected, the `B' key will
 execute an action on all selected entries.  I believe this bulk
 action makes mainly sense for the commands that require answering
 interactive prompts.  So far the supported actions are

  - Refile all selected entries to a single destination
  - Archive all selected entries
  - Set the TODO state of all selected entries, bypassing any
blocking or note-taking.
  - Add or remove a tag to/from all selected entries

 We can add more actions, if you convince me they make sense.

IMHO setting scheduled (and maybe deadline) date would make sense.

Ulf



___
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] wish list: sort tasks by age

2009-07-01 Thread Manish
  On Wed, Jul 1, 2009 at 12:31 PM, David Mausmaus.da...@gmail.com wrote:
   At Tue, 30 Jun 2009 16:04:39 -0400,
   Christopher League wrote:
  
   I would love to be able to sort TODOs by their age, so it becomes
   painfully obvious what I have been ignoring. Since org relies on free-
   form text (a strength), it's tricky to ensure that every item gets a
   'creation-time' property. But it doesn't need to be accurate to the
   second; even a script that added that property once every day or so
   might do the trick.
  
   Well, I'm not a elisp hacker but what comes into my mind is a custom
   function that does:
  
   for all headlines with a TODO keyword
  
   * check if property creation-time exists
  
   * add propertie creation time with current date  time if such an
   propertie does not exist
  
   and then hook this function into before-save-hook.
  
   So the question is (a) if there are functions to process all items,
   check for existence of a property and create properties (I'm quite
   certain there are) and (b) how to use them.

There are property and mapping APIs documented in the manual under
section on hacking.

-- 
Manish


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


Re: [Orgmode] latex wrap

2009-07-01 Thread Patrick Bahr
Hello Carsten,

On 01.07.2009 08:56 Carsten Dominik wrote:

 Another work-around would be

 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
 nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
 sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
 rebum.
 #
 \[
 a^2 + b^ = c^2
 \]
 #
 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
 dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
 elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
 magna aliquyam erat, sed diam voluptua. At vero eos et accusam et
 justo duo dolores et ea rebum.


Nice idea. This kind of works. Unfortunately, if the paragraph is indented the
hashes still have to be at column zero:

-
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
  diam nonumy eirmod tempor invidunt ut labore et dolore magna
  aliquyam erat, sed diam voluptua. At vero eos et accusam et
  justo duo dolores et ea rebum.
#
  \[
  a^2 + b^ = c^2
  \]
#
  Stet clita kasd gubergren, no sea takimata sanctus est Lorem
  ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur
  sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
  labore et dolore magna aliquyam erat, sed diam voluptua. At vero
  eos et accusam et justo duo dolores et ea rebum.
-

This is still OK and for the upper part of the paragraph M-q works well.
However, hitting M-q in the lower part yields:

-
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
  diam nonumy eirmod tempor invidunt ut labore et dolore magna
  aliquyam erat, sed diam voluptua. At vero eos et accusam et
  justo duo dolores et ea rebum.
#
  \[
  a^2 + b^ = c^2
  \]
# Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
  dolor sit amet. Lorem ipsum dolor sit amet, consetetur
  sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
  labore et dolore magna aliquyam erat, sed diam voluptua. At vero
  eos et accusam et justo duo dolores et ea rebum.
-

This is a problem itself. Text sneaking into a comment line upon hitting M-q is
not an expected behaviour -- at least not for me.

So the only acceptable workaround I know is to insert blank lines before using
M-q and to remove them afterwards.

Cheers,
Patrick



___
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] Sorting and renumbering footnotes

2009-07-01 Thread Carsten Dominik

Hi Karl,

this is now implemented as [r] action in the footnote actions.  [r]
dies only renumbering, no sorting, so you'd have to use 2 commands.

HTH

- Carsten

On Jun 30, 2009, at 4:38 PM, Karl Maihofer wrote:

I use Org to write quite long documents with many footnotes and I am  
wondering if there is a way to renumber the footnotes when sorting  
with C-u C-c C-x f s. n at the end is not what I am looking for.  
I'd like the footnotes to stay at the position set by org-footnote- 
section.


Simple visual example:

---
* First Headline

Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing  
project[fn:3] planning, and

authoring with a fast and effective[fn:1] plain-text system.

[fn:1] Third Footnote.

[fn:2] Frist Footnote.

[fn:3] Second Footnote.

* Second Headline
-

Pressing C-u C-c C-x f s resuls in the following:

--
* First Headline

Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing  
project[fn:3] planning, and

authoring with a fast and effective[fn:1] plain-text system.

[fn:2] Frist Footnote.

[fn:3] Second Footnote.

[fn:1] Third Footnote.

* Second Headline
---

How can I achieve this:

---
* First Headline

Org-mode is for keeping[fn:1] notes, maintaining ToDo lists, doing  
project[fn:2] planning, and

authoring with a fast and effective[fn:3] plain-text system.

[fn:1] Frist Footnote.

[fn:2] Second Footnote.

[fn:3] Third Footnote.

* Second Headline
--

Karl






___
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] latex wrap

2009-07-01 Thread Carsten Dominik

As I said,

the only fix is then rewriting the paragraph and wrapping code.
I have put it on my list, but this is not going to happen soon.

- Carsten

On Jul 1, 2009, at 10:20 AM, Patrick Bahr wrote:


Hello Carsten,

On 01.07.2009 08:56 Carsten Dominik wrote:


Another work-around would be

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam  
erat,

sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum.
#
\[
a^2 + b^ = c^2
\]
#
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua. At vero eos et accusam et
justo duo dolores et ea rebum.



Nice idea. This kind of works. Unfortunately, if the paragraph is  
indented the

hashes still have to be at column zero:

-
 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
 diam nonumy eirmod tempor invidunt ut labore et dolore magna
 aliquyam erat, sed diam voluptua. At vero eos et accusam et
 justo duo dolores et ea rebum.
#
 \[
 a^2 + b^ = c^2
 \]
#
 Stet clita kasd gubergren, no sea takimata sanctus est Lorem
 ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur
 sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
 labore et dolore magna aliquyam erat, sed diam voluptua. At vero
 eos et accusam et justo duo dolores et ea rebum.
-

This is still OK and for the upper part of the paragraph M-q works  
well.

However, hitting M-q in the lower part yields:

-
 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
 diam nonumy eirmod tempor invidunt ut labore et dolore magna
 aliquyam erat, sed diam voluptua. At vero eos et accusam et
 justo duo dolores et ea rebum.
#
 \[
 a^2 + b^ = c^2
 \]
# Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
 dolor sit amet. Lorem ipsum dolor sit amet, consetetur
 sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
 labore et dolore magna aliquyam erat, sed diam voluptua. At vero
 eos et accusam et justo duo dolores et ea rebum.
-

This is a problem itself. Text sneaking into a comment line upon  
hitting M-q is

not an expected behaviour -- at least not for me.

So the only acceptable workaround I know is to insert blank lines  
before using

M-q and to remove them afterwards.

Cheers,
Patrick





___
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: Release 6.28

2009-07-01 Thread Carsten Dominik


On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:


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


Bulk action


You can now use the `s' key to select entries in the agenda.
When one or more entries have been selected, the `B' key will
execute an action on all selected entries.  I believe this bulk
action makes mainly sense for the commands that require answering
interactive prompts.  So far the supported actions are

- Refile all selected entries to a single destination
- Archive all selected entries
- Set the TODO state of all selected entries, bypassing any
  blocking or note-taking.
- Add or remove a tag to/from all selected entries

We can add more actions, if you convince me they make sense.


IMHO setting scheduled (and maybe deadline) date would make sense.


In what sense?  Shifting all dates by the same amount, or setting them  
all to a fixed date?


- 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] Sorting and renumbering footnotes

2009-07-01 Thread Carsten Dominik


On Jul 1, 2009, at 10:39 AM, Carsten Dominik wrote:


Hi Karl,

this is now implemented as [r] action in the footnote actions.  [r]
dies only renumbering, no sorting, so you'd have to use 2 commands.


Actually, I just also added [S] as a shortcut for first [r] then [s]

- Carsten



HTH

- Carsten

On Jun 30, 2009, at 4:38 PM, Karl Maihofer wrote:

I use Org to write quite long documents with many footnotes and I  
am wondering if there is a way to renumber the footnotes when  
sorting with C-u C-c C-x f s. n at the end is not what I am  
looking for. I'd like the footnotes to stay at the position set by  
org-footnote-section.


Simple visual example:

---
* First Headline

Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing  
project[fn:3] planning, and

authoring with a fast and effective[fn:1] plain-text system.

[fn:1] Third Footnote.

[fn:2] Frist Footnote.

[fn:3] Second Footnote.

* Second Headline
-

Pressing C-u C-c C-x f s resuls in the following:

--
* First Headline

Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing  
project[fn:3] planning, and

authoring with a fast and effective[fn:1] plain-text system.

[fn:2] Frist Footnote.

[fn:3] Second Footnote.

[fn:1] Third Footnote.

* Second Headline
---

How can I achieve this:

---
* First Headline

Org-mode is for keeping[fn:1] notes, maintaining ToDo lists, doing  
project[fn:2] planning, and

authoring with a fast and effective[fn:3] plain-text system.

[fn:1] Frist Footnote.

[fn:2] Second Footnote.

[fn:3] Third Footnote.

* Second Headline
--

Karl






___
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] wish list: sort tasks by age

2009-07-01 Thread David Maus
At Wed, 1 Jul 2009 13:40:21 +0530,
Manish wrote:
 
 There are property and mapping APIs documented in the manual under
 section on hacking.

And what a fun it is to train my elisp skills. A first hack that seems to work:

(defun dmj/org-assure-creation-property ()
  Process all orgmode entries of current buffer that do not
  match a defined search string
  (interactive)
  (org-map-entries 'dmj/org-insert-creation-property +Creation_Time=\\)
)

(defun dmj/org-insert-creation-property ()
  Insert Creation-Property in Orgmode entry at point
  (let ((stamp (format-time-string (cdr org-time-stamp-formats) 
(current-time 
(setq stamp (concat [ (substring stamp 1 -1) ]))
(org-entry-put (point-marker) Creation_Time stamp))
)

The first function (dmj/assure-creation-property) processes every
entry in current buffer that match the search query Creation_Time=,
i.e. entries with an empty or no Creation_Time property at all and
calls dmj/org-insert-creation-property to insert a Creation_Time
property with the current time into this entry.

The tag search query should be refined to only match headlines with
(certain) TODO keywords.

The first function is defined as interactive so you can call it via
M-x -- and of course this is just a fast hack with no warranty at all.

Regards

  -- David

-- 
OpenPGP... 0x316F4BE4670716FD
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416


___
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: Release 6.28

2009-07-01 Thread Christian Egli

Hi all

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

 On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:
 Carsten Dominik carsten.domi...@gmail.com wrote:
 Bulk action
 

 We can add more actions, if you convince me they make sense.

 IMHO setting scheduled (and maybe deadline) date would make sense.

 In what sense?  Shifting all dates by the same amount, or setting them
 all to a fixed date?

I usually display unscheduled TODO items in my agenda as well
(org-agenda-include-all-todo), so if I decide that I should work on some
of them next week then a bulk action to schedule them might come in
handy.

So one use case is to set a fixed scheduled date for a number of TODOs.
In my case these are tasks that have not been scheduled yet.

Another use case is when I decide that there will not be enough time
this week to complete all scheduled tasks. I want to move some of the
tasks to next week. This could be either a shift by 7 days or a
rescheduling to next monday (a fixed date).

Thanks
Christian





___
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: Release 6.28

2009-07-01 Thread Ulf Stegemann
Christian Egli christian.e...@sbszh.ch wrote:

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

 On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:
 Carsten Dominik carsten.domi...@gmail.com wrote:
 Bulk action
 

 We can add more actions, if you convince me they make sense.

 IMHO setting scheduled (and maybe deadline) date would make sense.

 In what sense?  Shifting all dates by the same amount, or setting them
 all to a fixed date?

 I usually display unscheduled TODO items in my agenda as well
 (org-agenda-include-all-todo), so if I decide that I should work on some
 of them next week then a bulk action to schedule them might come in
 handy.

 So one use case is to set a fixed scheduled date for a number of TODOs.
 In my case these are tasks that have not been scheduled yet.

 Another use case is when I decide that there will not be enough time
 this week to complete all scheduled tasks. I want to move some of the
 tasks to next week. This could be either a shift by 7 days or a
 rescheduling to next monday (a fixed date).

Yes, both shifting by the same amount and setting a fixed date can be
useful. I usually re-schedule leftover todos by shifting them by one
or two working days to the future. So originally I had a bulk version of
`org-agenda-do-date-later' and friends in mind as opposed to
`org-agenda-schedule'. But the latter one would be useful to. Ideally,
S-left, C-cC-s et al. would trigger a bulk shift/bulk schedule whenever
there are marked agenda items.

Ulf



___
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] wish list: sort tasks by age

2009-07-01 Thread Bastien
Christopher League lea...@contrapunctus.net writes:

 I would love to be able to sort TODOs by their age, so it becomes
 painfully obvious what I have been ignoring.  Since org relies on free- 
 form text (a strength), it's tricky to ensure that every item gets a
 creation-time' property.  But it doesn't need to be accurate to the
 second; even a script that added that property once every day or so
 might do the trick.

Check org-expiry.el in Org's contrib directory, it might do what you
want.  (I still need to write a tutorial about this.)

-- 
 Bastien


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


Re: [Orgmode] wish list: sort tasks by age

2009-07-01 Thread Bastien
David Maus maus.da...@gmail.com writes:

 At Wed, 1 Jul 2009 13:40:21 +0530,
 Manish wrote:
 
 There are property and mapping APIs documented in the manual under
 section on hacking.

 And what a fun it is to train my elisp skills. A first hack that seems to 
 work:

 (defun dmj/org-assure-creation-property ()
   Process all orgmode entries of current buffer that do not
   match a defined search string
   (interactive)
   (org-map-entries 'dmj/org-insert-creation-property +Creation_Time=\\)
 )

 (defun dmj/org-insert-creation-property ()
   Insert Creation-Property in Orgmode entry at point
   (let ((stamp (format-time-string (cdr org-time-stamp-formats) 
 (current-time 
 (setq stamp (concat [ (substring stamp 1 -1) ]))
 (org-entry-put (point-marker) Creation_Time stamp))
 )

 The first function (dmj/assure-creation-property) processes every
 entry in current buffer that match the search query Creation_Time=,
 i.e. entries with an empty or no Creation_Time property at all and
 calls dmj/org-insert-creation-property to insert a Creation_Time
 property with the current time into this entry.

Thanks for this David -- you might also have a look at the code in
org-expiry.el.  If there is anything there that you want to improve,
please do so!

-- 
 Bastien


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


[Orgmode] Feature or Help request: Expand ALL before ispell-buffer

2009-07-01 Thread Scot Becker
Is there any easy way that a call to M-X ispell or M-X ispell-buffer
could expand all collapsed org-mode nodes before doing the spell
check?

Scot


___
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] Sorting and renumbering footnotes

2009-07-01 Thread Karl Maihofer


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

this is now implemented as [r] action in the footnote actions.  [r]
dies only renumbering, no sorting, so you'd have to use 2 commands.


Actually, I just also added [S] as a shortcut for first [r] then [s]


Carsten, thank you VERY much! It works perfect.





___
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: LaTeX export bugs?

2009-07-01 Thread Sébastien Vauban
Hi all,

 To make things clear, I love Org-mode (yes, I voted) and its LaTeX export.
 More than you can imagine: I now look for avoiding writing any LaTeX document,
 and have the export do all the work for me...

 BTW, any solution for exporting to a Beamer presentation?  I'd be very very
 very interested by anything in that direction. That's the last piece of the
 whole puzzle, IMHO.

 Though, working more and more in that direction (Org-mode - LaTeX), I've seen
 a couple of weird things that I've compiled into an ECM, for ease of use:

 * Org

   - If you have a level 3 item under a level 1 item, the level 3 doesn't get
 exported to LaTeX. I know this is not a normal situation, but it happens
 when restructuring some text, and you loose it in the exported view...

 * THIS SECTION WILL DISAPPEAR!!

   This text is not exported. Though, I'm not always aware of it, when
   sections are long (spreading over more than one screen page)...

 *** Level 2 -- is there a level 3 above?

 - Table with formulas and environment /framed/ :

   The following table will be framed, but TBL formulas do not work
   anymore.

 #+ATTR_LaTeX: align=lrrr
 #+LaTeX: \begin{framed}
 | Code  | \euro{} |  \% | \euro{} |
 |---+-+-+-|
 | GSM   | | |0.00 |
 | Internet  |  168.45 | 100 |  168.45 |
 | Matériel  |  295.99 | 100 |  295.99 |
 | Publicité |  214.25 |  33 |   70.70 |
 | Autres| | |0.00 |
 |---+-+-+-|
 | Total | | |  535.14 |
 #+LaTeX: \end{framed}
 #+TBLFM: $4=$2*$3/100;%.2f::@7$4=vsum(@-...@-ii)

   Swapping these two last lines gives LaTeX errors... What's the solution
   for having both: an environment around the table and formulas that work?

   Why do I have to escape the sign symbol as soon as I put LaTeX commands
   (and not BEGIN..END_LaTeX) near it?

 - Hyperlink to other sections: see [[To be referenced]]. Looking in the
   produced LaTeX code, it always link to the current section instead!

 - Quotes are sometimes exported in a weird /fashion/ : see Industriels,
   et commerçants. And compare with the quotes in the next sample
   (Industriels et commerçants).

   See as well that /fashion/ is not in italic above. Apparently because of
   the special non-breaking space following the second slash... BTW, a
   possibility would be to translate the non-breaking space to its LaTeX
   equivalent syntax (the tilde sign).

 * To be referenced

   This should be the landing point for the hyperreference above.

 Once again, thanks to all of you that provide us with those wonderful
 features...

Anybody commenting on the above?

Other things I've noticed:

- Even with version 6.28, the `#+TBLNAME' tag must be located in column 0 (at
  least, for the highlighting features to work)

- Remote references to other tables are great, but they only work with
  absolute references, not with named cells. On the wishlist (easy to
  say ;-)), I image it'd be utmost useful to be able to name a cell and reuse
  its name in a remote ref.

Thanks for any commentary on the above...

Thank you very much Carsten, Bastien and Co...
  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] 23.0.94; [PATCH] org-store-link broken within kbd macros

2009-07-01 Thread Bastien
Samuel Wales samolog...@gmail.com writes:

 I cannot use org-remember to save all my w3m tabs using remember and
 keyboard macros.

Are you using a specific remember template when remembering those 
w3m tabs?  My guess is that your remember template tries to fetch
a title or same tab-related info that isn't available for some tab.

 Says command rang the bell, but I don't know which even with stack trace on.

   call-last-kbd-macro(nil kmacro-loop-setup-function)
   kmacro-call-macro(nil nil)
   kmacro-end-and-call-macro(nil)
   call-interactively(kmacro-end-and-call-macro)

 Is this related?

Looks like some tab prevents the macro from being repeated correctly.  

Maybe you can try to debug this like this:

1. use several identic tabs (and see if the error occurs);
2. use two different tabs, then three, etc.

HTH

-- 
 Bastien


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