[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
python-mode from plain txt-files?
From: |
Andreas Röhler |
Subject: |
python-mode from plain txt-files? |
Date: |
Wed, 6 May 2020 21:13:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
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
- python-mode from plain txt-files?,
Andreas Röhler <=