1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Paul Eggert
40ba43b4b7 Spelling fixes. 2011-11-19 23:30:16 -08:00
Paul Eggert
e1dbe924b5 Spelling fixes. 2011-11-19 18:29:42 -08:00
Paul Eggert
da6062e6ea Spelling fixes. 2011-11-14 23:55:13 -08:00
Stefan Monnier
4f91a8160f Don't quote lambda expressions with `quote'. 2011-05-23 14:57:17 -03:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juanma Barranquero
ea6c930a8d * completion.el (add-completion-to-head, add-completion): Doc fixes.
(completion-search-next, add-completions-from-file):
  Fix typos in docstrings.

* filesets.el (filesets-menu-ensure-use-cached)
  (filesets-ingroup-patterns, filesets-filetype-property):
* tutorial.el (get-lang-string):
* play/gamegrid.el (gamegrid-score-file-length, gamegrid-add-score):
  Fix typos in docstrings.

* image-dired.el (image-dired-dired-after-readin-hook): Doc fix.
  (image-dired-line-up-method, image-dired-thumb-size)
  (image-dired-cmd-write-exif-data-options, image-dired-write-tags)
  (image-dired-track-original-file, image-dired-track-thumbnail)
  (image-dired-dired-next-line, image-dired-dired-previous-line)
  (image-dired-write-comments): Reflow docstrings.
  (image-dired-show-all-from-dir-max-files)
  (image-dired-format-properties-string, image-dired-create-thumbs)
  (image-dired-mark-tagged-files, image-dired-gallery-generate):
  Fix typos in docstrings.

* savehist.el (savehist-save-minibuffer-history, savehist-file)
  (savehist-additional-variables, savehist-ignored-variables)
  (savehist-file-modes, savehist-autosave-interval):
* startup.el (inhibit-startup-echo-area-message, inhibit-default-init)
  (inhibit-startup-buffer-menu, mail-host-address, user-mail-address)
  (fancy-splash-image):
* thumbs.el (thumbs-thumbsdir, thumbs-geometry, thumbs-relief)
  (thumbs-conversion-program, thumbs-margin):
  Remove spurious * in docstrings.
2008-10-25 00:46:25 +00:00
Juanma Barranquero
d6c180c46b New function `locate-user-emacs-file'.
* subr.el (locate-user-emacs-file): New function.
  (user-emacs-directory): Mention it in docstring.

* completion.el (save-completions-file-name):
* filesets.el (filesets-menu-cache-file):
* image-dired.el (image-dired-dir, image-dired-db-file)
  (image-dired-temp-image-file, image-dired-gallery-dir)
  (image-dired-temp-rotate-image-file):
* savehist.el (savehist-file):
* server.el (server-auth-dir):
* startup.el (auto-save-list-file-prefix):
* thumbs.el (thumbs-thumbsdir):
* tutorial.el (tutorial--saved-dir):
* play/gamegrid.el (gamegrid-user-score-file-directory): Use it.

* url.el (url-configuration-directory): Use `locate-user-emacs-file'.

