From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.help Subject: Longlines-mode and auto-save - how to debug? Date: Wed, 28 Jan 2009 19:04:46 +0100 Organization: Norwegian university of science and technology Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233168092 4511 80.91.229.12 (28 Jan 2009 18:41:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2009 18:41:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 19:42:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LSFMw-0005T8-4b for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 19:42:34 +0100 Original-Received: from localhost ([127.0.0.1]:47871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSFLd-0002Rd-SB for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 13:41:13 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!uio.no!ntnu.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: fiinbeck.math.ntnu.no Original-X-Trace: orkan.itea.ntnu.no 1233165857 17165 129.241.15.140 (28 Jan 2009 18:04:17 GMT) Original-X-Complaints-To: usenet@ntnu.no Original-NNTP-Posting-Date: Wed, 28 Jan 2009 18:04:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Cancel-Lock: sha1:yqy9tHR+CnnDaaVsXRZg8/xMy58= Original-Xref: news.stanford.edu gnu.emacs.help:166417 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61734 Archived-At: I am running a fairly new CVS emacs. Lately I have started having problems with longlines-mode: When emacs tries to auto-save the file, I get instead this message in the minibuffer: Auto-saving : Text is read-only (where is the actual buffer name, of course). Turning on debug-on-error does not do anything. I tried debug-on-quit and hitting C-g while the message is in the minibuffer, but at that point it is too late to get a traceback. This does not happen if I run emacs -q, so something in my .emacs triggers it. However, my .emacs is quite large. So, before I start bisecting it to find the cause of the problem, does anybody have any idea what in particular I should look for, or do you have any suggestions for getting more information? Just to head off some unhelpful suggestions, please note it says /Text/ is read-only. We're not hit by a read-only file or directory here: This really means that emacs is trying to change text marked read-only in some buffer. -- * Harald Hanche-Olsen - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell