🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Skip Montanaro Fri, 16 Apr 1993 14:29
Arrrrrrrrrrrgh!!! Can't get Tek info stuff to work!!! (Please help :-)
#969
Author: Skip Montanaro
Date: Fri, 16 Apr 1993 14:29
80 lines
3705 bytes
I'm using Epoch 4.2. I am having no luck getting the Tek info stuff in the
contrib/tek-* directory working properly. Here's the relevant section from
my ~/.emacs file that initializes stuff:

  (defvar running-epoch (boundp 'epoch::version))

  ;; Epoch
  (if running-epoch
      (progn

	(setq epoch::nonlocal-minibuffer nil)
	(setq load-path (cons "/home/ausable/software/emacs/epoch-lisp"
			      load-path))
	(setq load-path
	      (cons
	       "/home/ausable/software/src/gnu/epoch-4.2/contrib/tek-epoch-stuff"
	       load-path))
	(setq load-path
	      (cons
	       "/home/ausable/software/src/gnu/epoch-4.2/contrib/tek-highlight-2.0"
	       load-path))

	; Set up an autoload for syntax decoding stuff.
	(autoload 'decode-syntax-table "syntax-decode" "autoloadable function" t)

	; Highlight comments in source code
	(require 'tek-src-highlight-setup)

	; Customise the mouse drag style
	(require 'tek-motion-highlight-setup)

	; Set up for highlighting in dired.
	(require 'tek-dired-highlight-setup)

	; Set up for highlighting in info browser
	(require 'tek-info-highlight-setup)

	; Set up for highlighting in gnus.
	(require 'tek-gnus-highlight-setup)

	; Set up for highlighting in VM.
	(require 'tek-vm-highlight-setup)

	; Set up for highlighting under mh-e.
	(require 'tek-mh-e-highlight-setup)

	; Set up for highlighting in info browser
	(require 'tek-info-setup)
	(message "Tek Info setup complete") (sit-for 0)
  ))

At this point, I was able to run info, but nothing was highlighted, and I
got undefined messages for clear-buttons. (I could use the normal Emacs
keyboard bindings, but that was not what I was after.) After poking around a
bit, I found the following code in tek-highlight-2.0/tek-style-utils.el:

    ;; Select appropriate functions for adding and clearing buttons/zones
    (if tek-highlight-use-attributes
	(progn
	  (fset 'add-zone 'add-button)
	  (fset 'clear-zones 'clear-buttons)))

The tek-highlight-use-attributes variable was nil, so the fset's weren't
getting executed. I tried setting tek-highlight-use-attributes to t - still
no good. I eventually changed all the clear-buttons and add-button calls in
.../contrib/tek-* to clear-zones and add-zone, respectively. Now, when I run
info, the references are all highlighted, but when I click on anything with
the mouse, I get an "End of buffer" message.

I could continue this frolic through the ELisp meadow (it is Spring, after
all), but I thought I'd pause and ask for some help before I get too far
afield. Any ideas what I'm doing wrong? I have several hundred man pages for
an internal OO system just converted to Info that I'd like to browse...

Thanks,

--
Skip (montanaro@crd.ge.com)
"Why can't X be this easy?" -- me, after learning about dlopen()
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads