From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: cua-mode and the tutorial Date: Sat, 26 Aug 2006 00:12:15 +0200 Message-ID: References: <44C8F069.1070002@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156544033 6376 80.91.229.2 (25 Aug 2006 22:13:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2006 22:13:53 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 26 00:13:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGjvt-000359-UR for ged-emacs-devel@m.gmane.org; Sat, 26 Aug 2006 00:13:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGjvt-0007iD-D6 for ged-emacs-devel@m.gmane.org; Fri, 25 Aug 2006 18:13:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGjvh-0007gh-0n for emacs-devel@gnu.org; Fri, 25 Aug 2006 18:13:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGjvg-0007fZ-6b for emacs-devel@gnu.org; Fri, 25 Aug 2006 18:13:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGjvg-0007fR-38 for emacs-devel@gnu.org; Fri, 25 Aug 2006 18:13:32 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGk41-0004Rv-4f; Fri, 25 Aug 2006 18:22:09 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 885DE8A001F; Sat, 26 Aug 2006 00:13:28 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Fri, 25 Aug 2006 16:25:10 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:58885 Archived-At: Richard Stallman writes: > > But we should make it offer to delete the customization > > in case the user was not asked about it. > > Too complex for very little benefit IMHO. > > We don't know what method was used to enable CUA-mode. It could be a > customization, but it could also be an explicit call to CUA-mode in > emacs. So that is not trivial to do right in all cases. > > It is pretty easy to recognize those two methods and DTRT for them. In one case, it is set system wide in site-load.el. In another case, it is set in a shared file loaded from .emacs. In a third case, it is set in another user's .emacs file invoked through --user option. Besides, I doubt that very many users would want to disable CUA-mode if they got their .emacs file from a collegue or friend -- such persons are often "in sync" with respect to their tools and habits. I still think this is too complex for very little benefit. In any case, I will definitely not write the necessary code! > It is also pretty easy to recognize when neither of those methods was used, > In the case of Viper, I would rather have it say "You enabled Viper > mode" and not list the specific differences (there would be too many > of them, right?). I suppose so, and the message would only list those keys which correspond to keys used in the tutorial, so it would not be complete anyway. -- Kim F. Storm http://www.cua.dk