1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

31743 commits

Author SHA1 Message Date
Kenichi Handa
04448b951d *** empty log message *** 2000-10-24 04:38:25 +00:00
Kenichi Handa
8aa87e0698 (isearch-with-input-method): Call input-method-function with the first
event in unread-command-events.
2000-10-24 01:34:25 +00:00
Kenichi Handa
f408aa480f *** empty log message *** 2000-10-24 01:34:06 +00:00
Miles Bader
94fe8a31c7 (face-default-spec, face-user-default-spec): Make defsubsts. 2000-10-24 01:17:23 +00:00
Kenichi Handa
7ae339a717 *** empty log message *** 2000-10-24 00:09:09 +00:00
Jason Rumney
3090a5a5bc (VCENTER_BASELINE_OFFSET): Bias division (see xterm.c comment below). 2000-10-23 22:14:57 +00:00
Jason Rumney
d98c0337b3 (x_to_w32_font): Initialize dpi from dpyinfo->resy. 2000-10-23 22:11:51 +00:00
Jason Rumney
82d9a3b9c5 (syms_of_fontset) [WINDOWSNT]: Special case for ASCII font of default
fontset on Windows.
2000-10-23 22:10:00 +00:00
Dave Love
b7e03a6759 *** empty log message *** 2000-10-23 21:05:41 +00:00
Dave Love
3b6d80f1ed (tool-bar-add-item-from-menu)
(tool-bar-add-item): Set foreground and background for XBM icons.
2000-10-23 18:00:51 +00:00
Dave Love
46c519de2c *** empty log message *** 2000-10-23 17:51:33 +00:00
Andrew Choi
8f47302e25 Andrew Choi <akochoi@i-cable.com>
* international/mule-conf.el (mac-roman-lower, mac-roman-upper):
        New charsets.

        * term/mac-win.el: Remove definitions of mac-roman-lower and
        mac-roman-upper, require dired, and define instead of set
        mac-ready-for-drag-n-drop to avoid compilation error.

        * src/macterm.c (XTread_socket): check whether Lisp variable
        mac-ready-for-drag-n-drop is bound rather than non-nil value.
