(Face Attributes): Faces earlier in an :inherit list take precedence.
(Scroll Bars): Fix description of vertical-scroll-bars.
Document frame-current-scroll-bars and window-current-scroll-bars.
(Outline Visibility): Introduce "current heading
line" (commands can be called with point on a body line).
Re-order table to follow the sequence of discussion.
hide-body won't hide lines before first header line.
(TeX Mode): Add DocTeX mode.
Juri Linkov [Fri, 25 Mar 2005 21:45:47 +0000 (21:45 +0000)]
(image-minor-mode): Set `cursor-type' and `truncate-lines' if the
image is already displayed. Add turning image-minor-mode off to
`change-major-mode-hook'. Add message.
Call `image-toggle-display-text' after turning image-minor-mode off.
Juri Linkov [Fri, 25 Mar 2005 19:57:21 +0000 (19:57 +0000)]
Optimize image filename extension regexps in
autoload cookies. Associate .x[bp]m with `image-mode-maybe'
in `auto-mode-alist'.
(image-mode): Add `image-toggle-display-text' to local hook
`change-major-mode-hook'. Display the image as an image by
default. Set `cursor-type' and `truncate-lines' if the image
is already displayed. Take into account the current mode (image
or text) in message.
(image-minor-mode): New minor mode.
(image-mode-maybe, image-toggle-display-text): New functions.
(image-toggle-display): Use called-interactively-p.
Let-bind `inhibit-read-only' to t.
Stefan Monnier [Fri, 25 Mar 2005 15:41:42 +0000 (15:41 +0000)]
(set-locale-environment): For Mac OS X's Terminal.app, use utf-8.
(set-display-table-and-terminal-coding-system): Add coding-system arg.
(set-locale-environment): Use it.
Stefan Monnier [Fri, 25 Mar 2005 00:17:42 +0000 (00:17 +0000)]
(flymake-get-file-name-mode-and-masks)
(flymake-find-buildfile, flymake-find-possible-master-files)
(flymake-check-include, flymake-parse-line): Replace loops over the
length of lists, by loops over lists, to remove silly O(n�) behavior.
Stefan Monnier [Fri, 25 Mar 2005 00:06:07 +0000 (00:06 +0000)]
(flymake-ensure-ends-with-slash): Remove.
Substitute file-name-as-directory in the rest of the file.
(flymake-get-common-file-prefix): Rewrite, using compare-strings.
(flymake-replace-region): Remove unused arg `buffer'.
(flymake-check-patch-master-file-buffer): Update calls to it.
(flymake-add-err-info): Remove unused var `count'.
(flymake-mode): Use define-minor-mode.
Jan Djärv [Thu, 24 Mar 2005 18:53:43 +0000 (18:53 +0000)]
* xmenu.c (create_and_show_popup_menu): Just remove menu and return
if it failed to pop up (Gnome "show pointer on ctrl" option makes
menus fail to pop up).
Lute Kamstra [Thu, 24 Mar 2005 09:15:21 +0000 (09:15 +0000)]
Rename generic-font-lock-defaults to generic-font-lock-keywords
throughout.
(mailagent-rules-setup-function): Delete it.
(mailagent-rules-generic-mode): Use anonymous function instead.
(show-tabs-generic-mode-font-lock-defaults-1)
(show-tabs-generic-mode-font-lock-defaults-2): Make them constants.
Quote faces.
(show-tabs-tab-face, show-tabs-space-face): Specify background,
not foreground.
Lute Kamstra [Thu, 24 Mar 2005 09:02:55 +0000 (09:02 +0000)]
(generic-font-lock-defaults): Make it obsolete.
(generic-font-lock-keywords): New variable to replace
generic-font-lock-defaults.
(generic-mode-set-font-lock): Delete it.
(generic-mode-internal): Don't call generic-mode-set-font-lock.
(generic-bracket-support): Add docstring.
Kim F. Storm [Wed, 23 Mar 2005 22:47:41 +0000 (22:47 +0000)]
(Standard Faces): Other faces used in the fringe
implicitly inherits from the fringe face.
(Fringe Bitmaps): FACE in right-fringe and left-fringe display
properties implicitly inherits from fringe face.
(Customizing Bitmaps): Likewise for set-fringe-bitmap-face.
Lute Kamstra [Wed, 23 Mar 2005 10:48:20 +0000 (10:48 +0000)]
Code cleanup: make arguments constant whenever possible.
(installshield-statement-keyword-list)
(installshield-system-functions-list)
(installshield-system-variables-list, installshield-types-list)
(installshield-funarg-constants-list): Make them constants.
Lute Kamstra [Wed, 23 Mar 2005 10:09:18 +0000 (10:09 +0000)]
Add comment on time value formats. Don't require parse-time.
(with-decoded-time-value): New macro.
(encode-time-value): New function.
(time-to-seconds, time-less-p, time-subtract, time-add): Use them.
(days-to-time): Return a valid time value when arg is huge.
(time-since): Use time-subtract.
(time-to-number-of-days): Use time-to-seconds.