From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: list-threads Date: Sun, 09 Sep 2018 19:01:46 +0300 Message-ID: <835zzer76d.fsf@gnu.org> References: <87tvoiq208.fsf@runbox.com> <87efej3e2p.fsf@runbox.com> <83pny34pde.fsf@gnu.org> <87pnxmu13q.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1536509384 22535 195.159.176.226 (9 Sep 2018 16:09:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2018 16:09:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Gemini Lasswell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 09 18:09:40 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 1fz2HK-0005mS-Dt for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2018 18:09:38 +0200 Original-Received: from localhost ([::1]:47931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fz2JR-0003NV-0C for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2018 12:11:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fz2IA-0003IC-Dm for emacs-devel@gnu.org; Sun, 09 Sep 2018 12:10:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fz29c-0003I5-33 for emacs-devel@gnu.org; Sun, 09 Sep 2018 12:01:44 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fz29b-0003Hv-Vv; Sun, 09 Sep 2018 12:01:40 -0400 Original-Received: from [176.228.60.248] (port=4737 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fz29b-0005cQ-Ie; Sun, 09 Sep 2018 12:01:39 -0400 In-reply-to: <87pnxmu13q.fsf@runbox.com> (message from Gemini Lasswell on Sun, 09 Sep 2018 08:44:41 -0700) 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-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:229566 Archived-At: > From: Gemini Lasswell > Date: Sun, 09 Sep 2018 08:44:41 -0700 > Cc: emacs-devel@gnu.org > > > . Will the new function backtrace--frames-from-thread (and its > > subroutines) compile and work in an Emacs configured without > > threads? If not, they should be conditioned by THREADS_ENABLED. > > Yes, they compile. In an Emacs configured without threads, > backtrace--frames-from-thread is present but will always give a > wrong-type-argument error, because you can't make a thread object to > pass to it without make-thread. It is better to signal an error with a more friendly description that wrong-type-argument, I think. Thanks.