Re: [Orgmode] tags-tree question

2008-11-03 Thread Carsten Dominik

Hi Pete,

there is currently no way o say "today plus 1 month" in a query.  The  
rest of it would be possible.


- Carsten

On Nov 3, 2008, at 12:20 AM, Pete Phillips wrote:


Hi Carsten

   Carsten> I have now removed the speed-penalty on this syntax.  So
   Carsten> if, during a tag search, you use property-like expressions
   Carsten> for TODO, LEVEL, or CATEGORY, there will be no speed
   Carsten> penalty involved.  If you access any other properties,
   Carsten> there will be a one-time penalty.  Once you have paid that
   Carsten> penalty for a single property, it is cheap to test
   Carsten> additional properties (unless inheritance is involved).

Many thanks for doing this. I haven't had the chance to try it out yet
(been too busy actually getting things off my Home list this w/e! -  
oh -
and letting fireworks off tonight as well ) but your solution  
from
last week using the non-intuitive method worked perfectly for me  
anyhow.


On a related question, is it possible to set up an
org-agenda-custom-command to pick out a set of tags, all of which have
NEXT as a todo-type, and which either have no scheduled date, OR which
have a scheduled or deadline date less than or equal to 1 month in the
future.

For example, show lines with

   NEXT and (Home | LaptopH | DIY)

where either there is no scheduled (or perhaps, deadline) date OR

Scheduled Date <= today + 1 month

My thinking on this is that sometimes I have next actions (such as
cutting my pampas grass every january), which would be set up like  
this:


*** NEXT Cut pampass grass :DIY:
SCHEDULED: <2009-01-12 Thu>

My current setup uses this:

("h" "Home Stuff (Next)"
 ((tags "Home//NEXT" nil)
  (tags "DIY//NEXT" nil)
  (tags "LaptopH//NEXT" nil)
 nil)

The problem at the moment is that it shows up all year in my Home  
Stuff

(Next) list (which searches for Home|LaptopH|DIY with NEXT todotypes),
but I only want it to start showing up about a month before the date I
have decided I need to do it. At the moment, NEXT items which I will
need to do, but which I can't do anything about until nearer the time,
clutter up my action lists.

Is there any way to do this ?

Cheers,
Pete





___
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] A possible bug?

2008-11-03 Thread Carsten Dominik

Hi Jack,

thanks for noticing this, fixed now.

- Carsten

On Nov 3, 2008, at 4:12 AM, [EMAIL PROTECTED] wrote:

For a every day repeat task, I mark it done for today. But in the  
agenda view, it still show up as todo for today, which would be  
better if it shows done keyword for today.


Jack


___
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] Orgtbl-mode questions

2008-11-03 Thread Carsten Dominik

Hi Nicholas,

On Nov 2, 2008, at 5:13 PM, Nicholas S-A wrote:


Hi all,
   I have some questions pertaining to orgtbl-mode. I am really  
excited
about using it to compose all my LaTeX tables, and in fact learned  
Emacs
and Org specifically for this purpose (well, I also learned them for  
all

the other awesome features of Org-mode.
   First of all, I was wondering how I could add vertical bars to a
table (so instead of \begin{tabular}{rrr}, something like
\begin{tabular}{r|rr} is generated when C-c C-c is executed in an
orgtbl-mode remote table). Is this possible?


Yes.  The way to do this is that you write the header of the table  
yourself, outside of the receive area, and then you then use  
the :splice option in the "ORGTBL: SEND" line.  There is even an  
example in the manual:


http://orgmode.org/manual/A-LaTeX-example.html#A-LaTeX-example





   Second, I have had some problems with calculations. I have the
following format for my table:

% BEGIN RECEIVE ORGTBL test
% END RECEIVE ORGTBL test
\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex :splice nil :skip 0
| Name  | Age | Height |
|---+-+|
| Bob   |  34 |  2 |
| James |  23 |1.8 |
| Fred  |  64 |1.2 |
|---+-+|
| TOTAL | ||
\end{comment}

With  as the location of point. I want to sum the ages and put  
them

in that cell, then sum the height and put them in the adjacent cell.
When I enter the formula :=vsum(@-II+1$2..-I-1$2) into the current  
cell

and then tab to the next cell and enter :=vsum(@-II+1$3..-I-1$3), it
works great. However, this is very tedious when many columns are used!
Is there a way to enter many formulae in a row and have the column
automatically updated?


There is no way to define row formulas.

However, since you are summing in the column, all $-row references
are optional, i.e. you can write the formula as

   :=vsum(@-II+1..-I-1)

or even as

   :=vsum(@-II..-I)

Since this is the same expression for all columns, you can copy it
into the kill ring and then move with

C-y TAB C-y TAB .

pretty quickly through the row where you want the formulas.

HTH

- 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] Orgtbl-mode questions

2008-11-03 Thread Nicholas S-A

Hi,

* Carsten Dominik <[EMAIL PROTECTED]> [2008-11-03 12:16:56 +0100]:


However, since you are summing in the column, all $-row references
are optional, i.e. you can write the formula as

   :=vsum(@-II+1..-I-1)

or even as

   :=vsum(@-II..-I)

