summaryrefslogtreecommitdiff
path: root/lisp/thumbs.el
Commit message (Collapse)AuthorAgeFilesLines
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (thumbs-conversion-program): Add comment for Windows XP.Nick Roberts2007-12-291-0/+4
| |
* | (thumbs-call-convert): Use call-process directlyNick Roberts2007-12-281-9/+6
| | | | | | | | | | with thumbs-conversion-program instead of through shell-file-name for better error reporting when program is missing.
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (thumbs-thumbsdir): Use user-emacs-directory.Chong Yidong2007-06-131-1/+1
|/
* Commentary fix.Chong Yidong2007-04-221-1/+1
|
* "tumme" renamed to "thumbnails".Chong Yidong2007-04-221-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (thumbs-call-convert): Use shell-command-switch.Nick Roberts2006-07-121-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (thumbs-marked-list): Make buffer-local andNick Roberts2006-01-301-7/+9
| | | | | | permanent-local. (thumbs-insert-thumb): Make help-echo non-sticky. (thumbs-file-alist): Use eolp as check for (non)-image.
* (thumbs-do-thumbs-insertion): Suppress message whenNick Roberts2006-01-261-6/+3
| | | | | | there are no more images to display. (thumbs-mark, thumbs-unmark): Revert change so that they move to the next image.
* (thumbs-new-image-size): New function.Nick Roberts2006-01-241-68/+45
| | | | | | | | | | | | | | | | | (thumbs-increment-image-size-element) (thumbs-decrement-image-size-element, thumbs-increment-image-size) (thumbs-decrement-image-size): Delete. (thumbs-resize-image-1): Rename from thumbs-resize-image. Keep old temp files and use to resize. (thumbs-resize-image): Rename from thumbs-resize-image-interactive. Use increment argument to enlarge/shrink. Preserve point. (thumbs-shrink-image): Rename from thumbs-resize-image-size-down. (thumbs-enlarge-image): Rename from thumbs-resize-image-size-up (thumbs-show-thumbs-list): Set thumbs-buffer to current-buffer. (thumbs-mark, thumbs-unmark): Preserve point. (thumbs-modify-image): Keep old temp files and use to modify. Cleanup old temp files at load time. Preserve point. (thumbs-view-image-mode-map): Use new command names.
* (thumbs-extra-images): New variable. Make it buffer-localNick Roberts2006-01-231-72/+102
| | | | | | | | | | | | | | | | | | | and permanent-local. (thumbs-max-image-number): New variable. Make it (thumbs-do-thumbs-insertion): Use them (thumbs-per-line): Change default to 4. (thumbs-marked-list): Rename from thumbs-markedL. (thumbs-cleanup-thumbsdir, thumbs-delete-images) (thumbs-rename-images): Use -list instead of L for internal variables. (thumbs-call-convert): Use call-process instead of shell-command. (thumbs-insert-thumb): Add filename as help-echo to each image. (thumbs-show-from-dir): Rename from thumbs-show-all-from-dir. Give dir to thumbs-show-thumbs-list. (thumbs-show-thumbs-list): Set default-directory to that of images. (thumbs-dired-show): Rename from thumbs-dired-show-all. (thumbs-display-thumbs-buffer, thumbs-show-more-images): New functions. (thumbs-mode-map): Bind "+" to thumbs-show-more-images. (thumbs-view-image-mode-map): Bind "^" to thumbs-display-thumbs-buffer.
* (thumbs-file-alist): Avoid creating duplicate entries.Nick Roberts2006-01-231-4/+5
|
* (thumbs-buffer): New variable. Make it buffer local.Nick Roberts2006-01-201-32/+44
| | | | | | | | | | | (thumbs-find-image): Move image name and number from buffer name to mode name. Set thumbs-buffer. Preserve point so that large images remain visible. (thumbs-file-alist): Construct list in thumbs-buffer and reverse order. (thumbs-show-image-num): Get image from thumbs-file-alist. Set mode name. (thumbs-next-image, thumbs-previous-image): Make them work.
* * thumbs.el (thumbs-thumbsdir): Default to ~/.emacs.d/thumbs.Chong Yidong2005-10-301-2/+2
| | | | (thumbs-thumbsdir): Make .emacs.d if it does not exist.
* * menu-bar.el (menu-bar-help-menu): Rename "psychiatrist", in lineChong Yidong2005-10-241-0/+1
| | | | | | with 2005-10-23 change to doctor.el. * finder.el (finder-mode-map): Add follow-link binding.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+1
|
* (thumbs-find-image): Don't make variables automatically buffer local.Juanma Barranquero2005-08-021-20/+17
| | | | | | | | (thumbs-current-tmp-filename, thumbs-current-image-filename, thumbs-image-num): Make automatically buffer local. (thumbs-show-thumbs-list): Use `make-local-variable', not `make-variable-buffer-local'. (thumbs-insert-image): Make `thumbs-current-image-size' buffer-local.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (thumbs-per-line, thumbs-thumbsdir-max-size)Eli Zaretskii2005-06-111-5/+5
| | | | | (thumbs-relief, thumbs-margin, thumbs-image-resizing-step): Fix :type--it is `integer', not `string'.
* Fixes for changes of 2005-06-09.Juanma Barranquero2005-06-101-5/+9
| | | | | | | | (thumbs-thumbsdir): Force `thumbs-thumbsdir' to be interpretable as a directory. (thumbs-thumbname): Remove directory separator from format string; `thumbs-thumbsdir' now returns a valid directory name. (thumbs-temp-dir): New defsubst. (thumbs-temp-file, thumbs-resize-image, thumbs-modify-image): Use it.
* Don't set `auto-image-file-mode'. Do not create the thumbnails directory onJuanma Barranquero2005-06-091-45/+43
| | | | | | | | | | | | | | | loading. (thumbs-conversion-program): Use `eq' to check the system type, not `equal'. (thumbs-temp-dir): Set to `temporary-file-directory', not "/tmp". Fix docstring. (thumbs-thumbsdir): New function to return the thumbnails directory, creating it if needed. (thumbs-cleanup-thumbsdir, thumbs-thumbname): Use it. (thumbs-temp-file): Delete variable and make it into a function. (thumbs-resize-image, thumbs-modify-image): Use it. (thumbs-kill-buffer): Simplify. (thumbs-gensym): Defalias or duplicate CL `gensym'. (thumbs-resize-image, thumbs-resize-interactive): Fix typos in docstrings.
* (thumbs-thumbsdir-max-size, thumbs-image-resizing-step,Juanma Barranquero2005-06-061-3/+3
| | | | thumbs-thumbsdir-auto-clean): Fix typos in docstrings.
* (thumbs-mode): Fix misuse of make-variable-buffer-local.Stefan Monnier2005-05-311-5/+2
|
* (thumbs-thumbname): The resulting thubname includes a hash value to improve itsJuanma Barranquero2005-05-301-11/+15
| | | | | | | uniqueness, and has a ".jpg" extension. Also, it is now a valid filename on all systems. (thumbs-make-thumb): Use `let', not `let*'. (thumbs-show-thumbs-list): Check for JPEG availability.
* (thumbs-thumbsdir-max-size, thumbs-temp-file, thumbs-cleanup-thumbsdir,Juanma Barranquero2005-05-251-17/+17
| | | | | | | | thumbs-call-convert, thumbs-resize-interactive, thumbs-insert-image, thumbs-insert-thumb, thumbs-dired-show-marked, thumbs-find-image-at-point, thumbs-delete-images, thumbs-rename-images, thumbs-next-image, thumbs-dired-setroot, thumbs-increment-image-size, thumbs-decrement-image-size): Fix typos in docstrings.
* * complete.el, thumbs.el: Replace `legal' with `valid'.Werner LEMBERG2005-03-251-2/+2
|
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-2/+2
| | | | Change development version from 21.3.50 to 22.0.50.
* (group thumbs): Add :version keyword.John Paul Wallington2004-11-011-3/+4
|
* (thumbs-view-image-mode-map): Fix `thumbs-set-root' command name typo.John Paul Wallington2004-09-041-2/+3
| | | | (thumbs-view-image-mode): Make buffer read-only.
* Don't include cl. Don't bother with old Emacs versions.Richard M. Stallman2004-05-291-103/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (thumbs-subst-char-in-string): Deleted. (thumbs-thumbname): Use subst-char-in-string. (thumbs-resize-image): Use condition-case, not ignore-errors. (thumbs-kill-buffer): Likewise. (thumbs-mode): Make buffer read-only. (thumbs-make-thumb): Unconditionally accept an existing file. (thumbs-insert-thumb): Add thumb-image-file property to the image. (thumbs-do-thumbs-insertion): Be smarter about where to put newlines. (thumbs-show-thumbs-list): Error if images not supported. (thumbs-save-current-image): Improve prompt string. (thumbs-mode-map): Define u, R, x. (thumbs-unmark): New command. (thumbs-emboss-image): Minor cleanup. (thumbs-forward-char, thumbs-backward-char): Skip chars with no image. (thumbs-rename-images): New command. (thumbs-show-image-num): Rewrite. Don't rename the buffer. (thumbs-current-image): New function. (thumbs-file-list, thumbs-file-alist): New functions. (thumbs-find-image): Delete arg L. Don't set up thumbs-fileL as buffer-local global var. (thumbs-find-image-at-point): Use thumbs-current-image. (thumbs-set-image-at-point-to-root-window): Likewise. (thumbs-delete-images): Use thumbs-current-image, thumbs-file-alist. Record and warn about errors. Update thumbs-markedL for deletions. (thumbs-next-image, thumbs-previous-image): Use thumbs-file-alist. (thumbs-redraw-buffer): Use thumbs-file-list. (thumbs-mark): Use thumbs-current-image. (thumbs-show-name): Use thumbs-current-image. (thumbs-show-name): Do nothing if no image at point. (thumbs-mouse-find-image): New command. (thumbs-mode-map): Bind it to mouse-2. (thumbs-mode): Make mode-class special. (thumbs-view-image-mode): Likewise.
* (toplevel): Require cl at compile time.John Paul Wallington2004-04-281-12/+2
| | | | | Remove conditional definitions of `ignore-errors' and `caddar' because they occur at run time.
* (thumbs-delete-images): Fix formatting of prompt.John Paul Wallington2004-04-281-5/+5
| | | | | | (thumbs-show-image-num): Move assignment of `thumbs-current-image-filename' within dynamic scope of `i'. (thumbs-emboss-image): Don't use `evenp'.
* (time-less-p): Remove.Juanma Barranquero2004-04-271-32/+25
|
* Resolve CVS conflictsMiles Bader2004-02-281-0/+1
|
* New file.Richard M. Stallman2004-02-281-0/+736