Re: [Orgmode] Org-mode version 6.30; Links in categories break layout

2009-09-04 Thread Carsten Dominik


On Sep 3, 2009, at 6:23 PM, Peter Westlake wrote:



On Thu, 03 Sep 2009 15:56 +0200, "Carsten Dominik"
 wrote:


On Sep 3, 2009, at 3:29 PM, Peter Westlake wrote:



On Thu, 03 Sep 2009 14:12 +0200, "Carsten Dominik"
 wrote:


On Sep 3, 2009, at 1:12 PM, Peter Westlake wrote:

...
You said that links aren't supported in categories, but for a  
feature
that isn't supported, they work very well! In what sense are they  
not

supported?


They are not supported in the sense that I never have tried to make
them work as links.  It is pure "accident" that they are activated
as links, because there is a function running through to activate
links that are in headlines, and by accident the regexp search
matches in the prefix as well.

They are not supported in the way that I guarantee them to continue  
to

work in future versions.

Unless this thread convinces me otherwise, of course.  I can now
see that they can be useful as a connection to an anchestor of the
entry


Well, I would be in favour of that - as you may have guessed!
It's very convenient to have the link always be there without
having to put it into every entry.


OK then. [1]

The prefix is now formatted properly, and C-c C-o gives
also access to this link.

- Carsten

[1] I watched Raising Arizona yesterday night.



Peter.

P.S. Apologies if you get two copies of this - X crashed while I was
sending it.




___
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: Making an org file more readable

2009-09-04 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 4, 2009, at 7:10 AM, PT wrote:


Carsten Dominik  gmail.com> writes:



I have just pushed a modification so that you can, after pulling
from git, set org-cycle-separator-lines to a negative number.
If you set it to -N, N empty lines will be required in order
to get a separation.  But, if there are enough empty lines,
all will be shown.

You might want to set this to -1., I like my old value of +2 best.


I tried this new setting with 6.30 and it works well, thanks for
this.

The only strange case is when a header line doesn't have any
content, only empty lines.

So if there are 2 empty lines between headers

* header1


* header2


Then the first empty line after header1 is folded regardless of
the -1 setting.  If I understand the feature correctly no folding
should occur in this case either.



___
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: Exporting latex formulas

2009-09-04 Thread andrea crotti

It was a very stupid mistake, I was setting a non existing variable..

It takes some time anyway to transform all the formulas, it would be
better to do it in a background process, I saw something similar I think.



___
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-mode version 6.30trans (release_6.30c.43.ga6f7); iswitchb tag completion includes virtual files

2009-09-04 Thread Tassilo Horn

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


When I want to set a tag using `C-c C-q TAB' I get a iswitchb completion
prompt, cause org-completion-use-iswitchb is t.  I also use iswitchb's
virtual files feature (iswitchb-use-virtual-buffers set to t), which
includes files that aren't opened in a buffer, but are in the recentf
list.  This is a cool thing when switching buffers (I barely use C-x C-f
anymore and switch to the virtual buffer instead), but totally useless
and annoying for tab completion in org.

So when completing anything (files/tags/...) in org with iswitchb,
switchb-use-virtual-buffers should be let-bound to nil before.

Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.5)
 of 2009-09-01 on localhost
Package: Org-mode version 6.30trans (release_6.30c.43.ga6f7)

current state:
==
(setq
 org-log-done 'time
 org-remember-default-headline 'bottom
 org-link-frame-setup '((vm . vm-visit-folder) (gnus . org-gnus-no-new-news) 
(file . find-file-other-window))
 org-special-ctrl-a/e 'reversed
 org-agenda-files '("/home/horn/repos/org/private.org" 
"/home/horn/repos/org/remember.org" "/home/horn/repos/org/uni.org"
"~/uni/repos/redseeds-uko/todo/todo.org")
 org-agenda-include-diary t
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-completion-use-iswitchb t
 org-hide-leading-stars t
 org-gnus-prefer-web-links t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-attach-directory "/home/horn/repos/org/attachments"
 org-special-ctrl-k t
 org-agenda-restore-windows-after-quit t
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-finalize-agenda-hook '(th-org-agenda-to-appt)
 org-confirm-shell-link-function 'yes-or-no-p
 org-todo-keywords '((sequence "TODO(t)" "STARTED(s)" "WISH(w)" "|" "DONE(d)" 
"CANCELLED(c)"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "~/repos/org/remember.org"
 org-tag-alist '(("meeting" . 109) ("chat" . 99))
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook 
change-major-mode-hook org-show-block-all append local] 5] th-org-mode-init)
 org-refile-targets '((org-agenda-files :maxlevel . 5))
 org-return-follows-link t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-refile-use-outline-path 'file
 org-log-into-drawer "LOGBOOK"
 org-agenda-mode-hook '(th-org-agenda-mode-init)
 org-enforce-todo-dependencies t
 org-occur-hook '(org-first-headline-recenter)
 org-agenda-skip-additional-timestamps-same-entry nil
 org-outline-path-complete-in-steps nil
 org-columns-default-format "%50ITEM %TODO %ALLTAGS %SCHEDULED %DEADLINE"
 outline-minor-mode-hook '(th-outline-minor-mode-init)
 org-remember-templates '(("TODO" 116 "* TODO %?\n  (created: %U)\n  %i\n  %a")
  ("BROWSER" 119 "* %:description :browser:\n  
(created: %U)\n\n  %c\n\n  %i"))
 org-remember-backup-directory "~/tmp/"
 org-attach-method 'mv
 )


___
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.30

2009-09-04 Thread Rainer Stengele

Hi Carsten,

Thanks for releasing all the new features!
It is amazing to see new features - which mostly make a lot of sense for 
me - coming up all the time.



Carsten Dominik schrieb:

Hi,

I am releasing Org-mode version 6.30.

Enjoy!

- Carsten

 Changes in Version 6.30
 ===


...


New mode to show some entry body text in the agenda


There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'.  It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry.  The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.



this already avoids displaying drawer lines.
I also see lines like:

 - State "DONE"   from "WARTEN" [2009-08-04 Di 16:19]
 - State "DONE"   from "WARTEN" [2009-07-02 Do 09:43]
...

and in my remeber templates I always create lines like:

  created: [2009-08-03 Mo 11:46]

with the creation date of the entry.
Would it be possible and make sense to set up a variable for a regexp to 
exclude lines like the ones above from showing?


rainer



___
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-mode version 6.30trans (release_6.30c.43.ga6f7); iswitchb tag completion includes virtual files

2009-09-04 Thread Carsten Dominik

OK, I did this, please verify.

- Carsten

On Sep 4, 2009, at 11:54 AM, Tassilo Horn wrote:



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


When I want to set a tag using `C-c C-q TAB' I get a iswitchb  
completion

prompt, cause org-completion-use-iswitchb is t.  I also use iswitchb's
virtual files feature (iswitchb-use-virtual-buffers set to t), which
includes files that aren't opened in a buffer, but are in the recentf
list.  This is a cool thing when switching buffers (I barely use C-x  
C-f

anymore and switch to the virtual buffer instead), but totally useless
and annoying for tab completion in org.

