From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12989: 24.3.50; buffer-file-type is not buffer-local Date: Sat, 09 Feb 2013 15:01:44 +0200 Message-ID: <83liax7i9z.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1360414918 3230 80.91.229.3 (9 Feb 2013 13:01:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2013 13:01:58 +0000 (UTC) Cc: 12989@debbugs.gnu.org To: Michael Albinus , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 14:02:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4A4Q-0003Tt-Ds for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2013 14:02:18 +0100 Original-Received: from localhost ([::1]:34965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4A47-0000pI-4Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2013 08:01:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4A43-0000nB-IE for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2013 08:01:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4A42-0004CH-Av for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2013 08:01:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4A42-0004CD-7J for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2013 08:01:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U4A4A-0004J1-IF for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2013 08:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Feb 2013 13:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12989 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12989-submit@debbugs.gnu.org id=B12989.136041492116544 (code B ref 12989); Sat, 09 Feb 2013 13:02:02 +0000 Original-Received: (at 12989) by debbugs.gnu.org; 9 Feb 2013 13:02:01 +0000 Original-Received: from localhost ([127.0.0.1]:45842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4A48-0004Im-KU for submit@debbugs.gnu.org; Sat, 09 Feb 2013 08:02:00 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:34039) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4A45-0004Id-RO for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 08:01:58 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MHY00A00EM10700@a-mtaout22.012.net.il> for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 15:01:42 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHY009CMEUUNJ70@a-mtaout22.012.net.il>; Sat, 09 Feb 2013 15:01:42 +0200 (IST) In-reply-to: <837gp9zkxu.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70939 Archived-At: > Date: Sun, 25 Nov 2012 18:50:05 +0200 > From: Eli Zaretskii > Cc: 12989@debbugs.gnu.org > > I will work on removing the variable entirely from the sources, though > I guess it's too late for 24.3. So I will do it on the trunk. Now done (revision 111709 on the trunk). There are still references to find-buffer-file-type (which no longer exists as of the above revision) in tramp-sh.el. The code there is commented as being for XEmacs only, and I don't really understand what is it trying to accomplish. Michael, could you please take a look? Ideally, we should delete all that stuff, unless it breaks XEmacs. A question for Stefan: should I also remove these from subr.el: (make-obsolete-variable 'default-buffer-file-type 'buffer-file-type "23.2") (defvar-local buffer-file-type nil "Non-nil if the visited file is a binary file. This variable is meaningful on MS-DOG and MS-Windows. On those systems, it is automatically local in every buffer. On other systems, this variable is normally always nil. WARNING: This variable is obsolete and will disappear Real Soon Now. Don't use it!") I thought I'd leave them in case some non-bundled code uses them. But maybe this is not needed.