From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.bugs Subject: bug#19636: [TRAMP] global minor mode hangs connection when accessing files in :lighter Date: Thu, 22 Jan 2015 12:07:46 +0100 Message-ID: References: <87d268jejx.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1421925040 8547 80.91.229.3 (22 Jan 2015 11:10:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 11:10:40 +0000 (UTC) Cc: 19636 <19636@debbugs.gnu.org> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 22 12:10:40 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YEFep-0005He-Tg for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2015 12:10:40 +0100 Original-Received: from localhost ([::1]:52367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEFep-000090-5j for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2015 06:10:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEFdK-0005vL-Ti for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 06:09:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEFdG-0004dW-S1 for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 06:09:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEFdG-0004dS-Lv for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 06:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YEFdG-0000Fr-6I for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 06:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philippe Vaucher Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jan 2015 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19636 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19636-submit@debbugs.gnu.org id=B19636.1421924904929 (code B ref 19636); Thu, 22 Jan 2015 11:09:02 +0000 Original-Received: (at 19636) by debbugs.gnu.org; 22 Jan 2015 11:08:24 +0000 Original-Received: from localhost ([127.0.0.1]:52345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YEFcd-0000Eu-QM for submit@debbugs.gnu.org; Thu, 22 Jan 2015 06:08:24 -0500 Original-Received: from mail-oi0-f41.google.com ([209.85.218.41]:49898) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YEFcc-0000Ec-Eg for 19636@debbugs.gnu.org; Thu, 22 Jan 2015 06:08:22 -0500 Original-Received: by mail-oi0-f41.google.com with SMTP id z81so766177oif.0 for <19636@debbugs.gnu.org>; Thu, 22 Jan 2015 03:08:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CCFY88A9gmfcE4DzB4rCxIPXrjcEdiy4blYhEit+8EQ=; b=NnE4O7vRUjPkA5P/T9r6hO1iycvojCqI0fOKV9PxAJsYI0oaVfrxp7e2RX0JA+ttbg ag/AmxSKabOHZ5KMc6EvGoxxlWaIzGZMkHyjQWhZ4YOva1Ok9F0gMhqRH18ox6eVUVDx 2z6sxPFo4/vMob61ebevbGH4Pbhc073IJjmIad5GIzXk+wLWT98OyMbrX71kf08Jxd10 48rUyW1fEiBAJyL353agJrlz8WJZBBYlFozdq2H23gbgb2M63oODqsR3tRJnF/3XHHGe 9Ds3Fd4tA+aRT6F6K41BclVgsdph0nTiZVVRa9PH0Adr5Q5JruNg/UGt7Kgs0uJC9MSJ g+qg== X-Received: by 10.182.87.202 with SMTP id ba10mr515012obb.22.1421924896867; Thu, 22 Jan 2015 03:08:16 -0800 (PST) Original-Received: by 10.202.229.4 with HTTP; Thu, 22 Jan 2015 03:07:46 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98579 Archived-At: > Yes, it would be nice to be able to avoid that. The real world problem > where this happens is for `projectile-mode`, a global minor mode that > tries to detect wether you are in a project for every buffers. The > final solution will probably involve avoiding detection in buffers > where there's a process, even tho it'd make sense for the mode to work > in these buffers as well. Basically the mode displays in which project > you're in and sets up keybindings for naviguating files in this > project, hence the use of :lighter in the mode, which checks for > project root files (e.g .git/Gemfile/etc) in `default-directory` (and > parents) for the current buffer in order to determinate the project > name. Just for clarifications, the new processes involved where this bug happens is when you invoke "git fetch" when using magit or when doing things like "M-& service nginx restart" over TRAMP. Philippe