So when completing anything (files/tags/...) in org with iswitchb,
switchb-use-virtual-buffers should be let-bound to nil before.

Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version  
2.16.5)

of 2009-09-01 on localhost
Package: Org-mode version 6.30trans (release_6.30c.43.ga6f7)

current state:
==
(setq
org-log-done 'time
org-remember-default-headline 'bottom
org-link-frame-setup '((vm . vm-visit-folder) (gnus . org-gnus-no- 
new-news) (file . find-file-other-window))

org-special-ctrl-a/e 'reversed
org-agenda-files '("/home/horn/repos/org/private.org" "/home/horn/ 
repos/org/remember.org" "/home/horn/repos/org/uni.org"

   "~/uni/repos/redseeds-uko/todo/todo.org")
org-agenda-include-diary t
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
org-completion-use-iswitchb t
org-hide-leading-stars t
org-gnus-prefer-web-links t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-attach-directory "/home/horn/repos/org/attachments"
org-special-ctrl-k t
org-agenda-restore-windows-after-quit t
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-finalize-agenda-hook '(th-org-agenda-to-appt)
org-confirm-shell-link-function 'yes-or-no-p
org-todo-keywords '((sequence "TODO(t)" "STARTED(s)" "WISH(w)" "|"  
"DONE(d)" "CANCELLED(c)"))

org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-default-notes-file "~/repos/org/remember.org"
org-tag-alist '(("meeting" . 109) ("chat" . 99))
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- 
drawers org-cycle-show-empty-lines org-optimize-window-after- 
visibility-change)
org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook  
change-major-mode-hook org-show-block-all append local] 5] th-org- 
mode-init)

org-refile-targets '((org-agenda-files :maxlevel . 5))
org-return-follows-link t
org-confirm-elisp-link-function 'yes-or-no-p
org-refile-use-outline-path 'file
org-log-into-drawer "LOGBOOK"
org-agenda-mode-hook '(th-org-agenda-mode-init)
org-enforce-todo-dependencies t
org-occur-hook '(org-first-headline-recenter)
org-agenda-skip-additional-timestamps-same-entry nil
org-outline-path-complete-in-steps nil
org-columns-default-format "%50ITEM %TODO %ALLTAGS %SCHEDULED  
%DEADLINE"

outline-minor-mode-hook '(th-outline-minor-mode-init)
org-remember-templates '(("TODO" 116 "* TODO %?\n  (created: %U)\n   
%i\n  %a")
 ("BROWSER" 119 "* %:description :browser: 
\n  (created: %U)\n\n  %c\n\n  %i"))

org-remember-backup-directory "~/tmp/"
org-attach-method 'mv
)


___
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] Org-mode version 6.30; Links in categories break layout

2009-09-04 Thread Peter Westlake
On Fri, 04 Sep 2009 09:19 +0200, "Carsten Dominik"
 wrote:

> 
> The prefix is now formatted properly, and C-c C-o gives
> also access to this link.

Excellent! Thank you very much!

Peter.


___
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: Some table questions

2009-09-04 Thread andrea crotti
Carsten Dominik  writes:

> No, this is not possible currently.
>

Well but I can set up formulas for an entire column like for example:

| 1 | 1 |
| 2 | 4 |
#+TBLFM: $2=$1^2

If I could hide one column with another setting than I would be able to
apply the formula on a hidden field..

I'm not sure it's so easy to do though, but it could open other
possibilities, no?



___
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: Some table questions

2009-09-04 Thread Carsten Dominik


On Sep 4, 2009, at 12:46 PM, andrea crotti wrote:


Carsten Dominik  writes:


No, this is not possible currently.



Well but I can set up formulas for an entire column like for example:

| 1 | 1 |
| 2 | 4 |
#+TBLFM: $2=$1^2

If I could hide one column with another setting than I would be able  
to

apply the formula on a hidden field..

I'm not sure it's so easy to do though, but it could open other
possibilities, no?


On way to hide a column is this:

#+STARTUP: align

|   | <2> |
| 1 | 1   |
| 2 | 4   |
#+TBLFM: $2=$1^2

Another way would be to use font-lock to display something
over the content.  But I don't think this is an option we should have.
You can encrypt entire sections using org-crypt.el

- 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




___
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-remember and org-back-to-heading

2009-09-04 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 3, 2009, at 6:42 PM, Matt Lundin wrote:


Hi everyone,

When I call org-remember or org-store-link above the first headline in
an org buffer, I receive the following error message:

   Before first headline at position 1 in buffer index.org

It seems that either org-remember or org-store-link (or both) calls
org-back-to-heading in order to grab the relevant heading for
annotation. As a result, if I try to store a link above the first
heading, emacs spits out the error message above because there is no
heading to return to.

Is this the intended behavior? Sometimes I prefer to create a link to
the file as a whole rather than to a particular headline. E.g., I  
might

want to create a todo to organize notes.org, which is not an agenda
file. In this instance, it does not matter whether org-remember  
creates

a link to a particular headline. In fact, I would prefer a link to the
file as a whole and thus expect to be able to store a link while on  
the

first empty line of the file or on #+TITLE.

Thanks,
Matt


___
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-mode version 6.30trans (release_6.30d.5.gc125); make fails on org-ascii.el

2009-09-04 Thread Sebastian Rose

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.



Trying to `make' org-mode fails with the following error message:


  In toplevel form:
  lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:
  org-float-time
  make: *** [lisp/org-ascii.elc] Fehler 1




Opening the org-mode/lisp/ directory in dired and marking all *.el files
(`% m el$ RET) and byte-compiling them (`B') works for
org-ascii.el.
There it just failes for org-xoxo.el for the same reason.

Funny enough, both, org-ascii.el and org-xoxo.el, do not refer to
`org-float-time' themselves (while some other files do, and they do not
fail).


org-float-time is defined in org-compat.el which has this commentary:

  ;; This file contains code needed for compatibility with XEmacs and older
  ;; versions of GNU Emacs.



Best regards

   Sebastian



Emacs  : GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
 of 2009-08-18 on beteigeuze
Package: Org-mode version 6.30trans (release_6.30d.5.gc125)


___
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: auto export via git hook

2009-09-04 Thread andrea crotti
Nick Dokos  writes:

> andrea crotti  wrote:
> See the following thread in the mail list archive:
>
> http://thread.gmane.org/gmane.emacs.orgmode/17059
>
> Basically, --batch implies -q, so you have to do any initialization
> (including setting the load-path) as part of the invocation.
>

Ok thanks I understood the problem but I still didn't solve it, now with
this
emacs --batch \
--load=$HOME/.emacs.d/init.el \
--load=$HOME/.emacs.d/org-mode/org.elc \
--eval "(setq org-export-headline-levels 2)" \
--visit=README.org --funcall org-export-as-html-batch

I get:
.git/hooks/pre-commit.bak
Invalid function: charset-iso-final-char

