1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00
Commit graph

4105 commits

Author SHA1 Message Date
Jim Blandy
718ca51e40 * keyboard.c (read_key_sequence): Accept both strings and vectors
as bindings in function-key-map.
    	* keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.

	* keymap.c (syms_of_keymap): Doc fix.
1993-07-18 06:25:40 +00:00
Jim Blandy
f5ea616372 * keyboard.c (read_key_sequence): Accept both strings and vectors
as bindings in function-key-map.
    	* keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.

	* keyboard.c (Fsuspend_emacs): Pass selected_frame as the first
	argument to change_frame_size, not 0.  This function may be called
	in an Emacs compiled with multi-frame support.
1993-07-18 06:25:09 +00:00
Jim Blandy
5256403ca5 * textprop.c (Ftext_property_any, Ftext_property_all): New
functions, from David Gillespie.
	* intervals.h (Ftext_property_any, Ftext_property_all): Declare them.
1993-07-18 06:24:48 +00:00
Jim Blandy
2bc7a79bdc * intervals.c (split_interval_left, split_interval_right): Change
OFFSET argument of these functions to be origin 0, not origin 1.
	This is what all the callers currently want.
	* intervals.c, textprop.c: All callers changed.

	* intervals.c (graft_intervals_into_buffer): Properly compute
	length of buffer.
1993-07-18 06:24:25 +00:00
Jim Blandy
c02e300467 * dispnew.c (direct_output_for_insert): By the time this function
is called, we have already inserted the character into the buffer;
	the proper buffer position to pass to compute_char_face is point
	- 1, not point.
1993-07-18 06:23:32 +00:00
Jim Blandy
331636c44e * Makefile.in (C_SWITCH_SYSTEM): New variable, set by top-level
Makefile.
	(xmakefile): Pass it to the C preprocessor.
1993-07-18 06:22:37 +00:00
Jim Blandy
800642d27d * term/x-win.el: Include (invocation-name) in the error messages
which might occur during startup.

	* term/x-win.el: Make the `-rn NAME' option specify a resource
	name, as documented, and not a resource database string.  Make
	`-name NAME' act like `-rn NAME' and also set the name of the
	initial frame.
	(command-switch-alist): Process the `-rn' and `-name' options
	using the x-handle-name-rn-switch function.
	(x-handle-name-rn-switch): New function, which sets the
	x-resource-name variable.
	(opening connection): Make sure x-resource-name is valid.  If it's
	not a string, set it to (invocation-name), with any periods or
	asterisks changed to hyphens.

	* term/x-win.el: Make the `-xrm STRING' option specify a resource
	database string.  `-rn' used to behave this way.
	(command-switch-alist): Process the `-xrm' switch using
	x-handle-xrm-switch.
	(x-handle-xrm-switch): Renamed from x-handle-rn-switch; this
	function does the right thing for `-xrm', not for `-rn'.

	* term/x-win.el: Recognize affirmative values for reverseVideo
	properly.  Include "on" in the list of recognized values.
1993-07-18 06:21:42 +00:00
Jim Blandy
ac75ef20d2 * shell.el (shell-process-pushd): Fix syntax error in
condition-case.

	* shell.el (shell-prompt-pattern): Don't match more than one line.
	Doc fix.
1993-07-18 06:20:47 +00:00
Jim Blandy
8c6677ed1f * hippie-exp.el: Renamed from hippie.el.
Changes from Anders Holst, to bring hippie-expand up to version 1.2:
	* hippie-exp.el (hippie-expand-max-buffers): New variable.
	(try-expand-line-all-buffers, try-expand-list-all-buffers,
	try-expand-dabbrev-all-buffers): Use it.
	(try-expand-list, try-expand-list-all-buffers): New functions.
	(he-string-beg, he-string-end, he-search-loc): These values are
	now markers, not integers.  Uses changed.
	(he-reset-string, he-substitute-string): Use a marker to preserve
	the old position of point.
	(try-expand-all-abbrevs): handle case the same way as the
        usual expand-abbrev (which is not a very good way, but for
        consistency...).
	(he-dabbrev-beg): Use `skip-syntax' instead of `skip-chars', to
        adjust its behavior to different modes.
	(hippie-expand): Don't messages which try function it is using,
        when the expansion itself is done in the minibuffer (it was very
        annoying to have the message obscuring the expansion).
	(try-complete-file-name, try-complete-file-name-partially,
	try-complete-lisp-symbol, try-complete-lisp-symbol-partially,
	try-expand-line, try-expand-line-all-buffers,
	try-expand-all-abbrevs, try-expand-dabbrev,
	try-expand-dabbrev-all-buffers): No unnecessary "resetting" of the
	epansion, when no expansion is done (caused the buffer to be
	marked as changed, although nothing was done, among other things).
	(he-reset-string): Undoing of last expansion at a later occasion, now
        undoes correctly (before, it garbled things up).
	(make-hippie-expand-function): now uses "(function ...)"
        instead of "'" (matters for compilation).
	(try-expand-line, try-expand-line-all-buffers,
	he-line-search-regexp): uses `comint-prompt-regexp' instead of
	`shell-prompt-pattern', to strip off prompt in process buffers.
