From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: PCL-CVS: `A' removes cvs-mode from buffer *cvs* Date: Tue, 21 Aug 2007 11:32:04 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187710403 8932 80.91.229.12 (21 Aug 2007 15:33:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2007 15:33:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 21 17:33:22 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INVjK-0005gy-GL for ged-emacs-devel@m.gmane.org; Tue, 21 Aug 2007 17:33:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INVjJ-0005fA-Q4 for ged-emacs-devel@m.gmane.org; Tue, 21 Aug 2007 11:33:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INVjF-0005c5-Bd for emacs-devel@gnu.org; Tue, 21 Aug 2007 11:33:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INVjC-0005bt-S7 for emacs-devel@gnu.org; Tue, 21 Aug 2007 11:33:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INVjC-0005bq-N0 for emacs-devel@gnu.org; Tue, 21 Aug 2007 11:33:10 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INVjC-0001TR-Un for emacs-devel@gnu.org; Tue, 21 Aug 2007 11:33:11 -0400 Original-Received: from ceviche.home (vpn-132-204-232-39.acd.umontreal.ca [132.204.232.39]) by chene.dit.umontreal.ca (8.13.7/8.13.7) with ESMTP id l7LFX8iA007344 for ; Tue, 21 Aug 2007 11:33:08 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id BCF8370039; Tue, 21 Aug 2007 11:32:04 -0400 (EDT) In-Reply-To: (Reiner Steib's message of "Mon\, 20 Aug 2007 21\:28\:47 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-NAI-Spam-Score: -2.5 X-NAI-Spam-Rules: 2 Rules triggered BAYES_00=-2.5, HAS_X_HELO=0 X-Detected-Kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76894 Archived-At: > in Emacs 22.1 on Windows, I noticed that (sometimes?) `A' > (cvs-mode-add-change-log-entry-other-window) removes the cvs-mode key > bindings from the buffer *cvs*. The buffer *cvs* then is read-only > and not in cvs-mode anymore (fundamental-mode?). > I couldn't reproduce the problem on GNU/Linux up to now. Has anyone > else observed this? If it happens next time on Windows: what kind of > further information could be useful to find the problem? I've seen reports of such problems in the past, but have never been able to track it down. It seems difficult to reproduce. It's interesting that you link it to Windows, tho: I had not noted any such correlation yet. Maybe you can try to track it down by adding to your .emacs something like: (add-hook 'cvs-mode-hook (lambda () (add-hook 'change-major-mode-hook 'debug nil t))) hopefully it will not trigger in normal use. Stefan