(bs--format-aux): Implement `middle' alignment as described in the docstring for
`bs-attributes-list'.
(bs--get-name): Simplify. Don't pad the buffer name.
Nick Roberts [Thu, 26 Jan 2006 23:03:17 +0000 (23:03 +0000)]
(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.
Károly Lőrentey [Thu, 26 Jan 2006 03:12:45 +0000 (03:12 +0000)]
(Fconstrain_to_field): Use get_pos_property, not Fget_char_property,
to fix handling of field boundaries. Fix bogus comment.
(Fline_beginning_position, Fline_end_position): Clarify confusing doc
string.
Kenichi Handa [Wed, 25 Jan 2006 07:44:43 +0000 (07:44 +0000)]
(decode-char): Avoid the overhead of
calling utf-lookup-subst-table-for-decode if
utf-translate-cjk-mode is nil.
(encode-char): Avoid the overhead of calling
utf-lookup-subst-table-for-encode if utf-translate-cjk-mode is
nil.
Nick Roberts [Tue, 24 Jan 2006 20:54:23 +0000 (20:54 +0000)]
(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.
Stefan Monnier [Tue, 24 Jan 2006 19:14:58 +0000 (19:14 +0000)]
(IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well.
(re_match_2_internal) <on_failure_jump, on_failure_jump_smart>:
Don't check for quit, since any loop will go through fail or jump.
Stefan Monnier [Tue, 24 Jan 2006 17:14:16 +0000 (17:14 +0000)]
Avoid macros from calendar.el so as to break
the nastiest part of the cyclic dependency.
(cal-menu-update): Use dotimes.
(cal-menu-update): Use calendar-increment-month.
Stefan Monnier [Tue, 24 Jan 2006 17:07:29 +0000 (17:07 +0000)]
Remove unnecessary leading stars in docstrings.
(calendar-week-start-day): Add an :initializer.
(calendar-mode-map): Use suppress-keymap, and command remapping.
(describe-calendar-mode): Setup xref-stack info for the back button.
(calendar-star-date): Insert before delete.
(calendar-set-mode-line): Add file-modified info if applicable.
(calendar-increment-month): New function.
Károly Lőrentey [Tue, 24 Jan 2006 07:59:23 +0000 (07:59 +0000)]
(handle_invisible_prop): Set it->position to fix cursor
display when point moves across an ellipsis. If there are
adjacent invisible texts, don't lose the second one's ellipsis.
(x_produce_glyphs): Doc fix.
Nick Roberts [Mon, 23 Jan 2006 23:16:58 +0000 (23:16 +0000)]
(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.
Kim F. Storm [Mon, 23 Jan 2006 13:14:01 +0000 (13:14 +0000)]
(handle_single_display_spec): Fix handling of space
property on char from string: set *position rather than
it->current.pos.
(produce_stretch_glyph): Reduce width of stretch glyphs so they
don't get wider than the window (unless truncate-lines is on).
Stefan Monnier [Mon, 23 Jan 2006 02:44:02 +0000 (02:44 +0000)]
Avoid allocating Lisp data from code that can be run from a signal handler.
(x_error_message): New var to replace x_error_message_string.
(x_error_catcher, x_catch_errors, x_catch_errors_unwind)
(x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler)
(syms_of_xterm): Use it instead of x_error_message_string.
Stefan Monnier [Mon, 23 Jan 2006 02:35:36 +0000 (02:35 +0000)]
(lisp_align_free): Add an assertion.
(make_interval, allocate_string, make_float, allocate_misc, Fmake_symbol
(Fcons): If ENABLE_CHECKING is on, check we're not called from a sighandler.