all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Peromsik, Aaron" <peromsik@ptc.com>
To: Glenn Morris <rgm@gnu.org>, Eli Zaretskii <eliz@gnu.org>
Cc: "23709@debbugs.gnu.org" <23709@debbugs.gnu.org>
Subject: bug#23709: 24.5; inhibit-eol-conversion breaks archive-7z-summarize
Date: Wed, 5 Apr 2017 14:14:05 +0000	[thread overview]
Message-ID: <DM5PR1701MB183534A90B5743F5AEC465EEC60A0@DM5PR1701MB1835.namprd17.prod.outlook.com> (raw)
In-Reply-To: <83tw63oac8.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1978 bytes --]

I set it in my .emacs years ago, so I can't be sure. That said, I think it was probably because I almost never want to write a file with Windows line endings.

________________________________
From: Eli Zaretskii <eliz@gnu.org>
Sent: Tuesday, April 4, 2017 10:29:59 PM
To: Glenn Morris
Cc: Peromsik, Aaron; 23709@debbugs.gnu.org
Subject: Re: bug#23709: 24.5; inhibit-eol-conversion breaks archive-7z-summarize

> From: Glenn Morris <rgm@gnu.org>
> Date: Tue, 04 Apr 2017 16:10:39 -0400
> Cc: 23709@debbugs.gnu.org
>
>
> > M-x set-variable inhibit-eol-conversion t
> >
> > Then try to open a 7z file. The expected summary does not appear. In the
> > *Messages* buffer (quoted below) you can see that the re-search-forward
> > call in archive-7z-summarize is confused by the ^M in the output of the
> > 7za command. Perhaps adding inhibit-eol-conversion nil to that function's
> > let block would be in order?
>
> Thanks for the report. I wonder if inhibit-eol-conversion should not
> apply to processes, or should only apply to buffers visiting files, or
> if there should be a process-specific version of i-e-c? Because as it
> stands I think several places will break if ^M appears in process output
> (eg vc-bzr). Binding inhibit-eol-conversion to nil around every single
> process call doesn't sound sensible. But then term.el does the opposite,
> binding it to t. Hmm. So maybe a process-specific version of
> inhibit-eol-conversion, defaulting to nil?

Why is the OP setting this variable to begin with?

I think that a user who sets this variable, as opposed to let-binding
it for a single operation, is shooting themselves in the foot.  This
is not how this variable is supposed to be used.  Just don't do that.
Any solution we would try to invent for this is going to bite us
somewhere.

If there are good reasons for setting this variable globally, let's
hear them.  I'm not aware of any use patterns which would require
that.

[-- Attachment #2: Type: text/html, Size: 3170 bytes --]

  reply	other threads:[~2017-04-05 14:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06 21:50 bug#23709: 24.5; inhibit-eol-conversion breaks archive-7z-summarize peromsik
2017-04-04 20:10 ` Glenn Morris
2017-04-05  2:29   ` Eli Zaretskii
2017-04-05 14:14     ` Peromsik, Aaron [this message]
2017-04-05 16:00       ` Eli Zaretskii
2017-04-06 21:58         ` Peromsik, Aaron
2017-04-07  7:05           ` Eli Zaretskii
2017-04-05 15:56     ` Glenn Morris
2017-04-05 16:10       ` Eli Zaretskii
2017-04-05 19:58         ` Glenn Morris
2017-04-06  2:33           ` Eli Zaretskii
2018-02-14 11:33         ` Noam Postavsky
2018-02-14 11:51           ` Andreas Schwab
2018-02-15  1:39             ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR1701MB183534A90B5743F5AEC465EEC60A0@DM5PR1701MB1835.namprd17.prod.outlook.com \
    --to=peromsik@ptc.com \
    --cc=23709@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.