From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Date: Mon, 16 Jul 2018 17:55:31 +0200 Message-ID: <87pnzni39o.fsf@gmx.de> References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> <87a7qrkzg9.fsf@gmx.de> <83sh4j8ak8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531756448 16126 195.159.176.226 (16 Jul 2018 15:54:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 15:54:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 32169@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 17:54:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ff5p5-00046D-Gi for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 17:54:03 +0200 Original-Received: from localhost ([::1]:52544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5rC-0003kv-Jm for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 11:56:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5r6-0003kf-Ak for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:56:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff5r1-0002mX-Fv for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:56:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ff5r1-0002mO-Bi for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ff5qz-0001Dd-UT for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:56:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.15317565424651 (code B ref 32169); Mon, 16 Jul 2018 15:56:01 +0000 Original-Received: (at 32169) by debbugs.gnu.org; 16 Jul 2018 15:55:42 +0000 Original-Received: from localhost ([127.0.0.1]:43952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff5qg-0001Cx-BR for submit@debbugs.gnu.org; Mon, 16 Jul 2018 11:55:42 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:42181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff5qe-0001Ck-8r for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 11:55:40 -0400 Original-Received: from detlef.gmx.de ([178.20.90.217]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LaWlT-1gKQXK16Ex-00mKFc; Mon, 16 Jul 2018 17:55:33 +0200 In-Reply-To: <83sh4j8ak8.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Jul 2018 18:28:07 +0300") X-Prov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f31/krMI+V9wx4zDh4foUccdj X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:148578 Archived-At: Eli Zaretskii writes: Hi Eli, >> > How about having thread-last-error clear the error as a side effect, >> > perhaps when called with an optional argument? > > Should be easy to do, I think. [...] > I was certain we had on master a function ti return the main thread, > but I guess I was dreaming. We could easily add it, though. Do you want to do it, or shall I? I know, you are overloaded ... master or emacs-26 branch? I believe threads are not used widely, so we won't break any code with Emacs 26. > In any case, I think it could be a good idea to describe this > technique in the ELisp manual. Will do, once the changes above have arrived. >> PS: Maybe I shall push this to a git branch, giving people a chance for >> early tests. `find-file-noselect' survives already in simple cases, w/o >> an Emacs crash. > > SGTM, thanks. Later this week. Tomorrow, or on Wednesday, I'll be busy with merging shadowfile.el. Best regards, Michael.