Since this is the same expression for all columns, you can copy it
into the kill ring and then move with

C-y TAB C-y TAB .

pretty quickly through the row where you want the formulas.


That works very nicely.

Thank you for the clear response and prompt reply!
Nicholas


___
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] Orgtbl-mode questions

2008-11-03 Thread Carsten Dominik


On Nov 3, 2008, at 12:53 PM, Sebastian Rose wrote:


Nicholas S-A wrote:

Hi all,
   I have some questions pertaining to orgtbl-mode. I am really  
excited
about using it to compose all my LaTeX tables, and in fact learned  
Emacs
and Org specifically for this purpose (well, I also learned them  
for all

the other awesome features of Org-mode.
   First of all, I was wondering how I could add vertical bars to a
table (so instead of \begin{tabular}{rrr}, something like
\begin{tabular}{r|rr} is generated when C-c C-c is executed in an
orgtbl-mode remote table). Is this possible?




http://orgmode.org/manual/Column-groups.html#Column-groups

works fine for LaTeX.


Ha! I had forgotten about column groups!  Great, thanks Sebastian.

- Carsten





Regards,

 Sebastian


___
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] [BUG REPORT] Bad C-u C-C C-t screen rendering with vertically split screen in emacs

2008-11-03 Thread Carsten Dominik

Hi Gary,

I believe this problem is now fixed, please verify.

Also, your address reads like "Domain Admin", is that intended

- Carsten


On Oct 25, 2008, at 6:47 AM, Domain Admin wrote:


[[3rd and final attempt to send, this time without screenshots]]

Since I have a wide screen laptop, I almost always us C-x3 to split
emacs into 2 side by side windows.  When I'm pushing bits around in
org-mode, that usually translates to my todo.org on the left and an
agenda on the right.

The bug I've encountered since I started using org mode a few weeks
back is that the mini-buffer grows to fill almost the entire screen
when I want to change the state of a TODO.  Attached are two
screen-shots - the first is my emacs layout as described above, and
the second after pressing C-u C-c C-t  with the completion buffer
taking up almost the whole screen.

Please keep my address in the Cc: as I am not subscribed to the list.

Cheers,
Gary


___
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: Strange behavior of C-RET and C-S-RET

2008-11-03 Thread Sergey A.
Hello.

I verified. The latest org-mode from git doesn't contain this bug. Thanks a lot!

