From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Bookmarks in EWW Date: Mon, 20 Apr 2020 09:24:04 -0400 Message-ID: References: <878sjrfh2m.fsf@mbork.pl> <871rpipzwa.fsf@web.de> <87tv2d3zii.fsf@web.de> <87lfnn9b2o.fsf@web.de> <87r1xeeek1.fsf@web.de> <87k135ky5j.fsf@web.de> <875zdwqgxz.fsf@web.de> <87blnmlubc.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="78878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 20 15:24:56 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1jQWPw-000KQD-2C for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Apr 2020 15:24:56 +0200 Original-Received: from localhost ([::1]:35400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQWPv-0003nx-04 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Apr 2020 09:24:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58422 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQWPD-0003mu-In for help-gnu-emacs@gnu.org; Mon, 20 Apr 2020 09:24:11 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQWPB-0006CI-BS for help-gnu-emacs@gnu.org; Mon, 20 Apr 2020 09:24:10 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37903) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQWPA-00067d-SS for help-gnu-emacs@gnu.org; Mon, 20 Apr 2020 09:24:09 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6ECE4450281; Mon, 20 Apr 2020 09:24:07 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CEC7045027D; Mon, 20 Apr 2020 09:24:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1587389045; bh=2ScQk92Ym5ydUx2Dbaw+B8fOEepBIIFuHiOLuH7ImGM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RgZYB7ww4b7AXMxOUYJJbpcKDDsDa64XLz17uXKz7nJM/oynHUBBVO+mREPo2L9zt kl/5lr4ZlbRB4d8FfvKB/7wcMXiC5gsIrw6yIKAx0hb42wfGN/rySewRUi8QSABo2v q7fIlwa4Ic8tYwCcXSF9l7F1+spUWQd7Fnzox2lM8jUPWTIoCvCrKp7hrX+A3NdgF/ ZVEG6EJAZmFmpJ2f5ZQThZd381DpP0K+Wv4fL3JPOazlkL7XpRGWEAvUv5gwffkRJ+ vABO+phH0wJTYbRM+7+0ifGNlWZvCgC46hgek3hf8B/VVzkFAIdt0cfwiiT9WCjuxq 7EeP8hiXIi4pQ== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A13C5120648; Mon, 20 Apr 2020 09:24:05 -0400 (EDT) In-Reply-To: <87blnmlubc.fsf@web.de> (Michael Heerdegen's message of "Mon, 20 Apr 2020 05:17:27 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs1p.gnu.org: First seen = 2020/04/20 09:09:43 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122895 Archived-At: > +(byte-defop-compiler-1 make-local-variable > + byte-compile-make-local-variable) > +(defun byte-compile-make-local-variable (form) > + (let ((var-exp (car-safe (cdr-safe form)))) > + (when (eq 'quote (car-safe var-exp)) > + (byte-compile--declare-var (car (cdr var-exp))))) > + (byte-compile-normal-call form)) LGTM, [ Tho all those car/cdr messes in bytecomp.el really creep me out. It's when working on the compiler that I developed the urge to implement `pcase`: (pcase form (`(,_ ',v) (byte-compile--declare-var v))) ] Stefan