From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: viewing files crashes emacs Date: Wed, 17 Jan 2024 14:30:16 +0200 Message-ID: <83le8ob0rr.fsf@gnu.org> References: <290b7865-86fd-46d9-875f-730273994069.ref@verizon.net> <290b7865-86fd-46d9-875f-730273994069@verizon.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27350"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 17 13:31:12 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 1rQ54a-0006xR-8Y for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 17 Jan 2024 13:31:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQ53u-0006xB-31; Wed, 17 Jan 2024 07:30:30 -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 1rQ53r-0006wn-3C for help-gnu-emacs@gnu.org; Wed, 17 Jan 2024 07:30:28 -0500 Original-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 ) id 1rQ53q-0008Vd-Rg for help-gnu-emacs@gnu.org; Wed, 17 Jan 2024 07:30:26 -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=Oxmm0IH/yRQ2RhrKhQ4EAInkkfew3LJqqC3Wtpf6wUM=; b=B4vT472odoFh ji7TPIhcXiYXqmVbCWLx2RD2tF2lZ9rhXne6+iLfmwZOp58B5+mW8YJR9xCUPqA4ibE4Tw2y7a4l9 phk+4qmGhR+YqlSvziOvam+DwRK9Ni3lJlg2onlGZ76mTJDryqjfxSxVwnkOgwPeEiZYWt3DUb4yz TLk98lmxnJXT2N7gBLXNLg1ECrHFp6rNeBTRRdU6vRosbo/wbGf00ioBzCxWIhVz2GvDf0Ist/mj7 vkB694qNjwE02hadzrMhU9JGs8MSt1NR717FBLcTuvHUkCucaQZ8671CddOFmU9cDGx7zsmwFBSJp f3zvD6lZw0q0EGSYKgntBw==; In-Reply-To: <290b7865-86fd-46d9-875f-730273994069@verizon.net> (message from Tom Goldring on Wed, 17 Jan 2024 01:06:57 -0500) 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:145747 Archived-At: > Date: Wed, 17 Jan 2024 01:06:57 -0500 > From: Tom Goldring > > I'm using emacs 28.2 on a Mac laptop. Normally I view or edit files from > Dired by putting the cursor on a file name and typing V (to view) or > pressing Enter (to edit). This used to work perfectly well and still > does for most files, but now there are some text files (mostly perl > scripts, usually having no extension) that will cause emacs to > completely lock up so nothing I do within emacs has any effect, and all > I can do is kill the process from the command line or using "Force Quit > Applications from the OS), and then run emacs again. This will happen > consistently for some files but not for most others. I don't know if the > affected files contain one or more characters that cause this to happen, > because they behave normally if I "cat" them from the shell or view them > with TextEdit. I suspect that this is due to some infloop in python.el which we already fixed in Emacs 29. So please try upgrading to Emacs 29, and if that doesn't solve the problem, report a bug with an example of a file that causes such lockups.