From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 24 23:00:11 2012 Received: (at submit) by debbugs.gnu.org; 25 Nov 2012 04:00:11 +0000 Received: from localhost ([127.0.0.1]:37225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcTO6-0008I3-L1 for submit@debbugs.gnu.org; Sat, 24 Nov 2012 23:00:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35239) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcTO4-0008Hw-8y for submit@debbugs.gnu.org; Sat, 24 Nov 2012 23:00:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcTMV-0002XP-Ne for submit@debbugs.gnu.org; Sat, 24 Nov 2012 22:58:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcTMV-0002XL-JU for submit@debbugs.gnu.org; Sat, 24 Nov 2012 22:58:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcTMU-0007cj-8T for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 22:58:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcTMK-0002Uy-7m for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 22:58:30 -0500 Received: from msa102.auone-net.jp ([61.117.18.162]:34832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcTMJ-0002Rv-Ub for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 22:58:20 -0500 Received: from GUNGNIR.med.osaka-cu.ac.jp (112-68-160-32f1.nar1.eonet.ne.jp [112.68.160.32]) by msa102.auone-net.jp (au one net msa) with ESMTP id 02237360038; Sun, 25 Nov 2012 12:58:11 +0900 (JST) Date: Sun, 25 Nov 2012 12:58:01 +0900 Message-ID: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> From: Kazuhiro Ito To: bug-gnu-emacs@gnu.org Subject: 24.3.50; buffer-file-type is not buffer-local User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.50 (i386-mingw-nt6.1.7601) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) When I evaluate below code, Emacs-23 and trunk on Windows return the different results. (list (setq buffer-file-type nil) (progn (let ((coding-system-for-read 'no-conversion)) ;; Specify non-existing file. (kill-buffer (find-file-noselect "c:/zzzzzzz"))) buffer-file-type)) -> (nil nil) (Emacs 23) -> (nil t) (trunk) And, if buffer-file-type is set to t, many file coding system detections fail. Docstring says that buffer-file-type autmatically becomes buffer-local, but that is not true on trunk. > buffer-file-type is a variable defined in `subr.el'. > Its value is nil > > Documentation: > Non-nil if the visited file is a binary file. > This variable is meaningful on MS-DOG and Windows NT. > On those systems, it is automatically local in every buffer. > On other systems, this variable is normally always nil. Additionally, there is typo in docsstring of buffer-file-type. > This variable is meaningful on MS-DOG and Windows NT. ~~~~~~ -- Kazuhiro Ito From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 25 11:51:41 2012 Received: (at 12989) by debbugs.gnu.org; 25 Nov 2012 16:51:42 +0000 Received: from localhost ([127.0.0.1]:38398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcfQj-0003YK-GW for submit@debbugs.gnu.org; Sun, 25 Nov 2012 11:51:41 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:50287) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcfQg-0003YA-F3 for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 11:51:39 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0ME100900YNCPJ00@a-mtaout20.012.net.il> for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 18:49:57 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME10097KYR8QJ00@a-mtaout20.012.net.il>; Sun, 25 Nov 2012 18:49:57 +0200 (IST) Date: Sun, 25 Nov 2012 18:50:05 +0200 From: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local In-reply-to: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> X-012-Sender: halo1@inter.net.il To: Kazuhiro Ito Message-id: <837gp9zkxu.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sun, 25 Nov 2012 12:58:01 +0900 > From: Kazuhiro Ito > > When I evaluate below code, Emacs-23 and trunk on Windows return the > different results. The difference is intentional. buffer-file-type was removed from the C code, with the goal of removing it entirely, but there are still traces of it in Lisp. I'm surprised you only noticed this now. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sun, 25 Nov 2012 12:58:01 +0900 > From: Kazuhiro Ito > > When I evaluate below code, Emacs-23 and trunk on Windows return the > different results. The difference is intentional. buffer-file-type was removed from the C code, with the goal of removing it entirely, but there are still traces of it in Lisp. I'm surprised you only noticed this now. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4995] > Date: Sun, 25 Nov 2012 12:58:01 +0900 > From: Kazuhiro Ito > > When I evaluate below code, Emacs-23 and trunk on Windows return the > different results. The difference is intentional. buffer-file-type was removed from the C code, with the goal of removing it entirely, but there are still traces of it in Lisp. I'm surprised you only noticed this now. > And, if buffer-file-type is set to t, many file coding system > detections fail. Docstring says that buffer-file-type autmatically > becomes buffer-local, but that is not true on trunk. Just don't use that variable. You don't need it. If you want to force Emacs to treat certain files as binary, bind coding-system-for-read to 'binary or modify file-coding-system-alist accordingly. 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. > Additionally, there is typo in docsstring of buffer-file-type. > > > This variable is meaningful on MS-DOG and Windows NT. > ~~~~~~ It's not a typo. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 25 16:18:20 2012 Received: (at 12989) by debbugs.gnu.org; 25 Nov 2012 21:18:21 +0000 Received: from localhost ([127.0.0.1]:38621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcjam-00038x-Mg for submit@debbugs.gnu.org; Sun, 25 Nov 2012 16:18:20 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:45360) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcjak-00038r-UW for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 16:18:19 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id qAPLGOrk030005; Sun, 25 Nov 2012 16:16:25 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7900EAE046; Sun, 25 Nov 2012 16:16:13 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local Message-ID: References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> Date: Sun, 25 Nov 2012 16:16:13 -0500 In-Reply-To: <837gp9zkxu.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 25 Nov 2012 18:50:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4413=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4413> : streams <865631> : uri <1277270> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 12989 Cc: Kazuhiro Ito , 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) >> > This variable is meaningful on MS-DOG and Windows NT. >> ~~~~~~ > It's not a typo. BTW, doesn't Emacs now run under Free Software compatible with "MS-DOS", right? If so, could we refer to this instead of MS-DOS/MS-DOG? Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 25 16:28:28 2012 Received: (at 12989) by debbugs.gnu.org; 25 Nov 2012 21:28:29 +0000 Received: from localhost ([127.0.0.1]:38628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcjka-0003Mn-Lh for submit@debbugs.gnu.org; Sun, 25 Nov 2012 16:28:28 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:56084) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcjkX-0003Mc-Ke for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 16:28:27 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME200C00BINF500@a-mtaout22.012.net.il> for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 23:26:45 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME200CRBBKK4J60@a-mtaout22.012.net.il>; Sun, 25 Nov 2012 23:26:45 +0200 (IST) Date: Sun, 25 Nov 2012 23:26:54 +0200 From: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83zk25xtk1.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Stefan Monnier > Cc: Kazuhiro Ito , 12989@debbugs.gnu.org > Date: Sun, 25 Nov 2012 16:16:13 -0500 > > >> > This variable is meaningful on MS-DOG and Windows NT. > >> ~~~~~~ > > It's not a typo. > > BTW, doesn't Emacs now run under Free Software compatible with > "MS-DOS", right? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4302] X-Debbugs-Envelope-To: 12989 Cc: kzhr@d1.dion.ne.jp, 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.2 (/) > From: Stefan Monnier > Cc: Kazuhiro Ito , 12989@debbugs.gnu.org > Date: Sun, 25 Nov 2012 16:16:13 -0500 > > >> > This variable is meaningful on MS-DOG and Windows NT. > >> ~~~~~~ > > It's not a typo. > > BTW, doesn't Emacs now run under Free Software compatible with > "MS-DOS", right? Probably. I never tried that, so I cannot tell. > If so, could we refer to this instead of MS-DOS/MS-DOG? Its name is not MS-DOS. It's FreeDOS. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 25 18:49:15 2012 Received: (at 12989) by debbugs.gnu.org; 25 Nov 2012 23:49:15 +0000 Received: from localhost ([127.0.0.1]:38722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tclwo-0006d8-CW for submit@debbugs.gnu.org; Sun, 25 Nov 2012 18:49:14 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:52736) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tclwm-0006d1-6g for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 18:49:12 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Tclv8-0007nY-I2; Sun, 25 Nov 2012 18:47:30 -0500 Date: Sun, 25 Nov 2012 18:47:30 -0500 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Sun, 25 Nov 2012 16:16:13 -0500) Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 12989 Cc: eliz@gnu.org, kzhr@d1.dion.ne.jp, 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.4 (-----) Microsoft called it "MS-DOS". We call it "MS-DOG" as an insult. Is it the case that MS-DOS is now dead and people only use FreeDOS? If so, maybe we should talk about FreeDOS and maybe stop mentioning MS-DOS at all. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 25 19:49:41 2012 Received: (at 12989) by debbugs.gnu.org; 26 Nov 2012 00:49:41 +0000 Received: from localhost ([127.0.0.1]:38758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcmtI-00082W-B9 for submit@debbugs.gnu.org; Sun, 25 Nov 2012 19:49:41 -0500 Received: from mail-ea0-f172.google.com ([209.85.215.172]:64511) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcmtG-00082N-4U for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 19:49:38 -0500 Received: by mail-ea0-f172.google.com with SMTP id a1so3846144eaa.3 for <12989@debbugs.gnu.org>; Sun, 25 Nov 2012 16:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=V+oSuWQflmDRCCuiSol6gAoCRQnf+m+jTAg8xYAwXFk=; b=QFY4kw2BvpXXwwsbX88MsXqvLuVB8qTn3KB4L6yWgWgqbfO38g4IEmZSya3NWsnumS z27dOSX2R/dptDsHT7QErgRSh88UtwXcsvWQFKyg8evB/yD5seoliIkeAez4EMjRMDq1 DITkwhJvgb7gy96h0QvJcxacy/N2kUcTWrHHsDDzdPLt/JfWqmi089pZ1HfE4lQd+sZG mD5QgGg5T2kFE9Du3yBX+jtSpiIC5wLEKad9zNUB/gWt7J85JKaQJEsS/UdIXuWOV9Gn JX967+uqhO9SVlJFAdPfubTJtabsWxSGx8+GumYCc2N382D2VtGjEZy2TJA4Dt/R9ABn YLqw== Received: by 10.14.193.136 with SMTP id k8mr39072088een.30.1353890877344; Sun, 25 Nov 2012 16:47:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.4.209 with HTTP; Sun, 25 Nov 2012 16:47:17 -0800 (PST) In-Reply-To: References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 26 Nov 2012 01:47:17 +0100 Message-ID: Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local To: rms@gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12989 Cc: kzhr@d1.dion.ne.jp, 12989@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) On Mon, Nov 26, 2012 at 12:47 AM, Richard Stallman wrote: > Microsoft called it "MS-DOS". We call it "MS-DOG" as an insult. > Is it the case that MS-DOS is now dead and people only use FreeDOS? Depends on your definition of "dead". The last Windows release to support booting MS-DOS was Windows Me (and the user had to jump through some hoops). So it's been 12 years since Microsoft last released an MS-DOS into the world. Windows Me has been unsupported since July, 2006. Juanma From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 25 20:28:16 2012 Received: (at 12989) by debbugs.gnu.org; 26 Nov 2012 01:28:16 +0000 Received: from localhost ([127.0.0.1]:38776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcnUb-0000TB-S4 for submit@debbugs.gnu.org; Sun, 25 Nov 2012 20:28:14 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:31014) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcnUa-0000T4-6b for 12989@debbugs.gnu.org; Sun, 25 Nov 2012 20:28:12 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxKh9/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDYhABboJjSaDHgOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="208466508" Received: from 69-196-168-125.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.168.125]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Nov 2012 20:26:31 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id F2E70AE071; Sun, 25 Nov 2012 20:26:30 -0500 (EST) From: Stefan Monnier To: rms@gnu.org Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local Message-ID: References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> Date: Sun, 25 Nov 2012 20:26:30 -0500 In-Reply-To: (Richard Stallman's message of "Sun, 25 Nov 2012 18:47:30 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12989 Cc: eliz@gnu.org, kzhr@d1.dion.ne.jp, 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) > Microsoft called it "MS-DOS". We call it "MS-DOG" as an insult. > Is it the case that MS-DOS is now dead and people only use FreeDOS? > If so, maybe we should talk about FreeDOS and maybe stop mentioning > MS-DOS at all. Exactly. Wouldn't it be better to advertize a GPL'd software than a proprietary one? Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 26 09:37:16 2012 Received: (at 12989) by debbugs.gnu.org; 26 Nov 2012 14:37:16 +0000 Received: from localhost ([127.0.0.1]:39486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TczoB-0005BC-Gh for submit@debbugs.gnu.org; Mon, 26 Nov 2012 09:37:15 -0500 Received: from msa101.auone-net.jp ([61.117.18.161]:58539) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tczo6-0005B0-8T for 12989@debbugs.gnu.org; Mon, 26 Nov 2012 09:37:13 -0500 Received: from GUNGNIR.med.osaka-cu.ac.jp (112-68-160-32f1.nar1.eonet.ne.jp [112.68.160.32]) by msa101.auone-net.jp (au one net msa) with ESMTP id AB8071E0043; Mon, 26 Nov 2012 23:35:22 +0900 (JST) Date: Mon, 26 Nov 2012 23:35:20 +0900 Message-ID: <87624sh1p3.wl%%xmue@d1.dion.ne.jp> From: Kazuhiro Ito To: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local In-Reply-To: <837gp9zkxu.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.50 (i386-mingw-nt6.1.7601) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > buffer-file-type was removed from the > C code, with the goal of removing it entirely, but there are still > traces of it in Lisp. I'm surprised you only noticed this now. A symptom of the problem is that Emacs becomes not to decode contents of files before one knows while I use Emacs (with some elisp packages). The problem is long standing and annoying me and I had not been able to find out the trigger of the problem. But I think I found it out just now. Modifying and saving gzipped text on Windows causes the problem. Because jka-compr-write-region (in lisp/jka-compr.el) sets buffer-file-type to t. > If you want to force Emacs to treat certain files as binary, bind > coding-system-for-read to 'binary or modify file-coding-system-alist > accordingly. In my report, coding-system-for-read is bound to 'no-conversion. Do you mean we should use 'binary instead of 'no-conversion? In lisp/dos-w32.el > (defun find-file-not-found-set-buffer-file-coding-system () (snip) > (setq buffer-file-type (eq buffer-file-coding-system 'no-conversion))))) The above line modifies buffer-file-type's value and makes the difference between 'binary and 'no-conversion. But I would doubt that the difference is intentionally made. -- Kazuhiro Ito From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 26 12:27:03 2012 Received: (at 12989) by debbugs.gnu.org; 26 Nov 2012 17:27:03 +0000 Received: from localhost ([127.0.0.1]:40373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td2SU-0001gj-Ae for submit@debbugs.gnu.org; Mon, 26 Nov 2012 12:27:02 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:37570) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td2SS-0001gI-AB for 12989@debbugs.gnu.org; Mon, 26 Nov 2012 12:27:01 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0ME300A00UYRJG00@a-mtaout23.012.net.il> for 12989@debbugs.gnu.org; Mon, 26 Nov 2012 19:24:36 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME300APWV10FE40@a-mtaout23.012.net.il>; Mon, 26 Nov 2012 19:24:36 +0200 (IST) Date: Mon, 26 Nov 2012 19:24:48 +0200 From: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local In-reply-to: <87624sh1p3.wl%%xmue@d1.dion.ne.jp> X-012-Sender: halo1@inter.net.il To: Kazuhiro Ito Message-id: <83sj7wxonz.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> <87624sh1p3.wl%%xmue@d1.dion.ne.jp> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Mon, 26 Nov 2012 23:35:20 +0900 > From: Kazuhiro Ito > Cc: 12989@debbugs.gnu.org > > But I think I found it out just now. Modifying and saving gzipped > text on Windows causes the problem. Because jka-compr-write-region > (in lisp/jka-compr.el) sets buffer-file-type to t. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.175 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Mon, 26 Nov 2012 23:35:20 +0900 > From: Kazuhiro Ito > Cc: 12989@debbugs.gnu.org > > But I think I found it out just now. Modifying and saving gzipped > text on Windows causes the problem. Because jka-compr-write-region > (in lisp/jka-compr.el) sets buffer-file-type to t. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.175 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4973] > Date: Mon, 26 Nov 2012 23:35:20 +0900 > From: Kazuhiro Ito > Cc: 12989@debbugs.gnu.org > > But I think I found it out just now. Modifying and saving gzipped > text on Windows causes the problem. Because jka-compr-write-region > (in lisp/jka-compr.el) sets buffer-file-type to t. Yes, this is one of the places left that set this variable. Another one is in bytecomp.el, in Tramp, and a few more elsewhere. I will remove them all in the trunk, after careful consideration what to replace them with. To repeat what I wrote in emacs-devel, for the record: revision 110960 on the emacs-24 branch made buffer-file-type buffer-local again, and find-file-not-found-set-buffer-file-coding-system no longer sets this variable if buffer-file-coding-system is no-conversion. > > If you want to force Emacs to treat certain files as binary, bind > > coding-system-for-read to 'binary or modify file-coding-system-alist > > accordingly. > > In my report, coding-system-for-read is bound to 'no-conversion. Do > you mean we should use 'binary instead of 'no-conversion? No. (These two are the same.) I thought you were setting the variable in your code or in your customizations, and suggested to use the standard facilities instead. But since the problem comes from Emacs itself, that advice is no longer valid. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 08:02:00 2013 Received: (at 12989) by debbugs.gnu.org; 9 Feb 2013 13:02:01 +0000 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 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 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) 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) Date: Sat, 09 Feb 2013 15:01:44 +0200 From: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local In-reply-to: <837gp9zkxu.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: Michael Albinus , Stefan Monnier Message-id: <83liax7i9z.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 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. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4647] X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 09:29:35 2013 Received: (at 12989) by debbugs.gnu.org; 9 Feb 2013 14:29:35 +0000 Received: from localhost ([127.0.0.1]:45989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4BQr-0006Ux-P0 for submit@debbugs.gnu.org; Sat, 09 Feb 2013 09:29:35 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17580) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4BQn-0006Um-Bg for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 09:29:29 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFpZnt/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: Av8EABK/CFFFpZnt/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="860667" Received: from 69-165-153-237.dsl.teksavvy.com (HELO pastel.home) ([69.165.153.237]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 09 Feb 2013 09:29:19 -0500 Received: by pastel.home (Postfix, from userid 20848) id 2C1DD5919F; Sat, 9 Feb 2013 09:29:18 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local Message-ID: References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> <83liax7i9z.fsf@gnu.org> Date: Sat, 09 Feb 2013 09:29:18 -0500 In-Reply-To: <83liax7i9z.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 09 Feb 2013 15:01:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org, Michael Albinus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) > A question for Stefan: should I also remove these from subr.el: Not sure. > I thought I'd leave them in case some non-bundled code uses them. But > maybe this is not needed. I'll let you judge. If all users just let-bind or setq those vars, there's no need to keep them around. I'd suggest to remove them, and if/when someone complains about resulting breakage, we may revisit this choice. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 11:08:26 2013 Received: (at 12989) by debbugs.gnu.org; 9 Feb 2013 16:08:26 +0000 Received: from localhost ([127.0.0.1]:46767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4CyU-0001UH-Po for submit@debbugs.gnu.org; Sat, 09 Feb 2013 11:08:26 -0500 Received: from mout.gmx.net ([212.227.17.20]:59405) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4CyR-0001U8-6r for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 11:08:20 -0500 Received: from mailout-de.gmx.net ([10.1.76.31]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MFwUq-1U6u7y27PS-00EypG for <12989@debbugs.gnu.org>; Sat, 09 Feb 2013 17:08:08 +0100 Received: (qmail invoked by alias); 09 Feb 2013 16:08:07 -0000 Received: from p57BB92C9.dip0.t-ipconnect.de (EHLO arthur.gmx.de) [87.187.146.201] by mail.gmx.net (mp031) with SMTP; 09 Feb 2013 17:08:07 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+rFx1Lshirz3KBB74181YtBKmf1lSyNGY1eoFMIn LZT79PS923y4pZ From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> <83liax7i9z.fsf@gnu.org> Date: Sat, 09 Feb 2013 17:08:05 +0100 In-Reply-To: <83liax7i9z.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 09 Feb 2013 15:01:44 +0200") Message-ID: <87obfteahm.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Eli Zaretskii writes: > 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. `tramp-sh-handle-insert-file-contents-literally', which calls `find-buffer-file-type', is used only for XEmaxs. Emacs does not call a file name handler for `insert-file-contents-literally'. So I would like to let it as it is; I don't know whether it would break XEmacs when we remove that code. I run XEmacs extremely rarely. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 11:17:51 2013 Received: (at 12989) by debbugs.gnu.org; 9 Feb 2013 16:17:51 +0000 Received: from localhost ([127.0.0.1]:46793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4D7f-0001j1-1u for submit@debbugs.gnu.org; Sat, 09 Feb 2013 11:17:51 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:36561) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4D7c-0001is-8V for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 11:17:50 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MHY00B00NQFLP00@a-mtaout20.012.net.il> for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 18:17:37 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHY00BAFNXCK2A0@a-mtaout20.012.net.il>; Sat, 09 Feb 2013 18:17:37 +0200 (IST) Date: Sat, 09 Feb 2013 18:17:39 +0200 From: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local In-reply-to: <87obfteahm.fsf@gmx.de> X-012-Sender: halo1@inter.net.il To: Michael Albinus Message-id: <83ip61797g.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> <83liax7i9z.fsf@gnu.org> <87obfteahm.fsf@gmx.de> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Michael Albinus > Cc: Stefan Monnier , 12989@debbugs.gnu.org > Date: Sat, 09 Feb 2013 17:08:05 +0100 > > Eli Zaretskii writes: > > > 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. > > `tramp-sh-handle-insert-file-contents-literally', which calls > `find-buffer-file-type', is used only for XEmaxs. Emacs does not call a > file name handler for `insert-file-contents-literally'. > > So I would like to let it as it is; I don't know whether it would break > XEmacs when we remove that code. I run XEmacs extremely rarely. Thanks for looking. Leaving the code as it is would be fine with me. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 11:21:18 2013 Received: (at 12989) by debbugs.gnu.org; 9 Feb 2013 16:21:18 +0000 Received: from localhost ([127.0.0.1]:46802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4DAy-0001oT-Uo for submit@debbugs.gnu.org; Sat, 09 Feb 2013 11:21:18 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:61566) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4DAw-0001oL-EI for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 11:21:15 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MHY00H00NYXPG00@a-mtaout23.012.net.il> for 12989@debbugs.gnu.org; Sat, 09 Feb 2013 18:21:03 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHY00HINO33PL10@a-mtaout23.012.net.il>; Sat, 09 Feb 2013 18:21:03 +0200 (IST) Date: Sat, 09 Feb 2013 18:21:06 +0200 From: Eli Zaretskii Subject: Re: bug#12989: 24.3.50; buffer-file-type is not buffer-local In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83hall791p.fsf@gnu.org> References: <87pq32pc52.wl%%xmue@d1.dion.ne.jp> <837gp9zkxu.fsf@gnu.org> <83liax7i9z.fsf@gnu.org> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 12989 Cc: 12989@debbugs.gnu.org, michael.albinus@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: Michael Albinus , 12989@debbugs.gnu.org > Date: Sat, 09 Feb 2013 09:29:18 -0500 > > > A question for Stefan: should I also remove these from subr.el: > > Not sure. > > > I thought I'd leave them in case some non-bundled code uses them. But > > maybe this is not needed. > > I'll let you judge. If all users just let-bind or setq those vars, > there's no need to keep them around. I'd suggest to remove them, and > if/when someone complains about resulting breakage, we may revisit > this choice. I removed them, thanks for the feedback. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 21 20:38:38 2013 Received: (at control) by debbugs.gnu.org; 22 Feb 2013 01:38:38 +0000 Received: from localhost ([127.0.0.1]:43292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8hav-0002hu-VS for submit@debbugs.gnu.org; Thu, 21 Feb 2013 20:38:38 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:49206) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8hau-0002hm-1E for control@debbugs.gnu.org; Thu, 21 Feb 2013 20:38:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U8hZb-0002C9-Q0 for control@debbugs.gnu.org; Thu, 21 Feb 2013 20:37:16 -0500 Date: Thu, 21 Feb 2013 20:37:15 -0500 Message-Id: Subject: control message for bug 12989 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) close 12989 24.4 From unknown Sun Jun 22 11:41:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Mar 2013 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator