Re: Updated Emacs package, syntax highlighting, new name
"Markus Hoenicka" <[email protected]>
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Mike,
Michael Smith writes:
> > BTW I've tested 1.5 on the weekend real quick. It was entirely broke
> > for me but I didn't have the time to investigate this yet. I'll be
> > back with fixes or at least a complete problem description asap.
>
> OK -- thanks. Note that when I changed the name to "refdb-mode", I
> changed every single variable name as well. So if you still have any
> related config variables in your .emacs that you haven't updated to the
> new names yet, that may be part of the problem.
>
I think I've figured it out. First of all, if I cut+paste the elisp
source from your mails, the backslash ends up as a funny Japanese
character. Updating from CVS fixes this problem.
Next, there is a small typo ("ID"vs "id") that apparently screws up
the ID queries, see the appended patch.
Finally, if I use sqlite as a backend (as I did in my preliminary test
yesterday), all queries for partial strings require a '%'. E.g. to
find the author entry 'Walsh,N.', you'll either have to type the full
string or use 'Walsh%'. However, the percent sign is interpreted
by a format call before it is sent to refdbc, and Emacs complains
about not getting enough arguments. Can you work around this issue?
regards,
Markus
--
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
refdb-mode.el.patch
(application/octet-stream, 400 B)
--- refdb-mode.el.orig Mon Dec 15 22:59:06 2003 +++ refdb-mode.el Tue Dec 16 00:10:01 2003 @@ -647,7 +647,7 @@ (defun refdb-getref-by-id (id) "Display all RefDB datasets matching ID." (interactive (list (read-string (format "ID: ")))) - (message (format "Getting datasets for ID %s ..." ID)) + (message (format "Getting datasets for ID %s ..." id)) (refdb-getref-by-field "ID" id) )