outline minor mode

Michael Sperber sperber at deinprogramm.de
Thu Jul 22 07:31:37 EDT 2010


jeff-xemacs at delphioutpost.com writes:

> This rewrite has completely broken minor-mode.   In my .emacs I used
> to do the following:
>
>   (defun emacs-lisp-outline-minor-mode ()
>     ;; Swiped from bottom of essd-sp6.el
>     (outline-minor-mode)
>     (setq outline-regexp "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"))
>   (add-hook 'emacs-lisp-mode-hook 'emacs-lisp-outline-minor-mode t)
>
> With the new outline.el, the above emacs-lisp-outline-minor-mode
> trashes XEmacs after opening a emacs-lisp file.  After a emacs-lisp
> file is opened I get 'Wrong type argument: stringp, nil' after doing
> almost any command or partial commands such as just M-x.  The error is
> pretty much debug proof.  debug-on-error does not seem to work to get
> a backtrace.
>
> Can you confirm this error and perhaps suggest some way
> to debug the code?

I don't see it - could you send me a sample Emacs Lisp file where it
fails for you, just to ensure we're on the same page?

Moreover, could you try this with 21.5?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla



More information about the XEmacs-Beta mailing list