From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: diff-default-read-only doesn't work Date: Wed, 05 Jul 2006 03:36:20 +0800 Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1152044236 27942 80.91.229.2 (4 Jul 2006 20:17:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2006 20:17:16 +0000 (UTC) Cc: monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 04 22:17:15 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FxrKc-0005DJ-NM for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Jul 2006 22:17:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxrKc-0003gC-5s for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Jul 2006 16:17:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxrKZ-0003g5-T9 for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:17:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxrKZ-0003fr-Fj for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:17:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxrKZ-0003fo-Ch for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:17:11 -0400 Original-Received: from [204.74.68.40] (helo=frodo.hserus.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FxrYJ-0008SB-HO for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2006 16:31:23 -0400 Original-Received: from tc218-187-21-31.dialup.dynamic.apol.com.tw ([218.187.21.31]:2202 helo=jidanni1) by frodo.hserus.net with esmtpsa (Cipher TLSv1:AES256-SHA:256) (Exim 4.62 #0) id 1FxrKV-000IlH-PJ by authid with plain; Wed, 05 Jul 2006 01:47:08 +0530 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15193 Archived-At: In emacs-version "22.0.50.1" Not only is (setq diff-default-read-only t); broken, no effect But also one cannot do (setq diff-mode-hook (function (lambda()(toggle-read-only 1)))) (like one can do for compilation-mode-hook), as it is called too early.