Re: [Orgmode] Release 5.23a

2008-03-13 Thread Carsten Dominik


On Mar 11, 2008, at 4:00 PM, Richard G Riley wrote:


Xin Shi <[EMAIL PROTECTED]> writes:


Richard G Riley wrote:

Carsten Dominik <[EMAIL PROTECTED]> writes:



On Mar 11, 2008, at 1:03 AM, Xin Shi wrote:



Hi,

Thanks for the release!

There is a bug which I got from an Email several weeks ago said it
has been fixed, but I still found it in the 5.23a.  When export  
the

org file to html, emacs opens the .html file in the buffer. Since
the html file has already been saved, shall we not open it in
Emacs?  Another reason that this matters to me is that I'm using  
the

nXhtml mode, whenever emacs opens the html file, (even in the
background buffer), it will load this mode and open the *nXhtml
Welcome* buffer in half window. :)


That is horrible bahavior, and you should start by writing a bug
report to the maintainer of that package



The nxhtml welcome screen can be turned off in the nxhtml customize
group.



I found it:
(setq nxhtml-skip-welcome t)

Thank you all!

Xin


I think its worth pointing out in Lennart's defence that this option  
is
there, and the welcome screen is there to ensure that the new user  
sets
the necessary options necessary to regulate nxhtml's workings - it's  
not

a trivial package. AFAIK the welcome screen has a well flagged "setup"
button and then will not appear again after setting up the required
usage the first time.


Well, if uh a button is there then I will soften my criticism.  Truth
is I don't know this package, so I don't really know what it is like.
I am just extremely wary of software that interferes more that you have
asked it to do, those things annoy me extremely much.  However,
if it is a first-time usage thing with a clearly visible way how to get
this disappear - sounds better.

- Carsten




I'd also like to add it's one of the best packages out there for  
anyone

using mix-mode files (e.g a php file containing xhtml, php, js etc)
. The nxml completion works very well. The different mode hiliting is
good. The auto switch between language specific minor modes as you
cursor around is excellent. I had trouble recently with it but it  
seems

the bugs are pretty much ironed out now.

nxhtml and org-mode are my two main utility packages now.





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


Re: [Orgmode] Re: Release 5.23a

2008-03-13 Thread Carsten Dominik


On Mar 12, 2008, at 10:14 PM, Jost Burkardt wrote:


Hi Carsten,

Carsten Dominik <[EMAIL PROTECTED]> writes:


Changes in Version 5.23
~~~

Overview


  - New keyword search agenda view


I must say, I really, really like this new feature. Finally there's  
the
org-feature I can use to mimick org-registry's behaviour, like I  
always

wanted it to be.

The only thing I'm missing is something like *search only TODO  
entrys*,

(C-c a S ?).

Would this be difficult to implement, or can I customize this by some
clever configuration? I imagine I can work around with a search for
something like +TODO +second_keyword, but even then the still the
font-locking ist not available


I Jost, you are right that adding "+TODO" (the "+" is actually optional
would do this for you.  But I can see that a variant that only
looks in TODO entries could be useful and would also cover cases where
you have several TODO states.

I am not sure what you mean with "the font-locking is not available".
Please explain.

- 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] rcirc

2008-03-13 Thread Phil Jackson
"Hugo Schmitt" <[EMAIL PROTECTED]> writes:

> So I have another question (for Phil)... why is org-irc-link-to-logs a
> customizable option?

What would you suggest? Separating them altogether? A new key binding?

> It looks like linking to logs and linking to sessions are two totally
> different things and users may want to do both at different times.

So how would the org-store-link know what to do in an ERC buffer when
called?

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


___
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: rcirc

2008-03-13 Thread Richard G Riley
Tassilo Horn <[EMAIL PROTECTED]> writes:

> Richard G Riley <[EMAIL PROTECTED]> writes:
>
> Hi Richard,
>
>> rcirc doesnt seem to allow config of multiple servers and channels
>> though so I thought org-mode might be useful for "remembering" servers
>> and channels.
>
> Sure, it does!

Thanks Tassilo! I didn't see that in the
rcirc doc or customization-group. I must check the versions I have (I
already moved back to erc).

