From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.help Subject: python-mode from plain txt-files? Date: Wed, 6 May 2020 21:13:47 +0200 Message-ID: <10918496-c263-1dbd-dc99-bceb19cbe20e@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5200"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 06 21:06:49 2020 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 1jWPNZ-0001G5-2E for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 21:06:49 +0200 Original-Received: from localhost ([::1]:38532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWPNY-0000Fx-4g for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 15:06:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWPNH-0000Fp-GR for help-gnu-emacs@gnu.org; Wed, 06 May 2020 15:06:31 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.135]:52827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWPNG-00060Y-Ay for help-gnu-emacs@gnu.org; Wed, 06 May 2020 15:06:31 -0400 Original-Received: from [192.168.178.39] ([94.134.177.179]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MDQRy-1jOCA82SNq-00AVze for ; Wed, 06 May 2020 21:06:26 +0200 Content-Language: en-US X-Provags-ID: V03:K1:KBbdNeWHuhMqsl6vdVPApn6rGQXqAKJzlJnE3Wjff1s8nT78xxB 9ZV9+qvfV3oJzMKkgit3a+L3LTIjD08ZdXZD2yPhMMbxLYY8r0NqYqhhicuATp0dteqTRE9 gWmJeG4TOhtcxWiw6S2dVmlFEeTuDkRrsgGWyRgogI4QgvCiOdNPL4Zx+3K9yti6c09Giqi Q3NZfQV/Hw6j6atGGb1Yw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Bfv75fV6sms=:18FWWggIYUxCF//YFOPHZr Tg9Uc08epMZzHdMcbfguwe3q6XlsHlna/N7H3DbX93dRanivDhnmQC0GRoSCjX3ejTfLHAJBI e9+8RpsDLJncRBBC7PnwDz6Xg4ZIZtATz7GGslafE5soDpDUYTqfBr5vQ4dRNIt8AIcbCpoSY WfSudOAy/HgTUhEMUSSqQOVH6atIeLoC0XA80pHgqgGxzz/YIZNKoO0+HAH4H6MG3gq7ootGv vD+3kZwtwBRPS0AAQAgWP8DiwIODWKooixvXAr6IvfiuXjVuz6hLeNtHZUarSZhOy+m9RIjtB GrC5B7Uc+jd8R1VANaXpMRkL+OyHrF42INGtND/v0vt7MJH8azKi6+ObZjeun6DVbVkx4kQDg YETDGvlAsdkVyiSiu4gNKkkeFGCy5D0M8R8Tif0VmdSlrqgVJyrmlPm8EFSb5Hpxwo9gyvYiC OIv1b1AQy0gnY/3vhfjOFrkOq1sONfKPeZ9QRDVMqqBhjuse/0ez6HBId/dBx2gpr3v8G8vhn NUEzGM0M29bqgaV5z4NOOupnLb9AviVuYVQascS2ja+DnkpDHyIVWRYH5foP6B8kJBR5IS0bv ShlSz/3iH4PCbtzVTkdqmNhutKtnLnXKmLH6oAUH/Tg6kxPK11BwoZOQSvkH6Vs2sXZKQPXtL +jjuOY06Z20FftiJR5/+XSKjB60sYJm8rDs4BVeVobRkcih8qzrVA5M5XJmcSkTxEh/1vy5Gh Senm9NXcfNum+tMnS8UU3CytiyqhSKZP6JLH76kik9+mCfn9KU4/YQ23uVMrVK+w7lU8x9l4 Received-SPF: none client-ip=212.227.126.135; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/06 14:01:14 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:123036 Archived-At: Hi, from emacs -Q, when opening file with ending ".txt" which contains #! /usr/bin/env python3 python-mode is started. Is this correct? Understand the mode is ruled by a files ending, not just by some contents. How to open such a file in fundamental-mode? In the precise case python-mode hangs due to a very long line. Thanks, Andreas GNU Emacs 28.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5, cairo version 1.14.0) of 2020-04-06