2008/11/2 Carsten Dominik <[EMAIL PROTECTED]>:
> I believe this is fixed now, please verify.
>
> - Carsten
>
> On Nov 1, 2008, at 2:22 AM, Sergey A. wrote:
>
>> Hello.
>>
>> I didn't think that the bug will be so difficult to reproduce.
>>
>> In my case, the bug always happens with the following file:
>>
>> *** foo
>> * bar
>>
>> Below is the steps to reproduce that 100% works to me:
>>
>> 1) File is opened, headline is folded, cursor is on the second asterisk:
>>
>> *[*]* foo...
>>
>> 2) After pressing C-, I see the following:
>>
>> *** foo
>> ...
>> ***
>>
>> If instead of "* bar" there is "bar", then the bug doesn't happen.
>>
>> I've deleted some tweaks to orgmode, so my config now is:
>>
>> (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
>> (global-set-key "\C-cl" 'org-store-link)
>> (global-set-key "\C-ca" 'org-agenda)
>> (global-set-key "\C-cb" 'org-iswitchb)
>>
>> (add-hook 'org-mode-hook 'turn-on-font-lock)
>>
>> I've rebuild my emacs from CVS before testing.
>>
>> P.S. I use Archlinux.
>>
>> --
>> Sergey.
>>
>>
>> ___
>> 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] BUG: Marking repeating tasks done

2008-11-03 Thread Bernt Hansen
Hi Carsten,

I updated org-mode this morning to

   commit 413d9b73b0a5a4c38be8791d72e17137306c59ac

and I'm trying to mark tasks with repeaters done and get the following
error.


,[ test.org ]
| #+STARTUP:
| * TODO Repeating Task
|   SCHEDULED: <2008-11-01 Sat +1w>
|  
|   Do something
| 
`

In the repeating task do C-c C-t d to mark the task as done.  This would
normally prompt for a note but it fails with an error.

This leaves the task like this:

,[ test.org ]
| #+STARTUP:
| * DONE Repeating Task
|   SCHEDULED: <2008-11-01 Sat +1w>
|   - State "DONE"   [2008-11-03 Mon 08:46]
|  
|   Do something
| 
`

Org-mode version 6.10c
GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2008-07-24 on raven, modified by Debian


I have the following custom settings:

,[ Part of my custom settings ]
|  '(org-use-fast-todo-selection t)
|  '(org-todo-keywords (quote ((sequence "TODO(t)" "|" "DONE(d!/!)") (sequence 
"WAITING(w@/!)" "ONGOING(o)" "DEFERRED(D@/!)" "|" "CANCELLED(c@/!)") (sequence 
"QUOTATION(q!)" "QUOTED(Q!)" "|" "APPROVED(A@)" "EXPIRED(E@)" "REJECTED(R@)") 
(sequence "OPEN(O!)" "|" "CLOSED(C@)") (sequence "PROJECT(P)" "|" 
"COMPLETE(p@)") (sequence "|" "NOTE" "PHONE" "MEETING"
|  '(org-log-done (quote time))
`

,
| Debugger entered--Lisp error: (void-variable 
org-agenda-headline-snapshot-before-repeat)
|   (boundp org-agenda-headline-snapshot-before-repeat)
|   (if (boundp org-agenda-headline-snapshot-before-repeat) (progn 
(save-match-data ...)))
|   (when (boundp org-agenda-headline-snapshot-before-repeat) (save-match-data 
(setq org-agenda-headline-snapshot-before-repeat ...)))
|   (progn (when (boundp org-agenda-headline-snapshot-before-repeat) 
(save-match-data ...)) (org-auto-repeat-maybe state))
|   (if now-done-p (progn (when ... ...) (org-auto-repeat-maybe state)))
|   (when now-done-p (when (boundp org-agenda-headline-snapshot-before-repeat) 
(save-match-data ...)) (org-auto-repeat-maybe state))
|   (let* ((match-data ...) (startpos ...) (logging ...) (org-log-done 
org-log-done) (org-log-repeat org-log-repeat) (org-todo-log-states 
org-todo-log-states) (this ...) (hl-pos ...) (head ...) (ass ...) (interpret 
...) (done-word ...) (final-done-word ...) (last-state ...) 
(completion-ignore-case t) (member ...) (tail ...) (state ...) (next ...) 
(change-plist ...) dolog now-done-p) (when org-blocker-hook (unless ... ...)) 
(store-match-data match-data) (replace-match next t t) (unless 
(pos-visible-in-window-p hl-pos) (message "TODO state changed to %s" ...)) 
(unless head (setq head ... ass ... interpret ... done-word ... final-done-word 
...)) (when (memq arg ...) (message "Keyword-Set %d/%d: %s" ... ... ...)) (setq 
org-last-todo-state-is-todo (not ...)) (setq now-done-p (and ... ...)) (and 
logging (org-local-logging logging)) (when (and ... ...) (setq dolog ...) (when 
... ...) (when ... ... ...) (when ... ...)) (org-todo-trigger-tag-changes 
state) (and org-auto-align-tags (not org-setting-tags) (org-set-tags nil t)) 
(when org-provide-todo-statistics (org-update-parent-todo-statistics)) 
(run-hooks (quote org-after-todo-state-change-hook)) (if (and arg ...) (setq 
head ...)) (put-text-property (point-at-bol) (point-at-eol) (quote 
org-todo-head) head) (when now-done-p (when ... ...) (org-auto-repeat-maybe 
state)) (if (and ... ... ... ...) (progn ... ...)) (when org-trigger-hook 
(save-excursion ...)))
|   (catch (quote exit) (org-back-to-heading) (if (looking-at outline-regexp) 
(goto-char ...)) (or (looking-at ...) (looking-at " *")) (let* (... ... ... ... 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... dolog 
now-done-p) (when org-blocker-hook ...) (store-match-data match-data) 
(replace-match next t t) (unless ... ...) (unless head ...) (when ... ...) 
(setq org-last-todo-state-is-todo ...) (setq now-done-p ...) (and logging ...) 
(when ... ... ... ... ...) (org-todo-trigger-tag-changes state) (and 
org-auto-align-tags ... ...) (when org-provide-todo-statistics ...) (run-hooks 
...) (if ... ...) (put-text-property ... ... ... head) (when now-done-p ... 
...) (if ... ...) (when org-trigger-hook ...)))
|   (save-excursion (catch (quote exit) (org-back-to-heading) (if ... ...) (or 
... ...) (let* ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ...)))
|   org-todo(nil)
|   call-interactively(org-todo)
`

Rewinding to 

commit cb1bbaf244e141630f29cd117e30cc91741ac3bc
Author: Carsten Dominik <[EMAIL PROTECTED]>
Date:   Sun Nov 2 17:13:25 2008 +0100

Don't keep buffers visited during index publishing.

works.

Regards,
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] Table (with timestamps) HTML export bug

2008-11-03 Thread Charles Sebold
I noticed a bug that seems to have crept in over the weekend, but I
can't quite make out where it came from.

In a table like this:


| Date | Index1 | Index2 |
|--++|
| <2008-11-01 Sat> |100 |150 |
| <2008-11-02 Sun> |110 |140 |
| <2008-11-03 Mon> |120 |145 |


If you export to HTML, you'll see the span before the timestamps with
HTML entities for the < and > characters, rather than having them
converted back.  It's as if we're missing an org-html-expand or an
org-html-do-expand somewhere.
-- 
Charles Sebold 3rd of November, 2008
 GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.10c
 


___
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] MacOSX: Notifications with Growl

2008-11-03 Thread Alex Ott
Hi all

I wrote small note about show notifications with Growl under Mac OS X.
This could be useful when using org-mode.  Note is could be found on my site
http://xtalk.msk.su/~ott/en/writings/EmacsMacOSXAndGrowl.html

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/   http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/


___
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: Table (with timestamps) HTML export bug

2008-11-03 Thread Charles Sebold
On 3 Nov 2008, Charles Sebold wrote:

> I noticed a bug that seems to have crept in over the weekend, but I
> can't quite make out where it came from.

It was somewhere in the last commit, but I can't quite wrap my head
around the changes enough to figure out how this would break it.

[15b4ae903879407efe33a9f26b6c7704f260bb6c] Process link descriptions in
HTML export like any content.

On another note, that "git bisect" thing is pretty cool.
-- 
Charles Sebold 3rd of November, 2008
 GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.10c
 


___
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: Table (with timestamps) HTML export bug

2008-11-03 Thread Charles Sebold
On 3 Nov 2008, Charles Sebold wrote:

>> I noticed a bug that seems to have crept in over the weekend, but I
>> can't quite make out where it came from.
>
> It was somewhere in the last commit, but I can't quite wrap my head
> around the changes enough to figure out how this would break it.
>
> [15b4ae903879407efe33a9f26b6c7704f260bb6c] Process link descriptions
> in HTML export like any content.

I doubt this is right, but it works.  What does it takes to make this
right?

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 453cd1f..b61f8a9 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -3964,7 +3964,9 @@ If there are links in the string, don't modify these."
   (setq s (org-html-protect s))
   (if org-export-html-expand
   (let ((start 0))
-   (while (string-match "@<\\([^&]*\\)>" s)
+(while (string-match "@<\\(.*?\\)"\\(.*?\\)>" s)
+  (setq s (replace-match "@<\\1\"\\2>" t nil s)))
+   (while (string-match "@<\\(.*?\\)>" s)
  (setq s (replace-match "<\\1>" t nil s)
   (if org-export-with-emphasize
   (setq s (org-export-html-convert-emphasize s)))

-- 
Charles Sebold 3rd of November, 2008
 GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.10c
 


___
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: keeping track of sent emails in org?

2008-11-03 Thread Carsten Dominik


On Oct 28, 2008, at 2:35 AM, Michael Ekstrand wrote:


Michael Ekstrand <[EMAIL PROTECTED]> writes:

I have some code that does this in my Gnus configuration.  It is only
known to work for NNML, however, and I believe it depends on the
ID-tracking support used to enable the fancy-split-with-parent  
feature.

It does, however, successfully find messages across groups.

The Gnus registry could probably be used to enable similar support  
for

other backends.


Would it be possible to use the registry to make it possible to find  
messages anywhere in gnus, just by message id?


- 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


[Orgmode] Re: keeping track of sent emails in org?

2008-11-03 Thread Michael Ekstrand
Carsten Dominik <[EMAIL PROTECTED]> writes:
> On Oct 28, 2008, at 2:35 AM, Michael Ekstrand wrote:
>> Michael Ekstrand <[EMAIL PROTECTED]> writes:
>>> I have some code that does this in my Gnus configuration.  It is only
>>> known to work for NNML, however, and I believe it depends on the
>>> ID-tracking support used to enable the fancy-split-with-parent
>>> feature.
>>> It does, however, successfully find messages across groups.
>>>
>>> The Gnus registry could probably be used to enable similar support
>>> for
>>> other backends.
>
> Would it be possible to use the registry to make it possible to find
> messages anywhere in gnus, just by message id?

Probably.  I think there's a chance that the message will have fallen
out of the registry if it's particularly old, and it may have problems
in IMAP environments if a message has been moved by another client, but
for general usage it should work fine, and in my estimation probably
won't have more problems than the folder#index scheme.

Note that I haven't actually used the Registry myself yet, merely read
about it and thought "that looks interesting, but I don't need it yet,
and it will probably not play well with my Unison synchronization."

- Michael

-- 
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files?  I cryptographically sign my messages.
For more information see .



___
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] MacOSX: Notifications with Growl

2008-11-03 Thread Christopher Suckling
On Mon, Nov 03, 2008 at 04:49:24PM +0100, Alex Ott wrote:

> Hi all
> 
> I wrote small note about show notifications with Growl under Mac OS X.
> This could be useful when using org-mode.  Note is could be found on my site
> http://xtalk.msk.su/~ott/en/writings/EmacsMacOSXAndGrowl.html
> 

Nice. Was looking to add this to my Quicksilver suite of scripts 

http://claviclaws.net/org

when I'm back from holiday. You've saved me a bit of effort!

Christopher



___
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] Links to Thunderbird e-mail

2008-11-03 Thread Ed Hirgelt

Does anyone know of a way to link to Thunderbird email similar
to org-mac-message-get-link & org-mac-message-insert-link?

Thanks,
Ed


___
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] Orgtbl-mode questions

2008-11-03 Thread Nicholas S-A

* Sebastian Rose <[EMAIL PROTECTED]> [2008-11-03 12:53:57 +0100]:


http://orgmode.org/manual/Column-groups.html#Column-groups

works fine for LaTeX.


Wow, I clearly missed this section of the manual in my (not so thorough,
it seems) search for how to accomplish what I want.

Thanks!
Nicholas



___
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] Orgtbl-mode questions

2008-11-03 Thread Sebastian Rose

Nicholas S-A wrote:

Hi all,
I have some questions pertaining to orgtbl-mode. I am really excited
about using it to compose all my LaTeX tables, and in fact learned Emacs
and Org specifically for this purpose (well, I also learned them for all
the other awesome features of Org-mode.
First of all, I was wondering how I could add vertical bars to a
table (so instead of \begin{tabular}{rrr}, something like
\begin{tabular}{r|rr} is generated when C-c C-c is executed in an
orgtbl-mode remote table). Is this possible?




http://orgmode.org/manual/Column-groups.html#Column-groups

works fine for LaTeX.


Regards,

  Sebastian


___
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] small doc patch

2008-11-03 Thread Ben Alexander

'teh' changed to 'the'

--->%

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 8dd31c8..3991a21 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -409,7 +409,7 @@ t, also all archive files associated with the  
current select

 files will be included.")

 (defcustom org-agenda-skip-comment-trees t
-  "Non-nil means, skip trees that start with teh COMMENT keyword.
+  "Non-nil means, skip trees that start with the COMMENT keyword.
 When nil, these trees are also scand by agenda commands."
   :group 'org-agenda-skip
   :type 'boolean)



___
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] Valid XHTML

2008-11-03 Thread Carsten Dominik

Hi Sebastian,

I believe these are all fixed now.  Please confirm.

- Carsten

On Oct 31, 2008, at 8:54 PM, Sebastian Rose wrote:


Hi,

I'm currently writing a fulltext search engine for Org's
XHTML export.

Export is not valid XHTML:



1.) CDATA:

 
    styles 
 

 should be:

 
  
 

 Fix appended:

 - patch-missing-cdata-style.patch (org-exp.el)



2.) Missing quotes:

 

 should be:

 


 My fault. I copied and pasted.

 Fixes appended:
  - patch-stylesheet-missing-quotes.patch (org-publish.el, doc  
strings)

  - patch-stylesheet-missing-quotes-texi.patch (org.texi)




4.) missing entities in link texts (not the URL):

http://xy.com/foo.php?f=1&t=bar";>http://xy.com/foo.php?f=1&t=bar 



should be:

http://xy.com/foo.php?f=1&t=bar";>http://xy.com/foo.php?f=1&t=bar 




  Not shure how to this in org-exp.el, org-export-as-html - is there a
  function I should use?





5.) index file is not well-formed XML:

 sitemap.html:291: parser error : Opening and ending tag mismatch:  
body line 43 and div

 
   ^
 sitemap.html:297: parser error : Opening and ending tag mismatch:  
html line 3 and body

 
  ^
 sitemap.html:298: parser error : Extra content at the end of the  
document

 
 ^

 Seems there is one '' too much.

 It's the  directly after the  (never opened after title)

 Two possible fixes:

   Sitemap
   /* <- either insert this one */
 
  ...
 
  /* <- or delete this one */







Last but not least, a general question:

* Problem with xmllint:

 Not defined entities:

  - …
  - —
  - mayby more

  Not shure, how to fix this.

  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
  already includes these:

  http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
  http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
  http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent


  But:

  xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1- 
strict.dtd index.html


  gives me lots of errors for not defined enities.



Regards,

  Sebastian
diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index e0cf4bd..db09e17 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -75,4 +75,4 @@
;;   :with-section-numbers nil
;;   :table-of-contents nil
;;   :recursive t
-;; 		 :style "\" type=\"text/css\">")))
+;; 		 :style "mystyle.css\" type=\"text/css\">")))


 More complex example configuration:

@@ -103,7 +103,7 @@
;; :headline-levels 3
;; :with-section-numbers nil
;; :table-of-contents nil
-;; 		   :style "\" type=\"text/css\">"
+;; 		   :style "mystyle.css\" type=\"text/css\">"

;; :auto-preamble t
;; :auto-postamble nil)
;; ("images" :base-directory "~/images/"
diff --git a/doc/org.texi b/doc/org.texi
index b675d92..b623b3e 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -8212,7 +8212,7 @@ directory on the local machine.
 :publishing-directory "~/public_html"
 :section-numbers nil
 :table-of-contents nil
- :style "")))
@end lisp
@@ -8249,7 +8249,7 @@ right place on the web server, and publishing  
images to it.

  :headline-levels 3
  :section-numbers nil
  :table-of-contents nil
-  :style ""
  :auto-preamble t
  :auto-postamble nil)
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index e680be0..ac59bab 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -492,6 +492,7 @@ Org-mode file."

(defconst org-export-html-style-default
"
+    .org-info-js_search-highlight {background-color:#00;  
color:#00;
 font-weight:bold; }
-
+ ]]>
"
  "The default style specification for exported HTML files.
Please use the variables `org-export-html-style' and
@@ -547,11 +548,13 @@ you should consider to include definitions for  
the following classes:

For example, a valid value would be:

   
+
   

If you'd like to refer to en external style file, use something like
___
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] An another small bug with C-

2008-11-03 Thread Sergey A.
Hello.

This bug isn't so significant, but maybe the following steps to
reproduce will help to identify more complex bugs (if those exist)
based on this.

Suppose we have the following file opened in your emacs:

*** foo
* bar

1. Move the cursor to the end of the last line (here [] represents the cursor):

*** foo
* bar[]

and type some C-k to delete all the possible spaces and newline
symbols. Don't save file after this.

2. Then type C-. Here is what you'll see:

*** foo
* bar* []

Here is what I expected to see:

*** foo
* bar
* []

I use the latest emacs from CVS and the latest org-mode from git.

Thanks.

--
Sergey


___
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] Table (with timestamps) HTML export bug

2008-11-03 Thread Carsten Dominik

Yes, I have taken part of this change back, causes too many issues.

Thanks.

- Carsten

On Nov 3, 2008, at 4:41 PM, Charles Sebold wrote:


I noticed a bug that seems to have crept in over the weekend, but I
can't quite make out where it came from.

In a table like this:


| Date | Index1 | Index2 |
|--++|
| <2008-11-01 Sat> |100 |150 |
| <2008-11-02 Sun> |110 |140 |
| <2008-11-03 Mon> |120 |145 |


If you export to HTML, you'll see the span before the timestamps with
HTML entities for the < and > characters, rather than having them
converted back.  It's as if we're missing an org-html-expand or an
org-html-do-expand somewhere.
--  
Charles Sebold 3rd of November,  
2008

GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.10c



___
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] BUG: Marking repeating tasks done

2008-11-03 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Nov 3, 2008, at 2:54 PM, Bernt Hansen wrote:


Hi Carsten,

I updated org-mode this morning to

  commit 413d9b73b0a5a4c38be8791d72e17137306c59ac

and I'm trying to mark tasks with repeaters done and get the following
error.


,[ test.org ]
| #+STARTUP:
| * TODO Repeating Task
|   SCHEDULED: <2008-11-01 Sat +1w>
|
|   Do something
|
`