2000-10-23 17:49:59 +00:00
Dave Love
fa2c768f76 (latin1-char-displayable-p): New
function (from Handa).
(latin1-display-check-font): Use it.
2000-10-23 17:47:06 +00:00
Andrew Innes
446c097e30 (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
superfluous calls to subst-char-in-string; instead apply
expand-file-name after convert-standard-filename to ensure
expected directory separators are used.
2000-10-23 17:40:16 +00:00
Dave Love
16ed4c479e refill mode 2000-10-23 17:33:29 +00:00
Dave Love
0dcf8835e3 (imenu--create-keymap-2): Build menu with menu-item
using :key-sequence, making it much more usable.  Use nconc, not
append.
(imenu--create-keymap-1): Avoid append.
2000-10-23 17:24:54 +00:00
Eli Zaretskii
379b70e730 (Info-file-list-for-emacs): Add an entry for Eshell. 2000-10-23 15:50:51 +00:00
Gerd Moellmann
a83fee2c56 (emacs_blocked_free) [GC_MALLOC_CHECK]: Handle freeing
null.
2000-10-23 15:03:55 +00:00
Gerd Moellmann
182334bd08 (x_connection_closed): Reset handling_signal. 2000-10-23 15:01:52 +00:00
Miles Bader
6ffdb53952 (window_scroll_pixel_based, window_scroll_line_based):
Pass nil for FULLY argument to Fpos_visible_in_window_p to
  maintain old behavior.
2000-10-23 13:48:52 +00:00
Miles Bader
7d7c38618c (Fminibuffer_complete): Pass nil for FULLY argument to
Fpos_visible_in_window_p to maintain old behavior.
2000-10-23 13:46:41 +00:00
Gerd Moellmann
bd579c15be Update from version 5.1 of the Gnus repository.
Update copyright and change @setfilename.
2000-10-23 13:16:41 +00:00
Gerd Moellmann
2625a8f74d Update from version 5.213 from the Gnus repository.
Change @setfilename.
2000-10-23 13:15:56 +00:00
Dave Love
85c766e9ed Remove bits redundant with define-minor-mode. 2000-10-23 12:35:01 +00:00
Miles Bader
3b6542bab5 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil. 2000-10-23 10:27:47 +00:00
Miles Bader
cb3069bb5e [the following changes fix a bug where `define-minor-mode' didn't
correctly generate :require clauses for defcustoms in compiled files]

(byte-compile-last-logged-file):
  New variable.
(byte-compile-log-file, byte-compile-log-1):
  Don't set `byte-compile-current-file' to nil.
  Instead set `byte-compile-last-logged-file' to it.
  Test whether byte-compile-current-file equals byte-compile-last-logged-file
    instead of whether its nil.
2000-10-23 09:16:47 +00:00
Stefan Monnier
6db6243bda *** empty log message *** 2000-10-23 08:43:03 +00:00
Stefan Monnier
7850e18845 Fix var names in doc.
(refill-mode): Don't bother with make-local-hook anymore.
2000-10-23 07:35:30 +00:00
Miles Bader
e01cd227f6 (woman-italic-face, woman-bold-face, woman-unknown-face):
Add dark-background variants.
(woman-default-faces):
  Renamed from `woman-colour-faces'.
  Set using the stored defaults, rather than using hard-wired colors.
(woman-monochrome-faces):
  Renamed from `woman-black-faces'.
  Just make the foreground `unspecified' rather than "black".
(woman-menu):
  Rename menu entries accordingly.
2000-10-23 05:37:24 +00:00
Miles Bader
96c2938fc9 (face-user-default-spec, face-default-spec): New functions.
(face-spec-choose, face-spec-set): Document nil-SPEC behavior.
(frame-set-background-mode, face-set-after-frame-default):
  Use `face-user-default-spec'.  Simplify code slightly.
2000-10-23 05:32:59 +00:00
Miles Bader
984905989e (header-line): Make more reasonable on mono/grayscale displays. 2000-10-23 04:50:20 +00:00
Miles Bader
7f1c969b3a *** empty log message *** 2000-10-23 03:32:59 +00:00
Miles Bader
0e9becceb1 (VCENTER_BASELINE_OFFSET): Bias the division by two, so that when a font
can't be exactly centered, it errs up rather than down.
2000-10-23 03:14:04 +00:00
ShengHuo ZHU
8ec118cdd6 2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
* fns.c (Fbase64_decode_string): The decoded result should be
	unibyte.
2000-10-22 19:08:26 +00:00
Andrew Choi
1a578e9be2 Initial check-in: changes for building Emacs under Mac OS.
2000-10-23  Andrew Choi  <akochoi@i-cable.com>

	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.

	* dispnew.c [macintosh]: Include macterm.h.
	(init_display) [macintosh]: initialization for window system.

	* emacs.c (main) [macintosh]: Call syms_of_textprop,
	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
	syms_of_search, x_term_init, and init_keyboard before calling
	init_window_once.  Also, call syms_of_xmenu.

	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
	default fontset to Monaco.

	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
	NewMacWindow and DisposeMacWindow.
	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
	instead of calling NewMacWindow and setting fields of
	f->output_data.mac directly.  Call init_frame_faces.
	(Fdelete_frame) [macintosh]: Remove unused code.
	(Fmodify_frame_parameters) [macintosh]: Call
	x_set_frame_parameters instead of mac_set_frame_parameters.

	* frame.h [macintosh]: Define menu_bar_lines field in struct
	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.

	* keyboard.c [macintosh]: Include macterm.h.
	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
	and menu_bar_activate_event type events as for X and NT.
	(make_lispy_event) [macintosh]: Construct lisp events of type
	MENU_BAR_EVENT as for X and NT.

	* sysdep.c [macintosh]: Remove declaration for sys_signal.
	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
	(sys_subshell) [macintosh]: Remove definition entirely.
	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
	Vwindow_system_version here.  Remove initialization of
	Vx_bitmap_file_path.
	(read_input_waiting): Correct the number of parameters passed to
	read_socket_hook.
	Move all Macintosh functions to mac/mac.c.

	* term.c [macintosh]: Include macterm.h.

	* window.c [macintosh]: Include macterm.h.

	* xdisp.c [macintosh]: Include macterm.h.  Declare
	set_frame_menubar and pending_menu_activation.
	(echo_area_display) [macintosh]: Do not return if terminal frame
	is the selected frame.
	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
	Allow only the selected frame to set menu bar.
	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
	calling FRAME_EXTERNAL_MENU_BAR (f).
	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).

	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
	and check_x.  Declare XCreateGC.  Define x_create_gc and
	x_free_gc.  Initialize font_sort_order.
	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
	but call x_list_fonts instead of w32_list_fonts.
	(Finternal_face_x_get_resource) [macintosh]: Do not call
	display_x_get_resource.
	(prepare_face_for_display) [macintosh]: Set xgcv.font.
	(realize_x_face) [macintosh]: Load the font if it is specified in
	ATTRS.
	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
	to Qt.

	* cus-edit.el (custom-button-face): Use 3D look for mac.
	(custom-button-pressed-face): Likewise.

	* faces.el (set-face-attributes-from-resources): Handle mac frames
	in the same way as x and w32 frames.
	(face-valid-attribute-values): Likewise.
	(read-face-attribute): Likewise.
	(defined-colors): Likewise.
	(color-defined-p): Likewise.
	(color-values): Likewise.
	(display-grayscale-p): Likewise.
	(face-set-after-frame-default): Likewise.
	(mode-line): Same default face as for x and w32.
	(tool-bar): Likewise.

	* frame.el: Remove call to frame-notice-user-settings at end of
	the file.

	* info.el (Info-fontify-node): make underlines invisible for mac
	as for x, pc, and w32 frame types.

	* term/mac-win.el: New file.
2000-10-22 16:50:16 +00:00
Dave Love
d371949a0f refill-mode 2000-10-22 16:29:14 +00:00
Dave Love
aaaf7be7c8 *** empty log message *** 2000-10-22 16:28:19 +00:00
André Spiegel
5392d654c4 # 2000-10-22 15:45:05 +00:00
André Spiegel
10b48cc413 (vc-checkout): Added `-p' suffix in call to vc-make-version-backups-p;
use vc-make-version-backup to actually make the backup.
(vc-version-other-window, vc-version-backup-file): Handle both
automatic and manual backups.
(vc-revert-file): Use vc-delete-automatic-version-backups to get rid
of all of them.
2000-10-22 15:37:51 +00:00
André Spiegel
c86ef81ce6 (vc-cvs-make-version-backups-p): Added `-p' suffix as expected by
vc[-hooks].el.
2000-10-22 15:31:11 +00:00
André Spiegel
e896a9e1dc (vc-version-backup-file-name): New optional args MANUAL and REGEXP.
(vc-delete-automatic-version-backups, vc-make-version-backup): New
functions.
(vc-before-save): Use the latter.
(vc-default-make-version-backups-p): Added `-p' suffix to avoid
confusion.
2000-10-22 15:28:58 +00:00
Eli Zaretskii
d9aef30f82 Fix a typo in a comment. 2000-10-22 14:00:19 +00:00
Miles Bader
7ff4fda533 (comint-highlight-input, comint-highlight-prompt):
Renamed, `-face' at end removed.
(comint-send-input, comint-output-filter):
  Use renamed faces.
2000-10-22 12:36:41 +00:00
Miles Bader
988cded7c0 Clean up comint entries a bit. 2000-10-22 10:20:30 +00:00
Stefan Monnier
2c63c979bb *** empty log message *** 2000-10-22 10:00:59 +00:00
Stefan Monnier
1ffbabe3b1 *** empty log message *** 2000-10-22 08:22:51 +00:00
Stefan Monnier
9d0ffdd99f (fix_submap_inheritance): Don't do anything if parent_entry
is nil: since we go to the end of submap anyway, we'd end up
setting nil to nil.
(access_keymap): Don't use KEYMAPP on meta_map since KEYMAPP
doesn't obey autoload.
2000-10-22 04:48:48 +00:00
Miles Bader
3511cde8e7 (fit-window-to-buffer): Change defaulting of MAX-HEIGHT slightly. 2000-10-22 04:21:36 +00:00
Miles Bader
582b0985f5 (window-text-height): Don't expect minibuffers to have mode-lines. 2000-10-22 04:18:14 +00:00
Miles Bader
1e221c163c (color-values, color-defined-p): Use `member', not
`memq', because it works correctly for strings.
(frame-set-background-mode): Actually, "unspecified-fg" and
"unspecified-bg" *are* strings.  Use `member', not `memq', and
`equal', not `eq', when a string value is possible.
2000-10-21 22:29:38 +00:00