From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: "Text is read-only"... except it isn't... or shouldn't be Date: Tue, 14 May 2013 16:39:21 +0300 Message-ID: <8338tp8yuu.fsf@gnu.org> References: <5190B6C2.3060801@mousecar.com> <83y5bi97sp.fsf@gnu.org> <51911A2B.6070100@mousecar.com> <83r4ha959c.fsf@gnu.org> <5191A2BA.7080108@mousecar.com> <83bo8e83ef.fsf@gnu.org> <6DBF2725-3120-4A0D-A23B-C1C16CA8AF22@Web.DE> <51922C68.1030700@mousecar.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1368538801 23165 80.91.229.3 (14 May 2013 13:40:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 13:40:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 14 15:39:59 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UcFSQ-0004Ui-GH for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 15:39:58 +0200 Original-Received: from localhost ([::1]:60854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFSQ-0003rT-4M for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 09:39:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFS9-0003oK-OH for help-gnu-emacs@gnu.org; Tue, 14 May 2013 09:39:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcFS1-0006xB-CK for help-gnu-emacs@gnu.org; Tue, 14 May 2013 09:39:41 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:47816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFS0-0006wE-Tk for help-gnu-emacs@gnu.org; Tue, 14 May 2013 09:39:33 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MMS00I00J8TS400@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 14 May 2013 16:39:27 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MMS00IIPJ9RS600@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 14 May 2013 16:39:27 +0300 (IDT) In-reply-to: <51922C68.1030700@mousecar.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90754 Archived-At: > Date: Tue, 14 May 2013 08:22:00 -0400 > From: ken > CC: Eli Zaretskii , help-gnu-emacs@gnu.org > > [...] overly simplistic strategy for determining a file type merely > by looking at the filename extension, especially when this can be > more suitably and accurately and intelligently accomplished by > determining a file's magic number as the Linux "file" utility does. Emacs does look at the magic signature, see magic-mode-alist.