1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00
Commit Graph

1329 Commits

Author SHA1 Message Date
Gerd Moellmann
63e1b552d0 *** empty log message *** 2000-10-24 12:32:53 +00:00
Gerd Moellmann
1946f901c6 *** empty log message *** 2000-10-24 11:23:14 +00:00
Gerd Moellmann
df0267b85b *** empty log message *** 2000-10-24 11:05:37 +00:00
Kenichi Handa
ae3b264bca *** empty log message *** 2000-10-24 10:52:06 +00:00
Eli Zaretskii
23afac0140 *** empty log message *** 2000-10-24 09:17:31 +00:00
Miles Bader
22d1a4ed04 *** empty log message *** 2000-10-24 06:22:03 +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
Dave Love
b7e03a6759 *** empty log message *** 2000-10-23 21:05:41 +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
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
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
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
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
984905989e (header-line): Make more reasonable on mono/grayscale displays. 2000-10-23 04:50:20 +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
aaaf7be7c8 *** empty log message *** 2000-10-22 16:28:19 +00:00
André Spiegel
5392d654c4 # 2000-10-22 15:45:05 +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
3511cde8e7 (fit-window-to-buffer): Change defaulting of MAX-HEIGHT slightly. 2000-10-22 04:21:36 +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
Eli Zaretskii
b6ef48981a (Info-file-list-for-emacs): Add an entry for Speedbar. 2000-10-21 19:54:53 +00:00
Stefan Monnier
34939e2c4a (sh-mode-map): Remove bindings for
sh-electric-rparen, sh-electric-less and sh-electric-hash.
(sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
(sh-font-lock-heredoc, sh-font-lock-paren): New funs.
(sh-font-lock-syntactic-keywords): Use them.
(sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
(sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
(sh-mode): Don't override font-lock-unfontify-region-function.
Use a copy of sh-font-lock-syntactic-keywords.
(sh-set-shell): Don't set sh-electric-rparen-needed-here.
Don't call sh-scan-buffer since font-lock does it on the fly.
(sh-get-indent-info): Use `face' rather than `syntax-table'
text-property to detect here-documents.
Replace sh-special-syntax with sh-st-punc.
(sh-prev-line): Use `face' rather than `syntax-table'
text-property to skip over here-documents.
(sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
(sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
(sh-electric-less, sh-set-here-doc-region)
(sh-remove-our-text-properties, sh-search-word, sh-scan-case)
(sh-scan-buffer, sh-rescan-buffer): Remove.
2000-10-21 18:06:17 +00:00
Andrew Innes
f3d3c491d0 *** empty log message *** 2000-10-21 13:33:35 +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
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
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
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
8c6e4a58a3 (resize-temp-buffer-window): Use `mode-line-window-height-fudge'. 2000-10-20 09:23:20 +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
Jason Rumney
e64c3a754a *** empty log message *** 2000-10-19 19:54:58 +00:00
Stefan Monnier
c70fe8527e *** empty log message *** 2000-10-19 15:42:49 +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
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
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
Miles Bader
d8abcd91a3 (frame-set-background-mode): `unspecified' &c are symbols, not strings. 2000-10-19 08:37:11 +00:00
Eli Zaretskii
e8bce0a9b6 *** empty log message *** 2000-10-19 07:24:01 +00:00
Kenichi Handa
773272d836 *** empty log message *** 2000-10-19 06:58:33 +00:00
Eli Zaretskii
772139c0a6 (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".
2000-10-19 06:56:50 +00:00
Miles Bader
8bb84cb2f1 *** empty log message *** 2000-10-19 04:31:37 +00:00
Miles Bader
e40a778f54 *** empty log message *** 2000-10-19 03:58:37 +00:00
Miles Bader
d134a19f84 (comint-write-output, comint-append-output-to-file): New functions.
(comint-mode-map): Add them to the menu.
2000-10-19 02:12:30 +00:00