emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics files in archives cannot be toggled to display image or cod


From: Peter Dyballa
Subject: Re: Graphics files in archives cannot be toggled to display image or code
Date: Tue, 4 Apr 2006 23:25:50 +0200


Am 04.04.2006 um 15:53 schrieb Richard Stallman:

Does this handle tar mode as well as arc mode?


*** image-mode.el       11 Feb 2006 11:43:50 -0500      1.10
--- image-mode.el       03 Apr 2006 23:35:43 -0400      
***************
*** 139,145 ****
      ;; was inserted
      (let* ((image
            (if (and (buffer-file-name)
!                    (not (buffer-modified-p)))
                (progn (clear-image-cache)
                       (create-image (buffer-file-name)))
              (create-image
--- 139,149 ----
      ;; was inserted
      (let* ((image
            (if (and (buffer-file-name)
!                    (not (buffer-modified-p))
!                    (not (and (boundp 'archive-superior-buffer)
!                              archive-superior-buffer))
!                    (not (and (boundp 'tar-superior-buffer)
!                              tar-superior-buffer)))
                (progn (clear-image-cache)
                       (create-image (buffer-file-name)))
              (create-image


This patch indeed makes it right! But before I worked on a problem with Carbon Emacs and received from Takashi Hiromatsu the recommendation to use -DUSE_ATSUI in CFLAGS. So I configured again and just invoked 'make -k' because no Elisp code was updated. And this version of the X11 client GNU Emacs does not fail any more.

I'll configure again without -DUSE_ATSUI and do a 'make bootstrap' -- which takes more than hour!


I removed some days ago image-mode.elc when I found that image-mode is loaded when needed, not part of the dumped Emacs. Byte-recompile- directory never compiled any Elisp file. Is that correct?

--
Greetings

  Pete

Globalisation -- socialism from above.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]