GNU bug report logs - #19326
24.4; tex-validate-buffer error "Buffer is read-only"

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Tue, 9 Dec 2014 07:13:02 UTC

Severity: minor

Tags: confirmed

Found in versions 24.4, 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 19326 <at> debbugs.gnu.org (full text, mbox):

From: phs <phs <at> lsv.ens-cachan.fr>
To: 19326 <at> debbugs.gnu.org
Subject: Re: 24.4; tex-validate-buffer error "Buffer is read-only"
Date: Wed, 23 Sep 2015 13:34:35 +0200
have the same bug in my config. Basically I can't use 
tex-validate-buffer or tex-validate-region which I'd rank as "severe" 
from a user's viewpoint.

The code in tex-mode.el acknowledges that using occur-mode is not a good 
solution and argues for a major rewrite.

A quick hack that may help the original poster (and other users) is to 
insert the following line in your emacs init file:

    (add-hook 'occur-mode-hook (function (lambda () (read-only-mode -1))))

--phs

In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org
Windowing system distributor `Apple', version 10.3.1348
Configured using:
 `configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application 
Support/Emacs/site-lisp''

Important settings:
  value of $LC_ALL: en_US
  value of $LANG: en_US
  locale-coding-system: utf-8-unix





This bug report was last modified 3 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.