1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-24 19:03:29 +00:00
Commit Graph

31683 Commits

Author SHA1 Message Date
Andrew Innes
82f9d56522 (w32_per_char_metric): Remove HDC argument. Use
cached information in emulated XFontStruct to handle common cases
quickly.  Do not allocate XCharStruct for return.
(w32_native_per_char_metric): New function.
(w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of
allocating one.
(x_produce_glyphs): Don't get an HDC.  Change calls to
w32_per_char_metric to match arg change above.  Remove calls to
free results.
(w32_get_glyph_overhangs): Ditto.
(w32_cache_char_metrics): New function.
2000-10-21 13:26:41 +00:00
Andrew Innes
aa2ee344e3 Change .obj to .$(O) in all dependencies.
($(BLD)/casefiddle.$(O)): Remove compile command.
($(BLD)/gmalloc.$(O)): Remove compile command.
($(BLD)/dispnew.obj):
($(BLD)/keyboard.obj):
($(BLD)/w32inevt.obj):
($(BLD)/w32bdf.obj):
($(BLD)/alloc.obj):
($(BLD)/buffer.obj):
($(BLD)/editfns.obj):
($(BLD)/emacs.obj):
($(BLD)/fileio.obj):
($(BLD)/fns.obj):
($(BLD)/indent.obj):
($(BLD)/insdel.obj):
($(BLD)/intervals.obj):
($(BLD)/minibuf.obj):
($(BLD)/print.obj):
($(BLD)/scroll.obj):
($(BLD)/sysdep.obj):
($(BLD)/textprop.obj):
($(BLD)/widget.obj):
($(BLD)/xdisp.obj): Add dependency on w32gui.h.
($(BLD)/term.obj): Add dependency on dispextern.h.
2000-10-21 13:24:14 +00:00
Andrew Innes
c7d49f531c ($(BLD)\dispnew.obj):
($(BLD)\keyboard.obj):
($(BLD)\w32inevt.obj):
($(BLD)\w32bdf.obj):
($(BLD)\alloc.obj):
($(BLD)\buffer.obj):
($(BLD)\editfns.obj):
($(BLD)\emacs.obj):
($(BLD)\fileio.obj):
($(BLD)\fns.obj):
($(BLD)\indent.obj):
($(BLD)\insdel.obj):
($(BLD)\intervals.obj):
($(BLD)\minibuf.obj):
($(BLD)\print.obj):
($(BLD)\scroll.obj):
($(BLD)\sysdep.obj):
($(BLD)\textprop.obj):
($(BLD)\widget.obj):
($(BLD)\xdisp.obj): Add dependency on w32gui.h.
($(BLD)\term.obj): Add dependency on dispextern.h
2000-10-21 13:23:23 +00:00
Andrew Innes
e44c759d61 ($(TIT)): Add $(SUBDIRS) as dependents, instead
of conditional invocation of make.
(TIT-GB, TIT-BIG5, NON-TIT-GB, NON-TIT-BIG5)
(NON-TIT-CNS, JAPANESE, KOREAN, THAI, VIETNAMESE, LAO, INDIAN)
(TIBETAN, LATIN, SLAVIC, GREEK, RUSSIAN, MISC): Rename all .el
files to .elc.
($(TIT)): Adjusted for the above change.
(clean mostlyclean): Likewise.
(.el.elc): New target.
2000-10-21 13:20:17 +00:00
Andrew Innes
022b815504 (make-auto-save-file-name): Don't apply conversion to
remote (ange-ftp) file names.
2000-10-21 13:11:56 +00:00
Eli Zaretskii
18ad482131 (Fminibuffer_complete): Call Fpos_visible_in_window_p
with an additional argument of Qt.
2000-10-21 08:57:18 +00:00
Miles Bader
8c5d801f45 (quail-update-guidance): Balance parens. 2000-10-21 08:07:01 +00:00
Miles Bader
de54681ae5 (Fpos_visible_in_window_p): Update prototype 2000-10-21 08:02:17 +00:00
Miles Bader
81e4d4652c (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.
2000-10-21 07:57:20 +00:00
Miles Bader
feb5013d7c (quail-update-guidance):
Use `fit-window-to-buffer' instead of `set-window-text-height'.
2000-10-21 05:50:56 +00:00
Miles Bader
d9c30bdf7f (resize-temp-buffer-window): Use `fit-window-to-buffer'. 2000-10-21 05:40:19 +00:00
Miles Bader
65e742bdea (fit-window-to-buffer): New function.
(shrink-window-if-larger-than-buffer): Use it.
2000-10-21 05:38:11 +00:00
Miles Bader
2253894d74 (quail-update-guidance): Force a redisplay before setting the guidance
window size, to ensure we see any minibuffer expansion it causes.
2000-10-20 22:56:41 +00:00
Eli Zaretskii
f29906f812 Correct typos, fix markup, add index entries. 2000-10-20 22:24:55 +00:00
Gerd Moellmann
13c844fb71 (toplevel): Conditionalize compilation of mem_*
functions differently.
2000-10-20 19:14:07 +00:00
Jason Rumney
8b30ba1a4d Move #ifdef GC_MARK_STACK back above mem_init where it used to be. mem_z etc not defined
otherwise.
2000-10-20 18:45:17 +00:00
Jason Rumney
d9506268c7 *** empty log message *** 2000-10-20 18:44:10 +00:00
Miles Bader
617fee5a34 (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.
2000-10-20 16:38:06 +00:00
Miles Bader
38f99c2720 (set-window-text-height): Force window-min-height to 1. 2000-10-20 16:33:54 +00:00
Gerd Moellmann
8094989ba2 (_malloc_internal) [GC_MALLOC_CHECK]: Use
_malloc_internal instead of malloc.
(_free_internal) [GC_MALLOC_CHECK]: Use _free_internal instead
of free.
2000-10-20 15:57:00 +00:00
Gerd Moellmann
877935b1f5 (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.
2000-10-20 15:55:14 +00:00
Miles Bader
b86c791c0f (resize-temp-buffer-window): Use `set-window-text-height'
instead of `enlarge-window' & `mode-line-window-height-fudge'.
2000-10-20 15:19:04 +00:00
Miles Bader
361691dc0d (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.
2000-10-20 15:16:46 +00:00
Andrew Innes
ea456eb4e4 [!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.
2000-10-20 14:49:19 +00:00
Miles Bader
e34850d19f (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.
2000-10-20 12:23:37 +00:00
Miles Bader
ffb8fabb9e (height-affecting-face-attributes): Use `defconst'. 2000-10-20 12:21:30 +00:00
Miles Bader
8c6e4a58a3 (resize-temp-buffer-window): Use `mode-line-window-height-fudge'. 2000-10-20 09:23:20 +00:00
Miles Bader
8075a11058 (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.
2000-10-20 09:21:59 +00:00
Miles Bader
ee5cda459f Add emacs-35', emacs-mime', eshell', and speedbar'. 2000-10-20 03:00:17 +00:00
Miles Bader
a8b883c2c8 (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.
2000-10-20 02:58:00 +00:00
Eric M. Ludlam
c8ae03abbe Added Speedbar. 2000-10-20 02:25:28 +00:00
Eric M. Ludlam
994832206c *** empty log message *** 2000-10-20 02:15:13 +00:00
Eric M. Ludlam
543951abb3 * Makefile.in (Speedbar): Added build targets for speedbar.texi 2000-10-20 02:00:52 +00:00
Eric M. Ludlam
4e7428f6fd First Edition. 2000-10-20 01:53:35 +00:00
Jason Rumney
e64c3a754a *** empty log message *** 2000-10-19 19:54:58 +00:00
Jason Rumney
783e823086 (dired-insert-directory): Do not let errors signalled by
attempt to run dired-free-space-program prevent dired from working.
2000-10-19 19:50:13 +00:00
Jason Rumney
0b6bb67088 (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.
2000-10-19 19:25:53 +00:00
Jason Rumney
2d0c0bd755 (x_produce_glyphs): Handle unibyte_display_via_language_environment correctly.
(w32_draw_box_rect): Fix the calculation of width and height.
2000-10-19 19:21:07 +00:00
Jason Rumney
1660f34ae4 (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.
2000-10-19 19:12:51 +00:00
Jason Rumney
b93b26cbb0 Do not undef HAVE_WINDOW_SYSTEM before
including dispextern.h, as it stops faces from working.
2000-10-19 19:06:38 +00:00
Stefan Monnier
c70fe8527e *** empty log message *** 2000-10-19 15:42:49 +00:00
Stefan Monnier
9b1ac2f66e (diff-find-file-name): Fix regex subgroup number. 2000-10-19 15:42:21 +00:00
Gerd Moellmann
5de037e099 (dirtrack): Fix call to run-hooks. 2000-10-19 14:55:12 +00:00
Gerd Moellmann
6deb9af9c7 (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.
2000-10-19 14:45:45 +00:00
Gerd Moellmann
79c78e778a scheme-program-name -> cmuscheme-program-name 2000-10-19 14:44:49 +00:00
Gerd Moellmann
e597d8fb4f (doctor-death): Update the Samaritans'
anonymous address, and add a website for Befrienders
International.
2000-10-19 13:29:26 +00:00
Gerd Moellmann
17401c97e6 (skip_debugger): Prevent a compiler warning.
(Fcondition_case): Likewise.
(Fbacktrace_frame): Use a null interactive spec.
2000-10-19 12:03:08 +00:00
Gerd Moellmann
877cf6b438 (ps-print-emacs-type): Move into the
eval-and-compile.
2000-10-19 10:55:15 +00:00
Gerd Moellmann
3e9cb08f58 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.
2000-10-19 10:46:51 +00:00
Miles Bader
13ab33c43b (normal-top-level):
Call `frame-set-background-mode' after `frame-notice-user-settings'
  because the latter doesn't call the former on a tty.
2000-10-19 09:04:26 +00:00