[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] muse-registry (2)
From: |
Bastien Guerry |
Subject: |
Re: [emacs-wiki-discuss] muse-registry (2) |
Date: |
Tue, 22 Nov 2005 15:07:54 +0000 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Jim Ottaway <address@hidden> writes:
> - Fuzzy url matching: For url types that find a place in a file
> such as pos and bibtex, it would be useful to be able to match on
> the file alone as well.
Yes, i was also thinking about that.
Fuzzy URLs matching should also return (stop me if i'm wrong):
- file: and pos: URLs regardless of the point position ["#.*"]
- bibtex: URLs regardless of the particular bibtex entry [":.*"]
- info: URLs regardles of the particular node ["#.*"]
(For file:, it's be more intuitive to ignore point position even for
exact URLs matching, isn't it?)
I will implement this (hopefully tonight), but it would be nice to
have more coherent syntax for `planner-annotation-functions'.
For example:
- use "#" instead of ":" within bibtex links (since ":" is often
already in use in the label name of each particular entry)
- replace whitespaces " " with "_" in info nodes links (since
`muse-url-regexp' excludes whitespaces from URLs).
> - Do you need to (require 'cl)? I could only see a call to pop in
> the source, but that is also defined in subr.el. I could well have
> missed something else though.
The first/second/third/... functions seems to be defined in cl.el and
i'm too lazy to replace them for now :)
Regards,
--
Bastien Guerry
Re: [emacs-wiki-discuss] muse-registry (2), Jim Ottaway, 2005/11/24