Re: updated v1.3 Emacs menu
"Markus Hoenicka" <[email protected]>
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Bruce D'Arcus writes:
>
> OK, a few things:
>
> First, if I understand the output option, I should be able to go the
> menu, select, say, DocBook XML, run a search, and the DocBook output
> will show up in the buffer. Is that right? I'm not getting that
> behavior; I just get "screen." Also, when I select the output type, I
> should get a visual indication - a check by the active output type.
>
This looks like a minor bug. The following patch fixes the problem (at
least for me):
--8<-----
--- refdb-menu.el.orig Mon Dec 8 21:46:24 2003
+++ refdb-menu.el Mon Dec 8 21:59:10 2003
@@ -316,9 +316,10 @@
(if (not (eq (length refdb-menu-database) 0))
(shell-command
(format
- "%s -d %s -C getref :%s:=%s"
+ "%s -d %s -t %s -C getref :%s:=%s"
refdb-menu-refdbc-program-and-options
refdb-menu-database
+ refdb-menu-output-type
refdb-menu-current-field
value)
"*refdbc-output*" nil)
@@ -338,7 +339,7 @@
"%s -d %s -t %s -C getref %s"
refdb-menu-refdbc-program-and-options
refdb-menu-database
- (symbol-name refdb-menu-output-type)
+ refdb-menu-output-type
searchstring)
"*refdbc-output*" nil)
(message "Error: No database specified.
--8<-----
Save this chunk to refdb-menu.el.diff in the same directory where
you've got refdb.menu.el and apply it like this:
patch -p 0 < refdb-menu.el.diff
regards
Markus
--
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click