In the repeating task do C-c C-t d to mark the task as done.  This  
would

normally prompt for a note but it fails with an error.

This leaves the task like this:

,[ test.org ]
| #+STARTUP:
| * DONE Repeating Task
|   SCHEDULED: <2008-11-01 Sat +1w>
|   - State "DONE"   [2008-11-03 Mon 08:46]
|
|   Do something
|
`

Org-mode version 6.10c
GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2008-07-24 on raven, modified by Debian


I have the following custom settings:

,[ Part of my custom settings ]
|  '(org-use-fast-todo-selection t)
|  '(org-todo-keywords (quote ((sequence "TODO(t)" "|" "DONE(d!/!)")  
(sequence "WAITING(w@/!)" "ONGOING(o)" "DEFERRED(D@/!)" "|"  
"CANCELLED(c@/!)") (sequence "QUOTATION(q!)" "QUOTED(Q!)" "|"  
"APPROVED(A@)" "EXPIRED(E@)" "REJECTED(R@)") (sequence "OPEN(O!)"  
"|" "CLOSED(C@)") (sequence "PROJECT(P)" "|" "COMPLETE(p@)")  
(sequence "|" "NOTE" "PHONE" "MEETING"

|  '(org-log-done (quote time))
`

,
| Debugger entered--Lisp error: (void-variable org-agenda-headline- 
snapshot-before-repeat)