* NEWS: New function `locate-user-emacs-file'.
2008-10-24 09:39:27 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Nick Roberts
babfb70b90 (thumbs-conversion-program): Add comment for Windows XP. 2007-12-29 23:39:51 +00:00
Nick Roberts
a50d124451 (thumbs-call-convert): Use call-process directly
with thumbs-conversion-program instead of through shell-file-name
for better error reporting when program is missing.
2007-12-28 08:09:57 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
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
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Chong Yidong
144bd71eec (thumbs-thumbsdir): Use user-emacs-directory. 2007-06-13 00:04:55 +00:00
Chong Yidong
a6009bd1e7 Commentary fix. 2007-04-22 13:44:43 +00:00
Chong Yidong
a441fa7965 "tumme" renamed to "thumbnails". 2007-04-22 03:34:54 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Nick Roberts
ff77218157 (thumbs-call-convert): Use shell-command-switch. 2006-07-12 00:24:14 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Nick Roberts
0868cd7045 (thumbs-marked-list): Make buffer-local and
permanent-local.
(thumbs-insert-thumb): Make help-echo non-sticky.
(thumbs-file-alist): Use eolp as check for (non)-image.
2006-01-30 09:52:49 +00:00
Nick Roberts
3e5b780f45 (thumbs-do-thumbs-insertion): Suppress message when
there are no more images to display.
(thumbs-mark, thumbs-unmark): Revert change so that they move to
the next image.
2006-01-26 23:03:17 +00:00
Nick Roberts
2ff89cf76f (thumbs-new-image-size): New function.
(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.
2006-01-24 20:54:23 +00:00
Nick Roberts
dd2a3d136f (thumbs-extra-images): New variable. Make it buffer-local
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.
2006-01-23 23:16:58 +00:00
Nick Roberts
1acadcfe7f (thumbs-file-alist): Avoid creating duplicate entries. 2006-01-23 01:09:26 +00:00
Nick Roberts
c897e76f7b (thumbs-buffer): New variable. Make it buffer local.
(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.
2006-01-20 04:43:02 +00:00
Chong Yidong
6c060884e5 * thumbs.el (thumbs-thumbsdir): Default to ~/.emacs.d/thumbs.
(thumbs-thumbsdir): Make .emacs.d if it does not exist.
2005-10-30 22:28:08 +00:00
Chong Yidong
24bdbffe0b * menu-bar.el (menu-bar-help-menu): Rename "psychiatrist", in line
with 2005-10-23 change to doctor.el.

	* finder.el (finder-mode-map): Add follow-link binding.
2005-10-24 22:13:08 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juanma Barranquero
6ced5724bc (thumbs-find-image): Don't make variables automatically buffer local.
(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.
2005-08-02 10:26:31 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Eli Zaretskii
67ed6461a6 (thumbs-per-line, thumbs-thumbsdir-max-size)
(thumbs-relief, thumbs-margin, thumbs-image-resizing-step): Fix
:type--it is `integer', not `string'.
2005-06-11 13:25:16 +00:00
Juanma Barranquero
6cae5f240f Fixes for changes of 2005-06-09.
(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.
2005-06-10 14:59:59 +00:00
Juanma Barranquero
f271d3c7bd Don't set `auto-image-file-mode'. Do not create the thumbnails directory on
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.
2005-06-09 01:41:23 +00:00
Juanma Barranquero
b3c70578e7 (thumbs-thumbsdir-max-size, thumbs-image-resizing-step,
thumbs-thumbsdir-auto-clean): Fix typos in docstrings.
2005-06-06 15:45:11 +00:00
Stefan Monnier
abceae284a (thumbs-mode): Fix misuse of make-variable-buffer-local. 2005-05-31 13:27:27 +00:00
Juanma Barranquero
0df06447d4 (thumbs-thumbname): The resulting thubname includes a hash value to improve its
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.
2005-05-30 09:45:11 +00:00
Juanma Barranquero
f75049fca3 (thumbs-thumbsdir-max-size, thumbs-temp-file, thumbs-cleanup-thumbsdir,
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.
2005-05-25 14:09:14 +00:00
Werner LEMBERG
932fb767f5 * complete.el, thumbs.el: Replace legal' with valid'. 2005-03-25 09:49:00 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
John Paul Wallington
2b601e1ccd (group thumbs): Add :version keyword. 2004-11-01 08:01:14 +00:00
John Paul Wallington
288f8357fd (thumbs-view-image-mode-map): Fix `thumbs-set-root' command name typo.
(thumbs-view-image-mode): Make buffer read-only.
2004-09-04 18:34:30 +00:00
Richard M. Stallman
0658b86f75 Don't include cl. Don't bother with old Emacs versions.
(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.
2004-05-29 15:22:55 +00:00
John Paul Wallington
d70d59e9d7 (toplevel): Require cl at compile time.
Remove conditional definitions of `ignore-errors' and `caddar'
because they occur at run time.
2004-04-28 23:20:59 +00:00