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#42431: 28.0.50; browse-url-of-dired-file confusing messaging Date: Thu, 13 Oct 2022 13:35:44 +0300 Message-ID: <83sfjs9fjz.fsf@gnu.org> References: <87v9ijl2ol.fsf@gnus.org> <87blk04mw8.fsf@gnus.org> <83eeoh7f68.fsf@gnu.org> <87a6z55u7j.fsf@gnus.org> <83y2mp5te0.fsf@gnu.org> <87pn80w49u.fsf@gnus.org> <87lfiow3tq.fsf@gnus.org> <87wn948ay1.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39260"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, michael.albinus@gmx.de, 42431@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 12:53:10 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 1oivpt-000A4P-NM for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 12:53:09 +0200 Original-Received: from localhost ([::1]:50428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oivps-0004Ia-KG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 06:53:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oivaK-000349-2w for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 06:37:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oivaH-0000T4-Ts for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 06:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oivaH-0006Nz-IX for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 06:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 10:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42431 X-GNU-PR-Package: emacs Original-Received: via spool by 42431-submit@debbugs.gnu.org id=B42431.166565736924483 (code B ref 42431); Thu, 13 Oct 2022 10:37:01 +0000 Original-Received: (at 42431) by debbugs.gnu.org; 13 Oct 2022 10:36:09 +0000 Original-Received: from localhost ([127.0.0.1]:59699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oivZQ-0006Mo-UZ for submit@debbugs.gnu.org; Thu, 13 Oct 2022 06:36:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oivZP-0006MP-Ap for 42431@debbugs.gnu.org; Thu, 13 Oct 2022 06:36:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oivZ1-0000Gf-Qm; Thu, 13 Oct 2022 06:35:56 -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=SxpEOmJQnvEj4psboydo9YexnZHWEMy9TaGZufcwEmM=; b=MhSrCf0muJ3T OCImpng8YZmtNDg0a6m0hO3+nCADu/QEUVp5A3NVzhbub5aMlrvb2325dUmJJyZTL0Il+pc18XvYK 1PG6nc9kooCEVIkAvNWva+5FwDD/oHvpeu/HEMaZDvDv+3l4R6nSiddXpwQGbMSZBCkjkGtk8t2UF lYtErTHthPFNwb4049q0b53oG6F4M/YsngZIE9bKsRDVCa7wAXZDnb/RRtE479E77vdqk8fB18MA1 NjfIL+2emBD+4Jtnz3DXTlq7KYCu3mFTIMJZh2ld+g59HcN3AGySvZrC92NxYQC6VumZpFKaTYR1r DW1Rd0cfII0n+x9c7FgCwQ==; Original-Received: from [87.69.77.57] (port=3220 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 1oivYo-0007ib-O6; Thu, 13 Oct 2022 06:35:37 -0400 In-Reply-To: (message from Paul Eggert on Thu, 13 Oct 2022 01:51:00 -0700) 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:245292 Archived-At: > Date: Thu, 13 Oct 2022 01:51:00 -0700 > Cc: michael.albinus@gmx.de, 42431@debbugs.gnu.org > From: Paul Eggert > > --- a/src/fileio.c > +++ b/src/fileio.c > @@ -5000,7 +5000,7 @@ because (1) it preserves some marker positions (in unchanged portions > unbind_to (count1, Qnil); > } > > - if (NILP (handler) && !NILP (visit) && current_buffer->modtime.tv_nsec < 0) > + if (save_errno != 0) > { > /* Signal an error if visiting a file that could not be opened. */ > report_file_errno ("Opening input file", orig_filename, save_errno); Why would we want to signal an error when VISIT is nil? We didn't before.