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: Wed, 29 Apr 2020 23:08:19 -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> <87wo5xvr8w.fsf@web.de> <878sidsp2b.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="27377"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:PfW/5bx/IGwciNwv6hqMnaY7gXE= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 30 05:08:47 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 1jTzZ9-00071R-CU for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Apr 2020 05:08:47 +0200 Original-Received: from localhost ([::1]:50644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTzZ8-0004Vn-FU for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 23:08:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43960) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTzYp-0004VR-Is for help-gnu-emacs@gnu.org; Wed, 29 Apr 2020 23:08:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTzYp-0005VN-6L for help-gnu-emacs@gnu.org; Wed, 29 Apr 2020 23:08:27 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:58520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTzYo-0005VG-Qj for help-gnu-emacs@gnu.org; Wed, 29 Apr 2020 23:08:26 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jTzYn-0006gN-5r for help-gnu-emacs@gnu.org; Thu, 30 Apr 2020 05:08:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=159.69.161.202; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 22:08:33 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 159.69.161.202 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:122981 Archived-At: >> > In this example: >> > >> > #+begin_src emacs-lisp >> > (defun test () >> > (make-local-variable 'my-test-var) >> > (with-current-buffer (get-buffer-create "Testbuffer") >> > (setq my-test-var 27))) >> > #+end_src >> > >> > the patch suppresses the warning. But M-: (test) leads to `my-test-var' >> > being bound to 27 buffer-locally in "Testbuffer" although we never made >> > the variable local there...is this cosher? >> >> This behavior is not related to the patch (I get the same result in >> Emacs-24, FWIW). > > But don't you think what the patch does (suppressing the justified > warning for this case) is also bad? No. Stefan