1993-07-18 06:20:15 +00:00
Jim Blandy
42106ea549 * bytecomp.el (byte-compile-from-buffer): Bind float-output-format
to "%.20e", not "%20e"; the latter is always ignored, since it
	doesn't have a decimal point after the percent sign.
1993-07-18 06:18:45 +00:00
Jim Blandy
8a30241de3 * ange-ftp.el: Install the correct regexp in
file-name-handler-alist.
1993-07-18 06:18:03 +00:00
Jim Blandy
af40bbfa99 * wakeup.c: Use CPP tangle from autoconf manual to #include the
correct combination of <time.h> and <sys/time.h>.
1993-07-18 06:13:07 +00:00
Jim Blandy
52cc7c59b5 * etags.c (print_help): Break up the very long strings containing
the help message into shorter strings, to placate chintzy C
	compilers which can't handle strings that long.
1993-07-18 06:12:49 +00:00
Jim Blandy
6ec1f458d9 * configure.in (m68k-bull-sysv3): new config. 1993-07-18 06:11:06 +00:00
Jim Blandy
174be3e7d6 * Makefile.in (src/Makefile): Propagate C_SWITCH_SYSTEM to the src
directory's makefile.  This allows the invocation of CPP which
	builds xmakefile to receive these switches.  The SunSoft C
	preprocessor inserts spaces between tokens if it doesn't get the
	-Xs flag requested in src/s/sol2.h.
