From: "Jordi Gutiérrez Hermoso" <jordigh@octave.org>
To: Emacs development discussions <emacs-devel@gnu.org>
Subject: Adding HGPLAIN to tramp's default environment
Date: Tue, 28 Oct 2014 14:21:42 -0400 [thread overview]
Message-ID: <1414520502.5576.27.camel@Iris> (raw)
Tramp was freezing for me when checking vc-registered on my remote hg
repos. Turns out my remote hg config was the problem, probably the
pager. As suggested by the hg docs,
$ hg help env.hgplain
HGPLAIN
When set, this disables any configuration settings that might change
Mercurial's default output. This includes encoding, defaults, verbose
mode, debug mode, quiet mode, tracebacks, and localization. This can
be useful when scripting against Mercurial in the face of existing
user configuration.
Equivalent options set via command line flags or environment variables
are not overridden.
Hence the following patch.
- Jordi G. H.
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -458,7 +458,7 @@ as given in your `~/.profile'."
"EMACS=t" ;; Deprecated.
,(format "INSIDE_EMACS='%s,tramp:%s'" emacs-version tramp-version)
"CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=\"\""
- "autocorrect=" "correct=")
+ "autocorrect=" "correct=" "HGPLAIN=1")
"List of environment variables to be set on the remote host.
Each element should be a string of the form ENVVARNAME=VALUE. An
next reply other threads:[~2014-10-28 18:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 18:21 Jordi Gutiérrez Hermoso [this message]
2014-10-29 1:00 ` Adding HGPLAIN to tramp's default environment Stefan Monnier
2014-10-29 13:50 ` Michael Albinus
2014-11-04 10:30 ` Michael Albinus
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=1414520502.5576.27.camel@Iris \
--to=jordigh@octave.org \
--cc=emacs-devel@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.