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: EWW Feature Request: Mark start and end of table cells? Date: Wed, 21 Oct 2020 08:10:13 -0700 Message-ID: References: <20201020235916.D632CC21414@raman-glaptop.localdomain> <87o8kvkfyf.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6666"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 21 17:30:31 2020 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 1kVG4M-0001bX-Hr for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Oct 2020 17:30:30 +0200 Original-Received: from localhost ([::1]:41738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVG4L-0000Ek-Iv for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Oct 2020 11:30:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVFkx-00021v-1U for emacs-devel@gnu.org; Wed, 21 Oct 2020 11:10:27 -0400 Original-Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:42025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVFkq-00013d-5m for emacs-devel@gnu.org; Wed, 21 Oct 2020 11:10:25 -0400 Original-Received: by mail-pl1-x635.google.com with SMTP id t22so1351406plr.9 for ; Wed, 21 Oct 2020 08:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ZQLgSU9PQS8d440FQyS5NZ841H1mO2ReSTD1DdU+5/4=; b=ltOdtsukBqnNlJLJ8SG82LY2eNUmIWjzjetT1DT4FPQiVSh2+gQ2VqaPPamSNYBroa iFsztMlTn6qOTlFs8jq2kRqSLO7JZLwr6bQPV/iAy57yxKWK4GJr+Iw6wrrIbQyhqMbS u0JkLVGRMhc9r/I2Y9dnm0ovNQk/BZYA4mNSlECEE0S3P41rtI+NMslbok/h0/USqWPv 2i/MMUHWUonPppIUXriOBAYF1VCNHWfDsFYtsTDAb3QyMnfxY3SkizggESxWyS8YqqDD udD811lTrOuxA1x8c1YLmrcQeCmRYLJZgy233icDJuS3wFeayF2fdq9qnfNfemJ3MYjH 3lGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ZQLgSU9PQS8d440FQyS5NZ841H1mO2ReSTD1DdU+5/4=; b=k63ilLeijK19A4ABfnpIUTFYE3gUE306ppGqIIkbJHjYgQW5Z+OuADu+5SLw3q19JR npCqo+4+heAMdHNe6G5T+yQ2idroRQ2sJmLownbGvzEidjrlO9GUGMzBvalJD/H1Lm0F UOC+SuD6wTeYftJfAmWftCvV+xwZt0kbC6rBgVO4zQdcpwdjdTm7Bf/1zNodKWJsi/G9 pqCbAFIAzY6FqEeG00skQIQ9sRXuY8jOuoKCv9Lne5rDfYNHn6pUmIG3awNMAlBxeDWv EXPrAPo8qJi5fLHxaIKbxPZ/mciJtB7WIt6HfjPmmKS+k1rdaHyooM1DKxJ8xnbabmEK U6xw== X-Gm-Message-State: AOAM533dzcD2O7XzuKFCkOdNBV82wvN7YYL0nhb36knYA/zyLiTnGSMB Sdwe5YURVqbyXdl9wTdXB0FILiQ5JyYGAi8X X-Google-Smtp-Source: ABdhPJw+bqcn54RTt+uk86YunKAVkwyo2Ev22L3NV5a66Mx79n53JQcAmzk9XHw2jyyNqGaoLy4pTg== X-Received: by 2002:a17:90b:1a89:: with SMTP id ng9mr3697594pjb.24.1603293016049; Wed, 21 Oct 2020 08:10:16 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id c67sm2712717pfb.176.2020.10.21.08.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 08:10:15 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id E64C2C2172C; Wed, 21 Oct 2020 08:10:13 -0700 (PDT) In-Reply-To: <87o8kvkfyf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 21 Oct 2020 12:53:44 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=raman@google.com; helo=mail-pl1-x635.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:258232 Archived-At: Lars Ingebrigtsen writes: See my present "poor man's solution" for browsing tables by cells: https://github.com/tvraman/emacspeak/blob/master/lisp/emacspeak-eww.el#L2375 I'm hanging the table-dom as a text property on the rendered table, and the performance hit is not perceivable --- at least to me --- though it might well be causing some kind of visual flicker by slowing the display=20 > "T.V Raman" writes: > >> I'd like a way to be able to easily speak table cell contents and move >> across table cells --up, left, right and down. > > It'd be a nice feature in general -- I mean, getting the contents of a > table cell in shr, so that you can `C-w' the contents, for instance. > > But it's difficult in general because of the way the tables are > rendered. I guess one could put some text property on all the > characters in a cell to allow some command to put the text back together > again (say, `table-id #42351' or something), but I don't know what the > performance impact would be (and shr is plenty slow as it is). --=20 Thanks, --Raman =817=A94 Id: kg:/m/0285kf1 =950=DC8