From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: imagemagick patch v3 Date: Wed, 05 Aug 2009 20:19:00 +0200 Message-ID: <87tz0m86p7.fsf@thinkpad.tsdh.de> References: <83hbwmnpio.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249496358 1823 80.91.229.12 (5 Aug 2009 18:19:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2009 18:19:18 +0000 (UTC) Cc: monnier@iro.umontreal.ca, joakim@verona.se, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 05 20:19:11 2009 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 1MYl4w-0001fJ-A5 for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2009 20:19:10 +0200 Original-Received: from localhost ([127.0.0.1]:59184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYl4v-0005e7-KN for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2009 14:19:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYl4o-0005cY-W0 for emacs-devel@gnu.org; Wed, 05 Aug 2009 14:19:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYl4k-0005bp-C4 for emacs-devel@gnu.org; Wed, 05 Aug 2009 14:19:02 -0400 Original-Received: from [199.232.76.173] (port=49654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYl4k-0005bm-5I for emacs-devel@gnu.org; Wed, 05 Aug 2009 14:18:58 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:38851) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYl4h-0001DI-Ur; Wed, 05 Aug 2009 14:18:56 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 8CAD63BE291; Wed, 5 Aug 2009 14:18:55 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 05 Aug 2009 14:18:55 -0400 X-Sasl-enc: m2nDah8gYl/p3Hqvuid233X5QKS9Mny0PiBouCI+llkp 1249496334 Original-Received: from thinkpad.tsdh.de (p54AF3B9A.dip0.t-ipconnect.de [84.175.59.154]) by mail.messagingengine.com (Postfix) with ESMTPA id 10F3F32E5; Wed, 5 Aug 2009 14:18:52 -0400 (EDT) Mail-Copies-To: never In-Reply-To: <83hbwmnpio.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 05 Aug 2009 20:23:27 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:113725 Archived-At: Eli Zaretskii writes: Hi! >> From: joakim@verona.se >> Date: Wed, 05 Aug 2009 10:10:23 +0200 >> Cc: Emacs Development >> >> >> + (push >> >> + (cons (concat "\\." extension "$") 'image-mode) >> >> + auto-mode-alist) >> > >> > The "$" should be replaced with "\\'". >> >> Ok, but I dont get why? > > Because a file name on Posix platforms can include a newline > character. I tried that on GNU/Linux, and indeed it does work. The `ls' command lists the file as "multi?line?file", where the question marks represent the newlines. Unfortunately, dired doesn't work with those files. Here's a "screenshot": --8<---------------cut here---------------start------------->8--- drwxr-xr-x 2 horn horn 4.0K 2009-06-30 22:32 kvm drwxr-xr-x 4 horn horn 4.0K 2009-08-05 19:30 Mail -rw-r--r-- 1 horn horn 4 2009-08-05 20:05 multi line file drwxr-xr-x 7 horn horn 12K 2009-08-05 20:04 News drwxr-xr-x 6 horn horn 4.0K 2009-07-27 20:59 opt --8<---------------cut here---------------end--------------->8--- The listing itself is ok, I'd say. But hitting RET on "multi" says "File no longer exists; type `g' to update dired buffer", and RET on "line" or "file" say "No file on this line". Well, not really a problem, though... Bye, Tassilo