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.
Juri Linkov [Mon, 23 Jan 2006 01:21:24 +0000 (01:21 +0000)]
(custom-buffer-create-internal): Use widget type
`custom-manual' instead of `info-link' and don't set properties
`button-face' and `mouse-face' explicitly.
(custom-browse-group-tag, custom-browse-variable-tag)
(custom-browse-face-tag): Inherit from widget class
`custom-group-link' instead of `push-button'.
(custom-button-unraised): Inherit from `underline' face.
(custom-link): Inherit from `link' face. Fix doc and group.
(custom-add-parent-links, custom-group-value-create): Don't set
properties `button-face' and `mouse-face' explicitly for
`custom-group-link' widget.
(custom-group-link): Add properties `button-face' and `mouse-face'
to widget definition.
(custom-field-keymap): New variable. Put `custom-field-keymap' to
editable-field's :keymap property.
(custom-mode): Fix docstring: substitute keybindings for
`widget-forward' and `widget-backward' from `widget-keymap',
`widget-complete' from `custom-field-keymap', replace old
`Custom-move-and-invoke' with `widget-move-and-invoke'. Untabify.
Eli Zaretskii [Sat, 21 Jan 2006 11:39:05 +0000 (11:39 +0000)]
(File Aliases): Don't claim that usually separate buffers are created for two
file names that name the same data. Mention additional situations where
different names mean the same file on disk.
Eli Zaretskii [Fri, 20 Jan 2006 19:12:39 +0000 (19:12 +0000)]
(sys_close): If FD is outside [0..MAXDESC) limits, pass it directly to _close.
(sys_dup): Protect against new_fd larger than fd_info[] can handle.
(sys_read): If FD is outside [0..MAXDESC) limits, pass it directly to _read.
(sys_write): If FD is outside [0..MAXDESC) limits, pass it directly to _write.