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: `fset' in insert-file-contents-literally Date: Mon, 22 Mar 2010 20:16:35 +0200 Message-ID: <83pr2wgr24.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1269281895 16061 80.91.229.12 (22 Mar 2010 18:18:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2010 18:18:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 22 19:18:08 2010 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 1NtmCV-0003cV-EK for ged-emacs-devel@m.gmane.org; Mon, 22 Mar 2010 19:18:07 +0100 Original-Received: from localhost ([127.0.0.1]:40689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtmCT-0003H9-1T for ged-emacs-devel@m.gmane.org; Mon, 22 Mar 2010 14:18:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtmB7-0002E9-B2 for emacs-devel@gnu.org; Mon, 22 Mar 2010 14:16:41 -0400 Original-Received: from [140.186.70.92] (port=57218 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtmB5-0002CH-OS for emacs-devel@gnu.org; Mon, 22 Mar 2010 14:16:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtmB4-00005W-JZ for emacs-devel@gnu.org; Mon, 22 Mar 2010 14:16:39 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:40878) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtmB4-00005K-BJ for emacs-devel@gnu.org; Mon, 22 Mar 2010 14:16:38 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KZP0010027SVV00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 22 Mar 2010 20:16:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.133.145]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KZP00KLU432HNJ0@a-mtaout22.012.net.il>; Mon, 22 Mar 2010 20:16:15 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:122496 Archived-At: > From: Stefan Monnier > Date: Mon, 22 Mar 2010 12:04:04 -0400 > > Could someone try to get rid of the: > > (fset 'find-buffer-file-type (lambda (filename) t)) > > in insert-file-contents-literally, e.g. by changing > find-buffer-file-type such that it always returns t when > coding-system-for-read and coding-system-for-write and set to something > like `no-conversion'? I think we should get rid of find-buffer-file-type itself and its companion file-name-buffer-file-type-alist. They've become redundant long ago, since EOL decoding was introduced. It's time to say good-bye. We should use the equivalent Mule facilities for that.