From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: Unnecessary variable shr-start Date: Mon, 05 Dec 2016 17:25:11 +0900 Organization: Emacsen advocacy group Message-ID: References: <87zikeji0s.fsf@topbug.net> <87pola2cjh.fsf@web.de> <87lgvx7bae.fsf@ahungry.com> <87pol78nuy.fsf@topbug.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1480926358 19137 195.159.176.226 (5 Dec 2016 08:25:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2016 08:25:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) Cc: Michael Heerdegen , Matthew Carter , emacs-devel@gnu.org To: Hong Xu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 05 09:25:54 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDoaw-0004gl-09 for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2016 09:25:54 +0100 Original-Received: from localhost ([::1]:38336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDob0-0007BS-1F for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2016 03:25:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDoas-0007B4-Vb for emacs-devel@gnu.org; Mon, 05 Dec 2016 03:25:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDoap-0006PT-00 for emacs-devel@gnu.org; Mon, 05 Dec 2016 03:25:50 -0500 Original-Received: from mail-hampton.hostforweb.net ([205.234.186.191]:45889 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDoao-0005lT-Rk for emacs-devel@gnu.org; Mon, 05 Dec 2016 03:25:46 -0500 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cDoa6-000b29-H8; Mon, 05 Dec 2016 02:25:03 -0600 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:sikQhem0SP6cphEL1IKe5BWyJFk= X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] [fuzzy] X-Received-From: 205.234.186.191 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210052 Archived-At: On Sun, 04 Dec 2016 12:01:57 -0800, Hong Xu wrote: > That's exactly what I meant: Every time it is referred, it is bound to > nil by a let. `shr-tag-a' binds `shr-start' to nil, runs `shr-generic' that sets non-nil value to `shr-start' in the following way, and refers to `shr-start'. `shr-generic' runs `shr-descend' `shr-descend' runs `shr-tag-img' `shr-tag-img' sets non-nil value to `shr-start' ;-)