From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Reporting Lisp errors in dynamic modules Date: Fri, 27 Nov 2015 13:46:09 +0200 Message-ID: <83d1uvsm0u.fsf@gnu.org> References: <83egfbsnu2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1448624808 4439 80.91.229.3 (27 Nov 2015 11:46:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 11:46:48 +0000 (UTC) Cc: tzz@lifelogs.com, dancol@dancol.org, p.stephani2@gmail.com, emacs-devel@gnu.org To: =?utf-8?Q?Aur=C3=A9lien?= Aptel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 12:46:38 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a2HU5-0007Gu-Oa for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 12:46:37 +0100 Original-Received: from localhost ([::1]:56039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2HU8-0005Ss-Fe for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 06:46:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2HTv-0005Sb-C0 for emacs-devel@gnu.org; Fri, 27 Nov 2015 06:46:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2HTs-0000N3-5D for emacs-devel@gnu.org; Fri, 27 Nov 2015 06:46:27 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:55077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2HTr-0000MS-TO for emacs-devel@gnu.org; Fri, 27 Nov 2015 06:46:24 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NYH00G001RH0V00@mtaout26.012.net.il> for emacs-devel@gnu.org; Fri, 27 Nov 2015 13:49:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYH00D7U260I940@mtaout26.012.net.il>; Fri, 27 Nov 2015 13:49:12 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195370 Archived-At: > Date: Fri, 27 Nov 2015 12:20:03 +0100 > From: Aur=C3=A9lien Aptel > Cc: Emacs development discussions , Ted Zlatan= ov ,=20 > =09Daniel Colascione , Philipp Stephani >=20 > On Fri, Nov 27, 2015 at 12:07 PM, Eli Zaretskii wrot= e: > > I believe the line with "" is suboptimal, in th= at it > > looks alien and includes all kinds of unneeded and weirdly format= ted > > data. AFAIU, the reason is that we deliberately unintern module-= call. > > Should we perhaps reconsider that decision, so that the backtrace= is > > in more familiar form? What exactly are the dangers of having > > module-call exposed as any other primitive? >=20 > It's an implementation detail and cannot be used safely by Lisp use= rs. > The danger of using it is it can make core Emacs crash. How can it cause Emacs to crash? Can you show a specific scenario? We should be able to prevent that. > We also don't want the risk of someone overriding it. How is that different from any other primitive? > Also, unrelated but can I be added to the savannah emacs group? My > savannah account is aaptel. Please apply, and please explain your interests.