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

372 Commits

Author SHA1 Message Date
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
Dave Love
bf0d01c186 (iso-8859-n-locale-regexp): Modify for Latin-[89].
(command-line): Detect Latin-[89] locales.
1999-10-14 10:23:59 +00:00
Eli Zaretskii
f5568df0a8 (command-line): Make small-temporary-file-directory
be nil except on ms-dos.
1999-09-06 11:43:01 +00:00
Eli Zaretskii
607f86f527 (command-line): Compute the value of
small-temporary-file-directory.
1999-09-02 12:30:24 +00:00
Eli Zaretskii
3606b4da9a (command-line): Don't register default colors for
MSDOS window-system.
1999-07-30 08:45:36 +00:00
Karl Heuer
694e6b248d (command-line): If we don't find the user's init file,
set user-init-file to nil.
1999-07-25 05:44:56 +00:00
Gerd Moellmann
e724900d94 (command-line-1): Activate tooltip mode if interactive.
(command-line-1): Call make-mode-line-mouse-sensitive.
(command-line): Register default tty colors.
1999-07-21 21:43:03 +00:00
Richard M. Stallman
9d1fb1792c (normal-top-level-add-subdirs-to-load-path): Avoid doing a `stat' when
it isn't necessary because that can cause trouble when an NFS server is down.
1999-07-05 16:00:07 +00:00
Karl Heuer
64b08c88cf (iso-8859-n-locale-regexp): Doc fix. 1999-06-24 18:04:46 +00:00
Karl Heuer
9dc37d300f (iso-8859-n-locale-regexp): Doc fix. 1999-06-23 16:31:28 +00:00
Karl Heuer
042dc0345a (command-line): Don't set user-init-file directly;
tell `load' to set it.
1999-06-05 01:18:14 +00:00
Dave Love
83eded3abd (iso-8859-n-locale-regexp): Don't match 8859-15 &c. 1999-05-27 15:40:33 +00:00
Karl Heuer
70e0041366 (command-line-1): Improve startup msg. 1999-03-13 04:53:43 +00:00
Andrew Innes
06789559b2 (command-line) [windows-nt]: Fix typo in regexp
checking for .emacs[.el[c]].
1999-02-25 11:35:45 +00:00
Eli Zaretskii
d4308a4dc1 (command-line): Set default eol-mnemonic-* strings to
display end-of-line format in mode line.
1999-01-27 10:12:43 +00:00
Richard M. Stallman
95eada658d (command-line-1): Up-date copyright. 1999-01-26 22:10:15 +00:00
Andrew Innes
32291eb6a3 (command-line): [windows-nt]: Check for existence of
.emacs file so as to notice .emacs.el or .emacs.elc and use them
in preference to _emacs.
1999-01-22 15:12:59 +00:00
Richard M. Stallman
a460d4e398 (command-line): If the init file changes operation to
unibyte, make all buffers unibyte and re-set language environment.
1999-01-19 03:00:09 +00:00
Paul Eggert
086e079cbe (locale-translation-file-name): Prefer X-related names
to the name used by GNU/Linux sans X.  Set to nil if no file found.
(command-line): Use locale-translation-file-name if it is not nil,
instead of testing for its existence again.
regexp-quote the ctype before using it in a regexp.
Allow a colon to appear after the ctype in the aliases file,
as is done in X11R6.4.
1998-09-22 06:12:49 +00:00
Andreas Schwab
938121302c (site-run-file): Fix customize type. 1998-09-18 09:22:48 +00:00
Richard M. Stallman
08e77a49f7 (command-line): Require whitespace delimiter when
searching locale-translation-file-name.
1998-08-07 23:25:43 +00:00
Richard M. Stallman
7e766510d2 (command-line) <handling LANG>: Change 9 to 5, not 5 to 9.
(command-line-1): Fix mouse startup message.
1998-06-27 23:11:51 +00:00
Karl Heuer
94487c4e37 Doc fixes. 1998-06-20 22:06:30 +00:00
Karl Heuer
80d715567e (normal-top-level):
For root, set backup-by-copying-when-mismatch to t.
1998-06-19 16:56:51 +00:00
Richard M. Stallman
341ce5a77d (command-line-1): Check that user-init-file non-nil. 1998-06-13 06:16:32 +00:00
Richard M. Stallman
849eedba17 (command-line): Set `temporary-file-directory' based
on environment settings, before processing init files.
1998-06-10 20:59:16 +00:00
Dave Love
f734a13ec4 (normal-top-level-add-subdirs-to-load-path): Ignore
CVS directories too.
1998-06-02 13:21:13 +00:00
Richard M. Stallman
537b6e4e55 Comment change. 1998-05-21 20:32:09 +00:00
Kenichi Handa
a041ba9753 (command-line): Fixed a typo in comment. 1998-05-21 01:47:11 +00:00
Richard M. Stallman
cbe9a46020 (locale-translation-file-name): New variable.
(command-line): Use it to decode locale aliases.
1998-05-14 03:55:13 +00:00
Richard M. Stallman
0412d83360 (normal-top-level-add-subdirs-to-load-path):
Ignore subdirectories whose names start with nonalphanumeric
or that have a file called .nosearch.
1998-05-11 01:17:48 +00:00
Richard M. Stallman
48f0011498 (command-line): When choosing a language from LANG,
call set-language-environment in unibyte and multibyte mode.
Don't call standard-display-european; instead, call
standard-display-european-internal and set-terminal-coding-system.
But do them only for latin-1 ... latin-5.
1998-05-03 03:48:05 +00:00
André Spiegel
c5ce405b34 (command-line-1): Better wording in mouse startup message. 1998-04-14 10:44:53 +00:00
Karl Heuer
a46aa0b2b3 (command-line-1): Fix punctuation in startup screen. 1998-04-06 21:55:01 +00:00
Dave Love
a797a30d6b (command-line): Fix paren error. 1998-04-05 11:46:30 +00:00
Richard M. Stallman
c2e527be0b (command-line): If already unibyte, just load
latin-N instead of calling set-language-environment.
1998-04-03 23:49:11 +00:00
Richard M. Stallman
bb15e81a9b (normal-top-level-add-subdirs-to-load-path):
Reverse order of subdirs to add.  Don't duplicate the parent dir.
1998-03-26 04:26:27 +00:00
Karl Heuer
859e15c1e5 (normal-top-level-add-subdirs-to-load-path): New function. 1998-03-23 00:15:20 +00:00
Richard M. Stallman
acfd101152 (command-line-1): Add alternate startup message
for use when there is a mouse.
1998-01-21 21:39:02 +00:00
Karl Heuer
3671f444f1 (auto-save-list-file-prefix): Fix custom type. 1997-10-15 23:55:45 +00:00
Richard M. Stallman
10917a452a (command-line): Don't suppress suffix search. 1997-10-11 03:54:19 +00:00
Richard M. Stallman
cd1c10f6ae (normal-top-level-add-to-load-path):
Ignore case when comparing, if ms-dos or windows-nt.
1997-09-19 18:15:57 +00:00
Richard M. Stallman
ce2f921ee5 (initial-major-mode): Fix customize type. 1997-09-15 23:19:58 +00:00
Richard M. Stallman
9fe3219e93 (normal-top-level-add-to-load-path):
Try looking for the unmodified default-directory in load-path.

(initial-scratch-message): New variable.
(command-line-1): Use initial-scratch-message.
1997-09-14 17:27:48 +00:00
Richard M. Stallman
35ae8ec829 (command-line): Pass charset to standard-display-european. 1997-09-08 09:57:37 +00:00
Richard M. Stallman
c532f34968 (command-line-1): Update copyright year in string. 1997-09-07 17:07:01 +00:00
Richard M. Stallman
8baabd2a14 (command-line-1): Don't let type-ahead inhibit the
initial contents of *scratch*.
1997-08-08 06:42:34 +00:00
Richard M. Stallman
907d0a0d02 (command-line): Pass t for AUTO arg to standard-display-european. 1997-08-01 01:21:51 +00:00
Richard M. Stallman
f862008d65 (command-line-1): Don't display startup message
if the buffer-is nonempty.  Don't make undo entries for it.
1997-06-23 00:29:59 +00:00
Kenichi Handa
f320358931 (command-line): Load "leim-list.el". 1997-06-18 12:55:00 +00:00
Richard M. Stallman
42a3e6fa48 Customize.
(command-line): Translate iso-8859-9 into latin-5.
(command-line-1): Recognize setting inhibit-startup-echo-area-message
with customization buffer.
1997-06-18 07:07:57 +00:00
Richard M. Stallman
1c0961640a (command-line): Don't call face-initialize.
(command-line): If environment specifies ISO 8859,
always set up for both singe-byte and multibyte operation.
But set-language-environment does most of the job now.
1997-06-07 23:15:30 +00:00
Richard M. Stallman
911ea13b3e (command-line): Detect Latin-N character sets
from envvars, both for multibyte mode and single-byte mode.
1997-05-31 07:30:33 +00:00
Richard M. Stallman
a8aa43870f (command-line): iso-syntax.el renamed to latin-1.el. 1997-05-22 20:09:55 +00:00
Richard M. Stallman
6f6e0bcd51 (command-line-1): Initialize *scratch* with
text saying not to use it for creating a file.
1997-03-23 20:51:17 +00:00
Richard M. Stallman
ac707ebc83 (command-line-1): Don't run buffer-menu if in batch mode. 1997-01-06 06:51:29 +00:00
Richard M. Stallman
14d9a6630e (command-line-1): Handle --visit and --find.
Handle -- as an option; treat what follows as a file name.
1996-12-26 20:47:49 +00:00
Richard M. Stallman
d7fa5aa239 Change defconsts to defvars. 1996-12-16 01:33:02 +00:00
Geoff Voelker
2da0d7db99 (normal-top-level, command-line, command-line-1):
User w32 instead of ms-windows for window-system symbol.
1996-12-09 23:38:03 +00:00
Richard M. Stallman
5fbdc13823 (normal-top-level, command-line-1, command-line):
Test for ms-windows instead of win32, and use memq.
1996-09-15 02:13:16 +00:00
Richard M. Stallman
f7ad212d03 (command-line, command-line-1):
Stop processing options if we encounter "--".
1996-09-03 21:51:08 +00:00
Richard M. Stallman
3f5a3e124b (command-line-1): Rearrange initial screen. 1996-08-31 16:26:55 +00:00
Karl Heuer
6bb9d4b8f3 (normal-top-level-add-to-load-path):
Use directory-file-name since load-path elements don't end in /.
1996-07-12 00:08:09 +00:00
Richard M. Stallman
5676ab57a8 (command-line-x-option-alist): Don't handle -rn.
x-handle-name-rn-switch renamed to x-handle-name-switch.
1996-06-28 07:58:29 +00:00
Richard M. Stallman
2c3fef40b6 (command-line-x-option-alist): -T sets only the title. 1996-04-11 05:23:19 +00:00
Richard M. Stallman
7775acb8ee (command-line-x-option-alist):
--title sets only the title.  Allow -title as alias too.
1996-04-11 05:10:40 +00:00
Richard M. Stallman
2e465cef3f (command-line-1): Document the C- and M- conventions more completely. 1996-04-03 05:57:37 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
6b9e794f8c (command-line-normalize-file-name): Do save-match-data. 1996-03-01 20:13:01 +00:00
Richard M. Stallman
dcccc83257 (command-line-normalize-file-name): Convert /// at beginning to just /. 1996-02-28 23:30:24 +00:00
Richard M. Stallman
aeab376f9f (command-line-normalize-file-name):
Don't collapse // at start of file name.
1996-02-28 00:30:49 +00:00
Karl Heuer
db3f571abd (before-init-hook, after-init-hook): Doc fix.
(term-setup-hook): Doc fix.
(emacs-startup-hook): New defvar.
1996-02-21 21:21:31 +00:00
Karl Heuer
95127745f8 (command-line-1): Don't explain recover-session if
auto-save-list-file-prefix is nil.
1996-02-14 04:26:43 +00:00
Richard M. Stallman
521736d11c (command-line): On windows NT, look for .emacs or _emacs. 1996-02-12 01:17:15 +00:00
Richard M. Stallman
47c7adae7d (command-line-normalize-file-name): New function.
(command-line-1): Call it to handle foo//bar in non-Emacs fashion.
1996-01-27 00:14:59 +00:00
Karl Heuer
40e2359962 (command-line-1): Update copyright in startup banner. 1996-01-24 22:02:17 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
2c42ec0b0b (normal-top-level): Add ~ at end of auto-save-list-file-prefix. 1996-01-02 01:16:39 +00:00
Richard M. Stallman
1f7f78f1ab (auto-save-list-file-prefix): Under MS-DOS, use `.s-'.
(normal-top-level): Under MS-DOS, use `make-temp-name' to produce
a unique `auto-save-list-file-name' (PID is not unique enough).
(command-line-1): Delete explicit test for msdos and windowsnt;
test just `window-system'.

(command-line-x-option-alist): Use x-handle-geometry for geometry options.
1996-01-01 23:50:19 +00:00
Richard M. Stallman
b3afdeb86d (command-line-x-option-alist): New variable.
(command-line-1): Ignore X options when not using X.
1995-12-29 20:00:39 +00:00
Karl Heuer
cdee38c367 (command-line-1): Use auto-save-list-file-prefix
when checking for existing files.

(normal-top-level): Don't set auto-save-list-file-name
if auto-save-list-file-prefix is nil.

(normal-top-level): Don't set auto-save-list-file-name
if it was already set non-nil (by .emacs, for example).
(auto-save-list-file-prefix): Doc fix.
1995-12-21 18:10:03 +00:00
Richard M. Stallman
325cbd32fc (command-line-1): Mention F10. 1995-11-15 17:24:18 +00:00
Richard M. Stallman
6695496f6c (command-line-1): Reorganize the initial help output. 1995-11-14 18:28:49 +00:00
Richard M. Stallman
7a79b90c1a (command-line): Don't reject unknown args here.
(command-line-1): Detect it here.
1995-11-11 23:56:03 +00:00
Richard M. Stallman
452e90900a (command-line): Complain about unknown options.
(command-line): Handle = in option only if starts with --.

(user-mail-address): Doc fix.
1995-11-10 17:27:52 +00:00
Geoff Voelker
39d6d6be55 [win32] (normal-top-level, command-line, command-line-1):
Test for 'win32 window system as well as 'x.
1995-11-07 07:47:22 +00:00
Richard M. Stallman
3ede3ecef4 (command-line-1): Say how to invoke menu bar, if not X.
(command-line): If not X, do enable menu bar.
1995-10-31 14:41:51 +00:00
Richard M. Stallman
b3c7c12c1b (normal-top-level): Set auto-save-list-file-name later,
after calling command-line.
1995-10-23 16:59:47 +00:00
Richard M. Stallman
556f7d7737 (command-line): Init user-mail-address here, after reading init file.
(normal-top-level): Not here.
1995-10-08 19:30:41 +00:00
Richard M. Stallman
2e05d06325 (auto-save-list-file-prefix): New variable.
(normal-top-level): Use it.
1995-10-04 19:41:15 +00:00
Erik Naggum
2d2aae549e (command-line-1): --insert: Don't complain on --insert=file. 1995-09-25 11:04:07 +00:00
Erik Naggum
955093c9e8 (command-line-1): --eval: Don't print the value. 1995-09-25 10:56:15 +00:00
Richard M. Stallman
e6b75e30dc (command-line-1): Add option --eval to evalute an
expression on the command line and print the result.
1995-08-14 16:05:12 +00:00
Richard M. Stallman
a7e9dc1d14 (command-line-1): Fix previous change. 1995-08-07 17:50:44 +00:00
Richard M. Stallman
fb3afe8779 (command-line-1): Mention recover-session if there's a .saves file. 1995-08-03 22:29:44 +00:00
Karl Heuer
6f9340dd3c (normal-top-level): Don't use mail-host-address
for auto-save-list-file-name.
1995-07-17 22:59:04 +00:00
Richard M. Stallman
d3cf8dc316 Update copyright year in message. 1995-06-28 10:41:05 +00:00
Richard M. Stallman
d3bea05f1f (command-line): Extract arg value properly for -u. 1995-06-27 10:05:39 +00:00
Richard M. Stallman
a18042d782 (precompute-menubar-bindings): While dumping,
garbage-collect after each menu.
1995-06-21 18:32:45 +00:00
Richard M. Stallman
365636dc53 (normal-top-level, command-line-1):
Call precompute-menubar-bindings only if using x.
(precompute-menubar-bindings): Don't check for x here.
Set define-key-rebound-commands to t.
1995-06-17 23:53:53 +00:00
Geoff Voelker
4048e56d20 (command-line): Handle nil command-line-args. 1995-05-26 20:11:39 +00:00
Richard M. Stallman
ab30fc8aec Comment change. 1995-04-30 23:37:26 +00:00
Richard M. Stallman
0b9d4cf065 (normal-top-level): Set auto-save-list-file-name. 1995-04-30 19:50:00 +00:00
Richard M. Stallman
aba66e2a44 (command-line-1): Implement -L/--directory option. 1995-04-30 07:45:45 +00:00
Richard M. Stallman
a360cae96e (command-line): Handle -iconic and -icon-type here. 1995-04-29 16:49:41 +00:00
Richard M. Stallman
8d4c2221cd (normal-top-level): Copy default-directory
from *scratch* to *Messages*.
1995-04-08 05:05:32 +00:00
Richard M. Stallman
13fce4e6ed (init-file-user, site-run-file): Doc fixes. 1995-03-22 04:50:15 +00:00
Richard M. Stallman
1908c56554 (command-line-1): Handle -f with kbd macro. 1995-01-17 02:33:49 +00:00
Richard M. Stallman
eca1cf26c3 (command-line-1): Pause between init file error
and command line option processing.
1995-01-03 07:05:41 +00:00
Richard M. Stallman
1ca92e2614 Fix typo in previous change. 1994-12-29 19:02:16 +00:00
Richard M. Stallman
e65a6404e5 (command-line-1): Split startup msg into two parts.
Add something about C-mouse-3 when on a window system.

(command-line-1): If help-command has no key binding,
say `M-x help', not `M-x help-command'.
1994-12-27 04:01:02 +00:00
Richard M. Stallman
3f53ddd000 (command-line-1): Handle long options --funcall, --load, --insert, --kill.
(command-line): Don't leave argval set if option not really a long one.
1994-11-19 20:42:26 +00:00
Richard M. Stallman
7d1aa45da3 (command-line): Use ~/_emacs as init file in windows-nt. 1994-11-01 05:49:25 +00:00
Richard M. Stallman
e87a730999 (normal-top-level-add-to-load-path): New function.
(normal-top-level): Load subdirs.el in each dir in load-path.
1994-10-11 08:22:38 +00:00
Richard M. Stallman
62bb544097 (command-line): Load disp-table explicitly. 1994-10-05 20:35:40 +00:00
Karl Heuer
a981e7fff1 (command-line): Fix bug in previous change. 1994-09-28 22:38:04 +00:00
Karl Heuer
096b7031fc (command-line): Recognize --longopt synonyms for all options handled here. 1994-09-28 22:15:38 +00:00
Richard M. Stallman
c13fbb6297 (mail-host-address): New variable.
(normal-top-level): Use mail-host-address to init user-mail-address.
1994-09-22 04:56:49 +00:00
Richard M. Stallman
1fe0333f4f (command-line): If initial X frame has a menu bar, mark menu-bar-mode as on. 1994-09-15 20:09:49 +00:00
Richard M. Stallman
2677ad61f5 (commmand-line): Fix previous change. 1994-09-15 03:07:47 +00:00
Richard M. Stallman
1ed14cfd6d (command-line): If we can't load x-win.el, terminate. 1994-09-15 02:35:45 +00:00
Richard M. Stallman
860befc8a2 (command-line-args-left): Add defvar. 1994-07-25 21:45:36 +00:00
Richard M. Stallman
30dc01ea24 (command-line): Check LC_ALL and LANG as well as LC_CTYPE.
(iso-8859-1-locale-regexp): Don't check for `iso'.
1994-07-05 18:35:37 +00:00
Richard M. Stallman
64f62b4508 (iso-8859-1-locale-regexp): New variable.
(command-line): Use it.
1994-07-04 23:24:46 +00:00
Richard M. Stallman
2c5adf7ee3 (command-line): Accept iso-8859-1 like iso_8859_1. 1994-07-03 20:53:42 +00:00
Richard M. Stallman
e9d8e8c77e (command-line): Automatically use iso-syntax and
standard-display-european if LC_CTYPE asks for it.
1994-07-03 19:06:03 +00:00
Richard M. Stallman
c10d1f062e (user-mail-address): New variable.
(normal-top-level): Initialize it.
1994-06-25 00:34:11 +00:00
Richard M. Stallman
e5575c067a (inhibit-startup-echo-area-message): Doc fix. 1994-06-14 00:21:40 +00:00
Richard M. Stallman
fd11871ac0 (command-line-1): Precompute menu bar before startup msg. 1994-05-23 07:47:27 +00:00
Richard M. Stallman
42a49b29f4 (precompute-menubar-bindings): Don't precompute menus if not using x. 1994-05-16 04:49:23 +00:00
Karl Heuer
6f2c86fa80 (precompute-menubar-bindings): New function, formerly in loadup.el.
(normal-top-level): Call it here, after loading user files.
(command-line-1): Or here, if displaying startup message.
1994-05-07 00:21:24 +00:00
Richard M. Stallman
09a1077ce2 (command-line-default-directory): New variable.
(command-line, command-line-1): Use and set it.
1994-04-22 18:28:22 +00:00
Karl Heuer
2bdfaa420c (init-file-user): Doc fix. 1994-04-20 06:13:43 +00:00
Karl Heuer
ad2aeb8d88 (command-line): If no error data, print "", not nil. 1994-04-16 03:43:09 +00:00
Richard M. Stallman
853ccbd574 (command-line): Call face-initialize before frame-initialize. 1994-04-14 09:31:42 +00:00
Richard M. Stallman
b4484ea80e Doc fixes. 1994-03-30 16:04:08 +00:00
Karl Heuer
54a003f758 (inhibit-startup-echo-area-message): Doc fix. 1994-03-01 04:54:43 +00:00
Richard M. Stallman
d9a71a8ffc (command-line-1): Improve previous change. 1994-02-12 20:14:29 +00:00
Richard M. Stallman
1d7da582b4 (inhibit-startup-echo-area-message): New variable.
(command-line-1): Undo prev change.
New test for whether to suppress echo area message.
Update copyright year in displayed message.
1994-02-12 20:01:43 +00:00
Richard M. Stallman
f9890ae633 (command-line-1): Improve echo area message wording.
Don't print it if C-h C-p has been redefined.
1994-01-07 11:29:42 +00:00
Richard M. Stallman
a4c5c70594 (command-line): Set user-init-file. 1994-01-06 04:28:36 +00:00
Richard M. Stallman
3d1b78f027 (command-line): In most cases, if init file sets
debug-on-error, leave it set that way.
1993-12-31 03:45:38 +00:00
Richard M. Stallman
52320897b4 (command-line): Set init-file-had-error to t or nil.
(command-line-1): Inhibit startup message if init-file-had-error.
1993-11-22 06:35:37 +00:00
Richard M. Stallman
e8997612fd (command-line-1): Display a message in the echo area. 1993-11-15 09:22:23 +00:00
Richard M. Stallman
6f034b1c22 (command-line-1): Display a message in the echo area. 1993-11-15 08:04:41 +00:00
Richard M. Stallman
8a988f456d (command-line): Setq inhibit-startup-message to nil. 1993-09-07 08:36:48 +00:00
Richard M. Stallman
b7444d3195 (site-run-file): New variable.
(command-line): Use it.  Support -no-site-file.
1993-08-13 06:01:05 +00:00
Richard M. Stallman
efd19407f2 (normal-top-level): Call font-menu-add-default. 1993-07-26 20:03:00 +00:00
Richard M. Stallman
00aa7e1cdf (normal-top-level): Call abbreviate-file-name again after calling command-line. 1993-07-20 05:46:10 +00:00
Richard M. Stallman
7e0795a493 (command-line-1): Pass arg to other-window. 1993-05-29 22:34:54 +00:00
Jim Blandy
fbce865419 * startup.el (command-line-1): Don't handle `-i'. We're
abandoning the `insert file' meaning in favor of the `use a
	bitmapped icon' meaning.
1993-05-25 13:22:21 +00:00
Jim Blandy
4e1b1e7288 * startup.el (normal-top-level, command-line, command-line-1):
Don't call the frame and face initialization functions unless
	they're bound.

	* frame.el (frame-notice-user-settings): Don't make
	frame-initial-frame unbound; just set it to nil.
	* startup.el (command-line-1): Call frame-notice-user-settings
	before displaying the startup message.
1993-05-18 22:39:51 +00:00
Richard M. Stallman
c722566c7c (command-line): Call frame-initialize explicitly.
Call face-initialize.
(normal-top-level): Call frame-notice-user-settings explicitly.
1993-05-13 03:14:39 +00:00
Richard M. Stallman
a055a1cd6e (command-line-1): Fix copyright year. 1993-03-11 07:02:13 +00:00
Jim Blandy
a4b3389645 * startup.el (normal-top-level): Don't worry about setting
default-directory to PWD if PWD is shorter.  And, if PWD isn't
	accurate, delete it.
1992-11-07 06:20:15 +00:00
Richard M. Stallman
a096560567 Doc fix. 1992-11-07 04:05:32 +00:00
Richard M. Stallman
54a0539a6b entered into RCS 1992-07-31 04:04:56 +00:00