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: bug#1853: Trouble with gzipped info files on Windows Date: Sat, 17 Jan 2009 16:15:14 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232201729 1315 80.91.229.12 (17 Jan 2009 14:15:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Jan 2009 14:15:29 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: 1853@emacsbugs.donarmstrong.com, handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 17 15:16:41 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 1LOByZ-00078Y-9l for ged-emacs-devel@m.gmane.org; Sat, 17 Jan 2009 15:16:39 +0100 Original-Received: from localhost ([127.0.0.1]:59611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOBxI-0004ca-7X for ged-emacs-devel@m.gmane.org; Sat, 17 Jan 2009 09:15:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOBxD-0004by-JH for emacs-devel@gnu.org; Sat, 17 Jan 2009 09:15:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOBxC-0004bm-0J for emacs-devel@gnu.org; Sat, 17 Jan 2009 09:15:14 -0500 Original-Received: from [199.232.76.173] (port=39987 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOBxB-0004bj-RI for emacs-devel@gnu.org; Sat, 17 Jan 2009 09:15:13 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:25163) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOBxB-0001bL-Gl for emacs-devel@gnu.org; Sat, 17 Jan 2009 09:15:13 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KDM00200CJ3LC00@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Sat, 17 Jan 2009 16:15:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.42.36]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KDM00J77CXMN430@i-mtaout6.012.net.il>; Sat, 17 Jan 2009 16:15:24 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:107927 Archived-At: > Date: Sat, 17 Jan 2009 16:05:36 +0200 > From: Eli Zaretskii > Cc: lekktu@gmail.com, emacs-devel@gnu.org > > --- lisp/international/mule-cmds.el 9 Jan 2009 05:01:02 -0000 1.353 > +++ lisp/international/mule-cmds.el 17 Jan 2009 14:01:33 -0000 > @@ -1936,7 +1936,11 @@ > (eol-type (coding-system-eol-type default-buffer-file-coding-system))) > (when priority > (set-default-coding-systems > - (if (memq eol-type '(0 1 2 unix dos mac)) > + ;; Don't use eol-type if default-buffer-file-coding-system is > + ;; nil, because coding-system-eol-type treats nil as > + ;; `no-conversion'. > + (if (and default-buffer-file-coding-system > + (memq eol-type '(0 1 2 unix dos mac))) > (coding-system-change-eol-conversion default-coding eol-type) > default-coding)) > (setq default-sendmail-coding-system default-coding) Upon further thought, perhaps we want the default coding-systems to have an explicit -dos EOL type on DOS and Windows, for consistency with how we set up things on startup. This would involve explicitly changing eol-type of default-coding before the last line above. WDYT?