From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Mon, 15 Jan 2007 07:59:53 +0200 Message-ID: <20070115055953.GA2837@kobe.laptop> References: <20070114025247.GB2401@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168887263 18943 80.91.229.12 (15 Jan 2007 18:54:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 18:54:23 +0000 (UTC) Cc: dooglus@gmail.com, c.a.rendle@gmail.com, Reiner.Steib@gmx.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 19:54:20 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H6Ve6-0004Md-8L for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2007 18:29:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6NvU-0004eV-7f for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2007 04:14:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6Nts-0003wM-Hv for emacs-devel@gnu.org; Mon, 15 Jan 2007 04:13:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6Ntq-0003u4-UL for emacs-devel@gnu.org; Mon, 15 Jan 2007 04:13:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Ntq-0003tj-Q9 for emacs-devel@gnu.org; Mon, 15 Jan 2007 04:13:06 -0500 Original-Received: from [62.1.205.36] (helo=igloo.linux.gr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H6Nto-0007Lq-QV; Mon, 15 Jan 2007 04:13:05 -0500 Original-Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l0F9Bvar027216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Jan 2007 11:12:03 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l0F9BW2O001599; Mon, 15 Jan 2007 11:11:51 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l0F5xraJ002912; Mon, 15 Jan 2007 07:59:53 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-To: Richard Stallman , Stefan Monnier Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=-3.475, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.72, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65215 Archived-At: On 2007-01-14 18:23, Richard Stallman wrote: > There isn't much Emacs can do to protect against problems with > potentially buggy versions of the image libraries, though. We > can make Emacs *prompt* the user when something looks ``odd'', > but how do we define ``odd''? > > Each image format has a standard. If the format does not allow > arbitrary programs, then it is straightforward (though perhaps > substantial work) to validate an image completely. Right. We may eventually have to do this substantial amount of work, but I think our safest bet is to make Emacs do what Stefan proposed, i.e. have image-mode turned off by default and let the user enable it explicitly when they feel it's safe to do so.