From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: using libmagic in Emacs? Date: Wed, 19 Aug 2009 05:58:13 +0300 Message-ID: <838whgik6y.fsf@gnu.org> References: <87praszybe.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1250650832 30849 80.91.229.12 (19 Aug 2009 03:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Aug 2009 03:00:32 +0000 (UTC) Cc: cyd@stupidchicken.com, 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 05:00:24 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 1MdbPT-0000CE-FB for ged-emacs-devel@m.gmane.org; Wed, 19 Aug 2009 05:00:23 +0200 Original-Received: from localhost ([127.0.0.1]:50663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdbPS-0003IN-SN for ged-emacs-devel@m.gmane.org; Tue, 18 Aug 2009 23:00:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdbPN-0003GK-DK for emacs-devel@gnu.org; Tue, 18 Aug 2009 23:00:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdbPM-0003FY-L9 for emacs-devel@gnu.org; Tue, 18 Aug 2009 23:00:17 -0400 Original-Received: from [199.232.76.173] (port=52309 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdbPM-0003FT-Hy for emacs-devel@gnu.org; Tue, 18 Aug 2009 23:00:16 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:26729 helo=mtaout3.012.net.il) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdbPL-0000Sk-GU for emacs-devel@gnu.org; Tue, 18 Aug 2009 23:00:15 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KOL00700SA8K600@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Wed, 19 Aug 2009 06:00:14 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.180.85]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KOL003JISCDZI90@i_mtaout3.012.net.il>; Wed, 19 Aug 2009 06:00:13 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:114389 Archived-At: > From: Stefan Monnier > Date: Tue, 18 Aug 2009 17:11:02 -0400 > Cc: Chong Yidong , > Emacs Development > > >>> I think it's a good idea. It may require some non-trivial changes on > >>> the Lisp side, since libmagic's information is not quite the same as > >>> what Emacs currently uses: we'll probably want to use libmagic to get > >>> a MIME-type and then have a table mapping mime-types to major modes or > >>> some such. > >> This development would probably have to take place in a separate > >> branch. > > I don't expect it to be too intrusive, so I think it can be done on the > trunk, tho of course, each step needs to be planned with care. So what is the rule for new features that can be installed on the trunk at this time? I thought only relatively minor and safe ones, but this one seems to break that rule, at least in my book. If this one is okay, then why not something like bidirectional editing, for example? 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?