all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Eli Barzilay <eli@barzilay.org>
Cc: 31605@debbugs.gnu.org
Subject: bug#31605: 25.3; tramp-terminal-type too obscure
Date: Tue, 29 May 2018 18:26:22 +0200	[thread overview]
Message-ID: <87wovml975.fsf@gmx.de> (raw)
In-Reply-To: <CALO-guvPS1278eZGU=gq5p8ZagW+=kcWJoqnF0dC1s1K91UCLQ@mail.gmail.com> (Eli Barzilay's message of "Tue, 29 May 2018 12:03:53 -0400")

Eli Barzilay <eli@barzilay.org> writes:

Hi Eli,

> Thanks!  However, I think that it would be better to mention that it is
> fine to use a different value -- instead of discouraging them.

It might work, yes. But I wouldn't recommend it. For most of the Tramp
users, the default settings are OK.

>>       Another possibility is to check the environment variable
>>       ‘INSIDE_EMACS’.  [...]
>
> This doesn't help for the common case of ssh.  (In fact, this was what I
> originally though about using, but configuring ssh/sshd to pass
> INSIDE_EMACS is a PITA to manage.)  I'm not saying that it shouldn't be
> mentioned, just that it's not too helpful...

??? It is Tramp, which sets this variable in the remote shell
environment. There's nothing to do for you. Or do I miss something?

> But this is exactly the problem: "dumb" is used in many contexts,
> including in `M-x shell`.  This means that if I follow what you're
> recommending, I end up with a crippled `M-x shell` experience since I
> lose my useful prompt there.  OTOH, I can't imagine that anything that
> tramp uses would rely on terminfo, which is why I suggested the above.

The majority of Tramp users does not apply "M-x shell" and friends. They
are just using Tramp for remote file handling.

And Tramp has always problems with whatever esacape seuences are around,
that I call it an advantage when a dumb TERM simplifies my
life. Speaking as maintainer.

It is still possible that you reconfigure everything, and thanks again
that you have told me that it needs better documentation. But I'm not
conviced it will be better to change the defaults.

Best regards, Michael.





  reply	other threads:[~2018-05-29 16:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26 22:14 bug#31605: 25.3; tramp-terminal-type too obscure Eli Barzilay
2018-05-29 11:19 ` Michael Albinus
2018-05-29 16:03   ` Eli Barzilay
2018-05-29 16:26     ` Michael Albinus [this message]
2018-05-29 16:39       ` Eli Barzilay
2018-05-29 17:46         ` Michael Albinus
2018-05-29 17:57           ` Eli Barzilay
2018-05-30  7:02             ` Michael Albinus
2018-05-30  7:10               ` Eli Barzilay

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=87wovml975.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=31605@debbugs.gnu.org \
    --cc=eli@barzilay.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.