From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Ezequiel Gallina Newsgroups: gmane.emacs.devel Subject: Re: Deprecate _emacs on Windows Date: Wed, 23 Mar 2011 10:36:11 -0300 Message-ID: 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: quoted-printable X-Trace: dough.gmane.org 1300889255 8031 80.91.229.12 (23 Mar 2011 14:07:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2011 14:07:35 +0000 (UTC) Cc: =?ISO-8859-1?Q?=D3scar_Fuentes?= , emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 23 15:07:30 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 1Q2Oic-0004Kj-AY for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2011 15:07:26 +0100 Original-Received: from localhost ([127.0.0.1]:35835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2Oib-0006ki-2P for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2011 10:07:25 -0400 Original-Received: from [140.186.70.92] (port=56102 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2OGB-0002xF-KO for emacs-devel@gnu.org; Wed, 23 Mar 2011 09:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2OEO-0004pb-66 for emacs-devel@gnu.org; Wed, 23 Mar 2011 09:36:14 -0400 Original-Received: from mail-yi0-f41.google.com ([209.85.218.41]:57897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2OEO-0004pL-3n for emacs-devel@gnu.org; Wed, 23 Mar 2011 09:36:12 -0400 Original-Received: by yib2 with SMTP id 2so4269256yib.0 for ; Wed, 23 Mar 2011 06:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NG4UIfVJsGVVOkzySA1q2JiOJcz/WSP1hGBGQalhIaE=; b=GSgBSERKdx2tlJ9jFaed+arsg5O1qM34Ojr6GPXzgqMtW/ouXb4QsRVMZh4XPQDmIg Fyl2qw7Sn/KREph2WjFNPQi3wfwKh8vvcxHEF7GnbjnGkG1lwcWeD931WnnjluLPlrWY gm+OaVsq8JgmRO9zeG2Kwg2Icy9GB/Uq0/51o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VUpCN/BwrapI9Q/uIA26DIrnnY7t1yvzOZpTHLquQFOFr3OwRmKIrlirfuDIibX6io fLfb0DHu6kagP8VcDqGoipntz/6Q1x+LNCXcNDqoRkLFaQ8ecIh23RIPUnun8rxTT7St fUysm0aCuWSnDBx5gO5+ZulS3AUcLCshELszQ= Original-Received: by 10.91.69.28 with SMTP id w28mr6400056agk.143.1300887371622; Wed, 23 Mar 2011 06:36:11 -0700 (PDT) Original-Received: by 10.90.114.6 with HTTP; Wed, 23 Mar 2011 06:36:11 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.218.41 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:137568 Archived-At: 2011/3/23 Juanma Barranquero : > On Wed, Mar 23, 2011 at 13:23, Fabian Ezequiel Gallina > wrote: > >> 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)" > > Are you trying to provoke Drew a heart attack? > > 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). > > =A0 =A0 Juanma > I think it would be neat if a warning could be a simple string or a cons where the car is the warning string and the cdr is a callback that should be interactive (to be called via call-interactively): Something like this: ("This foo should be a bar" . 'handle-foo-bar). This way for warnings that can be assisted, a callback can be fired to help the user to solve it. The "_emacs" to ".emacs" case is a good example. Also is the case of deprecated vars. The callback of course should let the user choose to take action or not. Regards, --=20 Fabi=E1n E. Gallina http://www.from-the-cloud.com