From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: Unnecessary variable shr-start Date: Mon, 5 Dec 2016 21:11:44 +0900 (JST) Message-ID: References: <87zikeji0s.fsf@topbug.net> <87pola2cjh.fsf@web.de> <87lgvx7bae.fsf@ahungry.com> <87pol78nuy.fsf@topbug.net> <87oa0qn5dh.fsf@topbug.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1480939923 30613 195.159.176.226 (5 Dec 2016 12:12:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2016 12:12:03 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Michael Heerdegen , Katsumi Yamaoka , 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 13:11:59 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 1cDs7h-0007OS-Jv for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2016 13:11:57 +0100 Original-Received: from localhost ([::1]:39501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDs7l-00035U-Bb for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2016 07:12:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDs7f-00035E-2x for emacs-devel@gnu.org; Mon, 05 Dec 2016 07:11:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDs7a-0006Nb-3O for emacs-devel@gnu.org; Mon, 05 Dec 2016 07:11:55 -0500 Original-Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:35880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDs7Z-0006MZ-SX for emacs-devel@gnu.org; Mon, 05 Dec 2016 07:11:50 -0500 Original-Received: by mail-pf0-x244.google.com with SMTP id c4so17025126pfb.3 for ; Mon, 05 Dec 2016 04:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=mIRVRDN4W0yQ50AifwmnSSC9tM8MJTRhbAWaYHZsM+Y=; b=qt2BkGt/13avxXRqUu9YoOz5ym84C/+e0SFt2/Ws/ADlgSm3rDbYxJiPRSS8jRDrwE 17OCsgTQNr20WISbiJoGP3g1CKiiS1pf60uY5/LYCmJNp0w3fmodXa+C7vUvTdDjmtWT lD5+n5bP4WeUKPh7e3liGM4eS42I1L4fHpod5VUIxX4nf/4OcymTaR8IQdcHeanFQq+N SZnr9BO42tD/4flT97Wn1KYp0S/qtxAtquQc3muAgOYQ2hwRLjyNob7IZbnz19aHb46G kAkkvn50rnhc6Iyc7LHiGcoHUc1oCBhLRC3NifPh8t5yK8HfzumDpByT877iTEmrRODE UZ2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=mIRVRDN4W0yQ50AifwmnSSC9tM8MJTRhbAWaYHZsM+Y=; b=CbPCi6pAszPVB/3B5FcZK8cnhiC/n2eFwmDAYzc0gtEO3Mlzl7ZTplD+7ISMCsBJcY UwdLERtNH4Y5QtSWkFO0UVJwytsFn/fp56fsgdWuEgFlo9mJO9D1ZgXTNcg+rPIWh/u+ 17prznd8i3hB52/Q00uzz77Lyz2gF2csrNKg1ywVS7zIlCdickdYtQax8ThLLatUvEeG tbq7wQKs0dJyX9dA7zOZ7HbouY2MSPDw0TBz11fsc6YdkTc1mwITudPp10jX8uewPP3u dMrgzt5FZPOx9jPlKTlW+OB8RrPNEZ/ySCxP/SZpcujcKfPqqm+rtUUcdxjsD5FoKWKj YdWw== X-Gm-Message-State: AKaTC01YRE+irfgblB0fvqKLVRJDBtklIcGeNN7vtScowxQCG70o0OTj7g5o5OZfuODgPQ== X-Received: by 10.84.171.228 with SMTP id l91mr124576317plb.4.1480939908486; Mon, 05 Dec 2016 04:11:48 -0800 (PST) Original-Received: from calancha-pc (pl1524.nas814.p-iwate.nttpc.ne.jp. [157.65.149.244]) by smtp.gmail.com with ESMTPSA id p79sm27198375pfj.51.2016.12.05.04.11.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2016 04:11:47 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87oa0qn5dh.fsf@topbug.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::244 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:210054 Archived-At: On Mon, 5 Dec 2016, Hong Xu wrote: > > On 2016-12-05 Mon 00:25 GMT-0800, Katsumi Yamaoka wrote: > >> 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' >> >> ;-) > > Such a complicated story! Thank you for pointing it out! Yeah! It sounds amazing. We should call it `shr-super-start'.