Jason Rumney [Sat, 27 Oct 2001 22:21:24 +0000 (22:21 +0000)]
(w32_system_caret_hwnd, w32_system_caret_width)
(w32_system_caret_height, w32_system_caret_x)
(w32_system_caret_y): New variables for tracking system caret.
(w32_initialize): Initialize them.
(x_display_and_set_cursor): Make system caret follow the active cursor.
Stefan Monnier [Sat, 27 Oct 2001 22:19:29 +0000 (22:19 +0000)]
(mail-mode-syntax-table): Let it inherit from text-mode-syntax-table.
(mail-mode): Use define-derived-mode.
Fix ordering of alternatives in adaptive-fill-regexp.
(mail-mode-map): Don't rely on keymap's internal representation.
Gerd Moellmann [Sat, 27 Oct 2001 08:55:04 +0000 (08:55 +0000)]
(move_it_vertically_backward): Use 2/3 line_height
instead of 1/2 line_height in the heuristic for skipping
farther backward when target_y was not reached.
Gerd Moellmann [Sat, 27 Oct 2001 08:49:39 +0000 (08:49 +0000)]
(sound_perror): Unblock SIGIO, turn on atimers.
Display errno only if non-zero.
(sound_warning): New function.
(vox_configure): Don't treat failing to set sample rate as error.
(various places): Improve error messages.
Eli Zaretskii [Fri, 26 Oct 2001 21:16:09 +0000 (21:16 +0000)]
(internal-get-face): Use facep instead of the obsolete
internal-find-face.
(internal-frob-font-weight, internal-frob-font-slant): New
defailiases for obsolete functions.
(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
(x-make-font-bold-italic): Use internal-frob-font-weight and
internal-frob-font-slant aliases instead of the obsolete
x-frob-... functions.
Sam Steingold [Fri, 26 Oct 2001 17:51:38 +0000 (17:51 +0000)]
(derived-mode-hook-name, derived-mode-map-name)
(derived-mode-syntax-table-name, derived-mode-abbrev-table-name):
define defsubsts before they are first used
Gerd Moellmann [Fri, 26 Oct 2001 09:51:14 +0000 (09:51 +0000)]
(artist-version): 1.2.4.
(artist-butlast-fn): New variable.
(artist-butlast): New function.
(artist-ellipse-mirror-quadrant): Use it.
(artist-mouse-draw-poly): Use nil for `point-list'.
(artist-mouse-draw-poly): Check for point-list being nil.
Gerd Moellmann [Fri, 26 Oct 2001 09:14:37 +0000 (09:14 +0000)]
(ps-mode-print-function): Remove quote for
lambda expression.
(ps-mode-menu-main): Submenu with options on/off was replaced with
a toggle button.
(ps-mode, ps-run-mode): Define with `define-derived-mode'
(ps-mode): Autoload cookie added on same line as comment
(ps-mode-tabkey, ps-mode-backward-delete-char):
(ps-mode-r-balance): Replace `delete-horizontal-space' and
`indent-to' with `indent-line-to'
(ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
instead of `eval'.
(ps-mode-print-region): Use `with-temp-buffer'.
(ps-run-start): Use of `mapconcat'. Use `apply' instead of
`eval'.
(numerous places): Add back-tick and tick around names in
docstrings, fix punctuation in docstrings, remove trailing spaces.
Stefan Monnier [Thu, 25 Oct 2001 22:25:30 +0000 (22:25 +0000)]
(sgml-font-lock-keywords-1): Ignore comments.
(sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
(sgml-font-lock-syntactic-keywords): New var.
(sgml-mode-common): Drop the two args.
Don't make buffer-local variables that aren't used.
Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
Don't set `before-string' props from sgml-display-text.
(sgml-mode): Use define-derived-mode.
(sgml-tags-invisible): Use sgml-display-text.
(sgml-quote): New command.
(html-tag-alist): Add args for `span'.
(html-mode): Use define-derived-mode.
Set sgml-display-text and sgml-tag-face-alist.
Eli Zaretskii [Thu, 25 Oct 2001 13:33:01 +0000 (13:33 +0000)]
Revert last change (which removed old commented-out
version of expand-file-name). Add a comment that explains why
this old version should not be removed.
Add the Euro symbol to the italian-postfix and italian-alt-postfix input
methods. The users with a latin-1 font will see the international
currency symbol, those with a latin-15 (iso-8859-15) font will see the
euro symbol.
Stefan Monnier [Thu, 25 Oct 2001 05:51:39 +0000 (05:51 +0000)]
(checkdoc-eval-defun): Call eval-defun
interactively so that C-u M-C-x still does edebug.
(checkdoc-sentencespace-region-engine): Don't force a double-space
after `.' if it doesn't look like an end-of-sentence.
(debug-ignored-errors): Add `disambiguate ...'.
Stefan Monnier [Thu, 25 Oct 2001 03:54:21 +0000 (03:54 +0000)]
(texinfo-environments, texinfo-environment-regexp): Hoisted.
(texinfo-font-lock-keywords): Use `italic' and `bold' faces.
Only highlight the menu name in menu items.
Setup `@foo ... @end foo' as text clones.
(texinfo-clone-environment): New function.
(texinfo-mode): Simplify auto-fill-inhibit-regexp.
(texinfo-insert-block): Simplify.
(texinfo-insert-quote): Insert a plain " if preceded by \ or if
the command is repeated.
(texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
(texinfo-insert-@end): Simplify.
Miles Bader [Thu, 25 Oct 2001 00:53:48 +0000 (00:53 +0000)]
(png_load): Make sure SPECIFIED_BG is a string.
(png_load): BG is a pointer to a structure, not a structure.
(gif_format, png_format): Add missing commas.
(facemenu-unlisted-faces): Improve doc strings
of t and nil values.
(facemenu-set-face): Handle START and END interactively.
(facemenu-set-foreground): Don't use a face; specify color directly.
(facemenu-set-background): Likewise.
(facemenu-set-face-from-menu): Doc fix.
(facemenu-active-faces): Use face-attribute-vector
to handle bare attributes not in faces.
(facemenu-get-face): Don't handle face names fg:... and bg:... specially.
(facemenu-add-new-face): New argument MENU.
New way to handle adding colors to the color menus.