From: Tassilo Horn <tassilo@member.fsf.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: monnier@iro.umontreal.ca, joakim@verona.se, emacs-devel@gnu.org
Subject: Re: imagemagick patch v3
Date: Wed, 05 Aug 2009 20:19:00 +0200 [thread overview]
Message-ID: <87tz0m86p7.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <83hbwmnpio.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 05 Aug 2009 20:23:27 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
Hi!
>> From: joakim@verona.se
>> Date: Wed, 05 Aug 2009 10:10:23 +0200
>> Cc: Emacs Development <emacs-devel@gnu.org>
>>
>> >> + (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
next prev parent reply other threads:[~2009-08-05 18:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-04 19:55 imagemagick patch v3 joakim
2009-08-05 0:43 ` joakim
2009-08-05 2:15 ` Stefan Monnier
2009-08-05 8:10 ` joakim
2009-08-05 17:23 ` Eli Zaretskii
2009-08-05 18:19 ` Tassilo Horn [this message]
2009-08-05 18:53 ` Eli Zaretskii
2009-08-05 19:49 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tz0m86p7.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).