From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.bugs Subject: bug#7291: 24.0.50; `non-essential' is incomprehensible Date: Thu, 28 Oct 2010 13:33:15 -0400 Message-ID: References: <9499566E643B466092A98013C6826011@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288287820 19356 80.91.229.12 (28 Oct 2010 17:43:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 17:43:40 +0000 (UTC) Cc: 7291@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 28 19:43:39 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PBWVY-0007s3-JT for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Oct 2010 19:43:37 +0200 Original-Received: from localhost ([127.0.0.1]:45092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBWVR-0001AE-8t for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Oct 2010 13:43:17 -0400 Original-Received: from [140.186.70.92] (port=52926 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBWVL-00019M-5K for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2010 13:43:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBWVF-0001G6-OJ for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2010 13:43:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBWVF-0001G1-IB for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2010 13:43:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBWNR-0002VC-Tv; Thu, 28 Oct 2010 13:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: James Cloos Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Oct 2010 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7291-submit@debbugs.gnu.org id=B7291.12882872449608 (code B ref 7291); Thu, 28 Oct 2010 17:35:01 +0000 Original-Received: (at 7291) by debbugs.gnu.org; 28 Oct 2010 17:34:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBWMW-0002Uv-55 for submit@debbugs.gnu.org; Thu, 28 Oct 2010 13:34:04 -0400 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBWMS-0002UZ-V3 for 7291@debbugs.gnu.org; Thu, 28 Oct 2010 13:34:01 -0400 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id E484D400E5; Thu, 28 Oct 2010 17:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1288287489; bh=jvPCoE8Ah+v+p3t/EHU0yaxTjUwWJrKeerBsUsZyztI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=A0ZJ7GLGt8Duq8pIzALwOa+jN98ioDLDeOS6gcyJlsg2zGmj93+j2mLjaxE8YudLb J4BuH4K9jMg5qggk2q6R11IGfXyChnKaTwq+dArc6bq3snBuEAgITjQxX04w8JeGF8 +cuRtWELFoMKGEM2bYoCA7aqyyc6Fa+44ipS7RBQ= Original-Received: from carbon (localhost [127.0.0.1]) by carbon.jhcloos.org (Postfix) with ESMTP id BA15A1E9E21; Thu, 28 Oct 2010 17:33:15 +0000 (UTC) In-Reply-To: <9499566E643B466092A98013C6826011@us.oracle.com> (Drew Adams's message of "Wed, 27 Oct 2010 15:30:30 -0700") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 40 X-Hashcash: 1:30:101028:drew.adams@oracle.com::Vk+awnc8qN2Hb/YE:000000000000000000000000000000000000000kDlED X-Hashcash: 1:30:101028:7291@debbugs.gnu.org::eziKdNBWrHVqgPol:0000000000000000000000000000000000000000r/y2+ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 28 Oct 2010 13:35:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41199 Archived-At: >>>>> "DA" == Drew Adams writes: DA> Variable `non-essential' was introduced in Emacs 24. DA> The name is bad - doesn't say anything. Non-essential wrt what? DA> The doc is bad: DA> "Whether the currently executing code is performing an essential DA> task. This variable should be non-nil only when running code which DA> should not disturb the user. E.g. it can be used to prevent Tramp DA> from prompting the user for a password when we are simply scanning a DA> set of files in the background or displaying possible completions DA> before the user even asked for it." [Just translating between english and english here -JimC] Seems clear here. If the variable is nil tramp will be happy to do user-interactive stuff, such as prompting the user for a password. But tramp would prefer that the variable be set to non-nil in any function which does remote work which will not require such user- interaction. DA> So does nil mean the code is performing an essential task? Or does DA> non-nil mean that? What's an "essential task"? A task that should DA> disturb the user (because it is important) or a task that should not DA> disturb the user? I think you are thinking about it the wrong way -- or at least sufficiently differently than the authors as to fail to see their meaning. (Please do not take that as a flame.) Don't think "importance" but rather "will this require user interaction to succeed?". And set to nil if it will require user interaction to succeed. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6