From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#23709: 24.5; inhibit-eol-conversion breaks archive-7z-summarize Date: Wed, 14 Feb 2018 06:33:50 -0500 Message-ID: <87wozf955t.fsf@users.sourceforge.net> References: <9zpeg8a0yxz.fsf@PEROMSIK0D.i-did-not-set--mail-host-address--so-tickle-me> <6zo9wcc4sg.fsf@fencepost.gnu.org> <83tw63oac8.fsf@gnu.org> <83mvbuomxj.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518608186 18749 195.159.176.226 (14 Feb 2018 11:36:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2018 11:36:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: peromsik@ptc.com, 23709@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 14 12:36:22 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elvM6-0003ay-D3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 12:36:06 +0100 Original-Received: from localhost ([::1]:38268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elvO8-0005PA-2V for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 06:38:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elvL9-0002kg-HG for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 06:35:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elvL4-0000bu-KU for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 06:35:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elvL4-0000bg-Gu for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 06:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1elvL4-0000QF-4A for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 06:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2018 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23709-submit@debbugs.gnu.org id=B23709.15186080411546 (code B ref 23709); Wed, 14 Feb 2018 11:35:02 +0000 Original-Received: (at 23709) by debbugs.gnu.org; 14 Feb 2018 11:34:01 +0000 Original-Received: from localhost ([127.0.0.1]:42183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elvK5-0000Ok-Dd for submit@debbugs.gnu.org; Wed, 14 Feb 2018 06:34:01 -0500 Original-Received: from mail-io0-f175.google.com ([209.85.223.175]:42480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elvK3-0000OV-AI for 23709@debbugs.gnu.org; Wed, 14 Feb 2018 06:33:59 -0500 Original-Received: by mail-io0-f175.google.com with SMTP id u84so1137477iod.9 for <23709@debbugs.gnu.org>; Wed, 14 Feb 2018 03:33:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=iEUXYTPJqOqdAZ/IHxkpccSPp/BTZZikqocWegHNYOc=; b=FBC5UYDlrdXCbJ30O80MviUlgQrSpSMSM2eMqgXNw6Z/i8IcZKJQKhkK+rSYomfK5p UDPtpohthEQM2k+ocUUKQnvBufFA66EcV1MiRChIcSTEdxZCqms6YfLJ0+jVFGzC+CdM KR/rxOjfgpOKT4TQ9WBFK+QK9tzPGVO50oWnuSJlkcPiBJIEp5Vw6B5GeuIzJ5ldVYTX 2j7BTKxgabBqKculKf52+vpZ78H77E3yZu1DnaMw7OXDWFMbbl6u9jCds3KCtQIa3ehH Oo0Ex0MMtZr8mSwWtUdIyiTM9IjI3WDpF2+j01KEFZ1exjxuuxAy84iGw3UdZSi8jAkI XmbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=iEUXYTPJqOqdAZ/IHxkpccSPp/BTZZikqocWegHNYOc=; b=m7JUJzgH41K5X10guIZLu20vlj5qLudXc0bvgTei1BYOXvQydZPs26W7bTbxQb2Bf4 Mroomc47GQOjU1w9fHFheBAEs/O1qe5A4mn7AfTsRCdVeKqew0fbyq6Fx8k2GPsZfnQU VwxVX6tYjwiYLXDz4oySMXCXj9kTrbu/LrwMOumQxSSYULnVyAL2Ks5VsWM6xmIb2w8Z 2YV9TJedr1GMeqLJJn+M6j7x0mSOfy9RGJg9BAEB8jCS69wBgTk8WNCHJzkv/kv0qweP wYglr5N3v7RVK+dphuIyqGst5DZQvdmXROQbF+shmWE07KDWImIlGdf1FUVj0AowAqCb uc5Q== X-Gm-Message-State: APf1xPB8h4gm2HTYwxCKzikCsouQfpPLAzQOjNjFmIrStJm/h2BJ1eFy muEbfFX+MMBkC8AKm7/jTgcoQg== X-Google-Smtp-Source: AH8x227F1ILNVG6SbXxRxkiuK2PfbT8u8qrr4i9cm1AzHK6uHpEoZErOGuN6ld0VZRRwKU9Ka97ulg== X-Received: by 10.107.53.22 with SMTP id c22mr5051753ioa.189.1518608033327; Wed, 14 Feb 2018 03:33:53 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id x2sm13086556ite.10.2018.02.14.03.33.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Feb 2018 03:33:51 -0800 (PST) In-Reply-To: <83mvbuomxj.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 05 Apr 2017 19:10:16 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:143269 Archived-At: Eli Zaretskii writes: >> It's a customizable user option. It seems perfectly valid to me to set >> it globally, for the reasons given in the manual: >> >> some people prefer this to the more subtle '(DOS)' end-of-line type >> indication near the left edge of the mode line >> >> I've had it set in my own .emacs for years, as it happens. > > I'm guessing this variable was made a defcustom under pressure from > people who didn't want to see "(DOS)". I think it's rather from people who *can't* see "(DOS)" (not literally "can't", but find the indicator easy to miss). I came across a post [1] about this recently (the post itself is from 2016): Many versions ago, if you opened a dos-line-end file on Linux you would see the extra ^M codes. Now it automatically recognizes the situation and puts "DOS" in the info bar and hides the extra ^Ms. How can I exit "DOS" mode and switch back to Unix mode? How can I disable the auto-detection and force the files to be opened with Unix line endings and the DOS CR shown as ^M? And a further comment from the OP about it: I guess there isn't really a compelling reason for it except that I only occasionally encounter dos files and I was used to that obvious visual cue of all the ^M's when I open one. So this does sound like it's all about files. If inhibit-eol-conversion is problematic, maybe a setting for file-coding-system-alist would be a better recommendation? [1]: https://emacs.stackexchange.com/questions/24984/how-to-disable-automatic-dos-mode/38576