Commit graph

328 commits

Author SHA1 Message Date
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
Gerd Moellmann
dada41e12c (fancy-splash-screens): Use fancy-splash-delay. 2000-10-18 14:27:55 +00:00
Gerd Moellmann
754a29c978 (fancy-splash-screens): Set buffer-undo-list to t. 2000-10-18 14:23:10 +00:00
Eli Zaretskii
1592c1efdf (command-line): Move the code which registers the default colors to
before before-init-hook.
2000-10-17 12:59:41 +00:00
Gerd Moellmann
d3c5bad262 (fancy-splash-text): Realign the text. 2000-10-17 12:10:40 +00:00
Eli Zaretskii
66c24e1e0c (normal-top-level): Use display-popup-menus-p instead
of window-system.
(command-line): Use display-graphic-p instead of window-system.
(command-line-1): Use display-popup-menus-p and display-mouse-p
instead of window-system.
2000-10-12 22:36:37 +00:00
Dave Love
a622451fdc (normal-top-level-add-subdirs-to-load-path): Use
character class, not ASCII when matching file names.
(fancy-splash-head): Add trailing slash to URL.
(command-line): Don't require XPM support for toolbar.
2000-10-12 13:39:32 +00:00
Gerd Moellmann
dbeb499bca (fancy-splash-screens): Don't add a pre-command hook.
(fancy-splash-pre-command, fancy-splash-pending-command): Removed.
(command-line-1): Don't use fancy-splash-pending-command.
(fancy-splash-screens-1): Goto point-min after inserting text.
2000-10-12 12:07:26 +00:00
Kenichi Handa
558f409e00 (fancy-splash-text): Remove superfluous quote. 2000-10-12 11:07:55 +00:00
Stefan Monnier
39250ec387 (fancy-splash-screens): Use local rather than global map.
Don't use `update-menu-bindings' any more.
Get rid of assumptions about keymap representation.
2000-10-06 22:19:23 +00:00
Gerd Moellmann
65d425aca5 (command-line): For now, activate tool-bar-mode only
if XPM images are supported.
2000-10-06 11:42:45 +00:00
Kenichi Handa
22aca18670 (fancy-splash-screens): Remove the code for debugging;
`(trace-to-stderr "EXITTT\n")'.
2000-10-05 00:25:16 +00:00
Gerd Moellmann
5b61c6a782 (fancy-splash-pending-command): New variable.
(fancy-splash-pre-command): New function.
(fancy-splash-screens): Rewritten.
(command-line-1): If fancy-splash-pending-command is set, call it
interactively.
2000-10-04 19:01:37 +00:00
Gerd Moellmann
b831c087d8 (fancy-splash-head): Change message below the
logo.
2000-10-02 11:18:21 +00:00
Gerd Moellmann
f645586f0e (startup-echo-area-message): New function.
(display-startup-echo-area-message): Use it.
(fancy-splash-screens): Rewritten to use keymaps and a timer.
(fancy-splash-default-action): New function.
(fancy-splash-screens-1): New function.
(fancy-splash-head): Put a help-echo and a keymap under the image.
2000-09-29 19:12:14 +00:00
Dave Love
d7a7f13120 (fancy-splash-head): Check XPM is available. 2000-09-25 18:31:51 +00:00
Gerd Moellmann
926aa0ee84 (command-line-1, fancy-splash-text): Change the
text to sound more friendly.
2000-09-25 09:11:31 +00:00
Gerd Moellmann
13f93deeba (fancy-splash-head): Use splash.pbm instead of
splash.xbm.
2000-09-22 11:20:05 +00:00
Gerd Moellmann
7d1eb6a4c0 (command-line): If frame was created with a non-zero
tool-bar-lines parameter, switch tool-bar-mode on.
2000-09-21 18:38:53 +00:00
Gerd Moellmann
95fadcca44 (fancy-splash-tail): Use a different foreground
color on a dark frame background.
2000-09-21 09:07:11 +00:00
Gerd Moellmann
8ad8561be3 (fancy-splash-image): Change :type.
(fancy-splash-head): Use an XBM image if appropriate.
(command-line-1): Show splash screens in more cases.
2000-09-20 14:06:56 +00:00
Gerd Moellmann
26ff68aad7 (fancy-splash-text): Don't quote faces. 2000-09-20 12:59:41 +00:00
Gerd Moellmann
499393791f (fancy-splash-head): If frame's background mode
is `dark', change the black background of the image to gray.
(fancy-splash-screens): Display startup echo area message.
(display-startup-echo-area-message): New function.
(command-line-1): Use it.
2000-09-20 10:56:02 +00:00
Dave Love
fb275c02f5 (fancy-splash-screen) <defgroup>: Fix syntax. Add
:version here.
(fancy-splash-delay, fancy-splash-image): Remove :version here.
2000-09-19 17:05:18 +00:00
Gerd Moellmann
a01bb1db13 (fancy-splash-delay, fancy-splash-image): Add
version.
(fancy-splash-screen): Defgroup.
2000-09-19 15:00:29 +00:00
Gerd Moellmann
ce9ded5de2 (fancy-splash-text): New variable.
(fancy-splash-delay, fancy-splash-image): New user-options.
(fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
(fancy-splash-screens): New functions.
(command-line-1): If display has a `display' frame parameter, has
colors, and we have XPM support, show more fancy splash screens.
2000-09-19 13:28:27 +00:00
Gerd Moellmann
42bb6910db (command-line): If user's init file had an error,
add explanatory text to *Messages*.
2000-08-21 09:56:32 +00:00
Gerd Moellmann
dde0101c65 (command-line): Clear realized faces after
modifying TTY color mappings.
2000-08-20 13:26:35 +00:00
Gerd Moellmann
aff3bff87b (command-line): Pop to *Messages* in case an error
is signaled while loading user-init-file.
2000-08-17 15:37:07 +00:00
Kenichi Handa
357438ebe0 (normal-top-level): Look in each dir in load-path for a leim-list.el
file too.  This assures of loading leim-list.el that is created at
Emacs installation time even if a user have his own leim-list.el.
2000-08-17 01:08:11 +00:00
Gerd Moellmann
6753393b26 (command-line): Initialize blink-cursor based
on window-system.
2000-07-03 19:14:39 +00:00
Gerd Moellmann
e27e8d71b4 (command-line-1): Change copyright messages to year
2000.
2000-06-15 12:00:39 +00:00
Stefan Monnier
ffaf8bbb77 (command-line, command-line-1): Don't quote lambda.
(command-line): Don't call menu-bar-mode if not interactive.
2000-06-12 05:26:55 +00:00
Gerd Moellmann
c047136e19 (command-line): Determine source file of compiled
user init file differently.  Warn if compiled user init file
is older than its source file.
2000-05-23 22:03:27 +00:00
Eli Zaretskii
cfc75d051e (command-line-1): Don't signal an error if the
directory for auto-save-list files does not yet exist.
2000-05-17 11:38:40 +00:00
Gerd Moellmann
b11d37dedf (command-line-1): Mention the FAQ in the startup
message.
2000-05-16 14:30:55 +00:00
Eli Zaretskii
4b33deaa56 (auto-save-list-file-prefix): For ms-dos, set the
default prefix to `~/_emacs.d/auto-save.list/_s'.
(normal-top-level): Create the directory for auto-save files, if
it doesn't already exist, in the ms-dos case only.
2000-05-02 12:03:43 +00:00
Gerd Moellmann
bbfc759111 (normal-top-level): Put a condition-case around
the code loading subdirs.el.
2000-04-29 19:28:46 +00:00
Gerd Moellmann
138e541fe6 (normal-top-level-add-to-load-path): Handle
case that the default directory is not in load-path.
2000-04-26 17:34:37 +00:00
Gerd Moellmann
73f13e5a9d (auto-save-list-file-prefix): Set default to
`~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
2000-04-24 18:43:25 +00:00
Gerd Moellmann
9ff6bda1f3 (command-line-x-option-alist): Add `-lsp' and
`--line-spacing'.
2000-04-24 14:00:07 +00:00
Gerd Moellmann
64b0dbdbd2 Change some spellings for the X Window System. 2000-03-23 11:57:22 +00:00
Dave Love
6cbc1482fe (command-line-1): Don't call make-mode-line-mouse-sensitive. 2000-02-09 12:43:30 +00:00
Jason Rumney
429fc14fe5 (command-line): Use w32-tty-standard-colors when in w32 console mode. 2000-01-30 19:02:51 +00:00
Dave Love
46cfd295a9 (command-line): Check for compiled user-init-file and
set to uncompiled version if necessary.
2000-01-19 14:39:01 +00:00
Eli Zaretskii
5731b491b2 (command-line-1): Make mode line mouse-sensitive for
the MS-DOS version as well.
1999-12-28 16:03:01 +00:00
Eli Zaretskii
f795f63364 Changes for automatic remapping of X colors on terminal frames:
* term/pc-win.el (msdos-setup-initial-frame): New function, run by
	term-setup-hook.  Call msdos-remember-default-colors and
	msdos-handle-reverse-video.
	(msdos-face-setup): Parts of code moved to
	msdos-setup-initial-frame.
	(msdos-handle-reverse-video): New function, modeled after
	x-handle-reverse-video.
	(make-msdos-frame): Don't use initial-frame-alist and
	default-frame-alist.  Call msdos-handle-reverse-video.
	(msdos-color-aliases): Remove.
	(msdos-color-translate, msdos-approximate-color): Remove.
	(msdos-color-values): Use 16-bit RGB values.  RGB values updated
	for better approximation of X colors.
	(msdos-face-setup): Call tty-color-clear.  Remove code that sets
	up tty-color-alist (it is now on startup.el).
	(x-display-color-p, x-color-defined-p, x-color-values,
	x-defined-colors, face-color-supported-p, face-color-gray-p):
	Remove.

	* facemenu.el (facemenu-read-color, list-colors-display): Use
	defined-colors for all frame types.
	(facemenu-color-equal): Use color-values for all frame types.

	* faces.el (read-face-attribute): For :foreground and :background
	attributes and frames on character terminals, translate the color
	to the closest supported one before looking it up in the list of
	valid values.
	(face-valid-attribute-values): Call defined-colors for all types
	of frames.
	(defined-colors, color-defined-p, color-values, display-color-p):
	New finctions.
	(x-defined-colors, x-color-defined-p, x-color-values,
	x-display-color-p): Aliases for the above.

	* startup.el (command-line): Register terminal colors for frame
	types other than x and w32, but only if the terminal supports
	colors.  Call tty-color-define instead of face-register-tty-color.

	* term/x-win.el (xw-defined-colors): Renamed from
	x-defined-colors.
	* term/w32-win.el (xw-defined-colors): Likewise.

	* term/tty-colors.el: New file.
	* loadup.el: Load term/tty-colors.
1999-12-06 17:55:00 +00:00
Gerd Moellmann
3b79c21907 (initial-scratch-message): Add ";;" to the front of
lines in the message.
1999-11-11 11:54:07 +00:00
Gerd Moellmann
dc2cd811d1 (command-line-1): Add support for `file' and
`execute'.  Fix handling of `visit'.
1999-10-26 14:35:16 +00:00
Paul Eggert
64ed733ada Fix bootstrapping problems.
Use the system locale to specify Emacs locale defaults.

* international/mule-cmds.el (global-map):
Do not use backquote, because that makes a bootstrapping
problem if you need to recompile all Lisp files using interpreted code.
* international/mule.el (charset-id, charset-bytes,
charset-dimension, charset-chars, charset-width,
charset-direction, charset-iso-final-char,
charset-iso-graphic-plane, charset-reverse-charset,
charset-short-name, charset-long-name, charset-description,
charset-plist): Likewise.
* subr.el (save-match-data): Likewise.

* international/mule-cmds.el
(set-display-table-and-terminal-coding-system): New function,
containing code migrated out of set-language-environment.
(set-language-environment, set-locale-environment): Use it.
(locale-translation-file-name): Moved here from startup.el.
(locale-language-names, locale-preferred-coding-systems):
New vars.
(locale-name-match, set-locale-environment): New functions.

* language/japan-util.el (setup-japanese-environment-internal):
Prefer japanese-iso-8bit if the system-type is usg-unix-v.

* startup.el (iso-8859-n-locale-regexp): Remove.
(locale-translation-file-name): Move to mule-cmds.el.
(command-line): Move locale-stuff into set-locale-environment.
1999-10-19 07:18:58 +00:00