From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71909: 30.0.60; Date: Sun, 20 Oct 2024 16:51:34 +0300 Message-ID: <86sesqj315.fsf@gnu.org> References: <865xtnhyn6.fsf@foxmail.com> <868qv2wwyk.fsf@gnu.org> <865xq6wwkc.fsf@gnu.org> <86wmimuz18.fsf@gnu.org> <0056b65b-5cdc-4271-b717-0acc75661c17@imayhem.com> <86o73xvkj8.fsf@gnu.org> <87ldz1h5s4.fsf@gmail.com> <86bjzxv49y.fsf@gnu.org> <877calh1fs.fsf@gmail.com> <87bjzerkeq.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17155"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpardo@imayhem.com, 71909@debbugs.gnu.org, visuweshm@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 20 15:52:55 2024 Return-path: Envelope-to: geb-bug-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 1t2WMY-0004If-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Oct 2024 15:52:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2WMI-0004E8-TH; Sun, 20 Oct 2024 09:52:38 -0400 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 1t2WMH-0004Dk-IL for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 09:52:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2WMH-0003B0-5i for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 09:52:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=kIG0k+W7Aqziecqz3nMmdzx0tws9N4l1mcxJOrSTTTw=; b=D6+uAggUDj0JhLCvLuGiC1hBHPF/Y/sy3ga4jRE1FcVtTb5LYqkg2gnYFbUpk7uh9/kuqbJPs8iHOVvsiAwdAbEnYxB8E/PpZKvfUDARnbV4KQMdeERnQ1Kcvkpw6sxFl/DitrLWMMjEoFzrRcF5ptmpnJBi2yfRor3Ktn2aJV/z59QtRbA7VVnNXRNXUYqs7OwTRlvSaMuKGU11FLOloYAlOGpioSycZb7U63HKkt9aCiQ5/1tRQgXmj11mkXUvZfcEPFCYGWySwEC0KM6A4AVsqGTvpTp9pxH+0hUpwgMNrvk02K5qBE262Pofxu2qTMnvonaCMtTUVGBB+B/jWQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2WMg-0000fn-1k for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 09:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2024 13:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71909 X-GNU-PR-Package: emacs Original-Received: via spool by 71909-submit@debbugs.gnu.org id=B71909.17294323332507 (code B ref 71909); Sun, 20 Oct 2024 13:53:02 +0000 Original-Received: (at 71909) by debbugs.gnu.org; 20 Oct 2024 13:52:13 +0000 Original-Received: from localhost ([127.0.0.1]:46358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2WLt-0000eN-3Y for submit@debbugs.gnu.org; Sun, 20 Oct 2024 09:52:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2WLr-0000e9-2b for 71909@debbugs.gnu.org; Sun, 20 Oct 2024 09:52:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2WLK-000385-8G; Sun, 20 Oct 2024 09:51:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kIG0k+W7Aqziecqz3nMmdzx0tws9N4l1mcxJOrSTTTw=; b=fCqFrVcJqJP2 EjAKlun75qdprveBSMg8cZdGenSAHFaOf1yxkbAT9uss/S+U6S/BPC/MBe6QJ+lp582DDtpJXO8fg D0/PBGncV2OF0Fr5acl8ZlnEADB8BCEInY7up1WsAfkqgVhaosVB/CYqBjc/of5KU68M2Slz899ll 3Eqp+ILd93K7grGSR95ID+PD/P+mT8w4BYlrWPukjxMYn1zWnznYxx5CU/xdkn4k0OK1k3Lnv7Xzt 0dh+nmpEv0Ln+LOZ/YrGDQT/FVG34RM/OiqkGhdkjUPhGeC06gZykR6YO+2f8YrTWhiYjOW7O0CHa MFwon65eRqoELTktoyBHQQ==; In-Reply-To: <87bjzerkeq.fsf@localhost> (message from Ihor Radchenko on Sun, 20 Oct 2024 13:09:01 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293965 Archived-At: > From: Ihor Radchenko > Cc: Eli Zaretskii , cpardo@imayhem.com, 71909@debbugs.gnu.org > Date: Sun, 20 Oct 2024 13:09:01 +0000 > > Visuwesh writes: > > >>> where text/html is the most useful. > >> > >> no, the most useful is Rich Text, but Emacs cannot yet yank that. > > > > Possibly. But we could at least "hijack" shr to convert text/html to > > string with text properties on it, or make it insert markup elements. > > I've done the later as a personal hack and it works fairly well. > > May we utilize tree-sitter? > Having an AST, it should not be too hard to convert it into something > Emacs can understand. You mean, someone has written a tree-sitter grammar for Rich Text? If not, what do you mean by "utilize tree-sitter" in this context?