Chong Yidong
bb0cb41752
(image-forward-hscroll, image-backward-hscroll)
...
(image-next-line, image-previous-line, image-scroll-up)
(image-scroll-down, image-bol, image-eol, image-bob, image-eob):
New functions.
(image-mode-map): Remap motion commands.
(image-mode-text-map): New keymap for viewing images as text.
(image-mode): Use image-mode-map.
(image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
2007-05-24 23:12:53 +00:00
Chong Yidong
dc255b24e3
(image-toggle-display): Don't clear image cache. Only use filename in
...
image spec if the file is readable. Call image-refresh.
2007-05-21 23:05:20 +00:00
Chong Yidong
f992a935ed
(image-mode): Revert 2007-01-30 changes.
2007-02-09 16:50:29 +00:00
Chong Yidong
49f1a2f461
Use autoload to avoid overriding disabled setting applied in .emacs.
2007-02-03 01:01:01 +00:00
Jason Rumney
9fce2d717b
(image-mode-maybe): Prevent magic-mode-alist from
...
interfering with attempt to set major mode from modified
auto-mode-alist.
2007-01-31 12:37:08 +00:00
Chong Yidong
fd014ebf25
(image-toggle-display): Add `disabled' property.
2007-01-30 16:57:36 +00:00
Chong Yidong
9f446ee905
(image-mode): Don't automatically view as image.
2007-01-30 16:52:48 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Chong Yidong
ab145daf37
* image-mode.el (image-mode): Fix last fix.
...
Suggested by Kim F. Storm.
2006-08-29 13:02:53 +00:00
Chong Yidong
0e8b7151ca
* image-mode.el (image-mode): Display image as text on a terminal.
2006-08-28 22:49:25 +00:00
Richard M. Stallman
f2920ffe8e
(tar-superior-buffer, archive-superior-buffer):
...
Add defvars to silence warnings.
2006-07-17 20:55:07 +00:00
Chong Yidong
4d687160ec
* image-mode.el (image-toggle-display): Use buffer contents to
...
generate image for a remote file.
2006-05-26 03:34:33 +00:00
Richard M. Stallman
df5b8a5364
(image-toggle-display): Handle tar and arc subfiles.
2006-04-18 21:21:08 +00:00
Chong Yidong
fcfc4732e0
* image-mode.el (image-toggle-display): Clear image cache if using
...
filename.
2006-02-09 19:34:08 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Chong Yidong
2bd53dc071
* image-mode.el (image-toggle-display): Use file name if possible,
...
instead of unnecessarily allocating a (possibly huge) lisp string.
2006-01-30 20:44:44 +00:00
Deepak Goel
8a26c16552
Message format spec fixes (1)
2005-09-18 12:25:02 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Juri Linkov
90d0be7d3f
(image-minor-mode): Set cursor-type' and
truncate-lines' if the
...
image is already displayed. Add turning image-minor-mode off to
`change-major-mode-hook'. Add message.
Call `image-toggle-display-text' after turning image-minor-mode off.
2005-03-25 21:45:47 +00:00
Juri Linkov
d90e651e6e
Optimize image filename extension regexps in
...
autoload cookies. Associate .x[bp]m with `image-mode-maybe'
in `auto-mode-alist'.
(image-mode): Add `image-toggle-display-text' to local hook
`change-major-mode-hook'. Display the image as an image by
default. Set `cursor-type' and `truncate-lines' if the image
is already displayed. Take into account the current mode (image
or text) in message.
(image-minor-mode): New minor mode.
(image-mode-maybe, image-toggle-display-text): New functions.
(image-toggle-display): Use called-interactively-p.
Let-bind `inhibit-read-only' to t.
2005-03-25 19:57:21 +00:00
Richard M. Stallman
837daa0d41
Handle .xpm files too.
...
(image-toggle-display): Preserve modification flag.
2005-03-21 17:42:36 +00:00
Miles Bader
8f7ee63901
Changes from arch/CVS synchronization
2005-03-18 02:53:44 +00:00
Richard M. Stallman
c7bd5d5712
*** empty log message ***
2005-03-18 00:15:23 +00:00