From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex Schroeder via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66338: 30.0.50; grep-commnd set and using an old fish results in empty Copyright files Date: Thu, 5 Oct 2023 12:43:39 +0200 Message-ID: <73D50655-8D3D-47DE-B313-68BAC0669409@alexschroeder.ch> References: <87zg0x2wkx.fsf@gmx.de> Reply-To: Alex Schroeder Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6992"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 66338@debbugs.gnu.org, eliz@gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 05 12:45: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 1qoLr7-0001Y1-9g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Oct 2023 12:45:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoLqa-0004tU-ER; Thu, 05 Oct 2023 06:44:48 -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 1qoLqW-0004l4-6F for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 06:44:44 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoLqV-0001wo-SQ for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 06:44:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoLqn-0002Hs-KA for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 06:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Schroeder Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2023 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66338 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: dmitry@gutov.dev, "Alex Schroeder via Bug reports for GNU Emacs, the Swiss army knife of text editors" , Eli Zaretskii , 66338@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16965026718739 (code B ref -1); Thu, 05 Oct 2023 10:45:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Oct 2023 10:44:31 +0000 Original-Received: from localhost ([127.0.0.1]:46103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoLqJ-0002Gs-0J for submit@debbugs.gnu.org; Thu, 05 Oct 2023 06:44:31 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:38224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoLqF-0002GW-Sq for submit@debbugs.gnu.org; Thu, 05 Oct 2023 06:44:28 -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 1qoLpq-0003KT-7C for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 06:44:03 -0400 Original-Received: from out-193.mta1.migadu.com ([2001:41d0:203:375::c1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoLpm-0001qF-GB for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 06:44:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexschroeder.ch; s=key1; t=1696502632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C+IHB5wZx0N4kBYkZAnV3kuMpTNyRF74qc9ai+5SufU=; b=sP3OfA0HW6P6SK8yPLoEKosowL2PXyyf1mT5czaOH4WEqFyTUUBU4DsBgGOhByU4Xesp0/ hdvLll9v8P5PD1781q/e1wcZeL35AsX8ZmsPuvYuuU/onlk8bhShMvuqud8fkT+souvUin 3wnfb1W39Fs+o4iVLOs9xT1a9JESjeNHzXkNwJRLb53fPeleVeWVcWBo+QYhl7mgqWovng VTdNQAy0oXM92d72IJy8Xg37da4r1csgBhLRTY2DBR5uNY47X+GvDAp8w7fYiYWqfYOWYZ cAObpm07cIoeJiWN6VS9ZnCxhmxhGwX/AtrVmbgW46LGGQ+/WRWdFrGWBn+RGw== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: <87zg0x2wkx.fsf@gmx.de> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::c1; envelope-from=alex@alexschroeder.ch; helo=out-193.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:271862 Archived-At: Of course. =46rom my point of view this is not a question of how to fix it. M= y main problem is that it took me so long to discover what the problem was. --=20 Typed on a tiny keyboard. Sorry for being terse. > On 5 Oct 2023, at 12:27, Michael Albinus wrote: >=20 > =EF=BB=BFAlex Schroeder via "Bug reports for GNU Emacs, the Swiss army kni= fe of > text editors" writes: >=20 > Hi Alex, >=20 >>> So Emacs expects this variable to point to a shell that Emacs can use >>> to run programs, not your interactive shell. If you want a different >>> shell to be used in interactive shell sessions, such as "M-x shell", >>> then you should use the variable explicit-shell-file-name to point to >>> that other shell (in your case, fish). >>=20 >> I understand that this is what Emacs expects. It seems to me that other >> parts of a user=E2=80=99s system might go against this expectation, howev= er. The >> man page for login(1) says this, for example: >>=20 >> Your user and group ID will be set according to their values in >> the /etc/passwd file. The value for $HOME, $SHELL, $PATH, >> $LOGNAME, and $MAIL are set according to the appropriate fields >> in the password entry. Ulimit, umask and nice values may also be >> set according to entries in the GECOS field. >>=20 >> That is to say, if a users runs chsh(1) and decides to use fish, then >> SHELL is set to fish, it is inherited to all processes, and Emacs >> breaks. >=20 > You could always add '(setenv "SHELL" "/bin/sh")' to your Emacs init file.= >=20 > Best regards, Michael.