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.
Stefan Monnier [Wed, 18 Jan 2006 16:39:43 +0000 (16:39 +0000)]
Move defvars out of eval-when-compile.
Remove harmful code meant to avoid byte-compiler warnings.
(table-fixed-mode-indicator): Remove. Use a more complex mode-line
specification that checks table-fixed-width-mode directly.
(table-recognize-region, table-recognize-cell): Use restore-buffer-modified-p.
(table-fixed-width-mode): Remove code that refreshes
table-fixed-mode-indicator.
(*table--cell-describe-bindings, *table--cell-describe-mode):
Avoid obsolete name print-help-return-message.
(table--test-cell-list): Don't use replace-regexp from elisp.
(table--point-entered-cell-function, table--point-left-cell-function):
Don't set table-fixed-mode-indicator, use force-mode-line-update.
Stefan Monnier [Wed, 18 Jan 2006 16:19:21 +0000 (16:19 +0000)]
Move defvars out of eval-when-compile. Move code
that was after the end of file. Use buffer-file-name variable.
(org-timestamp-change): Use with-current-buffer.
(org-todo-list): Don't unnecessarily define a new buffer-local var.
(org-agenda-file-to-end, org-agenda-file-to-front): Remove unused arg `file'.