From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Deprecate _emacs on Windows Date: Wed, 23 Mar 2011 06:42:16 -0700 Message-ID: <3E42E56342C648C0B0DFA48F9D10659A@us.oracle.com> References: <0B6A6EC5FD8F46D697F914FB2F6D4304@us.oracle.com><655D5DBB48F04F719130122440CDA29B@us.oracle.com><87pqpi8qui.fsf@uwakimon.sk.tsukuba.ac.jp><87ei5yxwf2.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300891586 23658 80.91.229.12 (23 Mar 2011 14:46:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2011 14:46:26 +0000 (UTC) Cc: =?iso-8859-1?Q?'=D3scar_Fuentes'?= , emacs-devel@gnu.org To: "'Juanma Barranquero'" , "'Fabian Ezequiel Gallina'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 23 15:46:21 2011 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.69) (envelope-from ) id 1Q2PKG-0005dD-UN for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2011 15:46:21 +0100 Original-Received: from localhost ([127.0.0.1]:57566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2PKG-0005qu-92 for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2011 10:46:20 -0400 Original-Received: from [140.186.70.92] (port=36948 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2OVZ-0008L0-Vq for emacs-devel@gnu.org; Wed, 23 Mar 2011 09:54:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2OKR-0005s0-El for emacs-devel@gnu.org; Wed, 23 Mar 2011 09:42:28 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:30118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2OKR-0005rw-7v for emacs-devel@gnu.org; Wed, 23 Mar 2011 09:42:27 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p2NDgOPk030184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 23 Mar 2011 13:42:25 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p2NDgNL8019402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Mar 2011 13:42:23 GMT Original-Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p2NDgMOE024196; Wed, 23 Mar 2011 08:42:22 -0500 Original-Received: from dradamslap1 (/10.159.58.141) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 23 Mar 2011 06:42:21 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcvpVjQOkdFuR1qpRCah3CyiLxVB0wABjQLQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4D89F8C0.0036,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 148.87.113.121 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:137571 Archived-At: > > How about to make the warning interactive? giving the user the > > posibility to let Emacs rename the file right there when the warning > > is prompt? > > > > "_emacs is obsolete, do you want to let Emacs rename it to > > .emacs now? (y/n)" BTW, IIUC it is not yet obsolete - it is still supported. It is being deprecated at this time, not desupported. > Are you trying to provoke Drew a heart attack? Can't resist, can you? Drop the snide remarks, please. It's not about me, Juanma, remember? Stop trying to caricature me. > Or, more seriously, that would be too intrusive IMO, and you would > need to add a way to silence it anway (in case the user does not want > to rename it). Actually, IMO the suggestion is a reasonable one. My point was that this information for the user is not a warning of anything, so it should not scream WARNING. (I also think it is more appropriate to convey deprecation info in NEWS and manual, but a non-warning message is OK if it is an addition.) As with some other places in Emacs, the user response to the question could be more than a binary choice. E.g., (a) rename now, (b) do nothing now, and (c) do not rename and don't remind me again. With either (a) or (c) the user will see the message only once. Dunno whether there might be any problem from doing this at its current position during startup: lots of stuff can go on before (just a guess) and after (definitely) the message appears. Maybe it should wait until Emacs is idle for some given period? Dunno. Interrupting the user also has the advantage that s?he will necessarily see the message. In my case, the *Warning* buffer appeared (splitting the window) briefly, and then disappeared as the rest of my startup sequence finished. If I had not noticed the window-split briefly I would not have been aware that there was a *Warning* buffer somewhere with a message for me. Some users with a shorter startup sequence might well miss it. (And no, please do not just add a long `sleep-for' or something.) On the other hand, perhaps something would need to be done to inhibit the message when Emacs is used in batch mode. But that is perhaps in order anyway, regardless of whether the message asks the user a question. Maybe this has already been taken care of - dunno.