From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Moore Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Sat, 06 Jan 2007 19:49:47 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168109415 27998 80.91.229.12 (6 Jan 2007 18:50:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2007 18:50:15 +0000 (UTC) Cc: lekktu@gmail.com, c.a.rendle@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 06 19:50:12 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 1H3GcL-0007ek-TQ for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2007 19:50:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3GcL-0001Xr-FQ for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2007 13:50:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3Gc8-0001XF-AL for emacs-devel@gnu.org; Sat, 06 Jan 2007 13:49:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3Gc6-0001Wr-Uh for emacs-devel@gnu.org; Sat, 06 Jan 2007 13:49:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3Gc6-0001Wm-QF for emacs-devel@gnu.org; Sat, 06 Jan 2007 13:49:54 -0500 Original-Received: from [66.249.92.172] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H3Gc5-00011p-Hg for emacs-devel@gnu.org; Sat, 06 Jan 2007 13:49:53 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so6655331ugf for ; Sat, 06 Jan 2007 10:49:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:cc:references:from:date:in-reply-to:message-id:user-agent:mime-version:content-type:x-sa-exim-connect-ip:x-sa-exim-mail-from:x-spam-checker-version:x-spam-level:x-spam-status:subject:x-sa-exim-version:x-sa-exim-scanned:sender; b=mvBcSXcfatQX48PCNNLoNSt+NTGi0aUrtD8ynzbOrLz7J/2TGublcof/s0ZLRMlAbRfxTXV9A23fWka3y6TmggLOPs8VoJQmox/VELqinEAQzy529F55W6f4CId0FiD0+zgGcuJc1T19e21m8YOn5bzKU8pfuCtSwwL72Xgj+cM= Original-Received: by 10.66.232.10 with SMTP id e10mr31410872ugh.1168109392493; Sat, 06 Jan 2007 10:49:52 -0800 (PST) Original-Received: from chrislap.local ( [89.176.28.156]) by mx.google.com with ESMTP id b23sm37194504ugd.2007.01.06.10.49.50; Sat, 06 Jan 2007 10:49:51 -0800 (PST) Original-Received: from localhost ([127.0.0.1] helo=chrislap.local) by chrislap.local with esmtp (Exim 4.63) (envelope-from ) id 1H3Gc0-0001c2-0n; Sat, 06 Jan 2007 19:49:49 +0100 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat\, 06 Jan 2007 13\:07\:18 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: dooglus@gmail.com X-SA-Exim-Version: 4.2.1 (built Sun, 03 Dec 2006 00:39:09 +0000) X-SA-Exim-Scanned: Yes (on chrislap.local) 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:64888 Archived-At: Richard Stallman writes: > How cautious are you about files with .png extensions? > Do you carefully avoid displaying them if you are not sure > where they came from? It depends which box I'm on. If it's a box I don't care about then I'll be less cautious than if it's a box that needs to stay secure. The point is that I'd like the displaying of .png files to happen when I want it to. Currently Emacs takes that choice out of my hands by displaying .el files as PNG images without warning when they happen to contain PNG formatted data. Suppose I post a URL to this list asking people to take a look at my Emacs Lisp code: http://.../dir/mymode.el People click on the link hoping to see my code and instead they end up with Emacs crashing and their machine being infected by a virus, since mymode.el is actually a renamed copy of myvirus.tiff. That shouldn't be possible when all they've done is clicked on a .el URL.