Re: [Orgmode] Re: Customizable link types
Looks good, except that I will also allow printf formats so that your bar example can be written more easily as (setq org-userlink-alist '((foo . "http://some.foo.org/";) (bar . "http://some.site/%s/?key=yadda";))) Thanks. - Carsten On Sep 25, 2006, at 20:29, Dale Smith wrote: Dale Smith <[EMAIL PROTECTED]> writes: What I'm really asking is a way to extend the current list of link types (gnus:, file:, vm:, etc.) with some user-defined types. How about an alist of (type . replacement), with string as simple string replacement, and maybe a function to call for a more complicated transformation? (defun bar-converter (arg) (concat "http://some.site/"; arg "/?key=yadda")) (setq org-userlink-alist '((foo . "http://some.foo.org/";) (bar . bar-converter))) So then links like: foo:something -> http://some.foo.org/something. bar:123 -> http://some.site/123/?key=yadda Just and idea.. -Dale -- Dale P. Smith [EMAIL PROTECTED] 216-447-4059 216-447-8951 FAX ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature Request
I've gotten in a habit of storing my todo's in the following format, and I'm curious if there's a way to automate this... * Daily ** 2006-09 *** 2006-09-25 TODO Item One I don't always have an item for each day, its sparsely populated, but I'd like to automate making the first few headings. Any suggestions? Even a macro? ;] -- Russell Adams[EMAIL PROTECTED] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Customizable link types
Hi Dale, thanks for the extra information. Seems to me that there are really two issues here. One is the idea you point out with the bugzilla example. I would like to call this "link abbreviations". I like the idea and think it could be used in many ways. It might also be useful to allow setting such abbreviations on a per-file base with lines like #+LINKABBREV: Bugzilla "http://10.1.2.9/bugzilla/show_bug.cgi?id="; The second issue you are mentioning is an extensible link system like muse has it, where new link types like gnus, vm and other can be defined and hooked into the the system. The muse system is of an admirable generality, but so far I have chosen not to follow the same road, because (at least in planner, I don't know about muse itself) the generality forces you to put a long list of require statements into .emacs before the system will function properly even for the standard cases most people need. A system which just has all important types built-in and active seems more user-frienly (though less hacker-friendly) to me. - Carsten On Sep 25, 2006, at 19:55, Dale Smith wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: I am not using planner.el, so I can only guess how this feature is supposed to work. Would you care to expand? Sure. I'm acually abusing interwiki links. In my planner files, I can quicky use "Bugzilla::1234" as a link to bug number 1234. Planner sees that as an interwiki link (the ::) . Pressing return over the link while in planner or following the link in the published html actually goes to http://10.1.2.9/bugzilla/show_bug.cgi?id=1234 I *could* use something like [[http://10.1.2.9/bugzilla/show_bug.cgi?id=1234][Bug# 1234]], but that's a lot to type in. Hmm. It wouldn't be too hard to whip up some elist that generates a link like that. What I'm really asking is a way to extend the current list of link types (gnus:, file:, vm:, etc.) with some user-defined types. On Sep 22, 2006, at 23:57, Dale Smith wrote: I've been trying out org-mode instead of planner-el for a few weeks now. I like it. However, there are a few things I miss. One is how easy it was to ad my own hyperlink types. This was all I needed to add Bugzilla:: links: (setq muse-wiki-interwiki-alist '(("Bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=";))) -Dale ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Customizable link types
Dale Smith <[EMAIL PROTECTED]> writes: > What I'm really asking is a way to extend the current list of link > types (gnus:, file:, vm:, etc.) with some user-defined types. How about an alist of (type . replacement), with string as simple string replacement, and maybe a function to call for a more complicated transformation? (defun bar-converter (arg) (concat "http://some.site/"; arg "/?key=yadda")) (setq org-userlink-alist '((foo . "http://some.foo.org/";) (bar . bar-converter))) So then links like: foo:something -> http://some.foo.org/something. bar:123 -> http://some.site/123/?key=yadda Just and idea.. -Dale -- Dale P. Smith [EMAIL PROTECTED] 216-447-4059 216-447-8951 FAX ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] opening an agenda buffer
On Sep 25, 2006, at 18:59, Eddward DeVilla wrote: Hi, I've started to play with the agenda buffer and right up front I've hit a bit of a problem. I tend to open really big emacs frames (aka, a big window) and then open up several windows (aka. buffers) in the frame. When I open the agenda buffer, I lose all of my windows and get two windows stacked one above the other with the agenda buffer in the bottom. Is there a way to just open an agenda buffer in the current window and is there a reason why that would be bad? The first reason why it is the way it is: I like it, and nobody had (so far...) complained :-) The second reason: There are, in fact, too many possibilities, including opening an extra, dedicated frame etc. Doing this gets messy, and I am dreading the box of pandora behind supporting all these possibilities. Another reason: When working from the agenda, org-mode often displays something in the "other window", usually the original location of an item in the agenda. How should org-mode know which "other window" to chose for displaying something, if it is not allowed to take over the frame? It is hard to do this in a way that suits everyone. Anyway, now that somebody did complain, I will put some thought into this, but don't expect a completely general, configurable solution. If you have, after reading this, more thoughts about how things should work, please let us know. - Carsten -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Customizable link types
Carsten Dominik <[EMAIL PROTECTED]> writes: > I am not using planner.el, so I can only guess how this feature is > supposed to work. Would you care to expand? Sure. I'm acually abusing interwiki links. In my planner files, I can quicky use "Bugzilla::1234" as a link to bug number 1234. Planner sees that as an interwiki link (the ::) . Pressing return over the link while in planner or following the link in the published html actually goes to http://10.1.2.9/bugzilla/show_bug.cgi?id=1234 I *could* use something like [[http://10.1.2.9/bugzilla/show_bug.cgi?id=1234][Bug# 1234]], but that's a lot to type in. Hmm. It wouldn't be too hard to whip up some elist that generates a link like that. What I'm really asking is a way to extend the current list of link types (gnus:, file:, vm:, etc.) with some user-defined types. > On Sep 22, 2006, at 23:57, Dale Smith wrote: > >> I've been trying out org-mode instead of planner-el for a few weeks >> now. I like it. However, there are a few things I miss. One is >> how easy it was to ad my own hyperlink types. This was all I >> needed to add Bugzilla:: links: >> >> (setq muse-wiki-interwiki-alist >> '(("Bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=";))) -Dale -- Dale P. Smith [EMAIL PROTECTED] 216-447-4059 216-447-8951 FAX ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] opening an agenda buffer
Hi, I've started to play with the agenda buffer and right up front I've hit a bit of a problem. I tend to open really big emacs frames (aka, a big window) and then open up several windows (aka. buffers) in the frame. When I open the agenda buffer, I lose all of my windows and get two windows stacked one above the other with the agenda buffer in the bottom. Is there a way to just open an agenda buffer in the current window and is there a reason why that would be bad? Edd ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org-mode version 4.50
Org-mode version 4.50 is out, at http://.astro.uv.nl/~dominik/Tools/org/ Changes in Version 4.50 --- - Closing a TODO item or clocking out of an item can record an additional note. See variables `org-log-done' and `org-log-note-headings' for details. This was an idea from Daniel J. Sinder, see his post and the manual for usage details. - Inserting headlines and bullets can leave an extra blank line. See variable `org-blank-before-new-entry'. Based upon a patch by Ed Hirgelt, thanks! - [[bracket links]] in the agenda are active just as in org-mode. Thanks to Eric Haywiser for pointing out that this did not yet work properly. - C-c C-o on a date range displays the agenda for exactly this range. - The default for `org-cycle-include-plain-lists' is back to nil. Thanks to Piotr for reporting a bug highlighting this problem. - Calls to `org-occur' can be stacked by using a prefix argument. This was a proposal from Piotr, quite some time ago. - The options `org-show-hierarchy-above' and `org-show-following-heading' now always default to `t', but can be customized differently for different types of sparse trees or jump commands. Thanks to Pierre-François Gomez for bringing this up - Bug fixes, the usual share Thanks to all who reported problems. Enjoy - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Customizable link types
I am not using planner.el, so I can only guess how this feature is supposed to work. Would you care to expand? - Carsten On Sep 22, 2006, at 23:57, Dale Smith wrote: I've been trying out org-mode instead of planner-el for a few weeks now. I like it. However, there are a few things I miss. One is how easy it was to ad my own hyperlink types. This was all I needed to add Bugzilla:: links: (setq muse-wiki-interwiki-alist '(("Bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=";))) So what do you think about some way of adding customizable hyperlinks? -Dale ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error with org-store-link in gnus Article buffer
Has anyone else seen this problem? I cannot see how this can happen. When in an article buffer in gnus, org-mode first creates the sumary with (gnus-article-show-summary). This function is defined in gnus-art.el, and gnus-art.el also contains (require 'gnus-sum). So I cannot see how this bachtrace can exist, unless there is an installation problem with gnus. Dale, maybe you can make a step-by-step example, starting from a fresh emacs, listing the exact keys needed to produce this bug? - Carsten On Sep 22, 2006, at 22:33, Dale Smith wrote: I'm using org-mode 1.48 and a locally installed (in my $HOME) gnus 5.10.6 and emacs 21.3.1 (whatever is on a FC3 box). When I C-c l in an *Article* buffer, I get this backtrace: Debugger entered--Lisp error: (invalid-function (macro . #[(&optional number) "xx" [number gnus-data-header gnus-data-find (gnus-summary-article-number)] ("/home/users/dales/src/gnus-5.10.6/lisp/gnus-sum.elc" . 106501)])) gnus-summary-article-header(3551) org-store-link(nil) call-interactively(org-store-link) (There was something at the that prevented me from pasting here in gmane) Looks like some kind of macro being called as a function problem? I don't know much about emacs macros, but I'm thinking there might be some interaction between the system gnus and the gnus I locally installed. Anyway, I figured org needed to know the source of those macros, so I added a (require 'gnus-sum) to the eval-when-compile expression. It seems to work. Oh, and the version number was wrong too. Here is a diff: --- org.el~ 2006-09-08 09:05:19.0 -0400 +++ org.el 2006-09-22 16:27:50.207456186 -0400 @@ -111,7 +111,8 @@ (eval-when-compile (require 'cl) - (require 'calendar)) + (require 'calendar) + (require 'gnus-sum)) ;; For XEmacs, noutline is not yet provided by outline.el, so arrange for ;; the file noutline.el being loaded. (if (featurep 'xemacs) (condition-case nil (require 'noutline))) @@ -123,7 +124,7 @@ ;;; Customization variables -(defvar org-version "4.47" +(defvar org-version "4.48" "The version number of the file org.el.") (defun org-version () (interactive) -Dale ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug with export and repeated/displaced right-brackets
Fixed, thanks. - Carsten On Sep 22, 2006, at 23:07, David O'Toole wrote: (setq org-archive-location "::* Archive") -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode