From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: bug#24514: 24.5; Lispy backtraces Date: Sat, 3 Dec 2016 17:15:22 -0500 Message-ID: <53ba4534-1ec3-4e4f-d929-1a72f79c1abe@gmail.com> References: <20160922231447.GA3833@odonien.localdomain> <98fbb582-3da4-bd83-a2e9-e341dd7f6140@gmail.com> <20160923075116.GA612@odonien.localdomain> <82e39377-f31b-698c-5a9a-343868686799@gmail.com> <20161202005226.GA4215@odonien.localdomain> <0a69afa7-e9e6-e75f-8e90-6438683db98d@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VgMfGwSuRK4WwJCKAHVxuFXOWOcxisA44" X-Trace: blaine.gmane.org 1480803375 21036 195.159.176.226 (3 Dec 2016 22:16:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2016 22:16:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 03 23:16:08 2016 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 1cDIbH-0003w2-M8 for ged-emacs-devel@m.gmane.org; Sat, 03 Dec 2016 23:16:07 +0100 Original-Received: from localhost ([::1]:52661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDIbJ-00067S-Kb for ged-emacs-devel@m.gmane.org; Sat, 03 Dec 2016 17:16:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDIal-00067A-Bs for emacs-devel@gnu.org; Sat, 03 Dec 2016 17:15:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDIah-000101-Bx for emacs-devel@gnu.org; Sat, 03 Dec 2016 17:15:35 -0500 Original-Received: from mout.kundenserver.de ([212.227.17.24]:65182) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDIah-0000yb-12 for emacs-devel@gnu.org; Sat, 03 Dec 2016 17:15:31 -0500 Original-Received: from [18.189.106.208] ([18.189.106.208]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.184]) with ESMTPSA (Nemesis) id 0MVM1m-1cBdfC3SsI-00YkQs for ; Sat, 03 Dec 2016 23:15:29 +0100 In-Reply-To: X-Provags-ID: V03:K0:wBNuO3S+V+J0F0Z9HJL8QWw8/rXscbXBPO1PX7HoaERdR7gtFSh Gc0/b6IVw6pXepfSflZveApTKP929Yoqegr4yNUp7NnvEa8MAEB7saNrEjxNf4P1bvoGOmM 3Nw9eztuaLPyo6OguCuLzW8h2ZK15sJ5i41v2dBvJbN2PCWkJuJx14ly4zxKGTOvsYzOc+Z JX1P4oYUEsLxN5nAqBKvg== X-UI-Out-Filterresults: notjunk:1;V01:K0:RMXhlKYum7E=:sitTOboc8dPwvVihm9lccO QyYKhwqR09Dwkegis4PLSZD5OH2WlSSNDWwyU4r4g7GORvLFVmgosgF12RtSwgzWtggOeHISY cnCnsy4AW3EUaLCQO9f4VEYdv6aYFuT745vg+v8YNuiaq3yKPpNpjbEaeSesQjsu7qlLayQJH +Ne7VUoGyxOe8AcnPQ8Swf5I3Kyyp3EULN9k6mu4MYkx2zfoXEeBBJDct8b6mAac50pfMu06r oAU+CzkU2VZpgn1JPvI8Uwa5scaQwhZ915d1gOIexN5xMVsFBXcweL8aCs6f66lWrn9/QIsn5 NlshrPzWh5R38iLMi5GsxWUjWM8SmYyIfB2rZJ5iXxUr7rGpulorpMN3MReleWVvBacsUusT2 SPfkQF7Vhv6wBhbshbg89LfNOglMHwsIWoYl05WkdVoGKh/z5bKt2cLP7p0SBr0gk33RnfyyP Z5jds74DxFanRcal/GAMgJ5AvWd4cs3ha3BuMsmJE/lJOxR8VV68Mu8peb+FCI55uwju6Vyet lseGynutdU23r75/zOUYYKbfL+yqV8ms9URQtmGoM+sy4I1+2+Vais3906Oepc9xA5PS745nd +Hu1LADvBvUmUc20sA6Cxcz0VUsuJLxNVr3EyH9t1jgNzeGfMCRLGZQhkdyKibaUwQj1viYla ZoznlJx22fvA+pkvu2g2YCypCUW2rvlZwqYmSrXmG9wM5VJjJQ8rQ4QAnG9jzcvToivQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.24 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:210004 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VgMfGwSuRK4WwJCKAHVxuFXOWOcxisA44 Content-Type: multipart/mixed; boundary="eaqtXukMGbAdmu5U09GTLTRWxbXItcrRp"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <53ba4534-1ec3-4e4f-d929-1a72f79c1abe@gmail.com> Subject: Re: bug#24514: 24.5; Lispy backtraces References: <20160922231447.GA3833@odonien.localdomain> <98fbb582-3da4-bd83-a2e9-e341dd7f6140@gmail.com> <20160923075116.GA612@odonien.localdomain> <82e39377-f31b-698c-5a9a-343868686799@gmail.com> <20161202005226.GA4215@odonien.localdomain> <0a69afa7-e9e6-e75f-8e90-6438683db98d@gmail.com> In-Reply-To: --eaqtXukMGbAdmu5U09GTLTRWxbXItcrRp Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-12-01 21:24, Stefan Monnier wrote: >> The discussion below seems to indicate that there's very little missin= g at >> the Lisp level to be able to implement `backtrace' in Lisp; is that ri= ght? >=20 > Indeed, I think all the info needed is provided by backtrace-frame. The C implementation of backtrace-frame seems to be linear in the index o= f the requested frame, so a Lisp implementation of backtrace would be qua= dratic in the depth of the stack trace. Would a new function backtrace-f= rames that returns all frames at once be acceptable? Cl=E9ment --eaqtXukMGbAdmu5U09GTLTRWxbXItcrRp-- --VgMfGwSuRK4WwJCKAHVxuFXOWOcxisA44 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYQ0P/AAoJEPqg+cTm90wjAGYP/3GT2OmtxLSyYM67+LoFe9ey 7y0xhbqhqZvQNZ7T7aSmKwjlkHkp/wNKy6zJvn1tS7PpPAslLFczMG0zM+cwabZW 8BvoY4Rfrlg4EvHf7s0t9XKlbzDje6Hks3o+MUd9T8UmFUWQcFBTCy5dzK3j26NY oraac5/ng+0pLgoQXlBO1CBOjYTEkPSL6dhXjRzX6qBIGBfcE2MzhX5tmkk4v5ug wAPVgCQc565TN/b3GG6xSOCFnjhVS3mgnAqZA+saMRN+7q6zigOjV7BP+L5Ogvxj uJQTJVg8UMRd2toPa5v7xofFRbEzw2k3tKizGGywjoQ0v8SMO4vtVka77IlK4mOH wQ1V9VtkCqLP6X2n7oASl+LeWaJbrDv7r+8dmFuSpftI9NvZ+5CziEVs+1OXwc3x oIyEQJ9A3rUOpKaHXdh24A3SJYj8YpeDd2jhUHMMxkY3GdA4fQaXS6vfLJpYfeQq gx6mCB1WUTHd4QMGt5rcL9yx/tYunnDmi2/kXYt8ewCiZ4ZgBy9gcvlGddXaUqAD STb6tFH7CzbCB5+MS53LwH1BHCfEH5AFGH4F1AB2t2l4GzkgkhAf+YCzWeViZ/RB OHmxzPsLLVrIkMGXO3mKXHcLBAnKpxq8L7sbNB16SBqyOzphi4M6x3RnEQKBHA5j muLhEt9M5iYsvAxsqMI4 =EY/A -----END PGP SIGNATURE----- --VgMfGwSuRK4WwJCKAHVxuFXOWOcxisA44--