From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#75308: 30.0.93; man.el assume shell is bash Date: Fri, 3 Jan 2025 02:46:28 -0600 Message-ID: References: <877c7cbxb6.fsf@hades.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15526"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus To: Ted Phelps , 75308@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 09:47:16 2025 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 1tTdKt-0003u0-W2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 09:47:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTdKk-0001v7-QR; Fri, 03 Jan 2025 03:47:06 -0500 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 1tTdKh-0001uI-CS for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:47:03 -0500 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 1tTdKh-0007Vi-3r for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:47:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=0xH+thdJFZ1OeQIhGnANgPEJHXFjuYWqakBYzCA+lpw=; b=krPHEsl2ALaqv+jrlsNKyJ/dRwW5tX8AuYhzmEEa607EZJdVyWdNM65LfRbqt997206sDQMNoiGTMS3hkkuJsVCajq3+ZdIWjrVTgGnvg7qRoBE25bmPf3AZ1tgy+cIHucloFltQKbFnETEGBN+QHN++Dws7g20bn3jaNghXac16Fi8Em2OFKxOU4uXhykfGRMoOXT+TQWYbdbCjMNnm08TzzWw6uMtFvSpX23vhqlk2yGgObCDWDVoau8lgEFjR9kMKvjJ2gOkiBFRn9GvOUpkuY5iv3hxCOJ5D4QE71w13PwcdmAqfEhZu+hjY3JqSCByM9al2Hm9HwTkFSjP+Rw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTdKg-0002as-OM for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2025 08:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs Original-Received: via spool by 75308-submit@debbugs.gnu.org id=B75308.17358939979902 (code B ref 75308); Fri, 03 Jan 2025 08:47:02 +0000 Original-Received: (at 75308) by debbugs.gnu.org; 3 Jan 2025 08:46:37 +0000 Original-Received: from localhost ([127.0.0.1]:49462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTdKC-0002ZW-GO for submit@debbugs.gnu.org; Fri, 03 Jan 2025 03:46:36 -0500 Original-Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:50191) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTdKA-0002ZB-1R for 75308@debbugs.gnu.org; Fri, 03 Jan 2025 03:46:31 -0500 Original-Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5d3cf094768so19386195a12.0 for <75308@debbugs.gnu.org>; Fri, 03 Jan 2025 00:46:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735893989; x=1736498789; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=0xH+thdJFZ1OeQIhGnANgPEJHXFjuYWqakBYzCA+lpw=; b=j9D9mj6tayDBxPqxs3epLYMg2PMU6T27imOAM7gPKO+jCVWwVW18KGGq1ZxWiVgpkT gvA+oN5hqmpwemIQffvO4uX81zXDKANqBYx6mRwOH1QYB3Y+OeA4A9UBJvrCekgkZWOH PKSaxXRxgNlbWUr7ViTE1ITyOMbXWptegMOIgg0gLgCLs+9OWqjsg/RRkwxM1rc2FEs0 eMFoeTxheY3zx/5WVvdjDpFeRAdyW7qde76RCIqVRLKfO6oXt4O7xR5nknQNNpmWP5qO JhQOvUS8G1lQ7MyM+HLfzeTMgMfic7q030aIX4FDkzC4BSfnmMRK35goIqiE7S9NpADD cOFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735893989; x=1736498789; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0xH+thdJFZ1OeQIhGnANgPEJHXFjuYWqakBYzCA+lpw=; b=Pq3CBCcH05NZCHsvWbqTRSQED1yKwxghHZ+x3bSwbKqjrwW0ztHvp2HWfaHTCgIedF rLBUJ5AhkirAzhxV9p+yiAe/dCPsxt+plDZY4/WxWdc0O7PdXUahcBuhmOZBeX7jCak1 mebGwEIc0UxsuCWriCuDbyq4nOoq4K420H1eQhjebR16lCVKKiT9rIz46+Fa8iARr2+L 4j/oapxEv4fKTr48/4A4EhHaCg45n8TUlkIyOen/q07w632fet3f/DnCwAy+UsD8sDBw YJ5tVEICb4boivjCNNtE67u/VgIbWondHfuu5oLign6iymHcLmHXAPRIZAAouSv+n0GB px0w== X-Forwarded-Encrypted: i=1; AJvYcCXeN9gocKREPT7/Bi1pRTJKFo+4fP03bc2IWYpdwOwrckTGMQtm2lO/QkPnU7UrkYk+uTJvRw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yylu3bm8DdW92iUFhvjQdfbzbArKdFjH7Un8Jgry5ydyFVDcHp9 fy40u/qJEW5ISgba/iavK+0huHQgvRPjwI+p9nqIcKH2FQkmArKV5ffC+NHIR6D7qLLU5d8G6yr tCPRJd6aw0MiW0Ha3E1+Fnx+l0lc= X-Gm-Gg: ASbGncvEZPswiyEHu10cbnxZRa81W8BP6RsFuJQP7+AYsSIwgV1raQI61gc583cnFyh 9/nTE+LWNJpjd9S4SsHnFw0XlEqDzNltg47Xs6UI2 X-Google-Smtp-Source: AGHT+IG8BUyGQEv4HUuW2dCTJQFikXnfUQYJLoGhCXTC0xNIiQ0u171SbCQNhdqLqOQPRKEeBqyz3fmLzasEu0N+iOE= X-Received: by 2002:a05:6402:26c5:b0:5d1:f009:925e with SMTP id 4fb4d7f45d1cf-5d81ddad8edmr47117962a12.16.1735893988445; Fri, 03 Jan 2025 00:46:28 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 3 Jan 2025 02:46:28 -0600 In-Reply-To: <877c7cbxb6.fsf@hades.mail-host-address-is-not-set> 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:298262 Archived-At: Ted Phelps writes: > Steps to reproduce: > * env SHELL=/bin/tcsh emacs -Q > * invoke M-x man > * request a man page (e.g. emacs) > > This will produce output like the following instead of the man page: > > Unmatched '''. > BEGIN: Command not found. > anonblank=0: Command not found. > }: Command not found. > Illegal variable name. > {: Command not found. > }: Command not found. > Illegal variable name. > Badly placed ()'s. > Unmatched '''. > > process exited abnormally with code 1 > > Replacing /bin/tcsh with /bin/bash in the above command produces the > expected man page. > > It looks like the behavior was broken by the following commit: > > commit 861ac933dd8aed1028edc4b9142400e3702874d5 > Author: Michael Albinus > Date: Wed Nov 1 16:54:31 2023 +0100 > > Many thanks, > -Ted Thanks for the bug report. For emacs-30, we should look into a some small workaround. I'm copying in Michae. In Emacs 31, I want to investigate not calling out to a shell at all. The code that does that dates back to 1991... and what was a worthwhile optimization back then is not necessarily relevant today.