From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Andreas_R=C3=B6hler?= Newsgroups: gmane.emacs.help Subject: 31.0.50; shell, virtualenv Date: Mon, 16 Dec 2024 09:51:52 +0100 Message-ID: <1c08db0b-270c-48e0-a5e0-6092bfee40ef@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26646"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 09:52:40 2024 Return-path: Envelope-to: geh-help-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 1tN6qG-0006q8-7H for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 09:52:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tN6pe-0007rV-Oe; Mon, 16 Dec 2024 03:52:02 -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 1tN6pc-0007qv-QF for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 03:52:00 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.187]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tN6pb-0006ZF-5i for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 03:52:00 -0500 Original-Received: from [192.168.178.61] ([89.247.171.233]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MDQqk-1tUE6123LK-0005Gs for ; Mon, 16 Dec 2024 09:51:55 +0100 Content-Language: de-DE X-Provags-ID: V03:K1:p5+BqA4iC7nYOBaNuRKvWBx486NCIT5cHUae3gX57eyN35DH0Hs g2lKRxLz+hCk/FrqQWkdLA7OBUBbNH8ODahbWzH0PfNAjg+D4AQ0LzNr0y10kB6ZL+uaMUc EndB9I7E0/OntmxS6/Fmi59WH2jkmxMjr9br2YojxvmaHT10+yeVJb60n639p3OvQaoe0QR UYnftnXbB9ercS4MW1ozg== UI-OutboundReport: notjunk:1;M01:P0:Qhcj31kvPkA=;HUh92jx1X2GJfXP86VFkL29Gw5z XOP3gjl715qRK+6idsW8fwICRBmI8NLsxVgCOXpPi2cU4KTaQFIsjbW6M8y/632yayqf7RkLN Y6CnS4p+xrRrvJ5VhD/GnrQ4sIbT+qcLqrXNeng5gMwnSVdDCL281Nm+23tkufl3RBlCF8Rg9 ndYhPdPDxrWWNMQUMVQAzOjRpMQ6clhnW+cyNrW0EYE+eGZ6xobBYGuqFhP1KPNZli4AHy+3l pBYP5e2ajqdix7KcQmwFXW5PIL4iA1xdXCc5tqaJzT5gPImwbhN9PymKSPYoY6RJueXroQbx9 G2HC9+2q8VZroyLZVA5pIO+oMA6qNdSCFvF6NfE/XzSd3mw0jPKHvSlVUnVinaBOeLSO79Iio KU2U2odQvZHLHRHGWo3CwK84klxrwPQDHOQcAfy8rMBa4QYDrmfYm7NfVgorGLnzVH3wXJtEK XMP9Hw4LvlRGSj6ZMtTZ8nztA290jylb2n8CtccEaUd6nbpJNlcBY31oB4gpMstP+lxh+UtLa IjhHmuQWSFZBC4q2vKHcf8HMGUa4UZEypykz8O9j9uZS3hZPysQlwzz6NByu27ZweeyPzBrVn j3TLqnwQAHqwO5ICAuZMd5Zkk61R/7V1Gvu+nXYJCTyxh+hvOgAZmBWlyAnmgoTRLmDRMi8an OqQmFegUw7GAQEyR7Ro6NyTwL8mYYoOUArcNLlNBZvEUlUrZn24frMdV6hsf4fn/wtzxLPWAJ wlJp1/gCvgOi5jUunx2wviEMKqI9/PRV/IjtTCCaMVxxvTFqqw+6jX4on3dYZEdxfG0udJIh Received-SPF: pass client-ip=212.227.126.187; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.168, 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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148825 Archived-At: Have in init a command like that: (defun aktivate-My-shell-virtualenv-root()   (interactive)   (when (boundp 'My-shell-virtualenv-root)     (unless (string= "" My-shell-virtualenv-root)       (dired My-shell-virtualenv-root)       (setq default-directory My-shell-virtualenv-root)       (shell)       (virtualenv-activate My-shell-virtualenv-root)))) When calling this, get an error like: Debugger entered--Lisp error: (wrong-type-argument stringp nil)   find-file-name-handler(nil file-remote-p)   file-remote-p(nil)   with-connection-local-variables-1(#f(compiled-function () #))   shell()   (if (string= "" My-shell-virtualenv-root) nil (dired My-shell-virtualenv-root) (setq default-directory My-shell-virtualenv-root) (shell) (virtualenv-activate My-shell-virtualenv-root))   (progn (if (string= "" My-shell-virtualenv-root) nil (dired My-shell-virtualenv-root) (setq default-directory My-shell-virtualenv-root) (shell) (virtualenv-activate My-shell-virtualenv-root)))   (if (boundp 'My-shell-virtualenv-root) (progn (if (string= "" My-shell-virtualenv-root) nil (dired My-shell-virtualenv-root) (setq default-directory My-shell-virtualenv-root) (shell) (virtualenv-activate My-shell-virtualenv-root))))   aktivate-My-shell-virtualenv-root() The error goes away, when the custom-file is loaded manually before evaluating. A bug? Cheers, Andreas GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-12-11