[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

occur and read-only text.

From: Matt Hodges
Subject: occur and read-only text.
Date: Thu, 05 May 2005 15:38:25 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/22.0.50 (gnu/linux)

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-04-30 on dugong
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

When there are read-only text properties in a buffer, occur fails with
"Text is read-only".  If no *Occur* buffer exists before the call, the
failure is in occur-engine when it adds text properties; otherwise the
failure is in occur-1 when erase-buffer is called.

Suggested patch attached, which also marks the *Occur* buffer as
unmodified (cf Emacs 21).



Attachment: txt7uT5eJL_Dr.txt
Description: Patch for replace.el.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]