I can show the thumbnails of the image files fine. I can use "R" or "L" once
and it rotates the thumbnail/file.
But any time after that it complains and says "Could not rotate image" for any
file.
I tracked it down and found that a temp file is used:
~/.emacs.d/tumme/.tumme_rotate_temp
The command that generated this: jpegtran -rotate 90 -copy all file.jpg >
~/.emacs.d/tumme/.tumme_rotate_temp
The problem is that the ">" fails if the file already exists.
So I made a change to "tumme-rotate-original" that checks if that file is
there and deletes it before running the
current rotate command.
Here is a patch:
*** tumme.el.~1~ Thu Aug 24 15:12:48 2006
--- tumme.el Thu Jan 11 13:57:41 2007
***************
*** 1886,1889 ****
--- 1886,1891 ----
(if (not (string-match "\.[jJ][pP[eE]?[gG]$" file))
(error "Only JPEG images can be rotated!"))
+ (if (file-exists-p tumme-temp-rotate-image-file)
+ (delete-file tumme-temp-rotate-image-file))
(setq command (format-spec
tumme-cmd-rotate-original-options
Thanks
tom
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug