Build Help!

Jerry James james at xemacs.org
Tue Sep 20 13:49:36 EDT 2011


On Tue, Sep 20, 2011 at 10:23 AM, Ravindra Viswanath
<ravindra at koolchip.com> wrote:
> And installed them all. Got a couple of warnings

Those warnings just indicate that RPM was overwriting previously
installed, non-RPM-controlled, files.  You recovered appropriately.

However, I *strongly* urge you to configure your yum repositories to
use EPEL.  With a bare RPM install, you'll never know when an update
becomes available.  With yum, it will check for you automatically
every time you run "yum upgrade".

> Now, xemacs works, however, the all important script that I want - need - to
> run, namely "hide-lines.el" (http://www.emacswiki.org/emacs/hide-lines.el)
> does not run as expected.

No, that was written for Emacs, not XEmacs.  However, it isn't very
hard to adapt.  Try the attached version.  My version has a major
drawback, inherited from the original, though.  Do you see the line
that says:

(add-to-invisibility-spec 'hl)

?  That is modifying a buffer-local variable.  Running that command
once at load time is wrong.  That needs to be run in *every buffer*
where you want to do the line hiding.  This code should really be
turned into a minor mode.  See hideshow.el for an example of how to do
that.  It should be at
/usr/share/xemacs/xemacs-packages/lisp/c-support/hideshow.el in your
installation.

Regards,
-- 
Jerry James
http://www.jamezone.org/


More information about the XEmacs-Beta mailing list