[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *tex-shell* is read only
From: |
Stefan Monnier |
Subject: |
Re: *tex-shell* is read only |
Date: |
Tue, 19 Oct 2004 08:48:06 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> ***************
> *** 1479,1485 ****
> (define-derived-mode tex-shell shell-mode "TeX-Shell"
> (set (make-local-variable 'compilation-parse-errors-function)
> 'tex-compilation-parse-errors)
> ! (compilation-shell-minor-mode t))
> ;;;###autoload
> (defun tex-start-shell ()
> --- 1479,1486 ----
> (define-derived-mode tex-shell shell-mode "TeX-Shell"
> (set (make-local-variable 'compilation-parse-errors-function)
> 'tex-compilation-parse-errors)
> ! (compilation-shell-minor-mode t)
> ! (toggle-read-only -1))
For what it's worth, I use *tex-shell* on a regular basis and haven't
seen the problem you mention.
And in any case, I think the fix (if any) should be in compile.el.
`compilation-shell-minor-mode' should not make the buffer read-only.
Stefan