which is "charset-iso-final-char is a compiled Lisp function in
`mule.el'."

But I also suspect that init.el is not loaded, it's too fast...
any help?



___
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-mode version 6.30trans (release_6.30d.5.gc125); make fails on org-ascii.el

2009-09-04 Thread Sebastian Rose
Sebastian Rose  writes:
> Trying to `make' org-mode fails with the following error message:
>
>
>   In toplevel form:
>   lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:
>   org-float-time
>   make: *** [lisp/org-ascii.elc] Fehler 1
>
>
>
>
> Opening the org-mode/lisp/ directory in dired and marking all *.el files
> (`% m el$ RET) and byte-compiling them (`B') works for
> org-ascii.el.
> There it just failes for org-xoxo.el for the same reason.


sh$ make clean
sh$ make

does the trick...


Or even (if not clean):

sh$ make autoloads
sh$ make


I think we can live with it, as this is not unusual at all.

On the other hand: Shouldn't a simple `make' do everything needed to succeed?



  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


Re: [Orgmode] Latex export - setq: Wrong type argument: arrayp, nil

2009-09-04 Thread Chris Willard
Hello Nick,

On Thu, 03 Sep 2009, Nick Dokos wrote:

[snip (14 lines)]
> 
> That's part of the package texlive-latex-extra. You can install
> it with 'sudo apt-get install texlive-latex-extra'.
> 
> However, I thought you were getting an error when exporting the org file
> to latex. The above is a latex error. How did you get a latex file if
> the export failed?
> 
> Nick
> 
> PS. I'd encourage you to get the backtrace and send it on. There may be
> multiple problems and it's best to attack them one at a time.

Yes the error is when exporting from org. I will turn on the backtrace latter 
and send the output to this list.

Thanks for helping.

Regards,

Chris



-- 
Chris  [ ch...@meliser.co.uk ] *\ "Wrong!" -- Crow T. Robot  \**
** ]-+-+-+-+-+-+-+-+-+-+ [ **\\*


___
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: auto export via git hook

2009-09-04 Thread Nick Dokos
andrea crotti  wrote:

> 
> But I also suspect that init.el is not loaded, it's too fast...
> any help?
> 

Add

(message "init.el loaded")

at the end of init.el - it should appear on stdout.

Nick




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


Re: [Orgmode] Re: Some table questions

2009-09-04 Thread Andreas Burtzlaff
On Fri, 04 Sep 2009 12:46:02 +0200
andrea crotti  wrote:

> Carsten Dominik  writes:
> 
> > No, this is not possible currently.
> >
> 
> Well but I can set up formulas for an entire column like for example:
> 
> | 1 | 1 |
> | 2 | 4 |
> #+TBLFM: $2=$1^2
> 
> If I could hide one column with another setting than I would be able to
> apply the formula on a hidden field..
> 
> I'm not sure it's so easy to do though, but it could open other
> possibilities, no?

It is possible to apply a formula only to one column, e.g.:
| 1 | a | q |
| 2 | b | r |
#+TBLFM: $...@0+10

will add 10 to all entries in the first column.

As for your encryption/decryption example, you can invoke a lisp
function on every item in a column, as described in the manual:
http://orgmode.org/manual/Formula-syntax-for-Lisp.html
e.g:

| readable | secret |
| text | text   |
#+TBLFM: $2='(rot13-string @0)

For real encryption/decryption toggling one could prepend a special
character to each entry to indicate whether it is currently
encrypted or not.

Andy


___
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-agenda-file-to-front (unbalanced parentheses))))

2009-09-04 Thread Bastien
Hi Jai,

I cannot reproduce this error.  Please send a more detailed backtrace by
following the instructions here:

  http://orgmode.org/manual/Feedback.html

Thanks,

Jai Jeffryes  writes:

> I get a scan error when I try to add my current ORG file to the list of agenda
> files.
>  
> I'm using Emacs 23.1.1 on Windows, so it has the Org mode built in.
>  
> I create a new .ORG file, add some text, and save it.
>  
> Then I type C-c [
>  
> and I get this error.
>  
> Scan error: "Unbalanced parentheses", 17495, 29440
>  
> Any ideas?
>  
> The same thing happens if I use the menu:
>  
> Org --> File list for agenda --> Add/Move current file to front of list
>  
> Or the full command: org-agenda-file-to-front
>  
> I tried running the debugger, but that part of Emacs I've never learned. I
> haven't done my own Lisp programming. I'd provide some more info if someone
> wanted to prompt me on the next thing to try!
>  
> Jai Jeffryes
> NYC
>
> ━━━
> Windows Live: Keep your friends up to date with what you do online. Find out
> more.
>
> ___
> 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

-- 
 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] Easier customization of TODO keyword colors

2009-09-04 Thread Bastien
"Ryan C. Thompson"  writes:

> Here is some code I came up with some code to make it easier to
> customize the colors of various TODO keywords. As long as you just want
> a different color and nothing else, you can customize the variable
> org-todo-keyword-faces and use just a string color (i.e. a string of the
> color name) as the face, and then org-get-todo-face will convert the
> color to a face, inheriting everything else from the standard org-todo
> face.

Interesting - would you like to add this in org-hacks?

  http://orgmode.org/worg/org-hacks.php

If so, please send me your username on repo.or.cz (if you are not
already a Worger...)

Thank!

