rfcview patch

G. Milde g.milde at web.de
Thu Jun 1 11:50:30 UTC 2006


Dear Paul,

Testing the jed-extra install I found a problem with rfcview.sl:

% jed -batch -n  -l "extra/rfcview.sl"
Help_Message is undefined

This can be cured by either requiring bufutils (where Help_Message is
defined) or (my preference) the following patch:


--- /home/milde/.jed/jedmodes/src/mode/rfcview/rfcview.sl~	2005-06-02 17:31:45.000000000 +0200
+++ /home/milde/.jed/jedmodes/src/mode/rfcview/rfcview.sl	2006-06-01 13:40:26.000000000 +0200
@@ -366,8 +366,8 @@
 definekey("rfcview->scroll_other(\"page_down\")", " ", "rfc_toc");
 definekey("rfcview->scroll_other(\"page_up\")", Key_BS, "rfc_toc");
 
-Help_Message["rfcview"] =
-  "Enter: follow link  n: next section  p: previous section  ? search sections";
+set_help_message("Enter: follow link  n: next section  p: previous section  ? search sections",
+   "rfcview");
 %}}}
 
 public define rfcview()


This patch assumes an autoload for set_help_message(), wich could e.g. come
from utils/ini.sl.


BTW: Jörg mentioned a Debian rfc package that uses a different path than the
     default

      custom_variable ("Rfc_Path", "/usr/doc/rfc");
      custom_variable ("Rfc_Index", "/usr/doc/rfc/rfc-index.txt.gz");
     
     in rfcview.sl. Maybe you could have a look into this...
     
     
Sincerely

Günter     
     
     



-- 
Milde ife.et.tu-dresden.de



More information about the Pkg-jed-devel mailing list