|   (boundp org-agenda-headline-snapshot-before-repeat)
|   (if (boundp org-agenda-headline-snapshot-before-repeat) (progn  
(save-match-data ...)))
|   (when (boundp org-agenda-headline-snapshot-before-repeat) (save- 
match-data (setq org-agenda-headline-snapshot-before-repeat ...)))
|   (progn (when (boundp org-agenda-headline-snapshot-before-repeat)  
(save-match-data ...)) (org-auto-repeat-maybe state))
|   (if now-done-p (progn (when ... ...) (org-auto-repeat-maybe  
state)))
|   (when now-done-p (when (boundp org-agenda-headline-snapshot- 
before-repeat) (save-match-data ...)) (org-auto-repeat-maybe state))
|   (let* ((match-data ...) (startpos ...) (logging ...) (org-log- 
done org-log-done) (org-log-repeat org-log-repeat) (org-todo-log- 
states org-todo-log-states) (this ...) (hl-pos ...) (head ...)  
(ass ...) (interpret ...) (done-word ...) (final-done-word ...)  
(last-state ...) (completion-ignore-case t) (member ...) (tail ...)  
(state ...) (next ...) (change-plist ...) dolog now-done-p) (when  
org-blocker-hook (unless ... ...)) (store-match-data match-data)  
(replace-match next t t) (unless (pos-visible-in-window-p hl-pos)  
(message "TODO state changed to %s" ...)) (unless head (setq  
head ... ass ... interpret ... done-word ... final-done-word ...))  
(when (memq arg ...) (message "Keyword-Set %d/%d: %s" ... ... ...))  
(setq org-last-todo-state-is-todo (not ...)) (setq now-done-p  
(and ... ...)) (and logging (org-local-logging logging)) (when  
(and ... ...) (setq dolog ...) (when ... ...) (when ... ... ...)  
(when ... ...)) (org-todo-trigger-tag-changes state) (and org-auto- 
align-tags (not org-setting-tags) (org-set-tags nil t)) (when org- 
provide-todo-statistics (org-update-parent-todo-statistics)) (run- 
hooks (quote org-after-todo-state-change-hook)) (if (and arg ...)  
(setq head ...)) (put-text-property (point-at-bol) (point-at-eol)  
(quote org-todo-head) head) (when now-done-p (when ... ...) (org- 
auto-repeat-maybe state)) (if (and ... ... ... ...) (progn ... ...))  
(when org-trigger-hook (save-excursion ...)))
|   (catch (quote exit) (org-back-to-heading) (if (looking-at  
outline-regexp) (goto-char ...)) (or (looking-at ...) (looking-at "  
*")) (let*  
(... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... dolog 
 now-done-p) (when org-blocker-hook ...) (store-match-data match- 
data) (replace-match next t t) (unless ... ...) (unless head ...)  
(when ... ...) (setq org-last-todo-state-is-todo ...) (setq now-done- 
p ...) (and logging ...) (when ... ... ... ... ...) (org-todo- 
trigger-tag-changes state) (and org-auto-align-tags ... ...) (when  
org-provide-todo-statistics ...) (run-hooks ...) (if ... ...) (put- 
text-property ... ... ... head) (when now-done-p ... ...)  
(if ... ...) (when org-trigger-hook ...)))
|   (save-excursion (catch (quote exit) (org-back-to-heading)  
(if ... ...) (or ... ...)  
(let 
* ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)))

|   org-todo(nil)
|   call-interactively(org-todo)
`

Rewinding to

commit cb1bbaf244e141630f29cd117e30cc91741ac3bc
Author: Carsten Dominik <[EMAIL PROTECTED]>
Date:   Sun Nov 2 17:13:25 2008 +0100

   Don't keep buffers visited during index publishing.

works.

Regards,
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: BUG: Marking repeating tasks done

2008-11-03 Thread Bernt Hansen
Awesome!  Thanks!!

PS. I really like your new commit messages :)

-Bernt


Carsten Dominik <[EMAIL PROTECTED]> writes:

> Fixed, thanks.
>
> - Carsten
>
> On Nov 3, 2008, at 2:54 PM, Bernt Hansen wrote:
>
>> Hi Carsten,
>>
>> I updated org-mode this morning to
>>
>>   commit 413d9b73b0a5a4c38be8791d72e17137306c59ac
>>
>> and I'm trying to mark tasks with repeaters done and get the following
>> error.
>>
>>
>> ,[ test.org ]
>> | #+STARTUP:
>> | * TODO Repeating Task
>> |   SCHEDULED: <2008-11-01 Sat +1w>
>> |
>> |   Do something
>> |
>> `
>>
>> In the repeating task do C-c C-t d to mark the task as done.  This
>> would
>> normally prompt for a note but it fails with an error.
>>
>> This leaves the task like this:
>>
>> ,[ test.org ]
>> | #+STARTUP:
>> | * DONE Repeating Task
>> |   SCHEDULED: <2008-11-01 Sat +1w>
>> |   - State "DONE"   [2008-11-03 Mon 08:46]
>> |
>> |   Do something
>> |
>> `
>>
>> Org-mode version 6.10c
>> GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
>> 2008-07-24 on raven, modified by Debian
>>
>>
>> I have the following custom settings:
>>
>> ,[ Part of my custom settings ]
>> |  '(org-use-fast-todo-selection t)
>> |  '(org-todo-keywords (quote ((sequence "TODO(t)" "|" "DONE(d!/!)")
>> (sequence "WAITING(w@/!)" "ONGOING(o)" "DEFERRED(D@/!)" "|"
>> "CANCELLED(c@/!)") (sequence "QUOTATION(q!)" "QUOTED(Q!)" "|"
>> "APPROVED(A@)" "EXPIRED(E@)" "REJECTED(R@)") (sequence "OPEN(O!)"
>> "|" "CLOSED(C@)") (sequence "PROJECT(P)" "|" "COMPLETE(p@)")
>> (sequence "|" "NOTE" "PHONE" "MEETING"
>> |  '(org-log-done (quote time))
>> `
>>
>> ,
>> | Debugger entered--Lisp error: (void-variable org-agenda-headline- 
>> snapshot-before-repeat)
>> |   (boundp org-agenda-headline-snapshot-before-repeat)
>> |   (if (boundp org-agenda-headline-snapshot-before-repeat) (progn
>> (save-match-data ...)))
>> |   (when (boundp org-agenda-headline-snapshot-before-repeat) (save- 
>> match-data (setq org-agenda-headline-snapshot-before-repeat ...)))
>> |   (progn (when (boundp org-agenda-headline-snapshot-before-repeat)
>> (save-match-data ...)) (org-auto-repeat-maybe state))
>> |   (if now-done-p (progn (when ... ...) (org-auto-repeat-maybe
>> state)))
>> |   (when now-done-p (when (boundp org-agenda-headline-snapshot- 
>> before-repeat) (save-match-data ...)) (org-auto-repeat-maybe state))
>> |   (let* ((match-data ...) (startpos ...) (logging ...) (org-log- 
>> done org-log-done) (org-log-repeat org-log-repeat) (org-todo-log- 
>> states org-todo-log-states) (this ...) (hl-pos ...) (head ...)  (ass
>> ...) (interpret ...) (done-word ...) (final-done-word ...)
>> (last-state ...) (completion-ignore-case t) (member ...) (tail ...)
>> (state ...) (next ...) (change-plist ...) dolog now-done-p) (when
>> org-blocker-hook (unless ... ...)) (store-match-data match-data)
>> (replace-match next t t) (unless (pos-visible-in-window-p hl-pos)
>> (message "TODO state changed to %s" ...)) (unless head (setq  head
>> ... ass ... interpret ... done-word ... final-done-word ...))  (when
>> (memq arg ...) (message "Keyword-Set %d/%d: %s" ... ... ...))  (setq
>> org-last-todo-state-is-todo (not ...)) (setq now-done-p  (and
>> ... ...)) (and logging (org-local-logging logging)) (when  (and
>> ... ...) (setq dolog ...) (when ... ...) (when ... ... ...)  (when
>> ... ...)) (org-todo-trigger-tag-changes state) (and org-auto- 
>> align-tags (not org-setting-tags) (org-set-tags nil t)) (when org- 
>> provide-todo-statistics (org-update-parent-todo-statistics)) (run- 
>> hooks (quote org-after-todo-state-change-hook)) (if (and arg ...)
>> (setq head ...)) (put-text-property (point-at-bol) (point-at-eol)
>> (quote org-todo-head) head) (when now-done-p (when ... ...) (org- 
>> auto-repeat-maybe state)) (if (and ... ... ... ...) (progn ... ...))
>> (when org-trigger-hook (save-excursion ...)))
>> |   (catch (quote exit) (org-back-to-heading) (if (looking-at
>> outline-regexp) (goto-char ...)) (or (looking-at ...) (looking-at "
>> *")) (let*
>> (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
>> ... dolog
>> now-done-p) (when org-blocker-hook ...) (store-match-data match- 
>> data) (replace-match next t t) (unless ... ...) (unless head ...)
>> (when ... ...) (setq org-last-todo-state-is-todo ...) (setq
>> now-done- 
>> p ...) (and logging ...) (when ... ... ... ... ...) (org-todo- 
>> trigger-tag-changes state) (and org-auto-align-tags ... ...) (when
>> org-provide-todo-statistics ...) (run-hooks ...) (if ... ...) (put- 
>> text-property ... ... ... head) (when now-done-p ... ...)  (if
>> ... ...) (when org-trigger-hook ...)))
>> |   (save-excursion (catch (quote exit) (org-back-to-heading)  (if
>> ... ...) (or ... ...)  (let *
>> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
>> ...)))
>> |   org-todo(nil)
>> |   call-interactively(org-todo)
>> `
>>
>> Rewinding to
>>
>> commit cb1bbaf244e141630f29cd117e30cc91741ac3bc
>> A

[Orgmode] Question about org-link-file-path-type

2008-11-03 Thread Matthew Lundin

I am using org 6.10c. When I set org-link-file-path-type to absolute
and use C-u C-c C-l (org-insert-link with argument), any file in my
home directory above my org directory is given the shortcut ~ -- as in
file:~/pdfs/paper.pdf. (This is the desired behavior.)

But when org-link-file-path-type is set to adaptive and I use
org-insert link, the files above my org-directory are given
unabbreviated names. E.g.: file:/home/matt/pdfs/paper.pdf.

Since I use org on two separate computers with different root
directory structures but also rely on relative links for my website, I
would like the adaptive option to create abbreviated links for the
home directory (i.e., ~). Is this possible?

I seem to remember the adaptive setting resulting in the abbreviated
links in 6.06 (before I upgraded to 6.08 and then 6.10), but I may be
wrong about that.

Thanks,

Matt Lundin


___
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] Question about org-link-file-path-type

2008-11-03 Thread Matthew Lundin
Matthew Lundin <[EMAIL PROTECTED]> writes:

> I am using org 6.10c. When I set org-link-file-path-type to absolute
> and use C-u C-c C-l (org-insert-link with argument), any file in my
> home directory above my org directory is given the shortcut ~ -- as in
> file:~/pdfs/paper.pdf. (This is the desired behavior.)
>
> But when org-link-file-path-type is set to adaptive (the default)
> and I use org-insert link, the files above my org-directory are
> given unabbreviated names. E.g.: file:/home/matt/pdfs/paper.pdf.
>
> Since I use org on two separate computers with different root
> directory structures but also rely on relative links for my website, I
> would like the adaptive option to create abbreviated links for the
> home directory (i.e., ~). Is this possible?
>
> I seem to remember the adaptive setting resulting in the abbreviated
> links in 6.06 (before I upgraded to 6.08 and then 6.10), but I may be
> wrong about that.

My mistake. I checked and this was apparently not the behavior of
earlier versions of org-mode.

So let me try to simplify my question: Is it possible to have an
adaptive link option that creates (a) relative links for files in the
same directory as my org files or in subdirectories and (b)
abbreviated absolute links (i.e., ~ for home) for files in other
directories within my home directory? In other words, the behavior of
the absolute link option as part of the adaptive link option. As far
as I can tell, when the adaptive link option is set, org-store-link
and org-insert-link produce unabbreviated links for files in the home
directory.

Thanks (and sorry for the wordiness).
Matt

>
> Thanks,
>
> Matt Lundin


___
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