all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: help-gnu-emacs@gnu.org
Subject: Longlines-mode and auto-save - how to debug?
Date: Wed, 28 Jan 2009 19:04:46 +0100	[thread overview]
Message-ID: <pcoab9b488x.fsf@math.ntnu.no> (raw)

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 <buffer>: Text is read-only

(where <buffer> 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     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell


                 reply	other threads:[~2009-01-28 18:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pcoab9b488x.fsf@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.