[Orgmode] thousands of Invalid face attribute messages

2008-03-26 Thread David O'Toole
When I open an org-mode file I start to get these errors in the
message-buffer. Debug-on-error does not seem to work because it's
apparently happening during redisplay.

Invalid face attribute :bold t [1133 times]

I removed all instances of :bold t from my color theme file, so I
don't think it's my code.

This is with current CVS HEAD.


___
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 an alternate means of defining categories?

2008-03-26 Thread Bernt Hansen
[EMAIL PROTECTED] writes:

> I'm looking for a way to define categories, aside from using the
> '#+CATEGORY: Whatever' method. I'd like to keep all the comments and
> other visual clutter out of the actual data portions of my
> files. Using the 'odd' and 'hide leading stars' has helped a lot. If i
> could just move the category definitions elsewhere, and still have
> multiple categores per file, then i'd be free and clear of all my line
> noise.

I don't use #+CATEGORY: anymore.  I use properties.  I define the top
level task with a specific category and all subtasks inherit the same
property (and therefore are in the same category unless otherwise
specified)

The following are from my todo.org file:

* Tasks:newtask:
  :PROPERTIES:
  :CATEGORY: Tasks
  :ARCHIVE:  %s_archive::* Miscellaneous
  :END:
* Anniversaries and Holidays   :notaproject:
*** Birthdays
  :PROPERTIES:
  :CATEGORY: Birthday
  :END:
* Appointments :notaproject:
  :PROPERTIES:
  :CATEGORY: Appt
  :ARCHIVE:  %s_archive::* Appointments
  :END:
* Basement  :@home:
  :PROPERTIES:
  :CATEGORY: Basement
  :ARCHIVE: %s_archive::* Basement
  :END:
* Health:@home:
  :PROPERTIES:
  :CATEGORY: Health
  :ARCHIVE: %s_archive::* Health
  :END:

The :PROPERTIES:...:END: is normally folded and is not exported (if you
export your org files)

HTH,
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] HTML export: internal links broken

2008-03-26 Thread Sebastian Rose
There is small bug in the XHTML export. Internal links point to nowhere.

* Example

*** In the orgfile:

This [[Some Heading][Link]] should link to '*** Some Heading'.

*** After export, HTML file:

This Link should link to '*** Some
Heading'.


There is no anchor defined with that name in the exported HTML. There
are two possibilities to change this:

1) define the anchor next to the heading:
   

2) If the link pionts to a heading, use the ID of the heading in the
   link: 
   ... Link to '*** Some Heading'.



The second one is the one I would prefer, but that would mean to handle
links to headings differently from links to user defined anchors. But it
would keep the nesting of section containers clean.


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] Is there an alternate means of defining categories?

2008-03-26 Thread subopt
I'm looking for a way to define categories, aside from using the
'#+CATEGORY: Whatever' method. I'd like to keep all the comments and
other visual clutter out of the actual data portions of my
files. Using the 'odd' and 'hide leading stars' has helped a lot. If i
could just move the category definitions elsewhere, and still have
multiple categores per file, then i'd be free and clear of all my line
noise.

tia,
Eric

-- 
Eric Holbrook [EMAIL PROTECTED] [m]512/657-0043 [h]512/733-1690


___
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] [PATCH] doc: Add example of the global setting for mutually exclusive tags

2008-03-26 Thread Bernt Hansen
Explicitly show an example for setting org-tag-alist globally
with mutually exclusive tags for people new to lisp.
---

I had trouble with this originally and ended up digging in the org.el
code to figure out how to do this.  Hopefully this makes it easier
on org-mode users :)

 org.texi |   11 +++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/org.texi b/org.texi
index a13b2e7..fd90b5b 100644
--- a/org.texi
+++ b/org.texi
@@ -3324,6 +3324,17 @@ and @samp{@@tennisclub} should be selected.
 @noindent Don't forget to press @kbd{C-c C-c} with the cursor in one of
 these lines to activate any changes.
 
[EMAIL PROTECTED]
+The equivalent global setting is
+
[EMAIL PROTECTED]
+(setq org-tag-alist '((:startgroup . nil)
+  ("@@work" . ?w) ("@@home" . ?h)
+  ("@@tennisclub" . ?t)
+  (:endgroup . nil)
+  ("laptop" . ?l) ("pc" . ?p)))
[EMAIL PROTECTED] lisp
+
 If at least one tag has a selection key, pressing @kbd{C-c C-c} will
 automatically present you with a special interface, listing inherited
 tags, the tags of the current headline, and a list of all valid tags
-- 
1.5.5.rc1




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


Re: [Orgmode] Re: Bug: repeated task with ++1w does not auto-jump

2008-03-26 Thread Carsten Dominik
I am in the middle of some other big changes, but I will get back to  
this in a week or so.


- Carsten

On Mar 24, 2008, at 4:24 PM, Wanrong Lin wrote:


More observations:

With a test task like this:

* TODO Test
SCHEDULED: <2008-03-25 Tue ++1w>

If I try to mark it DONE on 2008-03-24, i.e. before the scheduled  
day, auto-jump does not work either.


Wanrong

Wanrong Lin wrote:


Hi,

With a test task as following:

* TODO A test
SCHEDULED: <2008-03-24 Mon ++1w>

If on the scheduled day (today) I do a "C-c C-t" trying to mark it  
"DONE", the scheduled time does not jump to the next occurrence.  
However, If I change the task to


* TODO A test
SCHEDULED: <2008-03-23 Sun ++1w>

and do the same thing (note I am "past due" now), things work  
without a problem.


I am using 5.23a and Emacs 22.1 on Windows.

Thanks a lot for looking into this.

Wanrong






___
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: Testers needed

2008-03-26 Thread Carsten Dominik

Hi Thomas,

the version where org.el is split needs to be installed properly,
In particular, you need to run "make" or at least "make org-install.el"
in order to produce the autoload file org-install.el.  And then you need
to load this file in .emacs with

(require 'org-install)

No need to do (require 'org).

- Carsten

On Mar 25, 2008, at 2:59 PM, Thomas Baumann wrote:



Hi Carsten,

just started playing with start-splitting (checked out a few minutes
ago), here are first results

C-cC-e in an org-file:

Symbol's function definition is void: org-export

unless org-exp is loaded explicitely.



M-x orgtbl-mode in a LaTeX-buffer

ad-handle-definition: `org-open-at-point' got redefined
call-interactively: Autoloading failed to define function orgtbl-mode


unless org-table is loaded explicitely.

Ciao
Thomas



___
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: mutually exclusive tags

2008-03-26 Thread Bernt Hansen
Richard G Riley <[EMAIL PROTECTED]> writes:

> Could someone show me an example of mutually exclusive tag setting in
> elisp please? There is an example of non exclusive ones in the manual:
>
>  (setq org-tag-alist '(("@work" . ?w) ("@home" . ?h) ("laptop"
>  . ?l)))
>
> But how to do it for
>
>  #+TAGS: { @work(w)  @home(h)  @tennisclub(t) }  laptop(l)  pc(p)
> ?

@work, @home, @errand are exclusive below.

admin, org, notaproject, newtask are not.

(setq org-tag-alist '((:startgroup . nil) ("@work" . ?w) ("@home" . ?h) 
("@errand" . ?e) (:endgroup . nil) 
  ("admin" . ?a) ("org" . ?o) ("notaproject" . ?n) 
("newtask" . ?x)))

HTH,
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: org/blorg and mysql

2008-03-26 Thread Cezar Halmagean
Xin Shi <[EMAIL PROTECTED]> writes:

> Hi Cezar,
>
> It's a good idea!
>
> I've been using the weblogger.el to post on the mysql server,
> interfaced by wordpress. You may want to take a look at it.
>
> Xin
>

Thanks Xin, I think that will help me build a "publish/sync" function.




___
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] mutually exclusive tags

2008-03-26 Thread Richard G Riley

Could someone show me an example of mutually exclusive tag setting in
elisp please? There is an example of non exclusive ones in the manual:

 (setq org-tag-alist '(("@work" . ?w) ("@home" . ?h) ("laptop"
 . ?l)))

But how to do it for

 #+TAGS: { @work(w)  @home(h)  @tennisclub(t) }  laptop(l)  pc(p)
?

thanks,

r.



___
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-Remember buffer and switching templates

2008-03-26 Thread Bernt Hansen
Here's a better debug backtrace from the uncompiled org.el file

Debugger entered--Lisp error: (error "Marker does not point anywhere")
  jump-to-register(82)
  (progn (kill-buffer (current-buffer)) (jump-to-register remember-register))
  (if (equal remember-buffer (buffer-name)) (progn (kill-buffer ...) 
(jump-to-register remember-register)))
  (when (equal remember-buffer (buffer-name)) (kill-buffer (current-buffer)) 
(jump-to-register remember-register))
  remember-destroy()
  (save-restriction (narrow-to-region b e) (if remember-all-handler-functions 
(run-hooks ...) (run-hook-with-args-until-success ...)) (remember-destroy))
  (let ((b ...) (e ...)) (save-restriction (narrow-to-region b e) (if 
remember-all-handler-functions ... ...) (remember-destroy)))
  remember-region(1 328)
  remember-finalize()
  org-remember-finalize()
  funcall(org-remember-finalize)
  (cond ((or org-clock-overlays org-occur-highlights 
org-latex-fragment-image-overlays) (org-remove-clock-overlays) 
(org-remove-occur-highlights) (org-remove-latex-fragment-image-overlays) 
(message "Temporary highlights/overlays removed from current buffer")) ((and 
... ...) (funcall org-finish-function)) ((org-at-property-p) 
(call-interactively ...)) ((org-on-target-p) (call-interactively ...)) 
((org-on-heading-p) (call-interactively ...)) ((org-at-table\.el-p) (require 
...) (beginning-of-line 1) (re-search-forward "|" ...) (call-interactively 
...)) ((org-at-table-p) (org-table-maybe-eval-formula) (if arg ... ...) 
(call-interactively ...)) ((org-at-item-checkbox-p) (call-interactively ...)) 
((org-at-item-p) (call-interactively ...)) ((save-excursion ... ...) 
(beginning-of-line 1) (org-update-dblock)) ((save-excursion ... ...) (cond ... 
...)) (t (error "C-c C-c can do nothing useful at this location.")))
  (let ((org-enable-table-editor t)) (cond (... ... ... ... ...) (... ...) (... 
...) (... ...) (... ...) (... ... ... ... ...) (... ... ... ...) (... ...) (... 
...) (... ... ...) (... ...) (t ...)))
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c)

-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] BUG-Remember buffer and switching templates

2008-03-26 Thread Bernt Hansen
Hi Carsten,

I ran into this today.  I was creating a new task via remember and I hit
the wrong key for selecting the template.

The prompt in the buffer says

## To switch templates, use `C-M-r'.  To abort use `C-c C-k'.

so I hit C-M-r and entered the correct template key (after entering
something for the task name)

and then C-c C-c gives me this:

Debugger entered--Lisp error: (error "Marker does not point anywhere")
  jump-to-register(82)
  (progn (kill-buffer (current-buffer)) (jump-to-register remember-register))
  (if (equal remember-buffer (buffer-name)) (progn (kill-buffer ...) 
(jump-to-register remember-register)))
  (when (equal remember-buffer (buffer-name)) (kill-buffer (current-buffer)) 
(jump-to-register remember-register))
  remember-destroy()
  (save-restriction (narrow-to-region b e) (if remember-all-handler-functions 
(run-hooks ...) (run-hook-with-args-until-success ...)) (remember-destroy))
  (let ((b ...) (e ...)) (save-restriction (narrow-to-region b e) (if 
remember-all-handler-functions ... ...) (remember-destroy)))
  remember-region(1 334)
  remember-finalize()
  org-remember-finalize()
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c)

Switching templates also overwrites anything already entered for the
task (I'm not sure if that's normal or not)

If you can't reproduce this easily I'll set up a minimal emacs set up
that illustrates what I'm seeing.

I'm running from the start-splitting-org.el branch at commit
b27cd3556db5692b82952d5df57d94a5122bc63d

Thanks,
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] org/blorg and mysql

2008-03-26 Thread Xin Shi

Hi Cezar,

It's a good idea!

I've been using the weblogger.el to post on the mysql server, interfaced 
by wordpress. You may want to take a look at it.


Xin


Cezar Halmagean wrote:

Hello,

  What I am trying to do is create a blog that reads from a mysql db and
  I would like to be able to use org-mode to write (and read) to that
  mysql db. So in other words, use org-mode as an interface/editor for
  my blog.

  I would like to hear your thoughts about this.

Regards,
Cezar



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




___
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] org/blorg and mysql

2008-03-26 Thread Cezar Halmagean

Hello,

  What I am trying to do is create a blog that reads from a mysql db and
  I would like to be able to use org-mode to write (and read) to that
  mysql db. So in other words, use org-mode as an interface/editor for
  my blog.

  I would like to hear your thoughts about this.

Regards,
Cezar



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


Re: [Orgmode] Re: Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Xin Shi

Hi Thomas,

Thank you! I'll read more about the remember package then.

Xin

Thomas Baumann wrote:

I have customized my remember templates:

 '(org-remember-store-without-prompt t)
 '(org-remember-templates (quote (("Todo" 116 "* TODO %?
  %u" "~/org/diary.org" "Tasks") ("Note" 110 "* %?
  %u" "~/org/tb.org" "Notes") ("Appt" 97 "* %?
  %^T
  %^{Ort}" "~/org/diary.org" "Appointments") ("Call" 99 "* call %:name 
