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#63125: 30.0.50; [BUG] last argument of libxml-parse-html-region has no effect? Date: Fri, 28 Apr 2023 14:31:28 +0300 Message-ID: <83ttx0qm3z.fsf@gnu.org> References: <83h6t1s16p.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29177"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63125@debbugs.gnu.org To: Ruijie Yu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 28 13:32:21 2023 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 1psMKr-0007MQ-4c for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Apr 2023 13:32:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psMKa-0003Me-Ri; Fri, 28 Apr 2023 07:32:04 -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 1psMKZ-0003MN-9X for bug-gnu-emacs@gnu.org; Fri, 28 Apr 2023 07:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psMKY-0004pE-73 for bug-gnu-emacs@gnu.org; Fri, 28 Apr 2023 07:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psMKY-0002gW-2e for bug-gnu-emacs@gnu.org; Fri, 28 Apr 2023 07:32: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: Fri, 28 Apr 2023 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63125 X-GNU-PR-Package: emacs Original-Received: via spool by 63125-submit@debbugs.gnu.org id=B63125.168268146610229 (code B ref 63125); Fri, 28 Apr 2023 11:32:02 +0000 Original-Received: (at 63125) by debbugs.gnu.org; 28 Apr 2023 11:31:06 +0000 Original-Received: from localhost ([127.0.0.1]:60658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psMJd-0002ev-PW for submit@debbugs.gnu.org; Fri, 28 Apr 2023 07:31:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psMJY-0002ZV-Qv for 63125@debbugs.gnu.org; Fri, 28 Apr 2023 07:31:04 -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 1psMJS-0004bG-AO; Fri, 28 Apr 2023 07:30:54 -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=Mos3TKwbHhYdY4DWNHoWpQX5Ij/41pw5MsIpHBhUTKU=; b=PILBxNhKlons WWHBxsmBRFsGNxnMdL3c3mbkU88wZv9kM9x7lG55/3v+S7d4spTStoyQEtgQz5D6s3ivrR1b3oQzy SaWFWtd/V519+SFsHNPgl3vKYyRIoh8OXkqsMVfd+nqpWUZPiPbL49FUg2cZF/6jvDD+MRyioKkjd bBnwbrIBzu7mveNvMnxoq04Tfu/IdUJvdHuXQtToh9ecIqocF/CBYoXz1w0sBtM7UlGhCXD9RPnX/ 5jLC+wkrtEJYMVtIPD81J+zeH5W0vBo4/579j5DdoghKqpRZrAmylNNoO+a/nFBO0NgeVP3z4CnS4 RvbvvkuZATyYOlAAso7SwA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psMJR-0006kR-KW; Fri, 28 Apr 2023 07:30:54 -0400 In-Reply-To: (message from Ruijie Yu on Fri, 28 Apr 2023 18:40:35 +0800) 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:260772 Archived-At: > From: Ruijie Yu > Cc: Eli Zaretskii , 63125@debbugs.gnu.org > Date: Fri, 28 Apr 2023 18:40:35 +0800 > > > I have filed an issue [1] in libxml2. We'll see what they say about it. > > > > FTR, [2] is the documentation of the libxml2's htmlReadMemory() > > function -- though it does not say much. > > > > [1]: https://gitlab.gnome.org/GNOME/libxml2/-/issues/525 > > [2]: https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-HTMLparser.html#htmlReadMemory. > > I just got a response from one of libxml2's maintainers. > > It seems that the docstring for `libxml-parse-html-region' is wrong: > this argument has never served the purpose of resolving relative URLs. > It was only used for error messages. So I suggest that we modify the > docstring of this function and `libxml-parse-xml-region' to reflect this > fact. The response doesn't say much. What is this "base URL" argument used for, and why is it named "bas URL"? What does it mean "used for error messages"? And where is the up-to-date and accurate documentation of this function, which explains what is this argument for? Without knowing all that, we cannot fix our documentation, let alone code.