[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Strange behavior of emacs-lisp-mode with outline-minor-mode
From: |
Stefan Monnier |
Subject: |
Re: Fwd: Strange behavior of emacs-lisp-mode with outline-minor-mode |
Date: |
Sun, 05 Mar 2006 20:55:17 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Does anyone disagree with this change?
> It is really a matter of what outline commands should do in Lisp mode,
> and I don't use them.
> (let ((len (- (match-end 0) (match-beginning 0))))
> - - (if (looking-at "(\\|;;;###autoload")
> + (if (looking-at ";;;###autoload")
> 1000
> - - len)))
> + (if (looking-at "(")
> + 1
> + (- len 4)))))
This means that
;;; Foo:
gets level 1 and that
(defun ...)
also gets level 1. This is wrong.
The motivation for this change was:
> If we turn on outline-minor-mode in emacs-lisp-mode, and press
> `C-c @ C-q', only three dots there, nothing left!
I don't see this behavior. Please give a precise recipe.
Stefan