>
> (setq rcirc-server-alist
>   '(("irc.freenode.net"
>  :channels ("#rcirc" "#zsh"  "##metaconference" "#gnus" "#emacs"
> "#stumpwm" "#latex" "#xfce" "#org-mode"))
> ("irc.oftc.net"
>  :channels ("#bitlbee"))
> ("localhost"
>  :channels ("&bitlbee"
>
> (setq rcirc-authinfo
>   `(("freenode"  nickserv ,rcirc-default-nick 
> ,th-nickserv-password-freenode)
> ("oftc"  nickserv ,rcirc-default-nick ,th-nickserv-password-oftc)
> ("localhost" bitlbee  ,rcirc-default-nick ,th-bitlbee-password)))
>
> Bye,
> Tassilo


___
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: rcirc

2008-03-13 Thread Tassilo Horn
Richard G Riley <[EMAIL PROTECTED]> writes:

Hi Richard,

> rcirc doesnt seem to allow config of multiple servers and channels
> though so I thought org-mode might be useful for "remembering" servers
> and channels.

Sure, it does!

--8<---cut here---start->8---
(setq rcirc-server-alist
  '(("irc.freenode.net"
 :channels ("#rcirc" "#zsh"  "##metaconference" "#gnus" "#emacs"
"#stumpwm" "#latex" "#xfce" "#org-mode"))
("irc.oftc.net"
 :channels ("#bitlbee"))
("localhost"
 :channels ("&bitlbee"

(setq rcirc-authinfo
  `(("freenode"  nickserv ,rcirc-default-nick 
,th-nickserv-password-freenode)
("oftc"  nickserv ,rcirc-default-nick ,th-nickserv-password-oftc)
("localhost" bitlbee  ,rcirc-default-nick ,th-bitlbee-password)))
--8<---cut here---end--->8---

Bye,
Tassilo
-- 
Richard Stallman wrote a program to compute the last digit of pi.



___
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] Navigation to certain category subset

2008-03-13 Thread Richard G Riley

I have

 (setq org-remember-templates
   (quote (
   (?t "* TODO %?\n  %u\n %i\n %a\n" "~/org/todo.org" "Tasks")
   (?n "* %U %?" "~/org/notes.org" "Notes")
   (?l "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Linux")
   (?d "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Debian")
   (?e "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Emacs")
   (?v "* %U %^{Title}\n %i\n %a\n" "~/org/vocab.org" "Vocab")
   (?R "* %U %^{Title}\n %i\n %a\n" "~/org/register.org" "Register")
   (?w "* %U %^{Title}\n %i\n %a\n" "~/org/webs.org" "Webs")
   (?r "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Remember")
   (?j "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Journal")
   (?L "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Links")
   (?x "* %^{Title}\n %i\n %a\n" "~/org/todo.org" "Links")
   )
  )
   )

Most things stored in todo.org, others in other files.

The sections in the org files are marked with something like:

,
| * Emacs
| 
| :PROPERTIES:
| :CATEGORY: Emacs
| :END:
`


But what is recommended way to navigate to "Emacs" from anywhere?

1) from agenda - is "search for keyword" the way to go?
2) from any other location or mode

I'm still a bit at odds as to whether I should be using categories or
just tags to separate things. is there a "jump to category" or "filter
categories" command? I saw nothing in the categories section of the
manual.

Thanks for any advice,

richard.





___
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: rcirc

2008-03-13 Thread Tassilo Horn
Richard G Riley <[EMAIL PROTECTED]> writes:

Hi Richard,

>>> rcirc doesnt seem to allow config of multiple servers and channels
>>> though so I thought org-mode might be useful for "remembering"
>>> servers and channels.
>>
>> Sure, it does!
>
> Thanks Tassilo! I didn't see that in the rcirc doc or
> customization-group. I must check the versions I have (I already moved
> back to erc).

Ah, maybe that's new in the version that comes with emacs 23.

Bye,
Tassilo


___
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] rcirc (bug?)

2008-03-13 Thread Richard G Riley
Bastien Guerry <[EMAIL PROTECTED]> writes:

> Richard G Riley <[EMAIL PROTECTED]> writes:
>
>> The guys on #emacs kind of laughed at me a while back for using erc -
>> apparently its seen as a bit girly ... rcirc doesnt seem to allow config
>> of multiple servers and channels though so I thought org-mode might be
>> useful for "remembering" servers and channels.
>
> Erc, girlish ??  I wish I'd be mannish enough to use it correctly. 
> Let's fight against G33k poshery!
>
>> (ps I added a todo to write a beginners guide to getting code
>> completion working :-;)
>
> Great :)

FYI, I created a task with a link for erc pointing to freenode/#debian
and when I selected it from my org file I got

"Wrong type argument: stringp, 6667"

(GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2007-12-15 on noname, modified by Debian)

org version 5.23a

The entry was:

,
| :PROPERTIES:
| :CATEGORY: Debian
| :END:
| ** [2008-03-13 Thu 12:11] test
|   
|   [[irc:/heinlein.freenode.net:6667/#debian][irc session 
'heinlein.freenode.net:6667/#debian']]
`

Both "enter" and "follow link" (C-c C-o) had the same problem.





___
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] rcirc (bug?)

2008-03-13 Thread Phil Jackson
Richard,

Richard G Riley <[EMAIL PROTECTED]> writes:

> Both "enter" and "follow link" (C-c C-o) had the same problem.

I've just put a fix in git for this. Can I ask how you initiate your
session? Is it interactively with erc-select?

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


___
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] Navigation to certain category subset

2008-03-13 Thread Carsten Dominik
You can use the template definitions to navigate to template target  
locations.



I you have

(define-key global-map "\C-cr" 'org-remember)


Then `C-u C-c r' followed by a template letter will navigate to
that place.

HTH

- Carsten

On Mar 13, 2008, at 11:41 AM, Richard G Riley wrote:



I have

(setq org-remember-templates
  (quote (
   (?t "* TODO %?\n  %u\n %i\n %a\n" "~/org/todo.org" "Tasks")
  (?n "* %U %?" "~/org/notes.org" "Notes")
  (?l "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Linux")
  (?d "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Debian")
  (?e "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Emacs")
  (?v "* %U %^{Title}\n %i\n %a\n" "~/org/vocab.org" "Vocab")
  (?R "* %U %^{Title}\n %i\n %a\n" "~/org/register.org"  
"Register")

  (?w "* %U %^{Title}\n %i\n %a\n" "~/org/webs.org" "Webs")
  (?r "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org"  
"Remember")

   (?j "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Journal")
   (?L "* %U %^{Title}\n %i\n %a\n" "~/org/todo.org" "Links")
   (?x "* %^{Title}\n %i\n %a\n" "~/org/todo.org" "Links")
   )
  )
  )

Most things stored in todo.org, others in other files.

The sections in the org files are marked with something like:

,
| * Emacs
|
| :PROPERTIES:
| :CATEGORY: Emacs
| :END:
`


But what is recommended way to navigate to "Emacs" from anywhere?

1) from agenda - is "search for keyword" the way to go?
2) from any other location or mode

I'm still a bit at odds as to whether I should be using categories or
just tags to separate things. is there a "jump to category" or "filter
categories" command? I saw nothing in the categories section of the
manual.

Thanks for any advice,

richard.





___
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] How to set a date relative to the original date?

2008-03-13 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Mar 11, 2008, at 10:26 PM, Wanrong Lin wrote:


Hi,

I read the tutorial on
http://members.optusnet.com.au/~charles57/GTD/org_dates/
about how to use dates. The tutorial says I can use "++3d" to  
indicate "3 days after the default date". My understanding is the  
default date is the original date in the schedule.


So, if I do a "C-c C-s" and input "++3d" on the following,

* MAYBE A test
SCHEDULED: <2008-02-11 Mon>

I should get

* MAYBE A test
SCHEDULED: <2008-02-13 Wed>

But I found "++3d" produces the same result as "+3d", which is 3  
days after today.


I remember quite a while ago people had some discussion on this and  
"++3d" was invented then. Did I miss anything in my usage of this  
feature? Thanks.


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] rcirc (bug?)

2008-03-13 Thread Richard G Riley

Phil Jackson <[EMAIL PROTECTED]> writes:

> Richard,
>
> Richard G Riley <[EMAIL PROTECTED]> writes:
>
>> Both "enter" and "follow link" (C-c C-o) had the same problem.
>
> I've just put a fix in git for this. Can I ask how you initiate your

How do I get it? Or can you post the line here?

> session? Is it interactively with erc-select?


What do you mean interactively? The only way I know to start erc is with
erc-select. Or did you mean was erc already open when I selected the
link? If so, then both. Sometime erc is open, sometimes not.


___
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] rcirc (bug?)

2008-03-13 Thread Phil Jackson
Richard G Riley <[EMAIL PROTECTED]> writes:

>>> Both "enter" and "follow link" (C-c C-o) had the same problem.
>>
>> I've just put a fix in git for this. Can I ask how you initiate your
>
> How do I get it? Or can you post the line here?

Hold two, I'm going to make sure this is more robust. I'll post to this
thread when I'm done and you can help me test it if you would.

>> session? Is it interactively with erc-select?
>
> What do you mean interactively? The only way I know to start erc is with
> erc-select. Or did you mean was erc already open when I selected the
> link? If so, then both. Sometime erc is open, sometimes not.

It can be initialised non-interactively like this:

--8<---cut here---start->8---
  (erc :server "irc.blah.com"
   :nick   "phil"
   :port   6667))
