Update of /cvsroot/refdb/elisp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv663
Modified Files:
refdb-mode-config.el
Log Message:
added transient-mark-mode;made database name customization more obvious
Index: refdb-mode-config.el
===================================================================
RCS file: /cvsroot/refdb/elisp/refdb-mode-config.el,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -U2 -r1.1 -r1.2
--- refdb-mode-config.el 22 Jun 2005 19:49:21 -0000 1.1
+++ refdb-mode-config.el 12 Nov 2005 23:01:17 -0000 1.2
@@ -18,8 +18,11 @@
(require 'refdb-mode)
-;; set the default reference database
-(setq refdb-database "default")
+;; set the default reference database. Replace "EXAMPLE" with the name
+;; of your database
+(setq refdb-database "EXAMPLE")
-;; invoke refdb-mode automatically with these major modes
+;; invoke refdb-mode automatically with these major modes. You may
+;; have to fiddle with the hook names if your OS/distribution uses
+;; different names for these modes
(add-hook 'ris-mode-hook 'refdb-mode)
(add-hook 'nxml-mode-hook 'refdb-mode)
@@ -28,2 +31,8 @@
(add-hook 'sgml-mode-hook 'refdb-mode)
(add-hook 'refdb-output-mode-hook 'refdb-mode)
+
+;; this will highlight the currently selected region. It is highly
+;; recommended to use this feature with RIS datasets because some
+;; refdb-mode commands work either on the whole buffer or on the
+;; marked region. Seeing the marked region avoids surprises
+(transient-mark-mode t)
|