From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#42432: 26.3; Doc of `browse-url*' functions Date: Sun, 19 Jul 2020 20:24:35 +0000 (UTC) Message-ID: <942d4135-221f-408c-b73d-72eec963d4f6@default> References: <7b421460-c539-46a0-af04-be2d1555169d@default> <87d04rl1or.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32322"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42432@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 19 22:25:14 2020 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 1jxFs2-0008JT-Fe for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 22:25:14 +0200 Original-Received: from localhost ([::1]:39342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxFs1-00047g-Iu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 16:25:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxFrr-00046H-6w for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 16:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxFrq-0004kc-UL for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 16:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxFrq-0004SD-R5 for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 16:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jul 2020 20:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42432 X-GNU-PR-Package: emacs Original-Received: via spool by 42432-submit@debbugs.gnu.org id=B42432.159519028817091 (code B ref 42432); Sun, 19 Jul 2020 20:25:02 +0000 Original-Received: (at 42432) by debbugs.gnu.org; 19 Jul 2020 20:24:48 +0000 Original-Received: from localhost ([127.0.0.1]:33129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxFrb-0004Ra-Uk for submit@debbugs.gnu.org; Sun, 19 Jul 2020 16:24:48 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:54862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxFra-0004RN-46 for 42432@debbugs.gnu.org; Sun, 19 Jul 2020 16:24:47 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06JKNXmb026843; Sun, 19 Jul 2020 20:24:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=aysGyBCtTnVAv6DhGIFjS/SG2y1vbEQshnzdpMPA1jo=; b=AyzMn1+x4Wzdfus2l/2kYzf/CmIUbgVkK1qaTb4Xhom5swjStyCMlENBSwnfHfHD30WB ujYHFEuA9wyp85T42DsktxlY5mk4qWXuNMlHOYiKYjc1p01ymhCkYZ0B7OSvcVpJ1xNr yMMvbV31DNKaAWTSWLYub9LT/eXnBZRdTnmfJst4OS1UvgebvaArkpheRsyGC9jzNIRB Nt8eRnFZupPaHqmYnoD2Wun5AimdtGiO5T1OB3es05j1Ya6L3O3AgcWlFiDCDqTvVrAA hXw3VduNOt9elOkIliUPsCm56oX7LCqRzDRphpaJ4CGfTY7e5hslY8bOCjQ8R8RRqmKl jw== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 32bs1m3st2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 19 Jul 2020 20:24:39 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06JKKnXt038829; Sun, 19 Jul 2020 20:24:39 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 32cqm73n4f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 19 Jul 2020 20:24:39 +0000 Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 06JKOaIo008207; Sun, 19 Jul 2020 20:24:37 GMT In-Reply-To: <87d04rl1or.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5017.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9687 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007190160 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9687 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=999 malwarescore=0 clxscore=1011 spamscore=0 mlxscore=0 impostorscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007190160 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:183268 Archived-At: > > The doc of the `browse-url*' functions that says that the function > > uses a WWW browser is, in general, incorrect when it comes to functions > > that can browse a file. The doc should be corrected in this regard. > > > > For example, any function that directly or indirectly uses > > `browse-url-default-windows-browser' does NOT, even in general, use a > > web browser. It typically uses `w32-shell-execute' with action "open" > > to open the file. In general, the program that does that is determined > > by the file type, and in generalt it is NOT a web browser. >=20 > You're right about the doc string being misleading, but it's incorrect > for new reasons in more modern versions of Emacs. :-) More "modern" versions than the latest release (which is what I reported about)? ;-) > These days,=20 No, not in the latest release, which is what "these days" should refer to. Let's not get ahead of ourselves. ;-) > that action is only called for files that have with > .htm{l,} in the file names, so it's more correct in that > regard. But all other files are opened using Emacs > itself now, so there's no web browser involved. If they're opened in Emacs then that's worse behavior than previously. In Emacs 26.3 and prior, the appropriate MS Windows "open" action was taken for the file. To me, that's far preferable behavior to having Emacs override the user (Windows preferences) on this. My complaint for this bug was only about the doc. But if the behavior has changed as you suggest then that's a much more serious regression. I don't see that in 26.3 - please consider filing a bug for that if you see it in some future version. Emacs does provide a way for users, inside Emacs, to specify their preferences for programs that act on given file types. Option ` dired-guess-shell-alist-user', for example. But this should presumably specifically be about the MS Windows "open" action, IMO.