[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Tom Weissmann yahoo.co.uk> writes: > oops! I tried that before and it kept moving me back to the beginning of my > org > file, whereas now it, um, doesn't. Can't see for the egg on my face. In the meantime I discovered `org-add-link-type' which does everything I want except the completions.

Re: [Orgmode] Restricting the agenda to the current subtree

2007-11-30 Thread Carsten Dominik
On 11/30/07, Rick Moynihan <[EMAIL PROTECTED]> wrote: > > Cool, it sounds like it's going to be good. I can't say I've used the > speedbar much but I look forward to giving it a shot with org-mode > (which is the main reason I use Emacs anyway :-) ) > > My only concern about using the speedbar is

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien altern.org> writes: > I find this a bit confusing to use a function that expands an > abbreviation only for its side effects. Yes. It would be nice to be able to add custom link handlers and define completion functions for them :) > But maybe you can just tell your function to return a

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien altern.org> writes: > > I think what you are trying to achieve is better described as a new > > hyperlink mechanism rather than an extension of abbrev links. > > Sorry, should read: "as a new hyperlink type"... Yes. But a cheap alternative is just to let abbrev link functions return nil

Re: [Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Bastien
Tom Weissmann <[EMAIL PROTECTED]> writes: > Tom Weissmann yahoo.co.uk> writes: > >> oops! I tried that before and it kept moving me back to the beginning of my >> org >> file, whereas now it, um, doesn't. Can't see for the egg on my face. > > In the meantime I discovered `org-add-link-type' whic

Re: [Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Bastien
Bastien <[EMAIL PROTECTED]> writes: >> type, and then have minibuffer completion of all the existing >> bookmarks, but `org-store-link' works fine :) > > I think what you are trying to achieve is better described as a new > hyperlink mechanism rather than an extension of abbrev links. Sorry, shou

Re: [Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Bastien
Tom Weissmann <[EMAIL PROTECTED]> writes: > Bastien altern.org> writes: > >> Are you suggesting to replace "http://www.google.com/search?q=%s"; by a >> function that would handle the text after "::" in a different way than >> `format' is currently doing? > No. > > Here's an example. I sometimes c

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien altern.org> writes: > Are you suggesting to replace "http://www.google.com/search?q=%s"; by a > function that would handle the text after "::" in a different way than > `format' is currently doing? No. Here's an example. I sometimes create links to Emacs bookmarks, eg "bmk:org-mode-tweak

Re: [Orgmode] Feature request: custom link handlers

2007-11-30 Thread Bastien
Tom Weissmann <[EMAIL PROTECTED]> writes: > This is basically a request to be able to create custom link handlers. > > For example, my `org-link-abbrev-alist' is this: > > `(("wiki" . org-link-abbrev-wiki) > ("bmk". org-link-abbrev-bookmark) > ("POA". org-link-abbrev-poa)) > > > Onl

Re: [Orgmode] Re: Bug with org-startup-folded?

2007-11-30 Thread Bastien
Wanrong Lin <[EMAIL PROTECTED]> writes: > (setq org-agenda-file-regexp "\\.org\\'") > (add-to-list 'auto-mode-alist `(,org-agenda-file-regexp . org-mode)) This is weird. Why don't you simply use this: (add-to-list 'auto-mode-alist ("\\.org\\'" . org-mode)) > By inserting some "message" state

Re: [Orgmode] saveplace

2007-11-30 Thread Bastien
Hi Kevin, Kevin Brubeck Unhammer <[EMAIL PROTECTED]> writes: > What's the best way to make a hook that runs show-entry on finding an > org-mode file, but after the save-place-hook? (Seeing as putting > show-entry in org-mode- hook doesn't work, since save-place goes > afterwards.) Should I just a

[Orgmode] Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
This is basically a request to be able to create custom link handlers. For example, my `org-link-abbrev-alist' is this: `(("wiki" . org-link-abbrev-wiki) ("bmk". org-link-abbrev-bookmark) ("POA". org-link-abbrev-poa)) Only one of these actually returns a link that Org mode can us

[Orgmode] Bug fixes available (5.15a)

2007-11-30 Thread Carsten Dominik
Hi, I have fixed some of the bugs mentioned in the past few days. The update is version 5.15a, as usually at http:orgmode.org. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://l

Re: [Orgmode] Re: Bug with org-startup-folded?

2007-11-30 Thread Wanrong Lin
Bastien wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: (setq org-agenda-file-regexp "\\.org\\'") (add-to-list 'auto-mode-alist `(,org-agenda-file-regexp . org-mode)) This is weird. Why don't you simply use this: (add-to-list 'auto-mode-alist ("\\.org\\'" . org-mode)) I did my

Re: [Orgmode] Latex Export

2007-11-30 Thread Bastien
Russell Adams <[EMAIL PROTECTED]> writes: > On Fri, Nov 30, 2007 at 07:21:26AM +0100, Giovanni Ridolfi wrote: >> On Thu, Nov 29, 2007 at 09:15:06PM -0600, Russell Adams wrote: >> > >> I think that the Latex-exporter is *not* suited for such complex task. >> I also think that it shouldn't (K.I.S.S.

Re: [Orgmode] Restricting the agenda to the current subtree

2007-11-30 Thread Carsten Dominik
On Nov 28, 2007 12:23 PM, Rick Moynihan <[EMAIL PROTECTED]> wrote: > Carsten Dominik wrote: > > I for one do find this idea useful. Some way to lock all agenda > > commands to the current subtree or file, until this lock is removed > > again. I am not sure if I'd like the agenda to automatically

Re: [Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Bastien
Tom Weissmann <[EMAIL PROTECTED]> writes: > Bastien altern.org> writes: > >> > I think what you are trying to achieve is better described as a new >> > hyperlink mechanism rather than an extension of abbrev links. >> >> Sorry, should read: "as a new hyperlink type"... > > Yes. But a cheap altern

Re: [Orgmode] Restricting the agenda to the current subtree

2007-11-30 Thread Rick Moynihan
Carsten Dominik wrote: On Nov 28, 2007 12:23 PM, Rick Moynihan <[EMAIL PROTECTED]> wrote: Carsten Dominik wrote: I for one do find this idea useful. Some way to lock all agenda commands to the current subtree or file, until this lock is removed again. I am not sure if I'd like the agenda to

Re: [Orgmode] org-refile hack to show headings

2007-11-30 Thread Max Mikhanosha
At Thu, 29 Nov 2007 20:22:53 -0500, John Rakestraw wrote: > > and then adapted/adopted by Carsten in org 5.14. However, I found it > difficult sometimes to remember the particular heading to which I > wanted to move the new item -- the auto-complete is helpful, but only > if I can remember just ho

Re: [Orgmode] Latex Export

2007-11-30 Thread Russell Adams
> Actually, we really *lack* a tutorial on the LaTeX export. A tutorial would be fantastic, I'd having issues with even basic customization. Do you have any sample documents you could share? Thanks. -- Russell Adams