From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#47771: 27.1; `Info-read-node-name` throws error during completion Date: Thu, 06 May 2021 11:26:04 +0200 Message-ID: <87tungz00j.fsf@gnus.org> References: <4d2568fb-adad-6f3e-2684-13ec2cc70457@daniel-mendler.de> <87zgx94478.fsf@gnus.org> <76b980e3-3482-4abf-eb42-41c31382e145@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12032"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47771@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 06 11:33:39 2021 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 1leaO3-0002zE-E4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 11:33:39 +0200 Original-Received: from localhost ([::1]:51078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leaO2-0002D6-FN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 05:33:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leaHe-00053L-KA for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 05:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leaHe-0005JX-9h for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 05:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leaHe-0007aw-6J for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 05:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 09:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed fixed Original-Received: via spool by 47771-submit@debbugs.gnu.org id=B47771.162029317529185 (code B ref 47771); Thu, 06 May 2021 09:27:02 +0000 Original-Received: (at 47771) by debbugs.gnu.org; 6 May 2021 09:26:15 +0000 Original-Received: from localhost ([127.0.0.1]:37111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leaGt-0007af-Fp for submit@debbugs.gnu.org; Thu, 06 May 2021 05:26:15 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:45770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leaGs-0007aZ-0a for 47771@debbugs.gnu.org; Thu, 06 May 2021 05:26:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=g9ME977Buy0fiX+9tk04JdtnOtELu6Q9sV8yY5iqVzQ=; b=E6+tWJGB+hW4qtrpDFz2ho3Z0/ iJ3xd6g4HatYLtC2nXMto5er3JvBNo4PFp+KozNJlVyagZnBBlykUxwTR0y4yWdMpcJ8EU1+QMRcs dgeN0BO1acKLQFulb9t5yIOz/Mg1ELneMn9akyzNlf+b/yg6lbyw5PD6S+cJHKxh1FSQ=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leaGi-0005Oc-Sg; Thu, 06 May 2021 11:26:07 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEUyNzg9QUM5PkEt MjUnLC9dX2HRzs6wr6/Av75MT1Ftb3CQkZHp5uV+gID///9zwziWAAAAAWJLR0QOb70wTwAAAAd0 SU1FB+UFBgg1JPf3h+IAAAF0SURBVDjLrZQ/T4NAGMavvl26iU52UvkCr56adDMpDMXFpQNOTnXQ wZgUkuqscy1Li4ODmrS42oF2lZiUT+CnEXr8uTtg8x0IvD+ee+457iA1RVF2iVwbCvdA14XiG5C0 KRXaeVPQQNqnyK4oC6jsIgFaMhS7rxAAigIkWzVlfw8KFnrP6tmP9gi4cGtg3C/6vhUBlEG/S9xl GQias+u57RRyGOHtwdP7QxkIdkw3dEBeEiNc1T9uAgeKisv6ZyiAxDx83X4J46GktTJWp+REVLDk xreGZ4EVASmHfjV5O/ZsJwuIKbBn04n9pWY5MuB3ZxfzO7XwzfVpY+CNz1UuH3PvTDeXPyZRs9li IuksBk3/EGOAInDchT8kvDkDreeG92sOBZBEBE1jX59FQX7/8BsrVxQ2nCzhD0IVwNgxWlYKFOQj 0jLHw3FU3RGIIJ0HAUmR2yDKAjY3oAVASqw5EamoSlLi8B9V+hch5EhLqt0Wsv8BKqKedXq3OdkA AAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDUtMDZUMDg6NTM6MzYrMDA6MDBbkxCZAAAAJXRFWHRk YXRlOm1vZGlmeQAyMDIxLTA1LTA2VDA4OjUzOjM2KzAwOjAwKs6oJQAAAABJRU5ErkJggg== X-Now-Playing: Zola Jesus's _New Amsterdam_: "Lady In The Radiator" In-Reply-To: <76b980e3-3482-4abf-eb42-41c31382e145@daniel-mendler.de> (Daniel Mendler's message of "Wed, 5 May 2021 17:48:33 +0200") 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:205782 Archived-At: Daniel Mendler writes: > Thank you. There is one additional issue I missed in the bug report. If > you call `Info-build-node-completions` with a file without info tags, it > will also throw an error. So maybe it would be better to wrap > `(Info-build-node-completions (Info-find-file file1 nil t))` with > `ignore-errors`? Slapping an `ignore-errors' around all that code feels a bit excessive (it makes debugging hard), so I've instead made `Info-build-node-completions' a bit more resilient -- it'll catch errors from `Info-goto-node' instead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no