> To demonstrate, I currently have org-todo-keyword-faces set to
> (("IN PROGRESS" . "dark orange")
>  ("WAITING" . "red4")
>  ("CANCELED" . "saddle brown"))
>
> Here's the code, in a form you can put in your .emacs.
>
> (eval-after-load 'org-faces
>   '(progn
>  (defcustom org-todo-keyword-faces nil
>"Faces for specific TODO keywords.
> This is a list of cons cells, with TODO keywords in the car and
> faces in the cdr.  The face can be a symbol, a color, or a
> property list of attributes, like (:foreground \"blue\" :weight
> bold :underline t)."
>:group 'org-faces
>:group 'org-todo
>:type '(repeat
>(cons
> (string :tag "Keyword")
> (choice color (sexp :tag "Face")))
>
> (eval-after-load 'org
>   '(progn
>  (defun org-get-todo-face-from-color (color)
>"Returns a specification for a face that inherits from org-todo
>   face and has the given color as foreground. Returns nil if
>   color is nil."
>(when color
>  `(:inherit org-warning :foreground ,color)))
>
>  (defun org-get-todo-face (kwd)
>"Get the right face for a TODO keyword KWD.
> If KWD is a number, get the corresponding match group."
>(if (numberp kwd) (setq kwd (match-string kwd)))
>(or (let ((face (cdr (assoc kwd org-todo-keyword-faces
>  (if (stringp face)
>  (org-get-todo-face-from-color face)
>face))
>(and (member kwd org-done-keywords) 'org-done)
>'org-todo
>
>
> ___
> 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
>

-- 
 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] Org-mode version 6.30d; Hide stars

2009-09-04 Thread Melton Low
--text follows this line--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


This may be double posted.  I originally used the wrong email address
not subscribed to the list.

Hide stars does not hide the stars on first startup of an org file. If
I kill the buffer and re-load the file, the stars are hidden as
expected. Worked fine with Org 6.30C. Reproducible with attached org
file.

Mac OS X 10.5.8 Intel
Same behaviour on Mac OS X 10.4.11 PPC
Same behaviour with EMacs 23.1.1


Emacs  : GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2009-09-03 on LittleMac.local
Package: Org-mode version 6.30d

current state:
==
(setq
 org-log-done 'time
 org-blocker-hook '(org-block-todo-from-checkboxes
org-block-todo-from-children-or-siblings-or-parent)
 org-hide-leading-stars t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-archive-location "~/docs/org-files/archive/"
 org-odd-levels-only t
 org-after-todo-statistics-hook '(org-summary-todo)
 org-agenda-skip-scheduled-if-done t
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "WAIT(w@/!)" "|"
  "DONE(d!)" "CANCELED(c@)" "DELEGATED(a@)" "FIXED(f@)")
 )
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "/Volumes/Data/Shared/org-remember/notes.org"
 org-directory "/Volumes/Data/Shared/org-remember/"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-mode-hook '((lambda nil
  (when (outline-invisible-p)
   (save-excursion (outline-previous-visible-heading 1)
(org-show-subtree))
   )
  )
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 turn-on-font-lock turn-on-flyspell)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-enforce-todo-dependencies t
 org-agenda-skip-deadline-if-done t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\"
 org-remember-templates '(("Todo" 116 "* TODO %?\n %i\n %a" "task.org" "Tasks")
  ("Idea" 105 "* %^{Title}\n %i\n %a" "idea.org"
   "New Ideas")
  ("Journal" 106 "* %U %?\n\n %i\n %a" "journal.org"
   "Journal")
  ("Note" 110 "* Note %?\n %i\n %a" "note.org" "Note")
  ("Bug" 98 "* BUG %?\n %i\n %a" "bug.org" "Bugs"))
 org-provide-todo-statistics 'all-headlines
 org-enforce-todo-checkbox-dependencies t
 )


test.org
Description: Binary data
___
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-mode version 6.30trans (release_6.30d.5.gc125); make fails on org-ascii.el

2009-09-04 Thread Carsten Dominik


On Sep 4, 2009, at 1:41 PM, Sebastian Rose wrote:


Sebastian Rose  writes:

Trying to `make' org-mode fails with the following error message:


 In toplevel form:
 lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:
 org-float-time
 make: *** [lisp/org-ascii.elc] Fehler 1




Opening the org-mode/lisp/ directory in dired and marking all *.el  
files

(`% m el$ RET) and byte-compiling them (`B') works for
org-ascii.el.
There it just failes for org-xoxo.el for the same reason.



sh$ make clean
sh$ make

does the trick...


Or even (if not clean):

sh$ make autoloads
sh$ make


I think we can live with it, as this is not unusual at all.

On the other hand: Shouldn't a simple `make' do everything needed to  
succeed?


In principle I would agree, and if you download a zip or tar  
distribution,

it works just like that.  However, in the git distro, you do
create new files which stick around when you update.

Of course we could add a "make clean" to the ALL target, but it seems  
to me
that this is different from other uses of make.  Maybe the make update  
should contain it?


- Carsten






 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] Org-mode version 6.30d; Hide stars

2009-09-04 Thread Carsten Dominik

Hi,

I cannot reproduce this.

- Carsten
On Sep 4, 2009, at 4:44 PM, Melton Low wrote:


--text follows this line--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


This may be double posted.  I originally used the wrong email address
not subscribed to the list.

Hide stars does not hide the stars on first startup of an org file. If
I kill the buffer and re-load the file, the stars are hidden as
expected. Worked fine with Org 6.30C. Reproducible with attached org
file.

Mac OS X 10.5.8 Intel
Same behaviour on Mac OS X 10.4.11 PPC
Same behaviour with EMacs 23.1.1


Emacs  : GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple- 
appkit-949.54)

of 2009-09-03 on LittleMac.local
Package: Org-mode version 6.30d

current state:
==
(setq
org-log-done 'time
org-blocker-hook '(org-block-todo-from-checkboxes
   org-block-todo-from-children-or-siblings-or-parent)
org-hide-leading-stars t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-archive-location "~/docs/org-files/archive/"
org-odd-levels-only t
org-after-todo-statistics-hook '(org-summary-todo)
org-agenda-skip-scheduled-if-done t
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "WAIT(w@/!)" "|"
 "DONE(d!)" "CANCELED(c@)" "DELEGATED(a@)"  
"FIXED(f@)")

)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-default-notes-file "/Volumes/Data/Shared/org-remember/notes.org"
org-directory "/Volumes/Data/Shared/org-remember/"
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- 
drawers

 org-cycle-show-empty-lines
 org-optimize-window-after-visibility-change)
org-mode-hook '((lambda nil
 (when (outline-invisible-p)
  (save-excursion (outline-previous-visible-heading 1)
   (org-show-subtree))
  )
 )
#[nil "\300\301\302\303\304$\207"
  [org-add-hook change-major-mode-hook org-show- 
block-all

   append local]
  5]
turn-on-font-lock turn-on-flyspell)
org-confirm-elisp-link-function 'yes-or-no-p
org-enforce-todo-dependencies t
org-agenda-skip-deadline-if-done t
org-occur-hook '(org-first-headline-recenter)
org-from-is-user-regexp "\\"
org-remember-templates '(("Todo" 116 "* TODO %?\n %i\n %a"  
"task.org" "Tasks")
 ("Idea" 105 "* %^{Title}\n %i\n %a"  
"idea.org"

  "New Ideas")
 ("Journal" 106 "* %U %?\n\n %i\n %a"  
"journal.org"

  "Journal")
 ("Note" 110 "* Note %?\n %i\n %a"  
"note.org" "Note")
 ("Bug" 98 "* BUG %?\n %i\n %a" "bug.org"  
"Bugs"))

org-provide-todo-statistics 'all-headlines
org-enforce-todo-checkbox-dependencies t
)
___
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-mode version 6.30d; Hide stars

2009-09-04 Thread Melton Low
--text follows this line--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hide stars does not hide the stars on first startup of an org file. If
I kill the buffer and re-load the file, the stars are hidden as
expected. Worked fine with Org 6.30C. Reproducible with attached org file.

Mac OS X 10.5.8 Intel
Same behaviour on Mac OS X 10.4.11 PPC
Same behaviour with EMacs 23.1.1


Emacs  : GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS
apple-appkit-949.54)
 of 2009-09-03 on LittleMac.local
Package: Org-mode version 6.30d

