From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: HowTo: EWW: Tagging regions with properties Date: Mon, 12 Dec 2022 12:36:09 -0800 Message-ID: <25495.37049.131837.169040@retriever.mtv.corp.google.com> References: <25495.19204.230394.699315@retriever.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32039"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: yuri.v.khan@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 12 21:36:59 2022 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 1p4pXn-0008By-6x for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Dec 2022 21:36:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4pX6-0005yI-RE; Mon, 12 Dec 2022 15:36:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4pX4-0005xs-Vq for emacs-devel@gnu.org; Mon, 12 Dec 2022 15:36:14 -0500 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4pX2-0004ND-Ty for emacs-devel@gnu.org; Mon, 12 Dec 2022 15:36:14 -0500 Original-Received: by mail-pl1-x62c.google.com with SMTP id s7so13326370plk.5 for ; Mon, 12 Dec 2022 12:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=VEGnKzNlu0vLePRsTtUoRxq5OWyMtPqXRDjaNM9SWms=; b=VGwzIproUTpqOBaXOaqv4sSV0F+iPkMUrCdu7W4hBqO6FjVt09rlwKLWr0lbll77GW ccaETQbpwlD4in4sdbUf88OQGTIA4WnNAHcbSmlKHsoA7VSZAMZd5ZR9vdHQNzsdG8sl WVMi2UO62mdUWI3PoqV2wpvWW1Tb5Q1YKHuVYk0sCgRwPoE3tnk01w+NLPII38J49ZEr l/4SJULxZNxmhdsu35Ww0zAOofzzb7yrMnLm4lC/W9Zqri2j45dePGYDfO+TAFnxJeUQ cd2SGCzcFacaDopIPqPT7ljpXK+5bs5I8s0HmekzxNUUvnsd7YlYE5RyUcyMq5E5yh3I anCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=VEGnKzNlu0vLePRsTtUoRxq5OWyMtPqXRDjaNM9SWms=; b=chhAoBW1Qnx1gca1h+BqbWXlZiiEu+qvEPtfLzAkSQ1v6DTKsTK2qQO1/S24K04LcF D7laUjl3glI5Uz4CzPM+bRUpdZVbimgliPQ1c+/+y1YVanUUPShDlZNfslDfzsGMsO0o W0/CdKok4wdW92lnhmB1oKF4+g0ms5zyD7g0X0AjuuwE77dZKI8t+rpVYsLiKLR4s1T5 uhjvPvnZHxipmLWa8oNymUwZwpeOW4TE7QDIFUo2OFIkEXq1FXg48Tl/LhXZKcQ1yHj5 D44R1cur1VRAqc50KFSbgUlcS+1/2mdaSc54iBLrQp731/VxnMuZHwHxWhO4eJZ4CBUA OI9g== X-Gm-Message-State: ANoB5pk0/JW8gU0INXMkQdjd20UtQHZTPQ2o7Sn9ENBoo5a9K5oWuK+8 0wI4JHFBZAF/3fs0y/dCnNKqjN865y1R4pQB X-Google-Smtp-Source: AA0mqf7hMLc9cfaJxSwRSUqLuQNiw7wErCcbf/OwCZyBR2XUQ+moMPqxAOss1GHky7BdedvTguiaTg== X-Received: by 2002:a17:90b:1207:b0:219:5bd1:a32d with SMTP id gl7-20020a17090b120700b002195bd1a32dmr17659736pjb.39.1670877370811; Mon, 12 Dec 2022 12:36:10 -0800 (PST) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1612:3ed1:70be:763c:17d9]) by smtp.gmail.com with ESMTPSA id hk3-20020a17090b224300b002194319662asm5912516pjb.42.2022.12.12.12.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 12:36:09 -0800 (PST) In-Reply-To: X-Mailer: VM 8.1.1 under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=raman@google.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301280 Archived-At: Yes, they all nest. Originally I was hoping to detect the closest enclosing li based on the property change at each step Yuri Khan writes: > On Mon, 12 Dec 2022 at 22:47, T.V Raman wrote: >=20 > > I now remember the obscure reason; html tags nest and if I had use= d > > shr-tag as the prop-name and the tag as the value, I would have ha= d to > > make the value a list and that would have made the search/navigate= by > > property slightly more complicated to implement. >=20 > li elements nest, too, though. Not directly, but an ol > li > ol > l= i > nesting is nothing out of the ordinary. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