From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 5141234acf: Refactor the webp cache code to allow usage by gif_load, too Date: Mon, 11 Apr 2022 21:29:22 +0800 Message-ID: <871qy321fx.fsf@yahoo.com> References: <164967696186.12152.11548736665906939483@vcs2.savannah.gnu.org> <20220411113602.7A114C0581E@vcs2.savannah.gnu.org> <87bkx73jfz.fsf@yahoo.com> <878rsbbxi0.fsf@gnus.org> <874k2z3hj8.fsf@yahoo.com> <8735ijbwk7.fsf@gnus.org> <87lewb228m.fsf@yahoo.com> <87lewbahh2.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12100"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (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 Mon Apr 11 15:31:23 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 1ndu8Z-0002vp-MK for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 15:31:23 +0200 Original-Received: from localhost ([::1]:50204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndu8Y-0006h8-LP for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 09:31:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndu6x-00040o-D9 for emacs-devel@gnu.org; Mon, 11 Apr 2022 09:29:44 -0400 Original-Received: from sonic306-21.consmr.mail.ne1.yahoo.com ([66.163.189.83]:34733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndu6v-0000Kv-FI for emacs-devel@gnu.org; Mon, 11 Apr 2022 09:29:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649683779; bh=v4pDbPNYeVQC7vvYxwy93L+sqWwfYp/dxNycdG0uvoM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=JJawd9+NV+utvF0PFgXyW9uOTceXiAF7PeMSq1Yi4WBowm84yIUDxEPCOv3QNedEsbZSK72FSLpydM/fQ1OGXqOVLE7PxAS6dt2gwfGGXbDBY1ReBlMXzaeH8mTaMtDfmFEjkAp316v8V1zWvuP4T8XY+7iCG9AhL4i3j7+0yRpTCvgrzfYWjPIkNOUab+8wqEHDdHLfm9QZckSPJia3VGtuK+kMRs9p0caP3+ZbXqs7LkYXp2iIxVrFxAYaKLPvg0TV3WN0oJkiiJO2UEeDGUvnycDM0iXPegcMFHMITpHD0eYIFKknv60FAGUD5dox/xgrmb76tnzt9UsuAHDwnA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649683779; bh=DF/dc8tJDkgpFuCP1LxXRyxsPmuYloNEWwcLRiWYyYC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=EUf+Y5qMdpoMdVBzhdHy14EyvBl0lgITujYdynHjnIMo0Jr/xl3K2Szixanu3UqRdpvQ/BJPHJTWHxq0PlPz5+n5UoG9GngdrkltaI3JXrcOPWySkpmpWwyxXucgr/O/QzRjgH4TYQRHALEvEwM4FDfyGnbFH2yI21SI84hyyyynx4r9z9rEJls65gcM6K1hQ0RRuH13wKalUs9tr1YlvLZphu3uCemPDRNzd5E/yH33Yozqw3rB09gUTTA4O8VqtMikbgsY1eTSwak1ZRJ6/4RxIfcuLJlAREdb9JlTByGe6yFzhmny7wRyBAZ2urCW3Mf1azS5nX8CEq8z7uwQFA== X-YMail-OSG: .MTewuYVM1lX9Ec.IRVBJk3Lf5g_nZS5JwagFNH5uPvCd7oD2TReoaEJiHBo5LH WzwcEr65F1ftTjTnqqvgOXlf0vC8WEHTovaYc.wYSY4NaEQb5YWoLaX.8IxPzVgyb8UXTQB9ft84 iPQf4hggyduTuCpCcIo_SvPB9jNpP6Z0AodlthxwSFu6axirnMy3JS4afn1FyGv3fspZn2KQggY_ AAWuKCeGY6k4NiHbCZUfv_See4ALv82DFMCq2uMdzCyeDClaZAD2Un0Vj1M2Y2z9h1R4ZV8XKQ9f g0dSEpmVWDjvcy7mhhAUazJak5MmaKTKVNPM23narDBkw35BfHqX69u83tAaaocA86w0VOJ7L1iV dkt8k4nqJAjqLoEMILCvofnofYldX9oRaoGE0p3M1u0TE0JAJCoGbGYynz3bycWrxLTMm0.ZLSs2 lYRO0ZsWxViOMUpgkKidEahK8dXZiEV4VQHhy1UsKTdt8LZ7GYkRuaXBdGV6GYkwatOnm4f7ifJ7 0AfHIaigglaHz28KqtQlxr8JqvGZlBK7ZYAF8Xy2DfYOEI0_4JJz7I3mUnUYEDS0mV_ZhsJ.QdMW 0WypGStFpvdlpmHlsPjGKJQNHgy0LvuHaHXzShdq8jemUlC.aaqPa54NTlVroYsrFV1Z_ar9Fs1p ZRsSIIDwowiDl2sMNSN.3FQTqySX9_CAArsEbVRvz7vvjFRptgvZQ0vdIPD8.7bIv0JvGOHDB6AV .kMYgBNcpL2rDQjUIvq10TxHnhWGa6K4Qy3askzVlRRQMnwiq1872sFr6L6WLKxVA0hX04TwLiI4 p7V95Le2m523_DVU2BAy94j97zN3MYBx5buRImb8S6 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Mon, 11 Apr 2022 13:29:39 +0000 Original-Received: by hermes--canary-production-sg3-65d7bd97b5-c48mf (VZM Hermes SMTP Server) with ESMTPA ID d8ed0edbabb6b9977d4c6af9d8359ab9; Mon, 11 Apr 2022 13:29:33 +0000 (UTC) In-Reply-To: <87lewbahh2.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 11 Apr 2022 15:15:53 +0200") X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.83; envelope-from=luangruo@yahoo.com; helo=sonic306-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:288197 Archived-At: Lars Ingebrigtsen writes: > Po Lu writes: > >> Why not put something like this inside mark_image_cache? >> >> #if defined HAVE_WEBP || defined HAVE_GIF >> for (struct anim_cache *cache = anim_cache; >> cache; cache = cache->next) >> mark_object (cache->spec); >> #endif > > Oh, yeah, that's a good idea. Thanks -- I thought I'd have to do > something more complicated. Any time, thanks!