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.
Carsten Dominik [Fri, 20 Jan 2006 13:53:32 +0000 (13:53 +0000)]
(org-open-at-point): Fixed bug with matching a link.
Fixed buggy argument sequence in call to `org-view-tags'.
(org-compile-prefix-format): Set `org-prefix-has-tag'.
(org-prefix-has-tag): New variable.
(org-format-agenda-item): Remove tags from headline if
appropriate.
(org-agenda-remove-tags-when-in-prefix): New option.
Nick Roberts [Fri, 20 Jan 2006 04:43:02 +0000 (04:43 +0000)]
(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.
Luc Teirlinck [Thu, 19 Jan 2006 23:26:04 +0000 (23:26 +0000)]
(custom-buffer-create-internal): State in the text above
the whole buffer buttons that they do not operate on hidden items.
(custom-face-menu): Use `custom-face-save' instead of
`custom-face-save-command'.
(custom-face-save-command): Make it an alias for `custom-face-save'
and declare it obsolete.
(custom-face-save): Doc fix.
Reiner Steib [Thu, 19 Jan 2006 21:42:22 +0000 (21:42 +0000)]
(spam-group-ham-mark-p, spam-group-spam-mark-p)
(spam-group-spam-marks, spam-list-articles, spam-group-ham-marks):
Revert 2006-01-08 change because the functions will be used in No
Gnus.
Stefan Monnier [Wed, 18 Jan 2006 20:36:19 +0000 (20:36 +0000)]
Move defvars out of eval-when-compile.
(array-make-template): Replace undeclared global var with a local one.
(array-mode): Inline initialization functions.
(array-init-local-variables, array-init-max-row)
(array-init-max-column, array-init-columns-per-line)
(array-init-field-width, array-init-rows-numbered)
(array-init-line-length, array-init-lines-per-row): Remove.