From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: lexical-binding is turned on in more use cases Date: Sun, 8 Mar 2020 20:15:06 +0000 Message-ID: <20200308201506.GD4832@ACM> References: <83o8t6bx2p.fsf@gnu.org> <83k13ubv3g.fsf@gnu.org> <83imjebsrh.fsf@gnu.org> <20200308193048.GB4832@ACM> <83h7yybppa.fsf@gnu.org> <20200308195620.GC4832@ACM> <83fteibogz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124665"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 08 21:15:51 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jB2L0-000WKJ-ND for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Mar 2020 21:15:50 +0100 Original-Received: from localhost ([::1]:33112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jB2Kz-0007yE-N8 for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Mar 2020 16:15:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41045) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jB2KN-0007Sl-ME for emacs-devel@gnu.org; Sun, 08 Mar 2020 16:15:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jB2KM-0003yv-Kw for emacs-devel@gnu.org; Sun, 08 Mar 2020 16:15:11 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:34923 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1jB2KM-0003yV-B7 for emacs-devel@gnu.org; Sun, 08 Mar 2020 16:15:10 -0400 Original-Received: (qmail 1428 invoked by uid 3782); 8 Mar 2020 20:15:09 -0000 Original-Received: from acm.muc.de (p4FE15D2F.dip0.t-ipconnect.de [79.225.93.47]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 08 Mar 2020 21:15:06 +0100 Original-Received: (qmail 21674 invoked by uid 1000); 8 Mar 2020 20:15:06 -0000 Content-Disposition: inline In-Reply-To: <83fteibogz.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245364 Archived-At: Hello again, Eli. On Sun, Mar 08, 2020 at 22:06:52 +0200, Eli Zaretskii wrote: > > Date: Sun, 8 Mar 2020 19:56:20 +0000 > > From: Alan Mackenzie > > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > > Does it help to say > > > M-: (eval (c-align-cpp-indent-to-body)) > > > instead? > > Well, the essential thing was getting a binding of c-syntactic-context > > for calling c-align-cpp-indent-to-body. So, I tried: > > M-: (eval (let ((c-syntactic-context (...))) > > (c-align-cpp-indent-to-body))) > > , but this didn't help at all. > And if you quote the form? To be precise, M-: (eval '(let (...) (c-align-cpp-indent-to-body))) runs correctly, but fails to stop in c-align-..-body, even though it is instrumented for edebug. -- Alan Mackenzie (Nuremberg, Germany).