X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Ted Phelps <phelps@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Jan 2025 05:40:02 +0000 Resent-Message-ID: <handler.75308.B.17358827783644 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 75308 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17358827783644 (code B ref -1); Fri, 03 Jan 2025 05:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jan 2025 05:39:38 +0000 Received: from localhost ([127.0.0.1]:49167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTaPG-0000wb-So for submit <at> debbugs.gnu.org; Fri, 03 Jan 2025 00:39:38 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41554) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <phelps@HIDDEN>) id 1tTUnd-000889-1U for submit <at> debbugs.gnu.org; Thu, 02 Jan 2025 18:40:22 -0500 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 <phelps@HIDDEN>) id 1tTUn8-00069Y-RH for bug-gnu-emacs@HIDDEN; Thu, 02 Jan 2025 18:39:58 -0500 Received: from mushka.gnusto.com ([178.128.254.86]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <phelps@HIDDEN>) id 1tTUn5-0007fG-M2 for bug-gnu-emacs@HIDDEN; Thu, 02 Jan 2025 18:39:50 -0500 Received: from hades (2403-5804-6b-2-b4de-70f-5e92-7184.ip6.aussiebb.net [IPv6:2403:5804:6b:2:b4de:70f:5e92:7184]) by mushka.gnusto.com (Postfix) with ESMTPS id 34E9D2352D for <bug-gnu-emacs@HIDDEN>; Thu, 2 Jan 2025 23:39:40 +0000 (UTC) From: Ted Phelps <phelps@HIDDEN> Date: Fri, 03 Jan 2025 09:39:09 +1000 Message-ID: <877c7cbxb6.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=2.9 required=5.0 tests=DMARC_MISSING, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,KHOP_HELO_FCRDNS, RCVD_IN_ZEN_BLOCKED_OPENDNS,SPF_FAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on mushka.gnusto.com Received-SPF: pass client-ip=178.128.254.86; envelope-from=phelps@HIDDEN; helo=mushka.gnusto.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Mailman-Approved-At: Fri, 03 Jan 2025 00:39:32 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) 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 <michael.albinus@HIDDEN> Date: Wed Nov 1 16:54:31 2023 +0100 Many thanks, -Ted In GNU Emacs 30.0.93 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-12-20 built on hades System Description: Debian GNU/Linux 12 (bookworm) Configured using: 'configure --enable-link-time-optimization --prefix=/usr/local/stow/emacs-30.0.93 'CFLAGS=-g3 -Wall -O3 -pipe' --with-pgtk --with-native-compilation=aot --enable-locallisppath=/usr/share/emacs/site-lisp' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_AU.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: global-auto-revert-mode: t editorconfig-mode: t delete-selection-mode: t server-mode: t global-quilt-mode: t quilt-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash hides /usr/share/emacs/site-lisp/elpa/dash-2.19.1/dash /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-pkg hides /usr/share/emacs/site-lisp/elpa/dash-2.19.1/dash-pkg /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-autoloads hides /usr/share/emacs/site-lisp/elpa/dash-2.19.1/dash-autoloads /usr/share/emacs/site-lisp/elpa/git-commit-2.99.0/git-commit hides /usr/share/emacs/site-lisp/elpa/git-commit-3.3.0/git-commit /usr/share/emacs/site-lisp/elpa/git-commit-2.99.0/git-commit-pkg hides /usr/share/emacs/site-lisp/elpa/git-commit-3.3.0/git-commit-pkg /usr/share/emacs/site-lisp/elpa/git-commit-2.99.0/git-commit-autoloads hides /usr/share/emacs/site-lisp/elpa/git-commit-3.3.0/git-commit-autoloads /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-section hides /usr/share/emacs/site-lisp/elpa/magit-section-3.3.0/magit-section /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor hides /usr/share/emacs/site-lisp/elpa/with-editor-3.0.5/with-editor /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor-pkg hides /usr/share/emacs/site-lisp/elpa/with-editor-3.0.5/with-editor-pkg /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor-autoloads hides /usr/share/emacs/site-lisp/elpa/with-editor-3.0.5/with-editor-autoloads /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-autoloads hides /usr/share/emacs/site-lisp/elpa-src/dash-2.19.1/dash-autoloads /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash hides /usr/share/emacs/site-lisp/elpa-src/dash-2.19.1/dash /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-pkg hides /usr/share/emacs/site-lisp/elpa-src/dash-2.19.1/dash-pkg /usr/share/emacs/site-lisp/elpa/epl-0.9/epl-autoloads hides /usr/share/emacs/site-lisp/elpa-src/epl-0.9/epl-autoloads /usr/share/emacs/site-lisp/elpa/epl-0.9/epl hides /usr/share/emacs/site-lisp/elpa-src/epl-0.9/epl /usr/share/emacs/site-lisp/elpa/epl-0.9/epl-pkg hides /usr/share/emacs/site-lisp/elpa-src/epl-0.9/epl-pkg /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-autoloads hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-autoloads /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-pkg hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-pkg /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-ert hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-ert /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-buttercup hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-buttercup /usr/share/emacs/site-lisp/elpa/git-commit-2.99.0/git-commit-autoloads hides /usr/share/emacs/site-lisp/elpa-src/git-commit-3.3.0/git-commit-autoloads /usr/share/emacs/site-lisp/elpa/git-commit-2.99.0/git-commit hides /usr/share/emacs/site-lisp/elpa-src/git-commit-3.3.0/git-commit /usr/share/emacs/site-lisp/elpa/git-commit-2.99.0/git-commit-pkg hides /usr/share/emacs/site-lisp/elpa-src/git-commit-3.3.0/git-commit-pkg /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist-autoloads hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist-autoloads /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist-pkg hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist-pkg /usr/share/emacs/site-lisp/elpa/magit-3.3.0/git-rebase hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/git-rebase /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-worktree hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-worktree /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-wip hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-wip /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-utils hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-utils /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-transient hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-transient /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-tag hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-tag /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-subtree hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-subtree /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-submodule hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-submodule /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-status hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-status /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-stash hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-stash /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-sequence hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-sequence /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-section hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-section /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-reset hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-reset /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-repos hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-repos /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-remote hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-remote /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-refs hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-refs /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-reflog hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-reflog /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-push hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-push /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-pull hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-pull /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-process hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-process /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-pkg hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-pkg /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-patch hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-patch /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-obsolete hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-obsolete /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-notes hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-notes /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-mode hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-mode /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-merge hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-merge /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-margin hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-margin /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-log hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-log /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-imenu hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-imenu /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-gitignore hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-gitignore /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-git hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-git /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-files hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-files /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-fetch hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-fetch /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-extras hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-extras /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-ediff hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-ediff /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-diff hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-diff /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-core hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-core /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-commit hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-commit /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-clone hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-clone /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-branch hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-branch /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-bookmark hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-bookmark /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-blame hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-blame /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-bisect hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-bisect /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-autorevert hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-autorevert /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-autoloads hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-autoloads /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-apply hides /usr/share/emacs/site-lisp/elpa-src/magit-3.3.0/magit-apply /usr/share/emacs/site-lisp/elpa/magit-section-3.3.0/magit-section-autoloads hides /usr/share/emacs/site-lisp/elpa-src/magit-section-3.3.0/magit-section-autoloads /usr/share/emacs/site-lisp/elpa/magit-3.3.0/magit-section hides /usr/share/emacs/site-lisp/elpa-src/magit-section-3.3.0/magit-section /usr/share/emacs/site-lisp/elpa/magit-section-3.3.0/magit-section-pkg hides /usr/share/emacs/site-lisp/elpa-src/magit-section-3.3.0/magit-section-pkg /usr/share/emacs/site-lisp/elpa/pkg-info-0.6/pkg-info-autoloads hides /usr/share/emacs/site-lisp/elpa-src/pkg-info-0.6/pkg-info-autoloads /usr/share/emacs/site-lisp/elpa/pkg-info-0.6/pkg-info hides /usr/share/emacs/site-lisp/elpa-src/pkg-info-0.6/pkg-info /usr/share/emacs/site-lisp/elpa/pkg-info-0.6/pkg-info-pkg hides /usr/share/emacs/site-lisp/elpa-src/pkg-info-0.6/pkg-info-pkg /usr/share/emacs/site-lisp/elpa/seq-2.23/seq-24 hides /usr/share/emacs/site-lisp/elpa-src/seq-2.23/seq-24 /usr/share/emacs/site-lisp/elpa/seq-2.23/seq hides /usr/share/emacs/site-lisp/elpa-src/seq-2.23/seq /usr/share/emacs/site-lisp/elpa/seq-2.23/seq-pkg hides /usr/share/emacs/site-lisp/elpa-src/seq-2.23/seq-pkg /usr/share/emacs/site-lisp/elpa/seq-2.23/seq-autoloads hides /usr/share/emacs/site-lisp/elpa-src/seq-2.23/seq-autoloads /usr/share/emacs/site-lisp/elpa/seq-2.23/seq-25 hides /usr/share/emacs/site-lisp/elpa-src/seq-2.23/seq-25 /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor-autoloads hides /usr/share/emacs/site-lisp/elpa-src/with-editor-3.0.5/with-editor-autoloads /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor hides /usr/share/emacs/site-lisp/elpa-src/with-editor-3.0.5/with-editor /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor-pkg hides /usr/share/emacs/site-lisp/elpa-src/with-editor-3.0.5/with-editor-pkg /usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/transient hides /usr/local/stow/emacs-30.0.93/share/emacs/30.0.93/lisp/transient ~/env/emacs/csharp-mode hides /usr/local/stow/emacs-30.0.93/share/emacs/30.0.93/lisp/progmodes/csharp-mode ~/env/emacs/bat-mode hides /usr/local/stow/emacs-30.0.93/share/emacs/30.0.93/lisp/progmodes/bat-mode /usr/share/emacs/site-lisp/elpa/seq-2.23/seq hides /usr/local/stow/emacs-30.0.93/share/emacs/30.0.93/lisp/emacs-lisp/seq /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /usr/local/stow/emacs-30.0.93/share/emacs/30.0.93/lisp/emacs-lisp/let-alist Features: (shadow mail-extr emacsbug message yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp sql calc-misc calc-ext pgen calc calc-loaddefs rect calc-macs autorevert tramp-cmds tramp-cache time-stamp tramp-sh tramp trampver tramp-integration tramp-message tramp-compat xdg format-spec tramp-loaddefs diff-mode track-changes cus-start cus-load editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch display-line-numbers ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util doc-view filenotify image-mode exif sh-script smie executable cmake-ts-mode asm-mode ffap make-mode shell pcomplete files-x grep etags fileloop generator xref project rust-mode macros kmacro rust-ts-mode c-ts-common treesit parse-time iso8601 mule-util info thingatpt debug backtrace find-func shortdoc cl-print help-fns radix-tree tar-mode arc-mode archive-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds dired-aux dired dired-loaddefs misearch multi-isearch comp comp-cstr cl-extra warnings jka-compr woman tabify imenu man time-date hanoi view sort disp-table tetris gamegrid help-mode apropos compile text-property-search comint ansi-osc ansi-color ring comp-run comp-common rx compilestuff advice appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs delsel server mh-e mh-buffers mh-loaddefs quilt easy-mmode cc-styles cc-align cc-engine cc-vars cc-defs package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 676005 179979) (symbols 48 25996 0) (strings 32 97564 6007) (string-bytes 1 3445019) (vectors 16 40935) (vector-slots 8 563483 51609) (floats 8 195 9179) (intervals 56 55949 910) (buffers 992 128))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ted Phelps <phelps@HIDDEN> Subject: bug#75308: Acknowledgement (30.0.93; man.el assume shell is bash) Message-ID: <handler.75308.B.17358827783644.ack <at> debbugs.gnu.org> References: <877c7cbxb6.fsf@HIDDEN> X-Gnu-PR-Message: ack 75308 X-Gnu-PR-Package: emacs Reply-To: 75308 <at> debbugs.gnu.org Date: Fri, 03 Jan 2025 05:40:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 75308 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 75308: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75308 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Jan 2025 08:47:02 +0000 Resent-Message-ID: <handler.75308.B75308.17358939979902 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ted Phelps <phelps@HIDDEN>, 75308 <at> debbugs.gnu.org Cc: Michael Albinus <michael.albinus@HIDDEN> Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.17358939979902 (code B ref 75308); Fri, 03 Jan 2025 08:47:02 +0000 Received: (at 75308) by debbugs.gnu.org; 3 Jan 2025 08:46:37 +0000 Received: from localhost ([127.0.0.1]:49462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTdKC-0002ZW-GO for submit <at> debbugs.gnu.org; Fri, 03 Jan 2025 03:46:36 -0500 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 <stefankangas@HIDDEN>) id 1tTdKA-0002ZB-1R for 75308 <at> debbugs.gnu.org; Fri, 03 Jan 2025 03:46:31 -0500 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5d3cf094768so19386195a12.0 for <75308 <at> 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 3 Jan 2025 02:46:28 -0600 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <877c7cbxb6.fsf@HIDDEN> References: <877c7cbxb6.fsf@HIDDEN> MIME-Version: 1.0 Date: Fri, 3 Jan 2025 02:46:28 -0600 Message-ID: <CADwFkmkWsjB-FLtzkUwr-REzNjGb4YK-0c53sucN+WxC6p1t7g@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Ted Phelps <phelps@HIDDEN> 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 <michael.albinus@HIDDEN> > 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Jan 2025 08:52:02 +0000 Resent-Message-ID: <handler.75308.B75308.173589427010781 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas <stefankangas@HIDDEN> Cc: 75308 <at> debbugs.gnu.org, phelps@HIDDEN, michael.albinus@HIDDEN Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.173589427010781 (code B ref 75308); Fri, 03 Jan 2025 08:52:02 +0000 Received: (at 75308) by debbugs.gnu.org; 3 Jan 2025 08:51:10 +0000 Received: from localhost ([127.0.0.1]:49479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTdOg-0002no-3j for submit <at> debbugs.gnu.org; Fri, 03 Jan 2025 03:51:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55444) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tTdOc-0002nA-Vx for 75308 <at> debbugs.gnu.org; Fri, 03 Jan 2025 03:51:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tTdOX-00084b-3R; Fri, 03 Jan 2025 03:51:01 -0500 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=0SRYKWZ3JKivrRJXynRr31aVqcGfOskznf9Zytl0P+M=; b=UKrrb56+yGHF AaYkv+H+Dfy5hS6G1CeXYv0znhsVoc/fODkMJlKRiAsXxZ7UoIf3yAdUknsVDUpN6oZJB++oir+85 kU2IvCe7dHFAv/e/qix/URWLFNP1KXV9iUE4OCdsY1nZAcen9eJRS9Y+U9wol9LXpGpvEvxZuFEE6 QT/LbcrbQkCCAiekcvf1pfm9GboAbO4F5xRxWQ9f2zMw7kRprj8GVX5IRrQLMD2Bbht3u83AHXWwx RuE/mr2V3Jnj+uiuGYKW+G9vGCPjsS8PyZZygqY9eLH9y1F/+RRZjrDnronevjKmqPYhKIijBx57q PD4UNdx9S1M3YDklp2v+3Q==; Date: Fri, 03 Jan 2025 10:50:56 +0200 Message-Id: <86ttaggu1b.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CADwFkmkWsjB-FLtzkUwr-REzNjGb4YK-0c53sucN+WxC6p1t7g@HIDDEN> (message from Stefan Kangas on Fri, 3 Jan 2025 02:46:28 -0600) References: <877c7cbxb6.fsf@HIDDEN> <CADwFkmkWsjB-FLtzkUwr-REzNjGb4YK-0c53sucN+WxC6p1t7g@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: Michael Albinus <michael.albinus@HIDDEN> > From: Stefan Kangas <stefankangas@HIDDEN> > Date: Fri, 3 Jan 2025 02:46:28 -0600 > > Ted Phelps <phelps@HIDDEN> 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 <michael.albinus@HIDDEN> > > 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. I think we should force SHELL to be 'sh' (except on Windows) before calling shell-command etc.
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Jan 2025 09:27:02 +0000 Resent-Message-ID: <handler.75308.B75308.173589641617966 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 75308 <at> debbugs.gnu.org, phelps@HIDDEN, michael.albinus@HIDDEN Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.173589641617966 (code B ref 75308); Fri, 03 Jan 2025 09:27:02 +0000 Received: (at 75308) by debbugs.gnu.org; 3 Jan 2025 09:26:56 +0000 Received: from localhost ([127.0.0.1]:49537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTdxD-0004fb-PU for submit <at> debbugs.gnu.org; Fri, 03 Jan 2025 04:26:56 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:51497) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tTdxA-0004fL-TB for 75308 <at> debbugs.gnu.org; Fri, 03 Jan 2025 04:26:49 -0500 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5d84179ef26so17987037a12.3 for <75308 <at> debbugs.gnu.org>; Fri, 03 Jan 2025 01:26:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735896403; x=1736501203; 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=D+IxXF03onJ/nYo6u+DxoDbWoq+w3jD5OTfNJqoWFWI=; b=FwKal3QAmi95+rjwBdpcHQ5QVg1epk8IZTwGkgN+iczBtCPv0l6i2DonDmj3EjQ42Y L/EFbEuG9sELqPObbTJcPVQ9C9iei8stJ0C3VeMcy24+Hcqny/fYNwVcRMceHiDBkabk ANZ7ngAo2AFUoHq66mJREY9dutY3KCoVRSa3soIO/74gg5uSyJAoFzag5kXIVXR5nKqe 0xlOztDKzKjgsxdRzD0xqmqqos6ObnBwqZ5bVrjd+nFwZhD/L9zdxulllDg/M+uVMNAp vdPP8EEb/gzoa2wdLVygmrSKE7x7YLyxH44gK+ONxkR4EfK5hj9xd2kaTebeQ+sQ6nF6 /sJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735896403; x=1736501203; 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=D+IxXF03onJ/nYo6u+DxoDbWoq+w3jD5OTfNJqoWFWI=; b=DK1EfiDmCSVFx/flw9Ut0TGh4kgnAZhcpgD4M8GLjuB8ku7tAjOrfrHtf1qif2Doqe +3fCNcrJSNzaqnpoo2QANHVUpsX27TQsXhSQa0BEqmrmi8WN0/7LP4MIvNvKyPEw7S0g sfuEXsJqCIhZlIIlW3SVSKVC1ZDi/Jn17kN5ymj8d7jJitqjksdg+Wy1T2hjJLPb+7z/ bzj4olSUOr/GIoGSqyIe8SiVzhFrZgztRhimH5daInV1bABa8JHMpBO1C8SARfxuD3Nz FHa0nwWeI8+aD+EYwniZHcfD7C+H7uJH+NccySQMUtF8VM7S6AOReyH7IpZGuQqsJiCO VwYg== X-Forwarded-Encrypted: i=1; AJvYcCVSlaVvnf1Q40pl8mzpwYoIMvQQ3FnqNwy0/3Ke9/xZTdqHZsUIWAg1pZWeYk9BySdgmhYFqg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyasjETI1kzsye4NNRLKMSGMHgIcxTrfiStSClua/wg65f/J58E MGuBS4HiNDqZLdR/E+reCfGRoxDAe1JelZsXBvF9lO8HR0b/gt3Wh79VAq0XNGB1OUgEr/xNeyI OC5daE03f5oJO9iXUhgHgFYFuUDNRf7Yh0a0= X-Gm-Gg: ASbGncuSREFjc/LjCEGiAxZCm1uJTozfzeoi1XwuxNXBO3e0qqbhFlOX2oQXPTeF+rl PSGFhMOW1WzCPig8cP51+WPUp1D4mn36EDpbejpQm X-Google-Smtp-Source: AGHT+IGYPTxcJW6wvV5EKWS1f4qpZeVuFRjYvVoVTxpX9fBOD+RfMhZPPjXYECtNhYjXLMQSawm9ffp30912V3P3Kf4= X-Received: by 2002:a50:cb83:0:b0:5d9:a55:42ef with SMTP id 4fb4d7f45d1cf-5d90a55431bmr3297722a12.17.1735896402308; Fri, 03 Jan 2025 01:26:42 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 3 Jan 2025 03:26:42 -0600 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <86ttaggu1b.fsf@HIDDEN> References: <877c7cbxb6.fsf@HIDDEN> <CADwFkmkWsjB-FLtzkUwr-REzNjGb4YK-0c53sucN+WxC6p1t7g@HIDDEN> <86ttaggu1b.fsf@HIDDEN> MIME-Version: 1.0 Date: Fri, 3 Jan 2025 03:26:42 -0600 Message-ID: <CADwFkmmPhUZYjyHn8ksSqE-W40Yke8AFN3GkV4tJvfh9KJCVjw@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> Cc: Michael Albinus <michael.albinus@HIDDEN> >> From: Stefan Kangas <stefankangas@HIDDEN> >> Date: Fri, 3 Jan 2025 02:46:28 -0600 >> >> Ted Phelps <phelps@HIDDEN> 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 <michael.albinus@HIDDEN> >> > 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. > > I think we should force SHELL to be 'sh' (except on Windows) before > calling shell-command etc. I was first thinking /bin/bash but if we don't expect to need it, then sh is better.
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Jan 2025 11:48:02 +0000 Resent-Message-ID: <handler.75308.B75308.173590487810002 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas <stefankangas@HIDDEN> Cc: 75308 <at> debbugs.gnu.org, phelps@HIDDEN, michael.albinus@HIDDEN Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.173590487810002 (code B ref 75308); Fri, 03 Jan 2025 11:48:02 +0000 Received: (at 75308) by debbugs.gnu.org; 3 Jan 2025 11:47:58 +0000 Received: from localhost ([127.0.0.1]:49826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTg9l-0002bF-Ou for submit <at> debbugs.gnu.org; Fri, 03 Jan 2025 06:47:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47464) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tTg9j-0002b3-UI for 75308 <at> debbugs.gnu.org; Fri, 03 Jan 2025 06:47:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tTg9e-0000if-Cu; Fri, 03 Jan 2025 06:47:50 -0500 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=Hm7mOG/L4qs0DeDZuJvFD5gRkViyp2JsdEv8l6qyHXw=; b=LqTPgcoh6iI2 XdgS60VDrj7GO6Qn6vamQtZlAbrjX29sTpBR4vIr7qnzN7XnOMS7NaxThw4dPqPw1yegKD+S0f1JA /D3eNnur3R7CT6tCCTWpdhhwInxTiZEFnOBHffTyrOVl0ryYICsqoetxcm/db7zN48sq9xW9Yzxpb nR8QNo1CcZzy0VF4bdUw0zAPqPQOWo3WsX0+rjcLcSuSXSE6sKCKIEO7BF5hB8CmZuWIMjnLbBE6m 7sENtAFLLDlTMO65uYxrlxIBJmvu523SMoQeiAZxmsxJ9CKjh0HMmyIe5XfGXJ+FyS7GygxjbPI/O LzXg65nPMc+/i9CIvOf3FQ==; Date: Fri, 03 Jan 2025 13:47:47 +0200 Message-Id: <86o70ogluk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CADwFkmmPhUZYjyHn8ksSqE-W40Yke8AFN3GkV4tJvfh9KJCVjw@HIDDEN> (message from Stefan Kangas on Fri, 3 Jan 2025 03:26:42 -0600) References: <877c7cbxb6.fsf@HIDDEN> <CADwFkmkWsjB-FLtzkUwr-REzNjGb4YK-0c53sucN+WxC6p1t7g@HIDDEN> <86ttaggu1b.fsf@HIDDEN> <CADwFkmmPhUZYjyHn8ksSqE-W40Yke8AFN3GkV4tJvfh9KJCVjw@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Kangas <stefankangas@HIDDEN> > Date: Fri, 3 Jan 2025 03:26:42 -0600 > Cc: phelps@HIDDEN, 75308 <at> debbugs.gnu.org, michael.albinus@HIDDEN > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> Cc: Michael Albinus <michael.albinus@HIDDEN> > >> From: Stefan Kangas <stefankangas@HIDDEN> > >> Date: Fri, 3 Jan 2025 02:46:28 -0600 > >> > >> Ted Phelps <phelps@HIDDEN> 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 <michael.albinus@HIDDEN> > >> > 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. > > > > I think we should force SHELL to be 'sh' (except on Windows) before > > calling shell-command etc. > > I was first thinking /bin/bash but if we don't expect to need it, then > sh is better. If we do need Bash and not just Bourne-compatible shell, we have a serious bug there. I hope that is not the case.
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 04 Jan 2025 07:59:01 +0000 Resent-Message-ID: <handler.75308.B75308.17359775074306 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ted Phelps <phelps@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Cc: michael.albinus@HIDDEN, 75308 <at> debbugs.gnu.org Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.17359775074306 (code B ref 75308); Sat, 04 Jan 2025 07:59:01 +0000 Received: (at 75308) by debbugs.gnu.org; 4 Jan 2025 07:58:27 +0000 Received: from localhost ([127.0.0.1]:53236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTz3C-00017O-Pg for submit <at> debbugs.gnu.org; Sat, 04 Jan 2025 02:58:27 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:46222) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tTz39-000178-Oj for 75308 <at> debbugs.gnu.org; Sat, 04 Jan 2025 02:58:24 -0500 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5ceb03aadb1so18631780a12.0 for <75308 <at> debbugs.gnu.org>; Fri, 03 Jan 2025 23:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735977497; x=1736582297; 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=0ifOpmsBX+R8JhUrQbS3IpqCl5Jme5lkGOKikCEIDQ0=; b=MRvBUqBUpnHUWi8RVOTFIc11Hx6ncFVbeHsgMCJ8bGzwOn7/RILQaFwbajCGeQpB2P kRQZfdgqeAsU9D6qFg108U+Yykz4hIv9jBCvdAbSsyPh7YkScNghwYymZW31kUeeKPC6 4hLbBNd2CNEzPhfaJwQx3t7e89ZjR/3hyMGL5XlMz2d/3MHq/wHW+qAk4/k8rfaSGITF /g85kPOn1re6zKvK6TtA89q3t0iCre00R4HlHt5kCr1GF/W7WXffuwu9pjjaMqcAG4ws 4Q/iqzUeLYGeRC870n/TMRxa6Zsh6TKFK4JLfaNUluYoeVdGabWyV3PWYOeNdHFsiH33 BgyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735977497; x=1736582297; 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=0ifOpmsBX+R8JhUrQbS3IpqCl5Jme5lkGOKikCEIDQ0=; b=NCWYIXz9SjSu7U91wzpKqb1p0oZUGma9JczbBlMT6WthBmIpk3iui/vkYMBnk6nlSl QXZ1BNMNhbc5GTpR5m2PpBrlQMKMjf92Lnrs5vufI4kijxhRN6gFmbE7m++oCEFmg0CH vtAYtLrweJYrQo2UbJj/jbSLdnfrAaXna8Apr4i721CRLPlFAhFq9vVQ0KWzaNnwgMig /WZ9ZoctVOQLwBriM1dohWTrWk98ov9dXvwWJY19RdxW28YHBOsw76wfxBN+rwqCEIPE GhxZIbajxNFpgKpYHAJMPD7R6LNF1HMVrxgy07lRbZg4EAdQxK1cCEMVUcvpOhX5Doss Z+9g== X-Gm-Message-State: AOJu0Yy+AItOQR51xjBbxFqM9UKQsebobgD4twcayNnEWyBi88M0dU0z 1QiZT/nNaNDjKMweWo7LIc2F6THoCNklbRXpepu3kYBjxe1OHSBTwxuSnQgci0pXJK31gJrpx6e r71eE8k4CYzhnBu/sJIzd4jqGoqQ= X-Gm-Gg: ASbGncvzfqtiThDDkfaAYujc0/hywN+HEzfjw1cRkp+7ycxGs2NfPWLxPdJNY5WJk1L 5kHG3OolOOk+rXCe6IVMjb9mB10s+NhsyMfAGPv4G X-Google-Smtp-Source: AGHT+IG/I+BzJ2l9dEwiCqwV079cxm0cCUtkAycLsy5yCIAJOG5zhcJclzkhZhYF+rOeTUqm/VsEdP0AFy5CE3QPBYo= X-Received: by 2002:a05:6402:3510:b0:5d3:d4cf:fea0 with SMTP id 4fb4d7f45d1cf-5d81ddffae0mr39513207a12.21.1735977497306; Fri, 03 Jan 2025 23:58:17 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 4 Jan 2025 01:58:17 -0600 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <12d19908-d1ee-4a7c-8853-119c1f3909dc@HIDDEN> References: <877c7cbxb6.fsf@HIDDEN> <CADwFkmkWsjB-FLtzkUwr-REzNjGb4YK-0c53sucN+WxC6p1t7g@HIDDEN> <86ttaggu1b.fsf@HIDDEN> <CADwFkmmPhUZYjyHn8ksSqE-W40Yke8AFN3GkV4tJvfh9KJCVjw@HIDDEN> <86o70ogluk.fsf@HIDDEN> <12d19908-d1ee-4a7c-8853-119c1f3909dc@HIDDEN> MIME-Version: 1.0 Date: Sat, 4 Jan 2025 01:58:17 -0600 Message-ID: <CADwFkmmKbMGu3ZY=DON=z-dWdDyuygNePPrqhkkNTqOcw25u+w@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Ted Phelps <phelps@HIDDEN> writes: > On 3/1/25 22:47, Eli Zaretskii wrote: > >> If we do need Bash and not just Bourne-compatible shell, we have a >> serious bug there. I hope that is not the case. > > I don't think there's anything bash-specific required, just the ability > to redirect stdout and stderr independently. I've confirmed that > Debian's /bin/sh (dash) works just fine. Yes, indeed, all we need is plain old sh. Sorry for the noise.
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Ted Phelps <phelps@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 04 Jan 2025 11:20:02 +0000 Resent-Message-ID: <handler.75308.B75308.17359895747346 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN>, Stefan Kangas <stefankangas@HIDDEN> Cc: michael.albinus@HIDDEN, 75308 <at> debbugs.gnu.org Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.17359895747346 (code B ref 75308); Sat, 04 Jan 2025 11:20:02 +0000 Received: (at 75308) by debbugs.gnu.org; 4 Jan 2025 11:19:34 +0000 Received: from localhost ([127.0.0.1]:53550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tU2Bp-0001uH-Rq for submit <at> debbugs.gnu.org; Sat, 04 Jan 2025 06:19:34 -0500 Received: from mushka.gnusto.com ([178.128.254.86]:38406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <phelps@HIDDEN>) id 1tTyKW-0007Mj-PD for 75308 <at> debbugs.gnu.org; Sat, 04 Jan 2025 02:12:18 -0500 Received: from [IPV6:2403:5804:6b:2:b4de:70f:5e92:7184] (2403-5804-6b-2-b4de-70f-5e92-7184.ip6.aussiebb.net [IPv6:2403:5804:6b:2:b4de:70f:5e92:7184]) by mushka.gnusto.com (Postfix) with ESMTPSA id EA5C12358A; Sat, 4 Jan 2025 07:12:09 +0000 (UTC) Message-ID: <12d19908-d1ee-4a7c-8853-119c1f3909dc@HIDDEN> Date: Sat, 4 Jan 2025 18:12:02 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <877c7cbxb6.fsf@HIDDEN> <CADwFkmkWsjB-FLtzkUwr-REzNjGb4YK-0c53sucN+WxC6p1t7g@HIDDEN> <86ttaggu1b.fsf@HIDDEN> <CADwFkmmPhUZYjyHn8ksSqE-W40Yke8AFN3GkV4tJvfh9KJCVjw@HIDDEN> <86o70ogluk.fsf@HIDDEN> Content-Language: en-US From: Ted Phelps <phelps@HIDDEN> In-Reply-To: <86o70ogluk.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on mushka.gnusto.com X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sat, 04 Jan 2025 06:19:33 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 3/1/25 22:47, Eli Zaretskii wrote: >> From: Stefan Kangas <stefankangas@HIDDEN> >> Date: Fri, 3 Jan 2025 03:26:42 -0600 >> Cc: phelps@HIDDEN, 75308 <at> debbugs.gnu.org, michael.albinus@HIDDEN >> >> Eli Zaretskii <eliz@HIDDEN> writes: >> >>>> Cc: Michael Albinus <michael.albinus@HIDDEN> >>>> From: Stefan Kangas <stefankangas@HIDDEN> >>>> Date: Fri, 3 Jan 2025 02:46:28 -0600 >>>> >>>> Ted Phelps <phelps@HIDDEN> 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 <michael.albinus@HIDDEN> >>>>> 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. >>> >>> I think we should force SHELL to be 'sh' (except on Windows) before >>> calling shell-command etc. >> >> I was first thinking /bin/bash but if we don't expect to need it, then >> sh is better. > > If we do need Bash and not just Bourne-compatible shell, we have a > serious bug there. I hope that is not the case. I don't think there's anything bash-specific required, just the ability to redirect stdout and stderr independently. I've confirmed that Debian's /bin/sh (dash) works just fine. -Ted
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 15 Feb 2025 03:21:02 +0000 Resent-Message-ID: <handler.75308.B75308.17395896316356 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ted Phelps <phelps@HIDDEN> Cc: Michael Albinus <michael.albinus@HIDDEN>, 75308 <at> debbugs.gnu.org Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.17395896316356 (code B ref 75308); Sat, 15 Feb 2025 03:21:02 +0000 Received: (at 75308) by debbugs.gnu.org; 15 Feb 2025 03:20:31 +0000 Received: from localhost ([127.0.0.1]:52701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tj8jH-0001eS-2q for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 22:20:31 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:42278) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tj8jE-0001e1-0r for 75308 <at> debbugs.gnu.org; Fri, 14 Feb 2025 22:20:29 -0500 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5debbced002so5152510a12.1 for <75308 <at> debbugs.gnu.org>; Fri, 14 Feb 2025 19:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739589622; x=1740194422; 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=yUQQSKlVfgmgr778ut/SzbbrYXxKpiL3j2ls3EFO1E8=; b=FcgeN3xAZc+GFEGzBQ8cfsQf3hqHOLVxHKMFe7SOrDXDs6xc8C7qUSrqYK7eCBJTfs 5PO2CK4aY3c5LO42eBuiWQ8Ms8HdBnAdBC+SQWTAe8wLAiph5Rpjcw/QX8hhP58OqJFy /qyKzpFWphAXsBFqbI6EAB7Xot3yVT4n6tsOAzKeB6Q2Y23zToRjrdi8Zi9cGhc7Cwlt JFEEil3XaniwuIO5t/IxiQGtkJ67w+h2gI53n8UBZeV+2MZ8GCq33xRTTgEEffn/Vcu1 NFjEfB/oz1YtEehzm6Klz6KS0eeGZxe5wc+R+NCwGdSPjiOKCr8bn3PLfDB1GXrN+pUk xQ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739589622; x=1740194422; 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=yUQQSKlVfgmgr778ut/SzbbrYXxKpiL3j2ls3EFO1E8=; b=OWx8OTDEhrbK/iT2kBdqeLSzUoHMTu204TwIbfZfC/F1GcEUdpBmDKoZ8vL25Ed4Q8 l1cbke+zatREqHx/FdBb3IesB/d9mpWX8Fa8V8Q8u2h4c5CaoOrLszaEPBBneOrbkkFb Rg691KauPZtDQqWv0+DDKQDgOielufWD1Xe9GvkUoX2v2TBDDsmLxQOAcKCyLNAXE+tb cHi7htfVOI944N2EQneMxVpcHiKrv+Ot+PLcW0g2KNshuWFs6NG9APHbhCz+Tg3DSlpH /qcrwqoY1ObLWjxNvjb0palXjy0L0mtAcevbFZKLmidL+TPuJbI8LuCKf6sh0UqwerxH tzuA== X-Gm-Message-State: AOJu0YwZNEtXt6cSKFbJBzrRxHD5EFGno/7MjDt8clQvsHCqTz6THr8M UEx9oaH+eJnAqHAdYmwcjWAjGUEs/Vmi0qPKQQCl1+8F2kG4xA3GLniWzCF7V6EUpqsRMgOqRbi vPLvKbnYRGvuwrsclLec3DWoP2QVDMS+NoJk= X-Gm-Gg: ASbGncvwEeHLbSXZRtk8LE9Gzc7poZ5NS5KD9yHLv4dYLoGYNW2ospw6Yte83k1aN7x uiL4WNlK6RVsBHDdt2zoiMeaIUr5EY03+6j/eFhoDHFhXWB7IXU9kVAaL5isS2eMw/QAMKaZzri 0= X-Google-Smtp-Source: AGHT+IGeE4pXWrQpWIINTjkXmYOx8PjK+PUKvinuomO8VPE9csLKdAuk4s815+ZY5U0YtCfwXcFAIbEW5o8D4cD9P5s= X-Received: by 2002:a05:6402:51c8:b0:5de:4e0d:b125 with SMTP id 4fb4d7f45d1cf-5decb6884d2mr10797493a12.8.1739589621816; Fri, 14 Feb 2025 19:20:21 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 15 Feb 2025 03:20:21 +0000 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <877c7cbxb6.fsf@HIDDEN> References: <877c7cbxb6.fsf@HIDDEN> MIME-Version: 1.0 Date: Sat, 15 Feb 2025 03:20:21 +0000 X-Gm-Features: AWEUYZnxewxwahSEOKucswvxP8jWYEATOTbq6eBae5bjv2K5jhx--LbB3rLk5eo Message-ID: <CADwFkmn5Kg9mkqoqRYMAV-pr2NVDyuRaDHqeqC58ArwHnBrW7Q@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Ted Phelps <phelps@HIDDEN> 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 <michael.albinus@HIDDEN> > Date: Wed Nov 1 16:54:31 2023 +0100 > > Many thanks, > -Ted Michael, could you please take a look at this bug?
X-Loop: help-debbugs@HIDDEN Subject: bug#75308: 30.0.93; man.el assume shell is bash Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 16 Feb 2025 08:35:01 +0000 Resent-Message-ID: <handler.75308.B75308.173969485223050 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas <stefankangas@HIDDEN> Cc: 75308 <at> debbugs.gnu.org, Ted Phelps <phelps@HIDDEN> Received: via spool by 75308-submit <at> debbugs.gnu.org id=B75308.173969485223050 (code B ref 75308); Sun, 16 Feb 2025 08:35:01 +0000 Received: (at 75308) by debbugs.gnu.org; 16 Feb 2025 08:34:12 +0000 Received: from localhost ([127.0.0.1]:59960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tja6N-0005zg-LX for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 03:34:11 -0500 Received: from mout.gmx.net ([212.227.17.22]:37843) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1tja6K-0005zR-PE for 75308 <at> debbugs.gnu.org; Sun, 16 Feb 2025 03:34:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1739694837; x=1740299637; i=michael.albinus@HIDDEN; bh=terW71lxIoUlriFBNcD9Uo3jwfE3eFu4iKFqxaWv1dk=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=qF+kGwSmSS99mc5W2q+RLWlwejsqXtoDr/kgGwoPVjbYl/yL7/6ULQXNJy+Zhiss ZFvJgviccPwHDL3KyC/G9wVMIIPuTvl50VqEBgZu72vVGgqW/Q+qbot9z8YA6DLD7 8i4OT3hUK/e/7ksIz7NhVhQ+FGTFI3rD6F9Q3B8FmxUjlyCzHLnGVhEy9+YY2t+2r xDdyXLn46L725CEbPV6/7AIgu0HfmiW/qPKk5Llzn3m8m70HSf8Z/ss3kzBhK/fL2 NIhtqR2hbIoHq3qtdZaOtZT9xGiPmNtFFapXjUz3HaNCYo746hbGcADKgzj8vKjnF PqX8p/LM/R4ppwFe7w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MStCY-1twH7b2v2U-00Q5CA; Sun, 16 Feb 2025 09:33:57 +0100 From: Michael Albinus <michael.albinus@HIDDEN> In-Reply-To: <CADwFkmn5Kg9mkqoqRYMAV-pr2NVDyuRaDHqeqC58ArwHnBrW7Q@HIDDEN> References: <877c7cbxb6.fsf@HIDDEN> <CADwFkmn5Kg9mkqoqRYMAV-pr2NVDyuRaDHqeqC58ArwHnBrW7Q@HIDDEN> Date: Sun, 16 Feb 2025 09:33:56 +0100 Message-ID: <87ikpacmq3.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:L4HaJ0NNCzCMgwbZzHlMLXBqC/zvSGt/LF6juuR0kACAS6hAz8n kxVpT+DJLJeFSibHphqRWE2znuJJsByjoluREOY6shZhOi9fVmO6LdHtpRRQ76DjqOKQ/F6 W09s6kaTsNjfZST04jFyVOP2kj/2h5WIdbDyW2FNaHhPXY7nN5njLW4TWUimS4WQaqDt3yB cAWZ7KGxORENSsB5tfFVQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:5alE0ZdpoqI=;HjqpTkDTkoVVzHc2I1GAskgJGkl t2Kv5Iy+Ifq2W9PHYYQoBCyy7vzGVDaISvYd/mAIdKDY0lkRTymdKmEN/deAsyCrVmtb6edoU aGo7VT5Rvk4eZgnNFXJdwBFseP3x71+7A0OQCds+zpJ22A26rmDHZMD6Kn2wp2/KBlIuCXY7Z wPpzCHtCxovv1Y59Jwxp0OatlDJBj5P2qscHlEyVWF0Qeea3CNqPnKuihj9lDMFJ5hdmoHcgH o0U3FYpWtb2Y8E6gGTWaKUftfRcHn1dwY1YAv4BmuI09BQBY+F8as87UPOh62usJtPQ7NYhTu bVzAHB7IK1LLjKokLrza6GRKqa7WnqvL555u1ezLeR24CnIwEcmGnbBmBSpBM6ZSRi8mjqOR8 o3VjLcUXg6Vci79go9e2YWqUxRtu/Sm8YopmnLWEGBZxMXMe0q4YbHPyhNCQhAVnugT8KCYC+ NkymzBTEjPMda847VQjfbB268YSubx50+XtwpUWUi0l1uwSfgljQPdKHNq2MQnlewA/yQqL5G ZpNW2Uau7Olr6uZrBuNH7B3ucreEa9+u8Cv7lDd1IVDPNr81ecMcMv8waOArK0YX3TuT83nTA AsBXK5EB9HSCLz+y1WMGGX9eUnpJDQ8+/hti12zGOdmxzMz6cwo2Xt6giVKp7fJ5zsqYr9akh DYPURHSE/k4L0TBfuQyP+AN8ZUz1luH6p7kq0cTyug+ivxqd5DnSwUk0qE4qVpNQfC9OqgMB3 LQIjL3QOF+7f3+TwteyAC/vo3GH1VEmApQ23VpR7Wv7/KQJbEgD8y+Y6eYSM1AS1F+Tr+vwCf yG1rWcr3BMiN+YLBkUFChYyOTcyfFZ7lZXiqFnPYYBKRBtFifPp/HgrwfCJOjfBok2Hcu28J4 3Iik3Q7z9CwDAMs6eS8y6eNSc6KEz6Nklb8rI+1uOelOMmHkbiMBnF+NOaLULSc3wNkUpcjnA L1EIZAoT/Q4t2+AlR4h556pyOb4Gf3IfdLctNdHzvoJZH4H+CNKOu9g7hv+z5KBn2XKIeVr0n pWqRCbFBntilFyJ/+/55TywVVDbTt6IkykpTZjknsnzY9IaO01CQdGQfk8zPJ366dzVeA+Ci1 SZLrWZteQIyBGcjjP41sFa8A6zcpnQ4Un2RQIfAXTvt/kx3yeDbZ1At4zRMwN7Y+Upv/yxfzC cEEVQZwh9Y++xyxhrfR7K65OFf2x9BntAUwFMbm9NFMR2fO1zVttan3w1yEknw1gfyG2TIbaE Gc7y6Krill+44t77jmCHFc375agVE65TKOp3+DithiGQnDoLK3cfh/n08/Zf5p7Tg5ISy1NpP BifKixTmofhfpW+dSkV8BOPu0eTgV5TxWLIHPCsRnm7UFXt60AlfmwstasrsbhGMOvT/qaJdH TLoHCZ0Vbu6BEI3PSZBsk1yo57H8iyE3Fyh4MT45r4m6Tgq/l980btsvpd X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Stefan Kangas <stefankangas@HIDDEN> writes: Hi Stefan, > Michael, could you please take a look at this bug? Sorry, I've overlooked this bug report. The appended small patch fixes it. Would it be OK to push to emacs-30? Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable diff --git a/lisp/man.el b/lisp/man.el index 75f87feb8e8..dcfab8d2035 100644 =2D-- a/lisp/man.el +++ b/lisp/man.el @@ -578,9 +578,9 @@ Man-default-directory (defun Man-shell-file-name () "Return a proper shell file name, respecting remote directories." - (or ; This works also in the local case. + (if (connection-local-p shell-file-name) (connection-local-value shell-file-name) - "/bin/sh")) + "/bin/sh")) (defun Man-header-file-path () "Return the C header file search path that Man should use. --=-=-=--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.