From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: vc-toggle-read-only mishandles CVS ro file in presence of CVSREAD=1 Date: Wed, 25 Jun 2008 11:35:04 +0200 Message-ID: <87prq5yi0n.fsf@ambire.localdomain> References: <87od5q9kbi.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214386716 20299 80.91.229.12 (25 Jun 2008 09:38:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2008 09:38:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 25 11:39:21 2008 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 1KBRT5-0003jn-K0 for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2008 11:39:11 +0200 Original-Received: from localhost ([127.0.0.1]:34154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBRSF-00053Z-AU for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2008 05:38:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBRS9-00051O-GR for emacs-devel@gnu.org; Wed, 25 Jun 2008 05:38:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBRS6-0004zB-MW for emacs-devel@gnu.org; Wed, 25 Jun 2008 05:38:12 -0400 Original-Received: from [199.232.76.173] (port=45556 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBRS6-0004yu-Ef for emacs-devel@gnu.org; Wed, 25 Jun 2008 05:38:10 -0400 Original-Received: from [151.61.142.243] (port=59942 helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KBRS5-0005DA-Tw for emacs-devel@gnu.org; Wed, 25 Jun 2008 05:38:10 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1KBRP6-0002BT-KB; Wed, 25 Jun 2008 11:35:04 +0200 In-Reply-To: (Miles Bader's message of "Wed, 25 Jun 2008 14:36:00 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:99905 Archived-At: () Miles Bader () Wed, 25 Jun 2008 14:36:00 +0900 I say we just get rid of it and good riddance. If/when we do that, many people's ~/.emacs will grow a (unless (fboundp 'vc-toggle-read-only) (global-set-key "\C-x\C-q" (defun vc-toggle-read-only () "Damn Emacs 23!" (interactive) (if (or (and (boundp 'vc-dired-mode) vc-dired-mode) ;; use boundp because vc.el might not be loaded (vc-backend buffer-file-name)) (vc-next-action nil) (toggle-read-only))))) which will worm its way onto emacswiki DamnEmacs23, somehow. But i'm ok w/ that (my ~/.emacs is already fortified :-D). thi