From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 7556@debbugs.gnu.org
Subject: bug#7556: 24.0.50; visiting an EPS file with preview TIFF image and with one long line
Date: Sun, 5 Dec 2010 13:04:26 +0100 [thread overview]
Message-ID: <80B27561-97A6-4D18-B322-F715849D2DB5@Freenet.DE> (raw)
In-Reply-To: <831v5whnhp.fsf@gnu.org>
Am 05.12.2010 um 05:06 schrieb Eli Zaretskii:
>> I have an EPS file created by Adobe Illustrator 15 with a "DOS EPS
>> Binary File Header" according to 5002.EPSF_Spec and a TIFF preview at
>> the end, in mac-roman-mac encoding. Size: 643 KB. When I visit that
>> file from a dired buffer in PostScript DocView View mode
>
> Visiting binary files with anything but find-file-literally is not a
> good idea.
Yes, find-file-literally works very fine, and fast! Although it
produces a backup file and does not open the file read-only...
>
>> Rendering this in a window of 55 lines and around 120 columns takes
>> these 7 h.
>
> Emacs display engine is known to be very slow with very long lines.
> Does it help to set truncate-lines non-nil?
I did not wait the whole seven hours, just a few minutes, until the
CPU became hot enough that the fan started to spin... Not really a
change or improvement in speed, probably.
>
>> And more: GNU Emacs creates a #file.eps# backup file,
>> larger in size (50 %) than the original file. Is that the expected
>> behaviour?
>
> I'm guessing that this is because raw bytes are decoded into internal
> format that makes them take 5 bytes. The auto-save file is written in
> this internal format.
The backup file was created while I opened the file read-only, just
visiting it!
--
Greetings
Pete
The future will be much better tomorrow.
– George W. Bush
next prev parent reply other threads:[~2010-12-05 12:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-04 21:59 bug#7556: 24.0.50; visiting an EPS file with preview TIFF image and with one long line Peter Dyballa
2010-12-05 4:06 ` Eli Zaretskii
2010-12-05 12:04 ` Peter Dyballa [this message]
2010-12-05 14:37 ` Eli Zaretskii
2010-12-06 9:44 ` Peter Dyballa
2010-12-06 18:53 ` Eli Zaretskii
2010-12-06 21:05 ` Peter Dyballa
2010-12-07 9:43 ` Peter Dyballa
2010-12-07 18:44 ` Eli Zaretskii
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=80B27561-97A6-4D18-B322-F715849D2DB5@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=7556@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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).