Miles Bader [Sat, 21 Oct 2000 07:57:20 +0000 (07:57 +0000)]
(pos_fully_visible_in_window_p):
New function.
(Fpos_visible_in_window_p):
Add FULLY argument.
Use pos_fully_visible_in_window_p.
(window_scroll_pixel_based, window_scroll_line_based):
Update calls to Fpos_visible_in_window_p.
Miles Bader [Fri, 20 Oct 2000 16:38:06 +0000 (16:38 +0000)]
(quail-show-guidance-buf): Make sure guidance window really has enough room.
(quail-update-guidance): If quail-guidance-win is already shown, make
sure its height is OK.
Gerd Moellmann [Fri, 20 Oct 2000 15:55:14 +0000 (15:55 +0000)]
(toplevel) [SYSTEM_MALLOC || DOUG_LEA_MALLOC]: Undef
GC_MALLOC_CHECK.
(toplevel) [GC_MARK_STACK || GC_MALLOC_CHECK]: Move mem_node
structure definition and related variabled to the top of the file.
Include this code when GC_MALLOC_CHECK is defined.
(lisp_malloc, lisp_free) [GC_MALLOC_CHECK]: Don't
register/unregister allocated region.
(emacs_blocked_free) [GC_MALLOC_CHECK]: Check if freeing something
which isn't allocated.
(emacs_blocked_malloc) [GC_MALLOC_CHECK]: Check if returning
something which is already in use.
(emacs_blocked_realloc) [GC_MALLOC_CHECK]: Likewise.
(mem_insert) [GC_MALLOC_CHECK]: Use _malloc_internal.
(mem_delete) [GC_MALLOC_CHECK]: Use _free_internal.
(init_alloc_once) [GC_MALLOC_CHECK]: Call mem_init.
Miles Bader [Fri, 20 Oct 2000 15:16:46 +0000 (15:16 +0000)]
(window-text-height, set-window-text-height): New functions.
(shrink-window-if-larger-than-buffer): Use `window-text-height'
instead of `window-height' & `mode-line-window-height-fudge'.
(mode-line-window-height-fudge): Add FACE parameter.
Andrew Innes [Fri, 20 Oct 2000 14:49:19 +0000 (14:49 +0000)]
[!WINDOWSNT]: Don't apply Solaris 2.5 work-around on
Windows.
(my_strftime) <macro>: Don't use macro arg list when redefining as
_strftime_copytm.
(my_strftime) <function>: Supply 0 as ut argument.
Miles Bader [Fri, 20 Oct 2000 12:23:37 +0000 (12:23 +0000)]
(ispell-mode-line-window-height-fudge):
New function, conditionally aliased to `mode-line-window-height-fudge'.
(ispell-help): Use it.
(ispell-choices-win-default-height): Don't include mode-line fudge.
(ispell-choices-win-default-height): New function.
(ispell-show-choices, ispell-command-loop): Use function
`ispell-choices-win-default-height' instead of variable.
Miles Bader [Fri, 20 Oct 2000 09:21:59 +0000 (09:21 +0000)]
(mode-line-window-height-fudge): New variable.
(height-affecting-face-attributes): New variable.
(mode-line-window-height-fudge): New function.
(shrink-window-if-larger-than-buffer): Use it.
Miles Bader [Fri, 20 Oct 2000 02:58:00 +0000 (02:58 +0000)]
(Info-fontify-node):
Add support for @subsubsection titles, which use `Info-title-4-face'.
(Info-title-4-face):
New face.
(Info-title-3-face):
Inherit from Info-title-4-face instead of variable-pitch.
Jason Rumney [Thu, 19 Oct 2000 19:25:53 +0000 (19:25 +0000)]
(add_menu_item): Do not use MF_OWNERDRAW for titles, as it has stopped working.
(Fx_popup_menu, Fx_popup_dialog): Check for tool-bar position like menu-bar.
Jason Rumney [Thu, 19 Oct 2000 19:12:51 +0000 (19:12 +0000)]
(Fx_create_frame): Don't bother calling
face-set-after-frame-default since the caller does it for us
anyway. Clean up calls to x_get_arg to be consistent with X.
Gerd Moellmann [Thu, 19 Oct 2000 14:45:45 +0000 (14:45 +0000)]
(cmuscheme-program-name): Renamed from
scheme-program-name because xscheme.el contains a defcustom with
the same name. As a consequence, customizing group `cmuscheme'
loaded `xscheme' which redefined run-scheme.
(run-scheme): Use cmuscheme-program-name.
Gerd Moellmann [Thu, 19 Oct 2000 10:46:51 +0000 (10:46 +0000)]
Even/odd pages fix. Fix little bug on XEmacs. Avoid
compilation gripes. Doc fix.
(ps-print-version): New version number (6.2).
(ps-x-color-instance-p, ps-x-color-instance-rgb-components)
(ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
(ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
(ps-x-extent-priority, ps-x-extent-start-position)
(ps-x-face-font-instance, ps-x-find-coding-system)
(ps-x-font-instance-properties, ps-x-make-color-instance)
(ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
avoid compilation gripes without defining functions.
(ps-e-find-composition): Alias for function find-composition, to have a
suitable function depending on Emacs version.
(ps-color-device, ps-color-values, ps-face-foreground-name)
(ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
(ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
(ps-print-ensure-fontified): Function definitions surrounded by
`eval-and-compile' to avoid compilation gripes.
(ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
by symbol-value to avoid compilation gripes.
(ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
(ps-generate-postscript-with-faces): Fix little bug on XEmacs.
Kenichi Handa [Thu, 19 Oct 2000 07:09:20 +0000 (07:09 +0000)]
Use registry "MuleTibetan-2" for Tibetan.
(ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
for ISO10646-1 fonts.
(x-font-name-charset-alist): Add an entry for "iso10646-1".
Eli Zaretskii [Thu, 19 Oct 2000 06:56:50 +0000 (06:56 +0000)]
(frame-set-background-mode): If a tty frame defines a
background color, use that to compute the background mode, instead
of always defaulting to "dark".
Dave Love [Wed, 18 Oct 2000 16:50:53 +0000 (16:50 +0000)]
(gnus-nocem-issuers): Update.
(gnus-nocem-check-from): New option.
(gnus-nocem-scan-groups): Use it.
(gnus-nocem-check-article): Bind gnus-newsgroup-name.
(gnus-nocem-check-article-limit): Add :version.
Gerd Moellmann [Wed, 18 Oct 2000 14:38:55 +0000 (14:38 +0000)]
(sql-sybase-options): New option.
(sql-sybase): Use it. Add sql-database to the list of parameters
provided for login. The options -w 2048 -n are not used any more.
Gerd Moellmann [Wed, 18 Oct 2000 14:31:05 +0000 (14:31 +0000)]
Internal variable changes to defcustom,
make-local-hook changes to defvar. Doc fix.
(ps-print-version): New version number (6.1).
(ps-setup, ps-do-despool): Code fix.
(ps-printer-name): Customization fix.
(ps-printer-name-option): Now is a defcustom instead of an
internal variable.
(ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
(ps-print-begin-column-hook): Now are defvar instead of
make-local-hook.
Gerd Moellmann [Wed, 18 Oct 2000 14:20:53 +0000 (14:20 +0000)]
(access_keymap): If IDX has a meta prefix, and there's
no map for meta_prefix_char, don't try to use it as a keymap.
Instead, if T_OK is non-zero, look up a default binding, if any,
otherwise, if T_OK is zero, return nil.
Miles Bader [Wed, 18 Oct 2000 14:09:54 +0000 (14:09 +0000)]
(comint-delete-output): Renamed from `comint-kill-output'.
(comint-kill-output): Changed into an alias for `comint-delete-output',
and made obsolete.
(comint-mode-map): Rename references to comint-kill-output.
Gerd Moellmann [Wed, 18 Oct 2000 11:58:07 +0000 (11:58 +0000)]
(x_color_cells, x_query_colors, x_query_color): New
functions.
(x_alloc_nearest_color): Use it to reduce calls to XQueryColors
which can be slow.
(x_copy_color, x_alloc_lighter_color): Likewise.
Eli Zaretskii [Wed, 18 Oct 2000 08:52:23 +0000 (08:52 +0000)]
(diff-header-face, diff-file-header-face)
(diff-changed-face): Add bold and italic attributes to tty faces.
(diff-function-face): New face.
(diff-font-lock-keywords): Use it.
Miles Bader [Wed, 18 Oct 2000 01:43:01 +0000 (01:43 +0000)]
(comint-output-filter):
Fixup comint-last-input-end too.
Remove commented-out call to force-mode-line-update.
(comint-kill-output):
Use `forward-line 0' instead of beginning-of-line to make sure we get
past the prompt.
Gerd Moellmann [Tue, 17 Oct 2000 19:39:17 +0000 (19:39 +0000)]
(pure_bytes_used): Renamed from pureptr.
(ALIGN): New macro.
(pure_alloc): New function.
(make_pure_string, pure_cons, make_pure_float, make_pure_vector):
Use it.
(Fpurecopy): Use PURE_POINTER_P.
Stefan Monnier [Tue, 17 Oct 2000 15:55:20 +0000 (15:55 +0000)]
(diff-header-face, diff-file-header-face):
Add specific setting for dark background.
(diff-context-face): Renamed from diff-comment-face.
Set explicitly rather than inheriting from font-lock-comment-face.
Gerd Moellmann [Tue, 17 Oct 2000 15:38:30 +0000 (15:38 +0000)]
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
string's size_byte.
(check_string_bytes) [GC_CHECK_STRING_BYTES]: New function.
(check_string_bytes_count) [GC_CHECK_STRING_BYTES]: New variable.
(allocate_string) [GC_CHECK_STRING_BYTES]: Call it for every 10th
string allocated.