all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philippe Vaucher <philippe.vaucher@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 19636 <19636@debbugs.gnu.org>
Subject: bug#19636: [TRAMP] global minor mode hangs connection when accessing files in :lighter
Date: Mon, 27 Mar 2017 17:46:58 +0200	[thread overview]
Message-ID: <CAGK7Mr7aiekabY=P+DZXjra=8Te+Fc54kb0VDp-JWiMCiBUOkQ@mail.gmail.com> (raw)
In-Reply-To: <87bmsm96ze.fsf@detlef>

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

>
> > Basically, do nothing if there's no reliable way of getting the
> > information yet (we are remote and not connected yet).
>
> Sounds reasonable for me, thanks for reporting the status. I also
> recommend to test with the development version of Emacs (aka 26.0.50),
> because there have been serious changes in Tramp.
>

Good idea.


> > This seems to repair the issue almost always, except for TRAMP 2.2.11
> > (the one in emacs 24.5).
>
> Well, I don't see what could be done else here on emacs-devel. What do
> you expect us to do else?
>

Oh, I was just reporting my findings. Not much you can do except keep in
mind people *do* call various emacs api on buffer-file inside :lighter or
even inside the function that has to decide wether a mode should be on or
off, so the emacs api should be resilient to errors reguarding this.
Currently it fails kinda catastrophically when you don't check with
`file-remote-p` beforehand (emacs hang and one has to furiously press C-g
or C-c to get emacs back, and often this is not sufficient as any command
you want to type hangs again, so one has to quit).

Philippe

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

  reply	other threads:[~2017-03-27 15:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 17:49 bug#19636: [TRAMP] global minor mode hangs connection when accessing files in :lighter Philippe Vaucher
2015-01-21 16:15 ` Michael Albinus
2015-01-21 17:40   ` Philippe Vaucher
2015-01-22 11:07     ` Philippe Vaucher
2015-01-25 19:40     ` Michael Albinus
2015-01-25 20:15       ` Philippe Vaucher
2015-01-25 21:10         ` Michael Albinus
2015-01-25 21:47           ` Philippe Vaucher
2017-03-25 20:43   ` Philippe Vaucher
2017-03-27 13:36     ` Michael Albinus
2017-03-27 15:46       ` Philippe Vaucher [this message]
2017-07-14 13:12         ` Michael Albinus
2017-07-21 12:56           ` Philippe Vaucher

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='CAGK7Mr7aiekabY=P+DZXjra=8Te+Fc54kb0VDp-JWiMCiBUOkQ@mail.gmail.com' \
    --to=philippe.vaucher@gmail.com \
    --cc=19636@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.