--8<---cut here---end--->8---

And :port can be a string or a number which is where this bug comes
from I think.

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


___
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] rcirc (bug?)

2008-03-13 Thread Richard G Riley
Phil Jackson <[EMAIL PROTECTED]> writes:

> Richard G Riley <[EMAIL PROTECTED]> writes:
>
 Both "enter" and "follow link" (C-c C-o) had the same problem.
>>>
>>> I've just put a fix in git for this. Can I ask how you initiate your
>>
>> How do I get it? Or can you post the line here?
>
> Hold two, I'm going to make sure this is more robust. I'll post to this
> thread when I'm done and you can help me test it if you would.
>
>>> session? Is it interactively with erc-select?
>>
>> What do you mean interactively? The only way I know to start erc is with
>> erc-select. Or did you mean was erc already open when I selected the
>> link? If so, then both. Sometime erc is open, sometimes not.
>
> It can be initialised non-interactively like this:
>
>   (erc :server "irc.blah.com"
>:nick   "phil"
>:port   6667))
>
> And :port can be a string or a number which is where this bug comes
> from I think.

Neither, like this:

(defun load-erc()
  (interactive)
  (erc-select :server "irc.oftc.net" :password "**")
  (erc-select :server "irc.gnu.org" :password "**")
)



___
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] rcirc (bug?)

2008-03-13 Thread Richard G Riley

Phil Jackson <[EMAIL PROTECTED]> writes:

> Hi Richard,
>
> [ list removed ]
>
> Richard G Riley <[EMAIL PROTECTED]> writes:
>
>>> Hold two, I'm going to make sure this is more robust. I'll post to this
>>> thread when I'm done and you can help me test it if you would.
>
> Please find attached the latest copy. If you could give it a test for me
> I would much appreciate it.
>
> (I'm in #org-mode as 'redpick' if you wanna chat by the way).

I gave it a quick check.

One problem still : It fails if the server buffer exists but the
connection is closed.

It does now work if the buffer is either non existent or is there and
connected.


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


Re: [Orgmode] Re: Release 5.23a

2008-03-13 Thread Carsten Dominik


On Mar 12, 2008, at 10:14 PM, Jost Burkardt wrote:


Hi Carsten,

Carsten Dominik <[EMAIL PROTECTED]> writes:


Changes in Version 5.23
~~~

Overview


  - New keyword search agenda view


I must say, I really, really like this new feature. Finally there's  
the
org-feature I can use to mimick org-registry's behaviour, like I  
always

wanted it to be.

The only thing I'm missing is something like *search only TODO  
entrys*,

(C-c a S ?).


Is it on `C-u C-c a s', just as `C-u C-c a m'  does the tags match only
for TODO entries.


Would this be difficult to implement, or can I customize this by some
clever configuration? I imagine I can work around with a search for
something like +TODO +second_keyword, but even then the still the
font-locking ist not available


I am now fontifying the TODO keyword in the line.  It there anything
else you meant?

- 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] Converting to html in a shell script

2008-03-13 Thread Michael Hohn

lanas wrote:

Hi all,

  I would like to convert an org file to HTML, much like C-c C-e h
would do, automatically from a shell script.  So far I've tried
unsuccesfully some permutaions of:

emacs -batch -l ~/.emacs -eval '(org-export-as-html "./file.org")'
emacs -batch -l ~/.emacs -eval '(org-export-as-html)' ./file.org

  Is it at all possible and if so, what would be the actual way of
calling emacs to do this ?

  


I use a makefile entry

%.html: %.org org-export-cust.el
   emacs --batch -q $< -l ./org-export-cust.el
   tidy -i -m $@


together with this org-export-cust.el script:

;; Batch script to convert %.org to %.html, with external style sheet
;; and other options.
;;
;; Used via emacs --batch -q $< -l ./org-export-cust.el
;;
(load-library "~/emacs/lisp/org.elc")

(setq org-export-html-style
 "")

(org-export-as-html 3 'hidden)

-- Michael



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


[Orgmode] Dependency on dired-aux breaks 5.23a installation in XEmacs

2008-03-13 Thread Jurgen Defurne
I use Org-mode with XEmacs (because XEmacs can be compiled under Cygwin, and 
does not need an X-server, in contrast to GNU Emacs). Currently, I am still 
using 5.21, and I was waiting for 5.23.

However, a dependency on dired-aux breaks the installation. I have looked in 
the XEmacs packages, but the dired code still dates from 2005, so it seems that 
the required functionality is not available for XEmacs.

Regards,

Jurgen


___
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