1993-07-18 06:10:46 +00:00
Richard M. Stallman
eb0d9f0861 Enable the hook only if window-system.
Clear blink-paren-function at the same time.
(show-paren-command-hook): If after a closeparen,
highlight that closeparen as well as matching open.
Use a different color for a mismatch, if color screen.
1993-07-18 04:47:10 +00:00
Richard M. Stallman
11872f7e1e (face-equal): Don't mess with face-background-pixmap. 1993-07-18 04:44:27 +00:00
Richard M. Stallman
fbee972730 Rewritten by Vromans to use text properties. 1993-07-17 19:15:19 +00:00
Richard M. Stallman
b5ae9ca5a9 (tar-extract): Use view-exit-action to kill viewed buf. 1993-07-17 19:10:13 +00:00
Richard M. Stallman
5c05f56971 Doc fixes; some args renamed. 1993-07-17 19:06:12 +00:00
Richard M. Stallman
056afaf788 (gnus-info-nodes): Update node names. 1993-07-17 18:56:09 +00:00
Richard M. Stallman
f66c5d9a9c entered into RCS 1993-07-17 17:43:14 +00:00
Richard M. Stallman
d78fc31546 (texinfo-mode): Undo changes mistakenly added with
previous batch: texinfo-{start,end}-of-header are now tex-...
1993-07-17 17:27:02 +00:00
Richard M. Stallman
9f9c0e277f (Vhelp_menu_bar_map): Deleted.
(menu_bar_items): Move elts for events in Vmenu_bar_final_items to end.
(syms_of_keyboard): Corresponding changes.
1993-07-17 02:10:03 +00:00
Richard M. Stallman
da183f87af (revert-buffer): Make menu-enable form more accurate
using revert-buffer-function and verify-visited-file-modtime.
(menu-bar-help-menu): Put back under global-map.
(menu-bar-final-items): Set it.
1993-07-17 01:43:00 +00:00
Richard M. Stallman
5fe77fd950 (mh-yank-hooks): Use (mark t).
(mh-new-draft-name): Likewise.
1993-07-17 00:18:04 +00:00
Roland McGrath
1de80a34eb (comint-{next,prev}-prompt, comint-send-eof): New functions.
(comint-mode-map): Bind C-c C-n, C-c C-p, and C-c C-d to those.
Bind C-c C-y to comint-previous-input, for compatibility with v18 shell.el.
1993-07-16 20:30:18 +00:00
Roland McGrath
de0748e009 (ad-start-advice-on-load): Initialize to t. 1993-07-16 19:53:38 +00:00
Roland McGrath
ee7bf2ad24 Initial revision 1993-07-16 19:50:55 +00:00
Doug Evans
51b3c82ff7 if [ "$os" ] --> if [ x"$os" != x"" ] 1993-07-16 18:24:47 +00:00
Richard M. Stallman
94ed51e86b (rmail-mail-new-frame): New variable.
(rmail-start-mail): New function.
(rmail-mail, rmail-continue, rmail-reply, rmail-forward)
(rmail-retry-failure): Use rmail-start-mail.
1993-07-16 04:19:04 +00:00
Richard M. Stallman
9320d42195 (mail-bury): If selected frame is dedicated,
and there are other visible frames, delete this frame.
1993-07-16 04:18:46 +00:00
Richard M. Stallman
dcc408a053 (read_char_menu_prompt): If the user rejects a menu,
return t.  This makes read_char also return t.
(read_key_sequence): If read_char returned t, return -1.
(Fread_key_sequence): If read_key_sequence returned -1, quit.
(command_loop_1): If read_key_sequence returned -1, loop around.
1993-07-15 06:56:17 +00:00
Richard M. Stallman
e3a39644f2 (ispell-menu-map): Add missing quote in defalias.
(ispell-window-configuration): Initialize to nil.
1993-07-15 06:55:39 +00:00
Richard M. Stallman
e4953cae72 (vc-rcs-status): Make work buffer's name start w/ space. 1993-07-15 05:49:21 +00:00
Richard M. Stallman
1394df4374 (completion-setup-function): Insert the mouse help message
only if non-nil `window-system'.
1993-07-15 05:47:31 +00:00
Richard M. Stallman
cfc736bf9a (Fdisplay_completion_list): Run completion-setup-hook. 1993-07-15 05:46:02 +00:00
Richard M. Stallman
ddf70bd8dd (help-menu-bar-map): Put the Help item in this map. 1993-07-15 05:40:01 +00:00
Richard M. Stallman
553defa404 (Fbuffer_local_variables): For local var that is unbound,
put just the symbol in the result, not a cons of (symbol . value).
1993-07-15 05:36:59 +00:00
Richard M. Stallman
fc53efda7f (dired-mode-map): Add menu bar items. 1993-07-15 05:32:25 +00:00
Jim Blandy
6476a5fa36 * assoc.el (asort): First argument should be named alist-symbol,
not assoc-symbol.
1993-07-15 05:08:23 +00:00
Jim Blandy
ae450a9555 * keyboard.c (menu_bar_one_keymap): If the key's binding is the
symbol `undefined', don't try to take that symbol's cdr before
passing it to menu_bar_item; pass the `undefined' binding itself,
so menu_bar_item can remove bindings for the same key from result.
1993-07-15 04:58:59 +00:00
Richard M. Stallman
991298c3fc (server-done): Let save-buffer make the backup,
so that make-backup-files remains effective.
1993-07-15 04:01:14 +00:00
Roland McGrath
a9a5a9fa77 (isearch-edit-string): Bind isearch-nonincremental to its own value, not to
nil.
1993-07-15 03:46:02 +00:00
Richard M. Stallman
2e894dab2b (Qdisabled_command_hook): New variable.
(Vdisabled_command_hook): Deleted.
(syms_of_keyboard): Corresponding changes.
(Fcommand_execute): Use Qdisabled_command_hook.
1993-07-15 03:09:56 +00:00
Roland McGrath
2e4301efa5 (compilation-parse-errors): After skipping two lines, move one char back so
point before the newline.
1993-07-15 03:08:17 +00:00
Roland McGrath
a223b10d5e (gud-debugger-startup): Replaced with gud-massage-args.
(gud-{gdb,sdb,xdb}-debugger-startup): Replaced with gud-*-massage-args.
(gdb, sdb, xdb): Argument is command line, not args for it.  Remove
debugger name from prompt and put it in the default input instead.
Overload gud-massage-args instead of gud-debugger-startup.
(gud-chop-words): New function; subr for gud-common-init.
(gud-common-init): Argument is command line, not args for it.
Rewritten to use gud-chop-words instead of temp buffer and kludge involving
read.  Find the program name as the first word of the command line.
Use make-comint and gud-massage-args in place of gud-debugger-startup.
Expand the file name before passing it to gud-massage-args.
1993-07-15 01:55:13 +00:00
Roland McGrath
215aa4f9c9 (snarf-spooks): Restore function. 1993-07-14 23:38:00 +00:00
Roland McGrath
4054367c9e (cookie-cache): New defvar.
(cookie-snarf): Cache cookies in `cookie-cache', not in obarray (idiot).
Also store the modtime and punt the cache when it changes.
1993-07-14 23:36:04 +00:00
Roland McGrath
1265394fdd (generate-file-autoloads): Fix FILE truename hacking to substring
SOURCE-TRUENAME instead of FILE.
1993-07-14 20:56:19 +00:00