From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 07:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 32169@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15317255463670 (code B ref -1); Mon, 16 Jul 2018 07:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2018 07:19:06 +0000 Received: from localhost ([127.0.0.1]:42244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fexmj-0000x8-U8 for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:19:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fexmi-0000wd-CU for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fexmb-0002mA-Ho for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:18:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48591) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fexmb-0002m5-ED for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:18:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fexmZ-0005G7-KF for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 03:18:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fexmV-0002k8-Hl for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 03:18:55 -0400 Received: from mout.gmx.net ([212.227.15.15]:41255) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fexmV-0002jV-5o for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 03:18:51 -0400 Received: from detlef.gmx.de ([178.20.90.217]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LfSeH-1gPdKq0fCj-00p4jh for ; Mon, 16 Jul 2018 09:18:49 +0200 From: Michael Albinus Date: Mon, 16 Jul 2018 09:18:48 +0200 Message-ID: <87pnzn1wdj.fsf@gmx.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:tFL569ZRTDtZYQI9qQCsT8MQQbvNz3OIHQ6Wp1UDd4IjxCBuZXz tcNQvXpJkGHCKBHQvg3lGbRohOc0Eav47eS3nK0cKL9XVvUCFMciXCyq/RpeRqFiMX169fM GY5Z+aB6UJ/9esDjUFJyTZz9BoziYp6fuPBJWZ0q9DGitFxrtrm2U3N94DrzXpfnJWgR47w 7RdE2WZcHT2d81Wl2WF1A== X-UI-Out-Filterresults: notjunk:1;V01:K0:ijR6c6uV5Gw=:OaDAseVJpC7L7vq3tvzDK2 m3JOG2/8wYykZMCQWpwSapvr1J/hXBHOzmHFmOD9lfyVGVzMW47jGG1s/3/OYWWWxGM6zA5ng /GpWzeMaX4hN1TvjJCex4JBVnRbLMSFr+k6rJMRuzQfMyvmAX3RBfFMcKrsAiBHzLX/oOYVJX 42c19XsJnz5/mn2BL0pHoYVVoQ2KdVOA1VCk0x481/vM6vBzCHRtBSLhkreqmzHhHxl0iQjrL HjfLX6205+doQs+xppRSNQvY2lOOL7mmZaQh2xg+qIL7/AD6mnVzCvUizL9MJrmrFHYzBUyWy QiLO342fE6K/g9ONc72xMwzVjQz2ZiJxS/iNAmfXOkk9eOpfkJmsmunoVZMRlLlHQ+/56ZiLy 5BIyMCh39UP7kF0DSFccJGdrF/9lI0fAjbbRoR3JMQ9TJZo462hYtSf6pXjXdmPsNTLrxGJOC BoG3HEkaUFknrVdfntLjJkOVviYbXCdE/Dg4s4XtH0z0xmiJ5QPIP1UcY0VRs/VzyWHSZD/MM 4merc32RRIQmW4I9D1+h2zpzYOdIfCt6YZLzYH9exnEeVP1RR7EX1H3bwkoo0ooiK7O4qbHJq ofqxPInc88PnhwiQX94azDxfbKOhnmBmzGKzUO6JyON5uEMm241Uh+LLTRi2wcdAoUXUD5jkm 2jD7aejtjsebXgNxWQLXuxSQNULTIDytUpSK0iHkxoSU5taTXtnqyD5uVHiLGxwHmQp89o9YL Ov4S2QMT7/6z6T2cLhpDP9ZIVwNjo9hGmE+kRz3dtZqGrGctTSgUKPNMZPl6/kgNSbY37vnJJ FAs980B X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) When a thread has died, `thread-last-error' reports the reason. But there is no possibility to cleanup this last error, which makes it inconvenient to check for errors in further threads. A function `cleanup-thread-last-error' or alike would be helpful. Or this functionality exist already, and I haven't been able to discover. In GNU Emacs 27.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-07-14 built on detlef Repository revision: 155d7303808345dd73427302d9a352ec5461c11a Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04 LTS Recent messages: Mark set Mark saved where search started Mark set Mark saved where search started [2 times] Quit [3 times] Grep finished with 5 matches found Current locus from *grep* Grep finished with 40 matches found Mark set [2 times] Current locus from *grep* Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8 Major mode: C/*l Minor modes in effect: diff-auto-refine-mode: t erc-notify-mode: t erc-notifications-mode: t display-time-mode: t shell-dirtrack-mode: t icomplete-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: /home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-org /home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-gnu /home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs /home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-autoloads /home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-pkg /home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-browse ~/lisp/telepathy hides /home/albinus/.emacs.d/elpa/telepathy-20131209.458/telepathy /home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-autoloads /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-pkg ~/src/tramp/lisp/tramp-smb hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-smb ~/src/tramp/lisp/tramp-uu hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-uu ~/src/tramp/lisp/tramp-adb hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-adb ~/src/tramp/lisp/tramp-compat hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-compat ~/src/tramp/lisp/tramp-archive hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-archive ~/src/tramp/lisp/tramp hides /usr/local/share/emacs/27.0.50/lisp/net/tramp ~/src/tramp/lisp/trampver hides /usr/local/share/emacs/27.0.50/lisp/net/trampver ~/src/tramp/lisp/tramp-ftp hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-ftp ~/src/tramp/lisp/tramp-cmds hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-cmds ~/src/tramp/lisp/tramp-gvfs hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-gvfs ~/src/tramp/lisp/tramp-loaddefs hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-loaddefs ~/lisp/dbus hides /usr/local/share/emacs/27.0.50/lisp/net/dbus ~/src/tramp/lisp/tramp-sh hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-sh ~/src/tramp/lisp/tramp-cache hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-cache Features: (shadow sort mail-extr warnings emacsbug message rmc puny rfc822 mml mml-sec epa gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils find-dired grep compile macrostep-c cmacexp macrostep cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-stamp misearch multi-isearch noutline outline tramp-tests tramp-cmds files-x vc-hg vc-bzr ert-x ert find-func ewoc debug vc-git diff-mode easy-mmode bug-reference elec-pair erc-notify erc-networks erc-desktop-notifications erc-match notifications dbus xml erc-goodies erc erc-backend erc-compat thingatpt pp erc-loaddefs cperl-mode time tramp-sh kubernetes-tramp lxc-tramp docker-tramp tramp-cache vagrant-tramp dash term disp-table ehelp tramp trampver tramp-compat tramp-loaddefs ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice ido jka-compr icomplete paren vc vc-dispatcher dired dired-loaddefs time-date mule-util rx edmacro kmacro slime-autoloads info finder-inf package let-alist derived pcase cl-extra help-mode easymenu url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq byte-opt gv bytecomp byte-compile cconv epg epg-config subr-x cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 565273 73857) (symbols 48 40363 1) (miscs 40 117 479) (strings 32 79903 4696) (string-bytes 1 2431472) (vectors 16 59168) (vector-slots 8 1758716 193976) (floats 8 102 461) (intervals 56 3007 99) (buffers 992 19)) From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 14:35:02 +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: To: Michael Albinus Cc: 32169@debbugs.gnu.org Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.153175165928376 (code B ref 32169); Mon, 16 Jul 2018 14:35:02 +0000 Received: (at 32169) by debbugs.gnu.org; 16 Jul 2018 14:34:19 +0000 Received: from localhost ([127.0.0.1]:43894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff4Zv-0007Nc-6q for submit@debbugs.gnu.org; Mon, 16 Jul 2018 10:34:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff4Zt-0007NP-Gg for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 10:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff4Zk-00047x-ES for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 10:34:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff4Zk-00047p-9z; Mon, 16 Jul 2018 10:34:08 -0400 Received: from [176.228.60.248] (port=4275 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ff4Zj-0002PD-PR; Mon, 16 Jul 2018 10:34:08 -0400 Date: Mon, 16 Jul 2018 17:34:17 +0300 Message-Id: <83wotv8d1y.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87pnzn1wdj.fsf@gmx.de> (message from Michael Albinus on Mon, 16 Jul 2018 09:18:48 +0200) References: <87pnzn1wdj.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Michael Albinus > Date: Mon, 16 Jul 2018 09:18:48 +0200 > > > When a thread has died, `thread-last-error' reports the reason. But > there is no possibility to cleanup this last error, which makes it > inconvenient to check for errors in further threads. A function > `cleanup-thread-last-error' or alike would be helpful. How about having thread-last-error clear the error as a side effect, perhaps when called with an optional argument? (Btw, I'd rather we made error reporting in non-main threads much more solid than what we have now.) From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 14:50:02 +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: To: Eli Zaretskii Cc: 32169@debbugs.gnu.org Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.153175259129730 (code B ref 32169); Mon, 16 Jul 2018 14:50:02 +0000 Received: (at 32169) by debbugs.gnu.org; 16 Jul 2018 14:49:51 +0000 Received: from localhost ([127.0.0.1]:43907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff4ox-0007jS-5d for submit@debbugs.gnu.org; Mon, 16 Jul 2018 10:49:51 -0400 Received: from mout.gmx.net ([212.227.15.19]:59505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff4ow-0007jD-CK for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 10:49:50 -0400 Received: from detlef.gmx.de ([178.20.90.217]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MhAAr-1fSCnu2qll-00MMj2; Mon, 16 Jul 2018 16:49:43 +0200 From: Michael Albinus References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> Date: Mon, 16 Jul 2018 16:49:42 +0200 In-Reply-To: <83wotv8d1y.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Jul 2018 17:34:17 +0300") Message-ID: <87a7qrkzg9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:wdn9cvNwWf3t2WYpawzk/pmcF138jzKPf5K4xbJ6Ssn5tPk1Xy8 ooRhuaNumjynGLav4UCV2fuCSEFDLW6e40deTsWkhQQbtgh9duaLyzCbRvq8QomjNTymlPF io3Ygck+9RnwgMIpPrMM02usbRTqBUEZ5kq6db0bnuepBiciWTPZ+695uqqapfdxdaAPQbe M9WoDO29KcjhXAY9jtkbA== X-UI-Out-Filterresults: notjunk:1;V01:K0:gmswtoKs5pk=:wqK5EThtcqkBwc+38cQbzl BP4Z0GRwhzd1hohOMMC3tWaEM4EjJhE48mgKy5d8tldiwXZ1P+3CL5qE8AZqZ9IqLPtLJjfdA HVc13ZFhpPP6OyxKk4VobdPtHdd4lopstz9Y/WyR+oCj3O0eNERPgr/urr3R9cZnEKqmMgJH2 GC3fyZaKgDmNd6b8QpMnxy/K8U6dkqmFQvUHTN90OW3TQZLnxblBRhKAJJFF+I4HzbmBG9kDp HBcvtfy1vTmEsTMdnDYGIIXExFFA8Q6x+0uL5xbgrTEIS5PBbHYzN4qsAdNRPnUi5sbrVdzMh KVgSzkD3IoqURdLAW9Sd7+EYyk8bNRUmB9Cp0eoMSknG1IJouHdSlSECDTOdLka7dhLSUnpYz 21uY1ceoD0oaX3NSrC30NKRiqasLVzBh+EeNNItZKYbTEZPQImTzH8THCV/1kRctCLImsa2kB RCU9mIz4K1y9edlcSqbg6W2WU+kK1LFknv1wsRqNn/YvP5U6DFB//LCyB6pYvdMZg456ttWCg cpNhavW6LUX6igbvQNhJujQvp12BjldU30TvnfDxMDwS6r6wY4ib9C0mN1rxe59vJWUOkYHXk kw4OKS9q2SRoKZof7G3uygMsw2MVE+hEidy1kkPv5CsO+NAsYLIMTbaZh+i1/YgL1Y+1FvMmo aixXGpA85/6AOqygsiC9VZbbllTNPGBR5NM7E4WncXh8m7KJqTE0Lzaxpa3iNH1vmlYW0MESE PWVdQGF3v8Qtx0V+cFYJ56t7dRM2tZSJFGz104H4fgIaX9fKdkeDEqWsNs1WgNRWilp/Zveda kQMl5pm X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> When a thread has died, `thread-last-error' reports the reason. But >> there is no possibility to cleanup this last error, which makes it >> inconvenient to check for errors in further threads. A function >> `cleanup-thread-last-error' or alike would be helpful. > > How about having thread-last-error clear the error as a side effect, > perhaps when called with an optional argument? I'd be happy with either variant. > (Btw, I'd rather we made error reporting in non-main threads much more > solid than what we have now.) While working on making Tramp threadsafe, I use the following instead of `signal': (defsubst tramp-compat-signal (error-symbol data) "Signal an error to the main thread." (when tramp-compat-main-thread (tramp-compat-funcall 'thread-signal tramp-compat-main-thread error-symbol data)) (signal error-symbol data)) Works sufficient so far. `tramp-compat-main-thread' is a defconst, which has as value (car (all-threads)). And `tramp-compat-funcall' is a Tramp internal macro, good for backward compatibility with Emacs 24 and 25. Best regards, Michael. 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. From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 15:29: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: To: Michael Albinus Cc: 32169@debbugs.gnu.org Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.15317548901057 (code B ref 32169); Mon, 16 Jul 2018 15:29:01 +0000 Received: (at 32169) by debbugs.gnu.org; 16 Jul 2018 15:28:10 +0000 Received: from localhost ([127.0.0.1]:43935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff5Q2-0000Gy-AQ for submit@debbugs.gnu.org; Mon, 16 Jul 2018 11:28:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff5Q0-0000GU-HM for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 11:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff5Ps-0006H6-4Q for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 11:28:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5Pr-0006Gs-Pt; Mon, 16 Jul 2018 11:27:59 -0400 Received: from [176.228.60.248] (port=3624 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ff5Pr-00018k-3v; Mon, 16 Jul 2018 11:27:59 -0400 Date: Mon, 16 Jul 2018 18:28:07 +0300 Message-Id: <83sh4j8ak8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87a7qrkzg9.fsf@gmx.de> (message from Michael Albinus on Mon, 16 Jul 2018 16:49:42 +0200) References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> <87a7qrkzg9.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Michael Albinus > Cc: 32169@debbugs.gnu.org > Date: Mon, 16 Jul 2018 16:49:42 +0200 > > > How about having thread-last-error clear the error as a side effect, > > perhaps when called with an optional argument? > > I'd be happy with either variant. Should be easy to do, I think. > While working on making Tramp threadsafe, I use the following instead of > `signal': > > (defsubst tramp-compat-signal (error-symbol data) > "Signal an error to the main thread." > (when tramp-compat-main-thread > (tramp-compat-funcall > 'thread-signal tramp-compat-main-thread error-symbol data)) > (signal error-symbol data)) > > Works sufficient so far. `tramp-compat-main-thread' is a defconst, which > has as value (car (all-threads)). 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. In any case, I think it could be a good idea to describe this technique in the ELisp manual. > 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. From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error 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: To: Eli Zaretskii Cc: 32169@debbugs.gnu.org Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.15317565424651 (code B ref 32169); Mon, 16 Jul 2018 15:56:01 +0000 Received: (at 32169) by debbugs.gnu.org; 16 Jul 2018 15:55:42 +0000 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 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 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 From: Michael Albinus References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> <87a7qrkzg9.fsf@gmx.de> <83sh4j8ak8.fsf@gnu.org> Date: Mon, 16 Jul 2018 17:55:31 +0200 In-Reply-To: <83sh4j8ak8.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Jul 2018 18:28:07 +0300") Message-ID: <87pnzni39o.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:1ViO7RG9/E6I2vl/mPQD3KAZv0kwAXFdl0vx/yaIkvbvoamDL2A wK+RLhsJPljGkro3GcSTBk0myoaQ7MZ9Y4GiYhJWsucXjIXRDJADbTDRg8KH6obnDlJaZ3m 8yS8RJLtLwsQCeisXbhhO4vS5X8NIs5PV8efXafv0jV/lSYrvBjpBG7wvqT1r6HJ9HSPLk3 XMa7uVEPXHqQrhLKu04Pg== X-UI-Out-Filterresults: notjunk:1;V01:K0:Lq7uAPetxLI=:zwlxGKG3oUIuZdAvZN1IDJ pzvprrtKLpISgmnz3hONgyzy1R9jpbllPgyiN4Jbb4sOFv5bZnU5RO6mbpWFzZrLfUHRlRjg8 UODdUaCswmwrfsUtvZIyPngnr17HBSj1Opfa1Z4Ybm8DVisCF4EiEUWy00dObteojtBHq+dnI LNCMT46Fm42eKkzGBJXNHvpVYo/9FEIbJqqT6COnLC6dRW1TOVfgaGOE5nQRoMajCqr3mraBt NBOK5dE+XnmL09JVYDFPv4OxmVBPg1uN0wVOiJELYHxL1VRA03I0pqLn15Qz/bCV2RhOSQgir LdF7Y8jWEJotgf6zwU0rTUPbneUb72sEgwRcq9o2RlckMBg2m9NAB5wE8NuauaVIR5ob7CmXR 9LviUcEW7sD1UscAbhSuIkf0idZNHR+Zx7Gnrhi4u7vq1xpW+dndOoF61tEIm58qWtZIxmrWl FGP8W4+rbRw7dRnKQWBasdx4PH+9zQCuBiEIkD8QVjIxVcO0xKvOXbGEruGAQik7b0aIXcK9h dUn6lqgsgONFn/hYaTp2R/jDHLS0yy9m4WNLUUbKjLq0zUBGtwTidDUGThN4C4niBR5aD55wB +OPaFjUUFv9N2KebsZJH+AvMXDZUwBhiAdZYUGw4OPt4PPTUtgoZulTznvYEoqy1t/nIjyQfU wT69HW2tO1R+VG5iaJ/kDkwx9dNEgN0DnbNWTyXKaY3EHqveHw+y0oB2p/5b1i1j8tacrZOVO RHVagrC5oeGfBRGnOSHVlzyX9PryzjAoOxoUtW4Vazvw2/8f31/krMI+V9wx4zDh4foUccdjY Sd/xMwh X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 18:04: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: To: Michael Albinus Cc: 32169@debbugs.gnu.org Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.153176420216588 (code B ref 32169); Mon, 16 Jul 2018 18:04:01 +0000 Received: (at 32169) by debbugs.gnu.org; 16 Jul 2018 18:03:22 +0000 Received: from localhost ([127.0.0.1]:44013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff7qE-0004JT-2I for submit@debbugs.gnu.org; Mon, 16 Jul 2018 14:03:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff7qB-0004JG-Jk for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 14:03:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff7q3-0005L3-Ai for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 14:03:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff7q3-0005Kz-7F; Mon, 16 Jul 2018 14:03:11 -0400 Received: from [176.228.60.248] (port=1234 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ff7q2-0005qn-NW; Mon, 16 Jul 2018 14:03:11 -0400 Date: Mon, 16 Jul 2018 21:03:20 +0300 Message-Id: <83lgab83dj.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87pnzni39o.fsf@gmx.de> (message from Michael Albinus on Mon, 16 Jul 2018 17:55:31 +0200) References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> <87a7qrkzg9.fsf@gmx.de> <83sh4j8ak8.fsf@gnu.org> <87pnzni39o.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Michael Albinus > Cc: 32169@debbugs.gnu.org > Date: Mon, 16 Jul 2018 17:55:31 +0200 > > >> > 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 ... Feel free. > master or emacs-26 branch? I believe threads are not used widely, so we > won't break any code with Emacs 26. That's true, but then no one really waits for those new features, so maybe master after all. > > 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. Thanks. From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 18:21: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: To: Eli Zaretskii Cc: 32169@debbugs.gnu.org Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.153176522618264 (code B ref 32169); Mon, 16 Jul 2018 18:21:01 +0000 Received: (at 32169) by debbugs.gnu.org; 16 Jul 2018 18:20:26 +0000 Received: from localhost ([127.0.0.1]:44026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff86k-0004kV-Kg for submit@debbugs.gnu.org; Mon, 16 Jul 2018 14:20:26 -0400 Received: from mout.gmx.net ([212.227.15.19]:46713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff86i-0004kG-4p for 32169@debbugs.gnu.org; Mon, 16 Jul 2018 14:20:24 -0400 Received: from detlef.gmx.de ([178.20.90.217]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MF5FT-1fqwjz3wUd-00GJLL; Mon, 16 Jul 2018 20:20:17 +0200 From: Michael Albinus References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> <87a7qrkzg9.fsf@gmx.de> <83sh4j8ak8.fsf@gnu.org> <87pnzni39o.fsf@gmx.de> <83lgab83dj.fsf@gnu.org> Date: Mon, 16 Jul 2018 20:20:16 +0200 In-Reply-To: <83lgab83dj.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Jul 2018 21:03:20 +0300") Message-ID: <87k1pvhwkf.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:YZFJ1sQYlXF0pA0U9fidYgLslEX+i3e/To8GJFdn8hwogFxwwfV jeiQodihD0bao9dQYVl59jjtZHyhWLu81/WHrefpxHcudPIeOalUjgHY1HxRml4/NyWoOwF gg5snCqEnhzpHnSz2RYGg8ZCMJrS8IKPsix1YarRvNBh8bSYDc6/II1viZ3bUJUWFZBeY4o LzQxJvpSdvm8cI7kEBPIQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:TKFoAFioNgo=:pqlcd2F6sGyhrlX2YDKI1i /WPXNY1CC4utMRdygjR8G1n8u4UuGIIcZ1edp94cVw8/i1aD5yC3kGUK/nXTmm1XHs80fe35m WKu8ks2sLN9nGBbjW2+aSEoAkIJyHtU1jZhPufcSBCWe8QWRWn6IgQvkH6q492vrH8je1U72q 4SKPMMF2mZPWO/veN6rq24mfqLwHpkLTDimyqI6sUVNV+WMS4cfmY10Cb81k5hr7PsjyN2k0w CYKFY3CkUEFwFaQUp3rwegkTrKufpQmGpnGvdtdltvu6N6F3oRpgwESYWJVc4SvNVcB/B7R5I +ObQI+2Zlu3eUHT+TIJRHY1H0wkrWrpJOxztVglVv1dvuX8IaBsFzJ4piPrLtajVU2K2cQuk5 Wq+lL6NjPHpw+6rOMXmy9N+dXTJpXwv1TAi8s7yejTDztyOMrg6IucqRc3s0l1BPd97xS1zjq 4uQCdtNQMB/dU40jN8TuFYNsXNUGCCk6z2EORFO68OPdmtJHPjd5qY3xR9gDUQ6QtDGb1Ooqt cMkRx3eOtt8zFDxCSEFFzdW8XRHQ8plLxgHExxKRyEQXaSzpjzWW0egJ3e/JA+IzdVP9btSKd OWxawRyaGnKvECwnyWh1XatsmqlN9MwpAtJZeHeoZ399bIhMx9fZAfewEmiCpw8VZfXboguXi SuDGpq7Jp+rpfHd/NPHW6HPR7WnR99DV8kqxVFVWzk18zCuN4hC7BkgNWumukEcDb2K/2peEi ZZlpkiSCfoGuB7s56GaJzlSf4WP2NoPkQMFkL2pZ39n5PIBqNnmUNS7mP9Tn72NUtF95RCX7C SAzSVXp X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: >> Do you want to do it, or shall I? I know, you are overloaded ... > > Feel free. Will do tomorrow. >> master or emacs-26 branch? I believe threads are not used widely, so we >> won't break any code with Emacs 26. > > That's true, but then no one really waits for those new features, so > maybe master after all. OK. Btw, the changes in Tramp were not intended for Emacs 26. Too heavy. > Thanks. Best regards, Michael. From unknown Sun Jun 22 00:16:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Michael Albinus Subject: bug#32169: closed (Re: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error) Message-ID: References: <87lgaaqiro.fsf@gmx.de> <87pnzn1wdj.fsf@gmx.de> X-Gnu-PR-Message: they-closed 32169 X-Gnu-PR-Package: emacs Reply-To: 32169@debbugs.gnu.org Date: Tue, 17 Jul 2018 10:06:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1531821962-7009-1" This is a multi-part message in MIME format... ------------=_1531821962-7009-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32169: 27.0.50; Wishlist: cleanup of thread-last-error which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32169@debbugs.gnu.org. --=20 32169: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32169 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1531821962-7009-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32169-done) by debbugs.gnu.org; 17 Jul 2018 10:05:57 +0000 Received: from localhost ([127.0.0.1]:44441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffMrl-0001om-4d for submit@debbugs.gnu.org; Tue, 17 Jul 2018 06:05:57 -0400 Received: from mout.gmx.net ([212.227.15.15]:52883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffMri-0001oZ-U4 for 32169-done@debbugs.gnu.org; Tue, 17 Jul 2018 06:05:55 -0400 Received: from detlef.gmx.de ([212.86.58.184]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lk7fW-1gClfi1Zne-00c75T; Tue, 17 Jul 2018 12:05:48 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> <87a7qrkzg9.fsf@gmx.de> <83sh4j8ak8.fsf@gnu.org> <87pnzni39o.fsf@gmx.de> <83lgab83dj.fsf@gnu.org> Date: Tue, 17 Jul 2018 12:05:47 +0200 In-Reply-To: <83lgab83dj.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Jul 2018 21:03:20 +0300") Message-ID: <87lgaaqiro.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:PuA7g/CXCJXp6jLx4hlscdOQEbKsFgNvydwMZbXzp5DEVWsmEIP Sag/0lb6bYJI0pzLdhI2rs+0IcNb/Mw3brF6swRImQi9y5PXNVhYg2jOqGd5/A9luZ0LVQY BMwrMGJrXtOloW6cDOqJo3fQyMWshIH7e1+wLVWrxCmiVRY3KoXvH54ymUyQ10b3Y/yEZ+q rJkL5egOj9u4fp2OZ8Buw== X-UI-Out-Filterresults: notjunk:1;V01:K0:oNfgjEn838Y=:se6miBfZZ1QoiM9IeZ0Jn6 4Rms9DxuWAKrk+pbNvYrMmnfNa7X078T6nkVRZH+KMReJNLqsR+DZsVEzQ2UnL+PVFw3z5L1R 4KpHFBB+mRRsSfriubr7XxLeuhmFZtGV7rmI8yDQepFKwvQHhnbpc89NH9bUiYZK9cmLtMTTJ tirfZ8UhlWcBK/DYrmplbFXkkAdacqp9irEc79HLEf9w5ysxdoeCr+/oNTj8Zs+A6mpPmBPNE b5qpxzsxk+YqgTuEByGj6CRJP4cflwhgcf/r0akEnO3JxkU1D0ZYE/Pr/Y64y6/xNfUJoTqSp i+Y1+IqBChPg5Gr/qu54smpwdKysoP33JHibiJ4pa0qe9gBXi7jbCN0tjR1Le0OUbwAqRHNsx LJmOk11/cQTD8JAhmthpCm59uorlekr63+GNOfXz0tWDF1feZ8+kAp9oko6E+CxOrfhiq5jYw QgFy5yE9XqV/Kz/5HKxGGaNxejMJ40PKemKL/S3o0ks96Q6jxcYJyiwnBCI5SKBBmq26wJKMl flZluGHtY/vJc9bX7McuFu82cPYA85EZAwX1po7XChD5/F30SeNrqZRZGknlnWub3lmiXT3Zu 9gSXNQJMFnyMcnw30bRkE8w4AKmpU1LjjuhxnDVhGOatGKfoHxPRcLShNp0IMFblnXjpRfjmT XOTugd7G1pXHMlfHXiZzl5NaQDwVtXP/B90+4QQT0eocsWU09QmeT4fkf1UpjmQXwRsIe6H3y EjiombdX2KvDtiqNl36rhBQk798+KreF30k+gr6vz+wt6005ALGgs6H1tpKSE+Us5Wo/Va8F3 WEQWQM7 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32169-done Cc: 32169-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version 27.1 Eli Zaretskii writes: >> >> > 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 ... > > Feel free. Done. Best regards, Michael. ------------=_1531821962-7009-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Jul 2018 07:19:06 +0000 Received: from localhost ([127.0.0.1]:42244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fexmj-0000x8-U8 for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:19:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fexmi-0000wd-CU for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fexmb-0002mA-Ho for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:18:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48591) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fexmb-0002m5-ED for submit@debbugs.gnu.org; Mon, 16 Jul 2018 03:18:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fexmZ-0005G7-KF for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 03:18:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fexmV-0002k8-Hl for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 03:18:55 -0400 Received: from mout.gmx.net ([212.227.15.15]:41255) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fexmV-0002jV-5o for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 03:18:51 -0400 Received: from detlef.gmx.de ([178.20.90.217]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LfSeH-1gPdKq0fCj-00p4jh for ; Mon, 16 Jul 2018 09:18:49 +0200 From: Michael Albinus To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Wishlist: cleanup of thread-last-error Date: Mon, 16 Jul 2018 09:18:48 +0200 Message-ID: <87pnzn1wdj.fsf@gmx.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:tFL569ZRTDtZYQI9qQCsT8MQQbvNz3OIHQ6Wp1UDd4IjxCBuZXz tcNQvXpJkGHCKBHQvg3lGbRohOc0Eav47eS3nK0cKL9XVvUCFMciXCyq/RpeRqFiMX169fM GY5Z+aB6UJ/9esDjUFJyTZz9BoziYp6fuPBJWZ0q9DGitFxrtrm2U3N94DrzXpfnJWgR47w 7RdE2WZcHT2d81Wl2WF1A== X-UI-Out-Filterresults: notjunk:1;V01:K0:ijR6c6uV5Gw=:OaDAseVJpC7L7vq3tvzDK2 m3JOG2/8wYykZMCQWpwSapvr1J/hXBHOzmHFmOD9lfyVGVzMW47jGG1s/3/OYWWWxGM6zA5ng /GpWzeMaX4hN1TvjJCex4JBVnRbLMSFr+k6rJMRuzQfMyvmAX3RBfFMcKrsAiBHzLX/oOYVJX 42c19XsJnz5/mn2BL0pHoYVVoQ2KdVOA1VCk0x481/vM6vBzCHRtBSLhkreqmzHhHxl0iQjrL HjfLX6205+doQs+xppRSNQvY2lOOL7mmZaQh2xg+qIL7/AD6mnVzCvUizL9MJrmrFHYzBUyWy QiLO342fE6K/g9ONc72xMwzVjQz2ZiJxS/iNAmfXOkk9eOpfkJmsmunoVZMRlLlHQ+/56ZiLy 5BIyMCh39UP7kF0DSFccJGdrF/9lI0fAjbbRoR3JMQ9TJZo462hYtSf6pXjXdmPsNTLrxGJOC BoG3HEkaUFknrVdfntLjJkOVviYbXCdE/Dg4s4XtH0z0xmiJ5QPIP1UcY0VRs/VzyWHSZD/MM 4merc32RRIQmW4I9D1+h2zpzYOdIfCt6YZLzYH9exnEeVP1RR7EX1H3bwkoo0ooiK7O4qbHJq ofqxPInc88PnhwiQX94azDxfbKOhnmBmzGKzUO6JyON5uEMm241Uh+LLTRi2wcdAoUXUD5jkm 2jD7aejtjsebXgNxWQLXuxSQNULTIDytUpSK0iHkxoSU5taTXtnqyD5uVHiLGxwHmQp89o9YL Ov4S2QMT7/6z6T2cLhpDP9ZIVwNjo9hGmE+kRz3dtZqGrGctTSgUKPNMZPl6/kgNSbY37vnJJ FAs980B X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) When a thread has died, `thread-last-error' reports the reason. But there is no possibility to cleanup this last error, which makes it inconvenient to check for errors in further threads. A function `cleanup-thread-last-error' or alike would be helpful. Or this functionality exist already, and I haven't been able to discover. In GNU Emacs 27.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-07-14 built on detlef Repository revision: 155d7303808345dd73427302d9a352ec5461c11a Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04 LTS Recent messages: Mark set Mark saved where search started Mark set Mark saved where search started [2 times] Quit [3 times] Grep finished with 5 matches found Current locus from *grep* Grep finished with 40 matches found Mark set [2 times] Current locus from *grep* Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8 Major mode: C/*l Minor modes in effect: diff-auto-refine-mode: t erc-notify-mode: t erc-notifications-mode: t display-time-mode: t shell-dirtrack-mode: t icomplete-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: /home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-org /home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-gnu /home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs /home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-autoloads /home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-pkg /home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.15/debbugs-browse ~/lisp/telepathy hides /home/albinus/.emacs.d/elpa/telepathy-20131209.458/telepathy /home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-autoloads /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-pkg ~/src/tramp/lisp/tramp-smb hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-smb ~/src/tramp/lisp/tramp-uu hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-uu ~/src/tramp/lisp/tramp-adb hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-adb ~/src/tramp/lisp/tramp-compat hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-compat ~/src/tramp/lisp/tramp-archive hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-archive ~/src/tramp/lisp/tramp hides /usr/local/share/emacs/27.0.50/lisp/net/tramp ~/src/tramp/lisp/trampver hides /usr/local/share/emacs/27.0.50/lisp/net/trampver ~/src/tramp/lisp/tramp-ftp hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-ftp ~/src/tramp/lisp/tramp-cmds hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-cmds ~/src/tramp/lisp/tramp-gvfs hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-gvfs ~/src/tramp/lisp/tramp-loaddefs hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-loaddefs ~/lisp/dbus hides /usr/local/share/emacs/27.0.50/lisp/net/dbus ~/src/tramp/lisp/tramp-sh hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-sh ~/src/tramp/lisp/tramp-cache hides /usr/local/share/emacs/27.0.50/lisp/net/tramp-cache Features: (shadow sort mail-extr warnings emacsbug message rmc puny rfc822 mml mml-sec epa gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils find-dired grep compile macrostep-c cmacexp macrostep cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-stamp misearch multi-isearch noutline outline tramp-tests tramp-cmds files-x vc-hg vc-bzr ert-x ert find-func ewoc debug vc-git diff-mode easy-mmode bug-reference elec-pair erc-notify erc-networks erc-desktop-notifications erc-match notifications dbus xml erc-goodies erc erc-backend erc-compat thingatpt pp erc-loaddefs cperl-mode time tramp-sh kubernetes-tramp lxc-tramp docker-tramp tramp-cache vagrant-tramp dash term disp-table ehelp tramp trampver tramp-compat tramp-loaddefs ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice ido jka-compr icomplete paren vc vc-dispatcher dired dired-loaddefs time-date mule-util rx edmacro kmacro slime-autoloads info finder-inf package let-alist derived pcase cl-extra help-mode easymenu url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq byte-opt gv bytecomp byte-compile cconv epg epg-config subr-x cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 565273 73857) (symbols 48 40363 1) (miscs 40 117 479) (strings 32 79903 4696) (string-bytes 1 2431472) (vectors 16 59168) (vector-slots 8 1758716 193976) (floats 8 102 461) (intervals 56 3007 99) (buffers 992 19)) ------------=_1531821962-7009-1-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 07:04:48 2018 Received: (at control) by debbugs.gnu.org; 17 Jul 2018 11:04:48 +0000 Received: from localhost ([127.0.0.1]:44482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffNmg-0003Ii-8E for submit@debbugs.gnu.org; Tue, 17 Jul 2018 07:04:48 -0400 Received: from mout.gmx.net ([212.227.15.19]:52113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffNme-0003IS-LM for control@debbugs.gnu.org; Tue, 17 Jul 2018 07:04:45 -0400 Received: from detlef.gmx.de ([212.86.58.184]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M4nM5-1fxbUh27S9-00yzRt for ; Tue, 17 Jul 2018 13:04:38 +0200 Date: Tue, 17 Jul 2018 13:04:37 +0200 Message-Id: <87k1puqg1m.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #32169 X-Provags-ID: V03:K1:GRMO2Ix8001H0y3Q0KPs1g/UNYbzPI/z6woWL3c1P7wQJU6DpZe MpM7COAfqPln9OjcJHQvLILDuWldJNiZA1/87wczyz7KOy3CalDHxYvJEB8qFA2+pKiq1y/ /s67J08+BC7MKUlny5Y+WWMe0IKpSxaI8UDHE32wSZoOszy66gwGabPNVhHFkRGi5HW4d+Z WM1H6tmxJp/nZuQFnL8Pg== X-UI-Out-Filterresults: notjunk:1;V01:K0:drcOhvL1jQs=:mNEeH4yG3O15c1JANZHvzR 285iOxVvBC4O/QByMzC6oNzjtTxP9wAzz/ONeilcy08w5enlWF5K8o2wlzLT+kglN8aSsMbZC p9Xo5P8xxR8dJ45/Yt2Pp3hlIuPrTljoleW+BHlIsdYvK+Ef6MLpDORtRc6Xrk1MoqfP8njx3 MH51vH+vovrZ0s3f1XORZZ/+8zyNwCl7I9N8EbXPjs0jaEUsw7u+dP96g1v/sYg5N0xJP5tUV 2/CHMjkJp0gYuQ3aT/092dbKZtj7uolHfZywThkuv5bYWqY4OJc3HnckEpWLIE5j4KfX2Q/QA wEwxhnqbLyEc7PlBA6D/od92DRNA0/kpQm3miES+6RfU1+Z4LlmTHtvf4fhR8YyJvXKinJeaN MUqk2qWuSeLr+tJgzbTIRSMOfru/qwIYib6JrxCfS9rhPIefWlPQQmohrzIaZO/eW3mtHgiR0 sm/V1djlfWcNvXCkr+ZR2Zj8CQTU1NsnTCtXFFk7/7DiazMQF+tjMZECTF7RuTLIaJsJCgMNW 5mha4U291FcYYumckB1tEKaFRN4C7A52NrLBWan/Qb0wly1TDnDFKCvd4eKDXibOtWBQKCnsS 194HmMXV2jYzqElaOxdmZPBEhcPMcUeIvYDWHDbAzovRh7BkesSaODSMMfhuCcTPK8ZVRvYTT zypL/Q0tR46bzcmngkWIJhRrpv1R9POlhoVw6vrx14zMGDxQ1Gc0Ytu+gAEYcT4SnW5Hu2bxG HfKcQwzl9sLC7Lio8+ZXZ5tmuuUdYdf0ONj08T+AWqd6CzqlS1YZ/bPHihw= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 32169 fixed From unknown Sun Jun 22 00:16:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Jul 2018 15:47:02 +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: fixed To: Michael Albinus Cc: 32169@debbugs.gnu.org Received: via spool by 32169-submit@debbugs.gnu.org id=B32169.153184241630750 (code B ref 32169); Tue, 17 Jul 2018 15:47:02 +0000 Received: (at 32169) by debbugs.gnu.org; 17 Jul 2018 15:46:56 +0000 Received: from localhost ([127.0.0.1]:45641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffSBk-0007zu-0J for submit@debbugs.gnu.org; Tue, 17 Jul 2018 11:46:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffSBi-0007zh-8J for 32169@debbugs.gnu.org; Tue, 17 Jul 2018 11:46:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffSBZ-0001Yn-0s for 32169@debbugs.gnu.org; Tue, 17 Jul 2018 11:46:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffSBY-0001Yj-S0; Tue, 17 Jul 2018 11:46:44 -0400 Received: from [176.228.60.248] (port=1657 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ffSBY-0003F1-8i; Tue, 17 Jul 2018 11:46:44 -0400 Date: Tue, 17 Jul 2018 18:46:54 +0300 Message-Id: <83pnzl7tld.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87lgaaqiro.fsf@gmx.de> (message from Michael Albinus on Tue, 17 Jul 2018 12:05:47 +0200) References: <87pnzn1wdj.fsf@gmx.de> <83wotv8d1y.fsf@gnu.org> <87a7qrkzg9.fsf@gmx.de> <83sh4j8ak8.fsf@gnu.org> <87pnzni39o.fsf@gmx.de> <83lgab83dj.fsf@gnu.org> <87lgaaqiro.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Michael Albinus > Cc: 32169-done@debbugs.gnu.org > Date: Tue, 17 Jul 2018 12:05:47 +0200 > > >> > 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 ... > > > > Feel free. > > Done. Thanks.