From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: can shr-start go away? Date: Tue, 12 Nov 2024 17:53:15 +0100 Message-ID: References: <75002.1731376772@alto.camomileplus.org> <5386.1731425404@alto.camomileplus.org> <9225.1731429915@alto.camomileplus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2540"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Mike Kupfer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 12 17:54:22 2024 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 1tAu9l-0000T3-VA for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Nov 2024 17:54:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAu8r-0002Bc-Je; Tue, 12 Nov 2024 11:53:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAu8p-0002Az-VC for emacs-devel@gnu.org; Tue, 12 Nov 2024 11:53:23 -0500 Original-Received: from smtp-out1.suse.de ([2a07:de40:b251:101:10:150:64:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAu8l-0000B1-4t for emacs-devel@gnu.org; Tue, 12 Nov 2024 11:53:23 -0500 Original-Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by smtp-out1.suse.de (Postfix) with ESMTP id 70A2B2125E; Tue, 12 Nov 2024 16:53:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1731430395; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aodypz0dRLBRNdA3DotBx6ToGR47DQJFcIVXXb/c+7I=; b=2TcmrZT7lakrX5N5mhfOen3Ws7ByGLiIV97AJONzYF6JaN4wMxWAz2bAdf9ENf2QDgkH/n go2wnVkfe+gR/UvwrbMdYZy/6NoyphZlUiWrlYRlJTSZHtUSB5ym9APUOIkNP+IUntO/Or R1X3sPH+ATAUsGi/QIy1xhSbryuisGQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1731430395; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aodypz0dRLBRNdA3DotBx6ToGR47DQJFcIVXXb/c+7I=; b=8yXckq7zW5391cuiDs6HlCN4fhr90/n3MHc4+ocCNROGErEcp8NKJrnDq6F2Z72bgZBB4W MSOdIYkjQo3zofCQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1731430395; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aodypz0dRLBRNdA3DotBx6ToGR47DQJFcIVXXb/c+7I=; b=2TcmrZT7lakrX5N5mhfOen3Ws7ByGLiIV97AJONzYF6JaN4wMxWAz2bAdf9ENf2QDgkH/n go2wnVkfe+gR/UvwrbMdYZy/6NoyphZlUiWrlYRlJTSZHtUSB5ym9APUOIkNP+IUntO/Or R1X3sPH+ATAUsGi/QIy1xhSbryuisGQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1731430395; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aodypz0dRLBRNdA3DotBx6ToGR47DQJFcIVXXb/c+7I=; b=8yXckq7zW5391cuiDs6HlCN4fhr90/n3MHc4+ocCNROGErEcp8NKJrnDq6F2Z72bgZBB4W MSOdIYkjQo3zofCQ== Original-Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 626384A0564; Tue, 12 Nov 2024 17:53:15 +0100 (CET) In-Reply-To: <9225.1731429915@alto.camomileplus.org> (Mike Kupfer's message of "Tue, 12 Nov 2024 08:45:15 -0800") X-Spamd-Result: default: False [-3.20 / 50.00]; BAYES_HAM(-3.00)[99.99%]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.987]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email,suse.de:mid] Received-SPF: pass client-ip=2a07:de40:b251:101:10:150:64:1; envelope-from=schwab@suse.de; helo=smtp-out1.suse.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325432 Archived-At: On Nov 12 2024, Mike Kupfer wrote: > Okay, I think I understand the Lisp mechanics now. The 'let' in > shr-tag-a creates a new dynamic binding for shr-start. So as long as > shr-tag-img is called before shr-tag-a returns (i.e., in the context of > shr-tag-a's 'let' form), shr-tag-a will see what shr-tag-img did to > shr-start. Is that correct? Yes, that's what dynamic binding is all about. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."