From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master 8f28a1b: Tweak `condition-case' keyword highlights Date: Sun, 24 Jan 2021 23:50:31 +0100 Message-ID: <87h7n6osp4.fsf@gnus.org> References: <20210124203118.16450.28084@vcs0.savannah.gnu.org> <20210124203120.0ABC320AD1@vcs0.savannah.gnu.org> <87o8heovpm.fsf@gnus.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="28596"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 24 23:51:37 2021 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 1l3oEK-0007LP-Kq for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jan 2021 23:51:36 +0100 Original-Received: from localhost ([::1]:37522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3oEJ-0001AU-Ie for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jan 2021 17:51:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3oDU-0000iv-Ou for emacs-devel@gnu.org; Sun, 24 Jan 2021 17:50:44 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:56646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3oDT-00021J-2F for emacs-devel@gnu.org; Sun, 24 Jan 2021 17:50:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wMYjBpGK/1kGejHiYP8je40AkJYGQL77aww0aj+vNOQ=; b=VhhVACyozZ1K/loPvn/REY4OkG H4v69KYC3NkoDt+BKUMBgbUW1Yp2ARGdyr0D0GDxL7g6/2/y2bG9GF4vfrbnPZg3jar7GU/04zgBH OvtVnyGNRCTHkgFlfLMrALjuVaWyyyROO1LPHYXf5zDCWzORe1SO/mK1PCpJ58JpvZDA=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3oDJ-0004mZ-1R; Sun, 24 Jan 2021 23:50:38 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX8+/ne1c6Ienel nprIvbZcS00fEhj///8/uFZcAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UBGBYvDs+fvPkAAAG3SURB VDjLfdPBcoIwEADQBPGeAPasVDhDAM+xgGcLTc5Vmv3/T+gGFNBid8aRycsmm4UQ8k+wF+OeCIfI xhDSgv93Lk0e4aNdBqpALoKr9Xk5I6gXwFMJ4dkCaOic1G+i5AmoBkiPItTXCcr+MQz1timEhu0T 7Ggcw3sBcH0CmeHgZQNgtg/ASY67dDWCmUPV2brARICRTOCYi63LQB/nG1SE1OaLeDCAnkMBLdkM 0yGcQwRqhAZPMoICI9c4qA7T5gwBX4RJ3nCPtsXSgE2AY7sTnkD7DT6SEVycFh3AqK+yBNVNsLKA v09SacD38gCtsouvcQ/slXsHZeAa276utD14D3253BaDK/UNu9ARnKEZWD+LETh35S2j7DMkzZJI w88EK2Vr6o7Fe8o8nR5HcIXUTVhFreKkzvkso0hcEkTGh0Zukhms8QSuiPc0g7MzBwcYoyIPGDl8 rx4zKkZLznNZf/qSTvAGO0ICzgTDz5dNQP0Gr6HLaYrt2wtS3aAMfPtPed7f1EN6Pd6X4v23yIcr cDKwD+4tmYcbQ7cItqXlImDrs2VwXgHxhz287E8ISV4HfzH+CwIbjIAZZczpAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIxLTAxLTI0VDIyOjQ3OjEzKzAwOjAw4i5dNAAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMS0wMS0yNFQyMjo0NzoxMyswMDowMJNz5YgAAAAASUVORK5CYII= X-Now-Playing: The Style Council's _The Complete Adventures (3)_: "It Didn't Matter" In-Reply-To: <87o8heovpm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 24 Jan 2021 22:45:25 +0100") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org 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_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:263364 Archived-At: Lars Ingebrigtsen writes: > Couldn't we just use `edebug-form-spec' to notice that the arglist isn't > a funcall position? That would get a huge number of macros/special > forms with non-funcall positions right... > `lisp--el-non-funcall-position-p' would have to parse that, though, > which might slow things down? Looking at this a bit more, parsing the edebug spec should be fast enough, but we'd then need to know what the position of the current sexp is in its enclosing form? `parse-partial-sexp' doesn't return this data... Skimming scan_sexps_forward, adding a counter doesn't seem impossible there? Would that make sense? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no