current state:
==
(setq
 org-log-done 'time
 org-blocker-hook '(org-block-todo-from-checkboxes
org-block-todo-from-children-or-siblings-or-parent)
 org-hide-leading-stars t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-archive-location "~/docs/org-files/archive/"
 org-odd-levels-only t
 org-after-todo-statistics-hook '(org-summary-todo)
 org-agenda-skip-scheduled-if-done t
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "WAIT(w@/!)" "|"
  "DONE(d!)" "CANCELED(c@)" "DELEGATED(a@)" "FIXED(f@)")
 )
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "/Volumes/Data/Shared/org-remember/notes.org"
 org-directory "/Volumes/Data/Shared/org-remember/"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-mode-hook '((lambda nil
  (when (outline-invisible-p)
   (save-excursion (outline-previous-visible-heading 1)
(org-show-subtree))
   )
  )
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 turn-on-font-lock turn-on-flyspell)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-enforce-todo-dependencies t
 org-agenda-skip-deadline-if-done t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\"
 org-remember-templates '(("Todo" 116 "* TODO %?\n %i\n %a" "task.org"
"Tasks")
  ("Idea" 105 "* %^{Title}\n %i\n %a" "idea.org"
   "New Ideas")
  ("Journal" 106 "* %U %?\n\n %i\n %a" "journal.org"
   "Journal")
  ("Note" 110 "* Note %?\n %i\n %a" "note.org"
"Note")
  ("Bug" 98 "* BUG %?\n %i\n %a" "bug.org" "Bugs"))
 org-provide-todo-statistics 'all-headlines
 org-enforce-todo-checkbox-dependencies t
 )


test.org
Description: Binary data
___
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] Publishing clocked time

2009-09-04 Thread Ivan Chernetsky
Hello,

is it possible to publish clocked time of a TODO item? For instance, I
have a TODO item like this:

** TODO:NEXT:
   - State "STARTED"  from "TODO"  [2009-09-04 Fri 15:56]
   - State "STARTED"from "TODO"   [2009-09-04 Fri 14:52]
   CLOCK: [2009-09-04 Fri 14:52]--[2009-09-04 Fri 15:56] =>  1:04

When I publish a project that contains a file with this item, I
doesn't see last line with clocked time info. I have the following
settings regarding publishing:

(setq org-clock-persist t)
(org-clock-persistence-insinuate)
(setq org-clock-in-resume t)
(setq org-clock-into-drawer nil)
(setq org-clock-out-remove-zero-time-clocks t)
(setq org-clock-out-when-done nil)
(setq org-agenda-log-mode-items '(clock))

(setq org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "|" "DONE(d!/!)")
  (sequence "WAITING(w@/!)" "SOMEDAY(S!)" "|" 
"CANCELLED(c@/!)")))
(setq org-use-fast-todo-selection t)
(setq org-todo-state-tags-triggers
  '(("CANCELED" ("CANCELLED" . t))
("WAITING" ("WAITING" . t) ("NEXT"))
("SOMEDAY" ("WAITING" . t))
("DONE" ("NEXT") ("WAITING"))
("TODO" ("WAITING") ("CANCELLED"))
("STARTED" ("WAITING") ("NEXT" . t
(setq org-tag-alist
  '(("NEXT" . ?N)
("WAITING" . ?W)
("CANCELLED" . ?C)))
(setq org-fast-tag-selection-single-key 'expert)
(setq org-agenda-custom-commands
  '(("s" "Started Tasks" todo "STARTED"
((org-agenda-todo-ignore-with-date nil)))
("w" "Tasks waiting on something" tags "WAITING"
((org-use-tag-inheritance nil)))
("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil)))
(setq org-agenda-repeating-timestamp-show-all t)
(setq org-agenda-show-all-dates t)
(setq org-agenda-sorting-strategy
  '((agenda time-up priority-down effort-up category-up)
(todo priority-down)
(tags priority-down)))


;; (setq org-agenda-include-diary t)
;; (setq org-agenda-include-all-todo t)

(setq org-agenda-files '("~/org/work/dooster.org"))
(setq org-directory "~/org/")

;; publishing
(setq org-publish-project-alist
  '(("work"
 :base-directory "~/org/work"
 :publishing-directory "~/org/published/work"
 :recursive t
 :base-extension "org"
 :publishing-function org-publish-org-to-html
 :auto-index t)))
(setq org-export-author-info nil)
(setq org-export-creator-info nil)
(setq org-export-html-use-infojs nil)
(setq org-export-with-drawers t)
(setq org-export-html-inline-images t)

Thanks in advance!


___
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] FILETAGS documentation clarification

2009-09-04 Thread PT
I tried FILETAGS for the first time and it failed to work and it
took a while until I found out why.

I assumed orgfiles are scanned dynamically for filetags, so I
don't have to do anything just write it into the file. Turned out I
had to reload the file as well, because org cached filetag info.

I suggest adding a sidenote about it to this page for new users,
so they know filetags don't work automatically as soon as they
are inserted into the file:

http://orgmode.org/manual/Tag-inheritance.html





___
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-mode version 6.30d; Hide stars

2009-09-04 Thread Scott Otterson
I also see this problem.  In addition, links are rendered in plain text 
instead of being hidden.  I'm using emacs 23 on OS X.


Scott

Carsten Dominic wrote:

Hi,

I cannot reproduce this.

- 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] Org-mode version 6.30d; Hide stars

2009-09-04 Thread Melton Low
When I get a chance later today or this evening, I will try to identify
which git commit the problem started for me.
Mel

On Fri, Sep 4, 2009 at 9:07 AM, Carsten Dominik
wrote:

> Hi,
>
> I cannot reproduce this.
>
> - Carsten
>
> On Sep 4, 2009, at 4:44 PM, Melton Low wrote:
>
>  --text follows this line--
>>
>> Remember to cover the basics, that is, what you expected to happen and
>> what in fact did happen.  You don't know how to make a good report?  See
>>
>>http://orgmode.org/manual/Feedback.html#Feedback
>>
>> Your bug report will be posted to the Org-mode mailing list.
>> 
>>
>> This may be double posted.  I originally used the wrong email address
>> not subscribed to the list.
>>
>> Hide stars does not hide the stars on first startup of an org file. If
>> I kill the buffer and re-load the file, the stars are hidden as
>> expected. Worked fine with Org 6.30C. Reproducible with attached org
>> file.
>>
>> Mac OS X 10.5.8 Intel
>> Same behaviour on Mac OS X 10.4.11 PPC
>> Same behaviour with EMacs 23.1.1
>>
>>
>> Emacs  : GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS
>> apple-appkit-949.54)
>> of 2009-09-03 on LittleMac.local
>> Package: Org-mode version 6.30d
>>
>> current state:
>> ==
>> (setq
>> org-log-done 'time
>> org-blocker-hook '(org-block-todo-from-checkboxes
>>   org-block-todo-from-children-or-siblings-or-parent)
>> org-hide-leading-stars t
>> org-after-todo-state-change-hook '(org-clock-out-if-current)
>> org-archive-location "~/docs/org-files/archive/"
>> org-odd-levels-only t
>> org-after-todo-statistics-hook '(org-summary-todo)
>> org-agenda-skip-scheduled-if-done t
>> org-export-preprocess-hook '(org-export-blocks-preprocess)
>> org-tab-first-hook '(org-hide-block-toggle-maybe)
>> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
>> org-confirm-shell-link-function 'yes-or-no-p
>> org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "WAIT(w@/!)" "|"
>> "DONE(d!)" "CANCELED(c@)" "DELEGATED(a@)" "FIXED(f@
>> )")
>>)
>> org-agenda-before-write-hook '(org-agenda-add-entry-text)
>> org-default-notes-file "/Volumes/Data/Shared/org-remember/notes.org"
>> org-directory "/Volumes/Data/Shared/org-remember/"
>> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
>> org-cycle-show-empty-lines
>> org-optimize-window-after-visibility-change)
>> org-mode-hook '((lambda nil
>> (when (outline-invisible-p)
>>  (save-excursion (outline-previous-visible-heading 1)
>>   (org-show-subtree))
>>  )
>> )
>>#[nil "\300\301\302\303\304$\207"
>>  [org-add-hook change-major-mode-hook org-show-block-all
>>   append local]
>>  5]
>>turn-on-font-lock turn-on-flyspell)
>> org-confirm-elisp-link-function 'yes-or-no-p
>> org-enforce-todo-dependencies t
>> org-agenda-skip-deadline-if-done t
>> org-occur-hook '(org-first-headline-recenter)
>> org-from-is-user-regexp "\\"
>> org-remember-templates '(("Todo" 116 "* TODO %?\n %i\n %a" "task.org"
>> "Tasks")
>> ("Idea" 105 "* %^{Title}\n %i\n %a" "idea.org"
>>  "New Ideas")
>> ("Journal" 106 "* %U %?\n\n %i\n %a" "journal.org
>> "
>>  "Journal")
>> ("Note" 110 "* Note %?\n %i\n %a" "note.org"
>> "Note")
>> ("Bug" 98 "* BUG %?\n %i\n %a" "bug.org" "Bugs"))
>> org-provide-todo-statistics 'all-headlines
>> org-enforce-todo-checkbox-dependencies t
>> )
>> ___
>> 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: Org-mode version 6.30d; Hide stars

2009-09-04 Thread Bernt Hansen
Melton Low  writes:

> When I get a chance later today or this evening, I will try to
> identify which git commit the problem started for me.

For that you want to use 'git bisect'

You identify a commit that is bad (probably master) and a commit that is
good (some previous commit) and do something like

$ git bisect start $BAD $GOOD
   (ie git bisect start master master~20 -- where master is bad (showing
   the problem) and master~20 is a previous commit that does not have
   the problem.  You can identify the commits by SHA1, or as an ancestor
   of some branch tip)

git will do a binary search of the commits and checkout a commit between
$BAD and $GOOD for you to test.  I normally reload the org files from
source with C-u M-x org-reload and then redo my test for each of the
checkouts that git bisect picks.

If your test fails you do

  $ git bisect bad

and if it passes you do

  $ git bisect good

then git checks out a new commit for you to test.  This identifies the
bad commit very quickly.  It is also possible to automate this procedure
if you can provide a script that can test the checked out version for
success or failure and return a status of 0 or 1 appropriately.  See the
git bisect man page for more details.

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


Re: [Orgmode] Re: Org-mode version 6.30d; Hide stars

2009-09-04 Thread William Henney
On Fri, Sep 4, 2009 at 1:33 PM, Bernt Hansen wrote:
>> When I get a chance later today or this evening, I will try to
>> identify which git commit the problem started for me.
>
> For that you want to use 'git bisect'
>

I see the same problem - no fontification at all in org mode. I used
the 'git bisect' method that Bernt suggested and this is the result:

--
79839719bfdf3b199657b22a4592691f6bfbb6db is first bad commit
commit 79839719bfdf3b199657b22a4592691f6bfbb6db
Author: Carsten Dominik 
Date:   Thu Sep 3 09:11:07 2009 +0200

Clean up external dependencies of org-gnus.el

Thanks to Tassilo Horn

:04 04 ab94524503804125c454ed40074c35a59152625d
da0881032308c32640d5a25e84c07d3e2f3a M  lisp
---

Hope this helps. My info from org-submit-bug-report is pasted below.

Will



Emacs  : GNU Emacs 22.3.1 (i386-apple-darwin9.7.0, Carbon Version 1.6.0)
 of 2009-06-07 on scarlett.local - Aquamacs Distribution 1.8c
Package: Org-mode version 6.30trans

current state:
==
(setq
 org-log-done t
 org-export-with-LaTeX-fragments t
 org-agenda-files '("~/Org/gargi.org" "~/Org/newhouse.org"
"~/Teaching/Generales/2009-I/egc2009-I.org" "~/Org/mhd.org"
"~/Teaching/Atmosferas/2008/evaluacion.org" 
"~/Org/mixing.org"
"~/Org/posgrado.org" "~/Org/temarios/temarios.org" 
"~/Org/orion.org"
"~/Org/proplyd.org" "~/Org/helix.org" "~/Org/revmex.org" 
"~/Org/TODO.org"
"~/Org/garrelt-simulations.org" "~/Org/orgjournal.org"
"~/Org/journalfigs.org")
 org-agenda-include-diary t
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-hide-leading-stars t
 org-disputed-keys '(([(control tab)] . [(control shift tab)]))
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-combined-agenda-icalendar-file "/Library/WebServer/Documents/orgmode.ics"
 org-startup-folded nil
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-export-language-setup '(("en" "Author" "Date" "Table of Contents")
 ("cs" "Autor" "Datum" "Obsah")
 ("da" "Ophavsmand" "Dato" "Indhold")
 ("de" "Autor" "Datum" "Inhaltsverzeichnis")
 ("es" "Autor" "Fecha" "Índice")
 ("fr" "Auteur" "Date" "Table des Mati\350res")
 ("it" "Autore" "Data" "Indice")
 ("nl" "Auteur" "Datum" "Inhoudsopgave")
 ("nn" "Forfattar" "Dato" "Innhold")
 ("sv" "F\366rfattarens" "Datum" "Inneh\345ll"))
 org-default-notes-file "~/Org//notes.org"
 org-directory "~/Org/"
 org-calc-default-modes '(calc-internal-prec 20 calc-float-format
(float 5) calc-angle-mode
  deg calc-prefer-frac nil calc-symbolic-mode nil 
calc-date-format
  ( "-" MM "-" DD " " Www (" " HH ":" mm))
  calc-display-working-message t)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
 org-publish-project-alist '(("temarios-html" :base-directory "~/Org/temarios"
  :publishing-directory 
"/ssh:w...@crya:/http/pub/will"
  :publishing-function org-publish-org-to-html 
:section-numbers
  nil :table-of-contents nil :style
  "")
 ("temarios-css" :base-directory "~/Org/temarios"
  :publishing-directory 
"/ssh:w...@crya:/http/pub/will"
  :base-extension "css" :publishing-function
  org-publish-attachment)
 ("temarios" :components ("temarios-html" 
"temarios-css"))
 ("mhd-html" :base-directory "~/Org/pub-mhd"
  :publishing-directory 
"/ssh:w...@crya:/http/pub/will/mhd"
  :publishing-function org-publish-org-to-html 
:section-numbers
  nil :table-of-contents nil :style
  "")
 ("mhd-css" :base-directory "~/Org/pub-mhd" 
:publishing-directory
  "/ssh:w...@crya:/http/pub/will/mhd" 
:base-extension "css"
  :publishing-function org-publish-attachment)
 ("mhd-images" :base-directory 
"~/Org/pub-mhd/image

[Orgmode] Re: Org-mode version 6.30d; Hide stars

2009-09-04 Thread Bernt Hansen
William Henney  writes:

> On Fri, Sep 4, 2009 at 1:33 PM, Bernt Hansen wrote:
>>> When I get a chance later today or this evening, I will try to
>>> identify which git commit the problem started for me.
>>
>> For that you want to use 'git bisect'
>>
>
> I see the same problem - no fontification at all in org mode. I used
> the 'git bisect' method that Bernt suggested and this is the result:
>
> --
> 79839719bfdf3b199657b22a4592691f6bfbb6db is first bad commit
> commit 79839719bfdf3b199657b22a4592691f6bfbb6db
> Author: Carsten Dominik 
> Date:   Thu Sep 3 09:11:07 2009 +0200

I can reproduce that too - but it behaves differently for compiled
versus uncompiled files.  If I do a make clean removing all the .elc
files then it works (for that commit) - but after make there it no
fontification when the file is originally loaded.  The commit before
this one works with and without compiling.

After loading compiled sources and starting a minimal emacs on the
provided test.org I get (Org Fly Ind Font) on the status line indicating
the active modes.

If I C-c C-c on the #+STARTUP: line it changes to (Org Fly Font) and
fontification returns.

GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09
on raven, modified by Debian
Org-mode version 6.30trans (release_6.30c.7.g7983)

-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: FILETAGS documentation clarification

2009-09-04 Thread Matt Lundin
PT  writes:

> I tried FILETAGS for the first time and it failed to work and it
> took a while until I found out why.
>
> I assumed orgfiles are scanned dynamically for filetags, so I
> don't have to do anything just write it into the file. Turned out I
> had to reload the file as well, because org cached filetag info.

Any time you change one of the in-buffer settings line (e.g.,
#+FILETAGS), you need to refresh the buffer by hitting C-c C-c on the
new or updated line. You don't have to reload the file.

Here's the information in the manual:

http://orgmode.org/manual/In_002dbuffer-settings.html

Best,
Matt


___
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: FILETAGS documentation clarification

2009-09-04 Thread PT
Matt Lundin  imapmail.org> writes:
> 
> Any time you change one of the in-buffer settings line (e.g.,
> #+FILETAGS), you need to refresh the buffer by hitting C-c C-c on the
> new or updated line. You don't have to reload the file.
> 
> Here's the information in the manual:
> 
> http://orgmode.org/manual/In_002dbuffer-settings.html
> 

Thanks, I haven't seen this page yet.

Maybe every mention of an in-buffer keyword should be a link to
the summary page you linked, so new users can quickly find this
info by clicking on the keyword. Just a thought.




___
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: Org-mode version 6.30d; Hide stars

2009-09-04 Thread Mark Elston

Bernt Hansen wrote:

William Henney  writes:


I can reproduce that too - but it behaves differently for compiled
versus uncompiled files.  If I do a make clean removing all the .elc
files then it works (for that commit) - but after make there it no
fontification when the file is originally loaded.  The commit before
this one works with and without compiling.



I saw this problem on one of my machines yesterday and today as well.  I
thought I had done something wrong.


After loading compiled sources and starting a minimal emacs on the
provided test.org I get (Org Fly Ind Font) on the status line indicating
the active modes.

If I C-c C-c on the #+STARTUP: line it changes to (Org Fly Font) and
fontification returns.



The file I was seeing this with didn't have a #+... line so I found
that if I closed the file and re-opened it then it fontified it just
fine.

Trying it on a different file with a #+TITLE: line I see I can do the
C-cC-c thing and it works as well.

However, I have a different machine that doesn't exhibit this behavior
at all.  Loading a .org file brings it up fontified properly the first
time.  I will have to look into the differences between the settings for
these two machines.

Mark


___
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-mode version 6.30d; Hide stars

2009-09-04 Thread Arne
Mark Elston  comcast.net> writes:

> 
> Bernt Hansen wrote:
> > William Henney  gmail.com> writes:
> > 
> > 
> > I can reproduce that too 

I have the same problem as well, fontification not working upon startup, but
working for subsequent loads within the emacs session.  Tried the org-bug-submit
feature, but that did not get out of my laptop (laptop problem, not an org
problem).I'm using the latest org-mode from the git repository 6.30trans,
emacs 23.1.1, fedora 11.   Happens for all "org" files regardless of size or
header information.

Same .emacs file and same org files work fine with old version of org-mode on my
desktop.

If you need more information to aid debugging this let me know.

Arne

> > versus uncompiled files.  If I do a make clean removing all the .elc
> > files then it works (for that commit) - but after make there it no
> > fontification when the file is originally loaded.  The commit before
> > this one works with and without compiling.
> > 
> 
> I saw this problem on one of my machines yesterday and today as well.  I
> thought I had done something wrong.
> 
> > After loading compiled sources and starting a minimal emacs on the
> > provided test.org I get (Org Fly Ind Font) on the status line indicating
> > the active modes.
> > 
> > If I C-c C-c on the #+STARTUP: line it changes to (Org Fly Font) and
> > fontification returns.
> > 
> 
> The file I was seeing this with didn't have a #+... line so I found
> that if I closed the file and re-opened it then it fontified it just
> fine.
> 
> Trying it on a different file with a #+TITLE: line I see I can do the
> C-cC-c thing and it works as well.
> 
> However, I have a different machine that doesn't exhibit this behavior
> at all.  Loading a .org file brings it up fontified properly the first
> time.  I will have to look into the differences between the settings for
> these two machines.
> 
> Mark
> 
> ___
> 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] Easier customization of TODO keyword colors

2009-09-04 Thread Ryan C. Thompson

Bastien wrote:

Interesting - would you like to add this in org-hacks?

  http://orgmode.org/worg/org-hacks.php

If so, please send me your username on repo.or.cz (if you are not
already a Worger...)

Thank!
  
I'm not on either, actually. I'm a relative newcomer to org-mode and 
elisp hacking in general. But I'd love to see it on Worg.



___
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-mode version 6.30trans (release_6.30d.5.gc125); make fails on org-ascii.el

2009-09-04 Thread Daniel Martins
>
> *On the other hand: Shouldn't a simple `make' do everything needed to
> succeed?*
>


On "How do I keep current with Org mode development?"

http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development

it is suggested the following commands

git pull && make clean && make && make doc && make install


I've put together with a command which updaes a bunch of svn repositories
from my students.

The problem is: make clean before make FORCES recompiling the same files
again and not only the updated files!

As org-mode is updated very often and the the compiling process is a bit
slow and always annoying
I decide to change the comand to

git pull & && make  && make install

I dropped make doc because it seems that there is som problem with texinfo
files of these new version.



The problem of omitting make clean isthat: if a file disappears its compiled
maybe will not disappear and cause problems.

Therefore I repeat Sebastien request:

*Shouldn't a simple `make' do everything needed to succeed?*

Daniel

2009/9/4 Carsten Dominik 

>
> On Sep 4, 2009, at 1:41 PM, Sebastian Rose wrote:
>
>  Sebastian Rose  writes:
>>
>>> Trying to `make' org-mode fails with the following error message:
>>>
>>>
>>>  In toplevel form:
>>>  lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:
>>>  org-float-time
>>>  make: *** [lisp/org-ascii.elc] Fehler 1
>>>
>>>
>>>
>>>
>>> Opening the org-mode/lisp/ directory in dired and marking all *.el files
>>> (`% m el$ RET) and byte-compiling them (`B') works for
>>> org-ascii.el.
>>> There it just failes for org-xoxo.el for the same reason.
>>>
>>
>>
>> sh$ make clean
>> sh$ make
>>
>> does the trick...
>>
>>
>> Or even (if not clean):
>>
>> sh$ make autoloads
>> sh$ make
>>
>>
>> I think we can live with it, as this is not unusual at all.
>>
>> On the other hand: Shouldn't a simple `make' do everything needed to
>> succeed?
>>
>
> In principle I would agree, and if you download a zip or tar distribution,
> it works just like that.  However, in the git distro, you do
> create new files which stick around when you update.
>
> Of course we could add a "make clean" to the ALL target, but it seems to me
> that this is different from other uses of make.  Maybe the make update
> should contain it?
>
> - Carsten
>
>
>
>
>>
>>
>>  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
>
___
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: Org-mode version 6.30d; Hide stars

2009-09-04 Thread Carsten Dominik

Hi everyone,

I am still unable to reproduce this.  But I am running the latest cvs  
emacs.


Two questions:

- if you revert the critical commit, does the problem go away
- if you use the latest Emacs, does the problem go away?

Thanks.

- Carsten





On Sep 4, 2009, at 11:36 PM, Arne wrote:


Mark Elston  comcast.net> writes:



Bernt Hansen wrote:

William Henney  gmail.com> writes:


I can reproduce that too


I have the same problem as well, fontification not working upon  
startup, but
working for subsequent loads within the emacs session.  Tried the  
org-bug-submit
feature, but that did not get out of my laptop (laptop problem, not  
an org
problem).I'm using the latest org-mode from the git repository  
6.30trans,
emacs 23.1.1, fedora 11.   Happens for all "org" files regardless of  
size or

header information.

Same .emacs file and same org files work fine with old version of  
org-mode on my

desktop.

If you need more information to aid debugging this let me know.

Arne


versus uncompiled files.  If I do a make clean removing all the .elc
files then it works (for that commit) - but after make there it no
fontification when the file is originally loaded.  The commit before
this one works with and without compiling.



I saw this problem on one of my machines yesterday and today as  
well.  I

thought I had done something wrong.


After loading compiled sources and starting a minimal emacs on the
provided test.org I get (Org Fly Ind Font) on the status line  
indicating

the active modes.

If I C-c C-c on the #+STARTUP: line it changes to (Org Fly Font) and
fontification returns.



The file I was seeing this with didn't have a #+... line so I found
that if I closed the file and re-opened it then it fontified it just
fine.

Trying it on a different file with a #+TITLE: line I see I can do the
C-cC-c thing and it works as well.

However, I have a different machine that doesn't exhibit this  
behavior
at all.  Loading a .org file brings it up fontified properly the  
first
time.  I will have to look into the differences between the  
settings for

these two machines.

Mark

___
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




___
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.30

2009-09-04 Thread Carsten Dominik

Hi Rainer,

On Sep 4, 2009, at 12:03 PM, Rainer Stengele wrote:


Hi Carsten,

Thanks for releasing all the new features!
It is amazing to see new features - which mostly make a lot of sense  
for me - coming up all the time.



Carsten Dominik schrieb:

Hi,
I am releasing Org-mode version 6.30.
Enjoy!
- Carsten
Changes in Version 6.30
===

...

New mode to show some entry body text in the agenda

There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'.  It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry.  The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.



this already avoids displaying drawer lines.
I also see lines like:

- State "DONE"   from "WARTEN" [2009-08-04 Di 16:19]
- State "DONE"   from "WARTEN" [2009-07-02 Do 09:43]
...

and in my remeber templates I always create lines like:

 created: [2009-08-03 Mo 11:46]

with the creation date of the entry.
Would it be possible and make sense to set up a variable for a  
regexp to exclude lines like the ones above from showing?


Yes, I agree this would make sense.

There is now a variable and a hook for this purpose:

org-agenda-entry-text-exclude-regexps

org-agenda-entry-text-cleanup-hook


HTH

- Carsten




rainer




___
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: Org-mode version 6.30d; Hide stars

2009-09-04 Thread Carsten Dominik

For now I have reverted the offending commit.

- Carsten

On Sep 5, 2009, at 7:42 AM, Carsten Dominik wrote:


Hi everyone,

I am still unable to reproduce this.  But I am running the latest  
cvs emacs.


Two questions:

- if you revert the critical commit, does the problem go away
- if you use the latest Emacs, does the problem go away?

Thanks.

- Carsten





On Sep 4, 2009, at 11:36 PM, Arne wrote:


Mark Elston  comcast.net> writes:



Bernt Hansen wrote:

William Henney  gmail.com> writes:


I can reproduce that too


I have the same problem as well, fontification not working upon  
startup, but
working for subsequent loads within the emacs session.  Tried the  
org-bug-submit
feature, but that did not get out of my laptop (laptop problem, not  
an org
problem).I'm using the latest org-mode from the git repository  
6.30trans,
emacs 23.1.1, fedora 11.   Happens for all "org" files regardless  
of size or

header information.

Same .emacs file and same org files work fine with old version of  
org-mode on my

desktop.

If you need more information to aid debugging this let me know.

Arne

versus uncompiled files.  If I do a make clean removing all  
the .elc

files then it works (for that commit) - but after make there it no
fontification when the file is originally loaded.  The commit  
before

this one works with and without compiling.



I saw this problem on one of my machines yesterday and today as  
well.  I

thought I had done something wrong.


After loading compiled sources and starting a minimal emacs on the
provided test.org I get (Org Fly Ind Font) on the status line  
indicating

the active modes.

If I C-c C-c on the #+STARTUP: line it changes to (Org Fly Font)  
and

fontification returns.



The file I was seeing this with didn't have a #+... line so I found
that if I closed the file and re-opened it then it fontified it just
fine.

Trying it on a different file with a #+TITLE: line I see I can do  
the

C-cC-c thing and it works as well.

However, I have a different machine that doesn't exhibit this  
behavior
at all.  Loading a .org file brings it up fontified properly the  
first
time.  I will have to look into the differences between the  
settings for

these two machines.

Mark

___
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




===
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