From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: Introducing thread-safe Tramp Date: Mon, 06 Aug 2018 21:32:49 +0300 Message-ID: References: <8736wa9c5s.fsf@gmx.de> <87sh44pisz.fsf@gmx.de> <87a7qbitc7.fsf@gmx.de> <878t5tdsfc.fsf@gmx.de> <83wotcpzub.fsf@gnu.org> <87bmaiuwml.fsf@gmx.de> <877el6uwio.fsf@gmx.de> <83bmaitbwu.fsf@gnu.org> <87a7q2w4gd.fsf@gmx.de> <838t5mt9wb.fsf@gnu.org> <87muu2w2c2.fsf@gmx.de> <83600qt8mi.fsf@gnu.org> <87in4qw1fl.fsf@gmx.de> <834lgat6fy.fsf@gnu.org> <87effevy41.fsf@gmx.de> <83zhy2rnef.fsf@gnu.org> <871sbdw389.fsf@gmx.de> <83y3dksvhy.fsf@gnu.org> <87d0uvwysw.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533580308 15094 195.159.176.226 (6 Aug 2018 18:31:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 18:31:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: Eli Zaretskii , drew.adams@oracle.com, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 20:31:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmkIA-0003pD-Ch for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 20:31:43 +0200 Original-Received: from localhost ([::1]:35751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmkKH-0008RK-5p for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 14:33:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmkJO-0008R9-Q9 for emacs-devel@gnu.org; Mon, 06 Aug 2018 14:33:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmkJN-0004F9-Tq for emacs-devel@gnu.org; Mon, 06 Aug 2018 14:32:58 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57763) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fmkJK-0004AE-3C; Mon, 06 Aug 2018 14:32:54 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 771BD21C1A; Mon, 6 Aug 2018 14:32:52 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 06 Aug 2018 14:32:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=TDWOTwFBEQIzD86qeSRKyirLYzgJl2tpswlv805A0KY=; b=pzrlVCLf 5r9HTSZFGlU3MxFDQ7qYE3TzAggTbluE2acMqTq/Hbgqz8J7tbaOkAoSDNU7nClE loNqW9cUg3Zw2e783aHuYC/rbdwn7YpJxLk90CoPLcwGuUgBUiE69ZDQkLgmAmRy L0nKSa75rsnCDhM5LCp6esxduMU86rm2oxfweCLy/rc+c/56VTC+V2t8cpC6o3/g Gf6oM8yMBVy5Ki/XY5E3Z1LrgKO9RrU+wl6o9m3eYeAX5nI73PwGF7BXU/SxWcrE lZZcWXJcKyKiV9PtAfx/0cGIKGozZ1pDojJ7L8UI3h68/2HNIeePE9D0Y5bck3Nq 8gWQ/Ys+bL8xpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=TDWOTwFBEQIzD86qeSRKyirLYzgJl 2tpswlv805A0KY=; b=AaFwEy9h3kPz3roem5YufzBVy0B6sLucCQGfRwKdk4rdr VVxe7ptoZVY2V0CGWjGr+QNlF5DWvnTgppg4sdU8CZmzFQ1WdjevoxWcKwP0f+Ij r44W8ufNwJVG5x01BBB5aEwGpA+ti06ManunB/N0l5NeCj/tNiNFW3SAHbRofZkD UJVp6eS4Gp8kkYpj8R6UEACA9D7g+uZAED+30sfSF3kb1Hl2j354LY+6AYSMqCdr KZlaX6OI8eHYjtsRE+6Euc9A9vFIcXM3c21gep98nqx1HRIF6pQh5hOqbQo229OW Eg5yb3n6zlzscO6qMBhoUzhyAwjR4bp2W83SN/e2g== X-ME-Proxy: X-ME-Sender: Original-Received: from fgunbin.playteam.ru (unknown [94.25.218.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 2AAABE461E; Mon, 6 Aug 2018 14:32:51 -0400 (EDT) In-Reply-To: <87d0uvwysw.fsf@gmx.de> (Michael Albinus's message of "Mon, 06 Aug 2018 12:54:07 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228238 Archived-At: Thanks for your work on the thread-safe Tramp and async feature! Minor comments for the current branch: files.texi: +If this option is @code{nil} (the default), visiting a file is +performed synchronously. A regexp value let files, which name matches ^^^ lets NEWS: +If the new user option 'execute-file-commands-asynchronously' has a +proper non-nil value, interactive file visiting commands load the file +asynchronously into the respective buffer. I.e., Emacs is still It'd be useful to elaborate a bit on what is 'proper'. The case of regexp value is particularly important for users to know, I think. This is present in variable docstring, yes, but not here. lisp/simple.el: +(defvar universal-async-argument nil + "Non-nil indicates a command to run asynchronously when called interactively. ^^^^^^^^^^^^ that a command should? +(defun universal-async-argument () + "Execute an interactive command asynchronously." [..] + (when (memq cmd '(universal-argument digit-argument)) + (call-interactively cmd) What about negative-argument? Filipp