(%:company)
  [[bbdb:%:name]]
  %^T
  %?" "~/org/diary.org" "Tasks"

 '(remember-annotation-functions (quote (org-remember-annotation)))
 '(remember-handler-functions (quote (org-remember-handler)))


Maybe this helps

Thomas



___
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: Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Thomas Baumann

I have customized my remember templates:

 '(org-remember-store-without-prompt t)
 '(org-remember-templates (quote (("Todo" 116 "* TODO %?
  %u" "~/org/diary.org" "Tasks") ("Note" 110 "* %?
  %u" "~/org/tb.org" "Notes") ("Appt" 97 "* %?
  %^T
  %^{Ort}" "~/org/diary.org" "Appointments") ("Call" 99 "* call %:name 
(%:company)
  [[bbdb:%:name]]
  %^T
  %?" "~/org/diary.org" "Tasks"

 '(remember-annotation-functions (quote (org-remember-annotation)))
 '(remember-handler-functions (quote (org-remember-handler)))


Maybe this helps

Thomas



___
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: Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Xin Shi

Hi Tomas,

Thanks for your reply!

I tried that, and when I called the remember, it gave me a buffer. But 
when I finish that with "C-c C-c", it prompted me asking about the page. 
I don't know how to deal with that.


By the way, I'm using the remember with the planner package, it might be 
due to that?


Xin

Thomas Baumann wrote:

Hi,

I usually use remember for this kind of stuff:

(require 'remember)
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(define-key global-map [(control meta ?r)] 'remember)


You might want to have a look into the info file to take full advantage
of the flexibility of this approach.

Thomas



___
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] Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Xin Shi

Hi John,

Thank you!

Could you explain a little bit more about how to set up your "remember 
templates"?


Xin

John Rakestraw wrote:

On Wed, 26 Mar 2008 10:54:55 -0400
Xin Shi <[EMAIL PROTECTED]> wrote:

  
I'm wondering if there's a way to add todo item in the buffer "Org 
Agenda" on its Day Grid? Since there are frequently something jumps

up and I want to keep it in the schedule.



While in the agenda buffer, I call one of my remember templates, add
the TODO, schedule it (using ctrl-c ctrl-s), and then refresh the agenda
buffer. The new TODO shows up on the scheduled date.

  




___
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: Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Thomas Baumann
Hi,

I usually use remember for this kind of stuff:

(require 'remember)
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(define-key global-map [(control meta ?r)] 'remember)


You might want to have a look into the info file to take full advantage
of the flexibility of this approach.

Thomas



___
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] Add to do item in the Org Agenda Day Grid

2008-03-26 Thread John Rakestraw


On Wed, 26 Mar 2008 10:54:55 -0400
Xin Shi <[EMAIL PROTECTED]> wrote:

> I'm wondering if there's a way to add todo item in the buffer "Org 
> Agenda" on its Day Grid? Since there are frequently something jumps
> up and I want to keep it in the schedule.

While in the agenda buffer, I call one of my remember templates, add
the TODO, schedule it (using ctrl-c ctrl-s), and then refresh the agenda
buffer. The new TODO shows up on the scheduled date.

-- 
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] Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Xin Shi

Hi,

I'm wondering if there's a way to add todo item in the buffer "Org 
Agenda" on its Day Grid? Since there are frequently something jumps up 
and I want to keep it in the schedule.


Thanks!

Xin




___
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] cal-tex and entries from org

2008-03-26 Thread Jason F. McBrayer
I can't get scheduled entries from org-mode to show up in calendars
printed via cal-tex.   My diary file looks like


%%(diary-phases-of-moon) 
%%(org-diary)


cal-tex-diary is t, and M-x diary shows a diary display with org
scheduled entries showing up.

Presumably I'm missing something obvious?

-- 
+---+
| Jason F. McBrayer[EMAIL PROTECTED]  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada|


___
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] org-info.js

2008-03-26 Thread Sebastian Rose
Pete Phillips <[EMAIL PROTECTED]> writes:
> I'm trying to use org-info.js.
>
> I am using the git repository, and have placed the stylesheet.css and
> the org-info.js into the same directory that my org file is in.
>
> The top of my org-file is as follows:
>
> #+TITLE: ubuntu-general.org
> #+AUTHOR:Pete Phillips
> #+EMAIL: [EMAIL PROTECTED]
> #+DATE:  <2008-03-25 Tue>
> #+LANGUAGE:  en
> #+TEXT:  Some descriptive text to be emitted.  Several lines OK.
> #+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t 
> LaTeX:nil skip:t d:nil tags:not-in-toc
> #+STYLE:  src="org-info.js\" />