From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kjartan Oli Agustsson Newsgroups: gmane.emacs.bugs Subject: bug#55825: [PATCH] Reconvert EPUB buffers when user CSS is changed Date: Tue, 07 Jun 2022 21:51:46 +0000 Message-ID: References: <83pmjk7mxp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35305"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 29.0.50 Cc: 55825@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 08 01:19:35 2022 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 1nyiU2-00093c-V7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jun 2022 01:19:35 +0200 Original-Received: from localhost ([::1]:52636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyiU1-0002bg-T7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 19:19:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyhHy-0005ak-95 for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 18:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyhHx-0004Oy-Vc for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 18:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyhHx-0000UR-RZ for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 18:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kjartan Oli Agustsson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jun 2022 22:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55825-submit@debbugs.gnu.org id=B55825.16546393581854 (code B ref 55825); Tue, 07 Jun 2022 22:03:01 +0000 Original-Received: (at 55825) by debbugs.gnu.org; 7 Jun 2022 22:02:38 +0000 Original-Received: from localhost ([127.0.0.1]:41762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyhHa-0000Tp-33 for submit@debbugs.gnu.org; Tue, 07 Jun 2022 18:02:38 -0400 Original-Received: from mail-oln040092073039.outbound.protection.outlook.com ([40.92.73.39]:3206 helo=EUR04-HE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyhHX-0000TM-MF for 55825@debbugs.gnu.org; Tue, 07 Jun 2022 18:02:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Udz6wz3piKNBImXT/5tbD8xj00Bpf4iUKzH4hzyx527sS4SoW7vEAnguYYdkkqpUlpzidlzX2HKjan8Yxk+lftn5jzXo9HR/DW83m4Pif33bnrmXmonnU/6dW1J/10oA4u3mkeNVeMCv2q+UZ3QoDxHVoB/rCrSBGTwMgY1yBA+NZp84t8t5wHDerN62EIwNP+0UA6JPIFXH+cfyuWXlto8sujLrJVMnEXFleHI1+BLwkgEj0/Z2aWSITTRmFwoDWMIPB1chWZPnlQW2I2S74aHCpm/wc8connkh30qCDtPvdyvh4yMB1kFRwHmQih0iEeZ6/SqbPSL5LdoJZySIBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zZI+TpR0OZtE9h/MoAmLwSxycMI884hkZ9/f08aImgw=; b=nwSMjCJvhNkB2LZoZobN89uPQjz3V+EWX/s1kAV/4gWQ8N7kmk0oPdvItvhU36KxLTQlWYu6EIYBToRLk+fspbr1KQ6HY0NgN8qgbsG0PoYtO6WdygJrWT0GovIa6MXOGHOHWmGm//g2NcqqSbOtEItbGs+t72sdzCJmF1p1cOyggCGcHObqHbmyVPTR6SYM5gam77puVs4mijRUI7RVZrXNnboPJwHhAKLiteb/+gEGXEe4BouaCnJ4s8aIEiTJItkRZT3/KeEsAvG2fazGdCXumEENX17826DrJ9ZMzAIypHW+6K909X+dtU3pydIR+8ouendt4siIlBBaGanpOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zZI+TpR0OZtE9h/MoAmLwSxycMI884hkZ9/f08aImgw=; b=CefdbbgdPk++tDGs9sH6H1uknYu1yviuCcfyA5v1VWW8w9WDyTUvhHBl6LJMSsTb/vXs7PoO5FO6jrlJ7v35/jcf+9Ncky2dzDcdIMqm9FHq6JoZSAzIl9MpZfrgnJVFqp3VuTFGSzrzuV002gHIDmu+XsHP4yP8Y9Zq/4BYfTRSmdX6W5nMvtjU2LeK55GTV0cM5NTQtEB+bTBssLrQ91ne/iaU9i+Sd27MK0ZgD2+hOO82d0/fDeJbDmbD4QM8mkuOWjm6tpZdJ/HzyAnXpOjesmJ799GH8UgmQ+XgGJhPLKP4L8V4gDFho94BWU1NEp/U0c28sKfNDcOQgGUBvA== Original-Received: from GV1P193MB2310.EURP193.PROD.OUTLOOK.COM (2603:10a6:150:2a::20) by PR3P193MB0716.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:37::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Tue, 7 Jun 2022 22:02:29 +0000 Original-Received: from GV1P193MB2310.EURP193.PROD.OUTLOOK.COM ([fe80::ec59:f94:e9c4:2f17]) by GV1P193MB2310.EURP193.PROD.OUTLOOK.COM ([fe80::ec59:f94:e9c4:2f17%8]) with mapi id 15.20.5332.012; Tue, 7 Jun 2022 22:02:29 +0000 In-reply-to: <83pmjk7mxp.fsf@gnu.org> X-TMN: [h6CJSQAkj8NhbrIdYCk0pbbK00yLOc9k] X-ClientProxiedBy: AM9P250CA0028.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:21c::33) To GV1P193MB2310.EURP193.PROD.OUTLOOK.COM (2603:10a6:150:2a::20) X-Microsoft-Original-Message-ID: <87a6aoyvws.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 76ef84bf-ae84-4f21-1b9f-08da48d169e2 X-MS-TrafficTypeDiagnostic: PR3P193MB0716:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7KUwcPW3nmhwvJ1tn3nKVPeqy5fF5qJ6yLoGQHyqVFZ1aiZTpyXYnwLP+fMKoKD6rNgrdeOdA659/mmQPYd35el7WM18GoyBt92QjOarRtG5fccwM922wN/U7MIx75FD8pETz+lAtWBrl+WC8luKWxTQq+1IVs2Nq13lfE0LUbNoe85yUaXTYsynk+5I58IqJHH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wPfCm7cxzbZsgC6gaQCNSUA9zfE1bpjbOBPMhKnWn7GgRwW5chW7E9WQqVmWLGdTv+lv4tlMZMBNWF3kfpCKP1KsIO7cUbQV+Nit3A2NQthZ0UfP1s3nyW2eEfymIKqvYceAVmKHu/vSED8h08Q5zPoGHTqSCwGs7 rPtVEpexO4XfDfsFv1q6d7ctNznq+EMaWqFybQVD3l7CEs46zix+O3WW/hD1uNTg5n3XahX3NZn1OfDfNreIeYglnUq3PXBr1f X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76ef84bf-ae84-4f21-1b9f-08da48d169e2 X-MS-Exchange-CrossTenant-AuthSource: GV1P193MB2310.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2022 22:02:29.0792 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P193MB0716 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" Xref: news.gmane.io gmane.emacs.bugs:233938 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > Are you sure 'change is TRT here? What kinds of changes did you want > to watch in this case I'm trying to detect a change in the contents of the file, which would probably mean that the CSS rules have been modified. >(it isn't clear from the doc string or the log message) Yes, I see now that I forgot to add a mention of this in the docstring when I added the file watcher, I will rectify this. > 'change is a synthetic event, and it means slightly different things > with each file-notification back-end, so I wonder whether 'change is > portable enough here? From=20what I could see from the docstring of `file-notify-add-watch' 'change seemed the most appropriate, but if you think something else would be better I will gladly modify the patch to use that instead. =2D-=20 Kjartan =C3=93li =C3=81g=C3=BAstsson GPG Key fingerprint: 4801 0D71 49C0 1DD6 E5FD 6AC9 D757 2FE3 605E E6B0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHLBAEBCAA1FiEESAENcUnAHdbl/WrJ11cv42Be5rAFAmKfyvMXHGtqYXJ0YW5v bGlAb3V0bG9vay5jb20ACgkQ11cv42Be5rDkvAv/TDkt2FsNV5m5apDOO0zcTZ42 oU72luCZ9JlQGi9pzhC1CLi2Nbgo2QZk6nTuUAmzyD8e4oRdQOOBalsG0ghlXRGo a4G7sP9iAYfVsCb8sHteUjYmEU+L1GfFgYf/x7Ih7/Nk9IikOTcIKWa/42eMbCmE MzAsGhhJQxlU6gSDk2QcDGEscVa04R5lEIi1T48Y3Vjw0OxjyAa06ANg4/ACOsz4 K9FPFGneaMpXV2jtDmwe11Pl4TibGflGanoZTjRck6c2yI5obiVSqoNATptUpwtb rVpRCtFjkqiFyLA9Yw/JHN8/0fo/WkWcKP+7GbCEcPQtCu/YwcN2ZMLXmEKYi1+1 wUPd82UdOJYRkE6zq5TQYlPPNqcPHA1ANIUHtGX5nl8447pU+bmsmq539SDx0rDl 57YLfJsj99xxyf7jrq817HdyoWnBSBSZam8CZJplufEVTTsYbyJECa0DR9EAK1JC nrh+Tel62Qxtgug4CcNFn46/Yxq6CosPeMaClPjt =mtdv -----END PGP SIGNATURE----- --=-=-=--