GNU bug report logs - #40679
28.0.50; Multiple definitions of explicit-shell-file-name

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Fri, 17 Apr 2020 10:38:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40679 in the body.
You can then email your comments to 40679 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to monnier <at> iro.umontreal.ca, tino.calancha <at> gmail.com, bug-gnu-emacs <at> gnu.org:
bug#40679; Package emacs. (Fri, 17 Apr 2020 10:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Basil L. Contovounesios" <contovob <at> tcd.ie>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, tino.calancha <at> gmail.com, bug-gnu-emacs <at> gnu.org. (Fri, 17 Apr 2020 10:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Multiple definitions of explicit-shell-file-name
Date: Fri, 17 Apr 2020 11:37:49 +0100
[0001-Define-explicit-shell-file-name-only-in-shell.el.patch (text/x-diff, attachment)]
[Message part 2 (text/plain, inline)]
This is a followup to the following emacs-devel thread:
https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00880.html

The user option explicit-shell-file-name has been defined in three
different places and under three different custom groups since at least
as far back as 1997:

- lisp/shell.el
- lisp/term.el
- lisp/obsolete/terminal.el

I think there should be only a single definition, and lisp/shell.el was
suggested as the correct place in the aforementioned thread.

I attach a patch which does this and also cleans up a couple of uses of
explicit-shell-file-name.  Tino, was there a particular reason for using
explicit-shell-file-name instead of shell-file-name in
dired-insert-directory[1], or is it safe to swap them?

[1]: Don't assume /bin/sh as the 'sh' location in the local host
e82c4f56e6 2017-08-02 16:50:44 +0900
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e82c4f56e6f9a6bce4098698b17fa45dcc5bbd25

Thanks,

-- 
Basil

Severity set to 'minor' from 'normal' Request was from "Basil L. Contovounesios" <contovob <at> tcd.ie> to control <at> debbugs.gnu.org. (Fri, 17 Apr 2020 11:22:02 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from "Basil L. Contovounesios" <contovob <at> tcd.ie> to control <at> debbugs.gnu.org. (Fri, 17 Apr 2020 11:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40679; Package emacs. (Sat, 13 Jun 2020 16:40:02 GMT) Full text and rfc822 format available.

Message #12 received at 40679 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 40679 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#40679: 28.0.50; Multiple definitions of
 explicit-shell-file-name
Date: Sat, 13 Jun 2020 17:39:51 +0100
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> Tino, was there a particular reason for using explicit-shell-file-name
> instead of shell-file-name in dired-insert-directory[1], or is it safe
> to swap them?
>
> [1]: Don't assume /bin/sh as the 'sh' location in the local host
> e82c4f56e6 2017-08-02 16:50:44 +0900
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e82c4f56e6f9a6bce4098698b17fa45dcc5bbd25

Ping.

-- 
Basil




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40679; Package emacs. (Tue, 18 Aug 2020 13:56:02 GMT) Full text and rfc822 format available.

Message #15 received at 40679 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 40679 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
 Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#40679: 28.0.50; Multiple definitions of
 explicit-shell-file-name
Date: Tue, 18 Aug 2020 15:55:39 +0200
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> "Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
>
>> Tino, was there a particular reason for using explicit-shell-file-name
>> instead of shell-file-name in dired-insert-directory[1], or is it safe
>> to swap them?
>>
>> [1]: Don't assume /bin/sh as the 'sh' location in the local host
>> e82c4f56e6 2017-08-02 16:50:44 +0900
>> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e82c4f56e6f9a6bce4098698b17fa45dcc5bbd25
>
> Ping.

Tino, did you find time to have a look at Basil's patch?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from "Basil L. Contovounesios" <contovob <at> tcd.ie> to control <at> debbugs.gnu.org. (Thu, 03 Dec 2020 17:29:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 40679 <at> debbugs.gnu.org and "Basil L. Contovounesios" <contovob <at> tcd.ie> Request was from "Basil L. Contovounesios" <contovob <at> tcd.ie> to control <at> debbugs.gnu.org. (Thu, 03 Dec 2020 17:29:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40679; Package emacs. (Thu, 03 Dec 2020 17:29:02 GMT) Full text and rfc822 format available.

Message #22 received at 40679-done <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 40679-done <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
 Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#40679: 28.0.50; Multiple definitions of
 explicit-shell-file-name
Date: Thu, 03 Dec 2020 17:28:37 +0000
tags 40679 fixed
close 40679 28.1
quit

No comments/objections in 8 months, so I've now pushed this to master.

Define explicit-shell-file-name only in shell.el
6ecec60966 2020-12-03 17:25:04 +0000
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6ecec6096697729491ba141e7650ad69de5f034e

-- 
Basil




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Jan 2021 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.