Richard M. Stallman [Thu, 2 Mar 1995 08:33:01 +0000 (08:33 +0000)]
(gud-common-init): Put substed file name back in original
sequence in the args. Pass ARGS to massage-file even if no file name.
(gud-gdb-massage-args, gud-sdb-massage-args, gud-dbx-massage-args)
(gud-mipsdbx-massage-args, gud-xdb-massage-args)
(gud-perldb-massage-args): Don't add FILE onto the args.
Boris Goldowsky [Wed, 1 Mar 1995 15:29:37 +0000 (15:29 +0000)]
(use_hard_newlines): Variable definition moved to paragraphs.el.
(newline): Function moved to simple.el.
(internal_self_insert): Insert newline BEFORE calling
auto-fill-function, so centering & right-justify can work.
Boris Goldowsky [Wed, 1 Mar 1995 15:21:11 +0000 (15:21 +0000)]
(paragraph-start, paragraph-separate): Default values no longer start
with ^. Doc fix.
(use-hard-newlines): Moved here from cmds.c. Made buffer-local. Doc fix.
(looking-at-hard): Deleted, not needed.
(forward-paragraph): Removes ^ from beginning of regexps, if
required. Look for paragraph-start and paragraph-separate at
left-margin, not BOL. Lines with just left-margin indentation are
treated like blank lines.
Karl Heuer [Wed, 1 Mar 1995 04:27:37 +0000 (04:27 +0000)]
(cmd_error): Use clear_prefix_arg.
(internal_last_event_frame, Vlast_event_frame): Normal vars again.
All uses changed.
(Quniversal_argument, Qdigit_argument, Qnegative_argument): Declare.
(clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): New fns.
(command_loop_1): Handle digits and minus specially, when they're
part of a prefix arg.
Handle universal-argument and digit-argument and negative-argument
bindings here, rather than doing I/O in the Lisp code.
(read_char): When reading switch-frame events from the side queue,
set internal_last_event_frame.
(readable_events): Return non-zero if a side queue has data.
(kbd_buffer_get_event): Don't abort if event has no associated frame.
(read_key_sequence): Improve behavior when there's no current display.
(init_perdisplay): Initialize the new members.
Karl Heuer [Wed, 1 Mar 1995 03:45:45 +0000 (03:45 +0000)]
(struct PERDISPLAY): Add prefix_factor, prefix_value, prefix_sign,
prefix_partial. Delete Vcurrent_prefix_arg and Vprefix_arg; those are now
plain vars again.
Karl Heuer [Wed, 1 Mar 1995 03:42:18 +0000 (03:42 +0000)]
(shell-command-on-region): Fix typos in doc string.
(universal-argument, describe-arg): Deleted; this is now in C code.
(prefix-arg-internal, digit-argument, negative-argument): Likewise.
Jim Meyering [Tue, 28 Feb 1995 13:46:40 +0000 (13:46 +0000)]
(SET_REGS_MATCHED): Enclose if-stmt in `do {...} while(0)'
instead of using trailing `else' -- otherwise, gcc -Wall complains
of `empty body in an else-statement'.
Richard M. Stallman [Sun, 26 Feb 1995 22:31:45 +0000 (22:31 +0000)]
(convert_event_type_list): New function.
(lucid_event_type_list_p): New function.
(parse_modifiers_uncached): If MODIFIERS_END is -1,
look for just a modifier. Guts rewritten.
Richard M. Stallman [Sun, 26 Feb 1995 22:06:49 +0000 (22:06 +0000)]
(tar-header-block-tokenize): Parse 32-bit modtime
current-time compatible a list of 16-bit ints (HIGH LOW).
(tar-parse-octal-integer): Write char-const '0' as
?0 instead of more obscure 48.
(tar-parse-octal-long-integer): New function.
(tar-clip-time-string): New function.
(tar-header-block-summarize, tar-header-block-summarize):
Insert mod-time into listing.
(tar-next-line): Move goal column to new location of filenames.
(tar-mode-show-date): New variable.
(tar-header-block-summarize, tar-next-line): Obey it.
Roland McGrath [Sun, 26 Feb 1995 21:37:30 +0000 (21:37 +0000)]
(compilation-buffer-p): Check for compilation-minor-mode or
compilation-mode major mode, rather than internal state variables. Don't
want to match a buffer that was once in compilation-minor-mode but is not now.
Richard M. Stallman [Fri, 24 Feb 1995 09:12:56 +0000 (09:12 +0000)]
(msb): Select the window that the mouse is in before
showing the menu. This makes the "Most recently used" menu more accurate.
(menu-bar-update-buffers): The frame list is now an integrated
part of the buffer menu.
(msb--few-menus, msb--very-many-menus): Added rmail-edit-mode.
Karl Heuer [Fri, 24 Feb 1995 02:41:55 +0000 (02:41 +0000)]
(display_locked): New var to indicate when we're in the run state.
current_perdisplay is now meaningful in the wait state as well.
(cmd_error): Clear display_locked in addition to current_perdisplay.
(command_loop_1): outer_perdisplay renamed from global_perdisplay.
Restore display_locked as well as current_perdisplay.
(read_char): read_char_perdisplay merged with current_perdisplay.
(read_key_sequence): Likewise.
Boris Goldowsky [Thu, 23 Feb 1995 18:38:42 +0000 (18:38 +0000)]
(open-line): indent when inserting fil-prefix.
(do-auto-fill): Use unjustify-current-line when necessary.
(indent-new-comment-line): Indent before fill-prefix.
Boris Goldowsky [Thu, 23 Feb 1995 18:34:22 +0000 (18:34 +0000)]
(current-left-margin): careful of EOB.
(move-to-left-margin): Never move past left-margin, even in funny
justify modes.
(set-left-margin): include following whitespace.
(set-left-margin, increase-left-margin): indent rigidly.
(increase-left-margin): allow negative left-margins
(increase-right-margin): allow negative right-margin
(beginning-of-line-text): new fn.
Boris Goldowsky [Thu, 23 Feb 1995 18:22:04 +0000 (18:22 +0000)]
(set-fill-prefix): start from left-margin.
(fill-region-as-paragraph): don't delete hard newlines. ignore whitespace
at beginning of region. Remove justification indentation.
(fill-region): Don't use paragraph-movement commands when use-hard-newlines
is true, just search for hard newlines.
(current-justification): take care at EOB.
(set-justification): new argWHOLE-PAR. Callers changed.
(justify-current-line): Error if JUSTIFY arg is not reasonable.
Better interaction if there is a fill-prefix.
"Line too long" warning removed.
(unjustify-current-line, unjustify-region): New functions.
Richard M. Stallman [Thu, 23 Feb 1995 04:54:59 +0000 (04:54 +0000)]
(Fcall_interactively): Use markers temporarily in
args vector to stand for point and mark values; replace them
with integers just before calling the command.
Francesco Potortì [Wed, 22 Feb 1995 15:06:49 +0000 (15:06 +0000)]
* etags.c (C_entries): token_saved removed. Initialise tok.valid and
savetok.valid. Mark token as valid when it is initialised.
(make_tag): Make token only if token is valid and reset validity.
(CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
(TOKEN): Added a new member: valid.
Karl Heuer [Wed, 22 Feb 1995 07:26:40 +0000 (07:26 +0000)]
(kbd_buffer_frame_or_window): Restored old var.
(kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Likewise.
(read_char_perdisplay): New var.
(read_char): Search all appropriate perdisplay objects, and do the right thing
if the next event comes from a different source.
(read_key_sequence): If there's a change of display in mid-stream, retreat and
try reading the new display.
(find_active_event_queue): Function deleted. All callers changed to just test
the main kbd_buffer instead.
(kbd_buffer_store_event): Write to the main kbd_buffer again.
(kbd_buffer_get_event): Read from the main kbd_buffer again.
Now returns a perdisplay pointer in addition to a lispy event.
(Fdiscard_input, swallow_events): Use the main kbd_buffer again.
(stuff_buffered_input): Likewise.
(init_perdisplay): Initialize member kbd_queue.
Remove references to obsolete members.
(wipe_perdisplay): Remove obsolete reference.
(init_keyboard, syms_of_keyboard): Restore initialization of vars.
Karl Heuer [Wed, 22 Feb 1995 03:06:08 +0000 (03:06 +0000)]
(struct PERDISPLAY): New member kbd_queue.
Delete obsolescent members kbd_buffer_frame_or_window, kbd_buffer,
kbd_fetch_ptr, kbd_store_ptr; these are regular vars again.
Simon Marshall [Tue, 21 Feb 1995 13:07:23 +0000 (13:07 +0000)]
Change all `cd's to `shell-cd's, where `shell-cd' changes the value of
list-buffers-directory so that a buffer list contains the cwd in the `file'
field.