From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: using libmagic in Emacs? Date: Wed, 19 Aug 2009 09:47:45 -0400 Message-ID: <87prardif2.fsf@cyd.mit.edu> References: <87praszybe.fsf@stupidchicken.com> <838whgik6y.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250689625 5187 80.91.229.12 (19 Aug 2009 13:47:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Aug 2009 13:47:05 +0000 (UTC) Cc: Eli Zaretskii , joakim@verona.se, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 19 15:46:58 2009 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 1MdlVB-0005yH-ME for ged-emacs-devel@m.gmane.org; Wed, 19 Aug 2009 15:46:57 +0200 Original-Received: from localhost ([127.0.0.1]:59414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdlVB-0005DO-1h for ged-emacs-devel@m.gmane.org; Wed, 19 Aug 2009 09:46:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdlV5-0005D4-8I for emacs-devel@gnu.org; Wed, 19 Aug 2009 09:46:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdlV0-00058z-A8 for emacs-devel@gnu.org; Wed, 19 Aug 2009 09:46:50 -0400 Original-Received: from [199.232.76.173] (port=55336 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdlV0-00058Z-66 for emacs-devel@gnu.org; Wed, 19 Aug 2009 09:46:46 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:37725) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdlUx-0001sd-5d; Wed, 19 Aug 2009 09:46:43 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 6FCD557E259; Wed, 19 Aug 2009 09:47:45 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Tue, 18 Aug 2009 23:21:13 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: 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:114406 Archived-At: Stefan Monnier writes: >> I thought only relatively minor and safe ones, >> but this one seems to break that rule, at least in my book. > > It looks pretty safe: the first step is to add the Lisp API, which > should not impact any other code (tho it may cause temporary build > failures, I guess). After that, set-auto-mode (and/or image.el, ...) > will need to be tweaked to also take libmagic into account > when available. This should also be fairly simple. I don't think that sounds simple or safe; however, there's not enough information to know for sure, until Joakim posts the patch. >> Maybe we should simply decide right here and now that Emacs 23.2 will >> be delivered from the RC branch, and open the trunk for all changes, >> even not-so-safe ones? > > Yes, that's pretty much where we're at, I think, yes. Actually, if people want to start including more intrusive changes, I think we should cut a new branch from the current trunk. This would postphone the CEDET merge to 23.3.