]> code.delx.au - gnu-emacs/log
gnu-emacs
31 years ago(open-line): Shield undo from the hack to insert at pt-1.
Richard M. Stallman [Sat, 3 Oct 1992 02:21:51 +0000 (02:21 +0000)]
(open-line): Shield undo from the hack to insert at pt-1.

31 years ago(Fprimitive_undo): When undoing an insert, move point and then delete.
Richard M. Stallman [Sat, 3 Oct 1992 02:12:40 +0000 (02:12 +0000)]
(Fprimitive_undo): When undoing an insert, move point and then delete.

31 years agoDoc fix.
Jim Blandy [Sat, 3 Oct 1992 01:09:59 +0000 (01:09 +0000)]
Doc fix.

31 years agoFixed typos.
Joseph Arceneaux [Sat, 3 Oct 1992 00:08:23 +0000 (00:08 +0000)]
Fixed typos.

31 years ago* minibuf.c (read_minibuf): Don't bother to save the current
Jim Blandy [Sat, 3 Oct 1992 00:06:36 +0000 (00:06 +0000)]
* minibuf.c (read_minibuf): Don't bother to save the current
frame's focus, and have read_minibuf_unwind restore it; saving and
restoring the window configurations will take care of that.
(read_minibuf_unwind): Don't worry about restoring the frame's focus.

31 years ago* intervals.c: `copy_intervals()' no longer static.
Joseph Arceneaux [Sat, 3 Oct 1992 00:05:48 +0000 (00:05 +0000)]
* intervals.c: `copy_intervals()' no longer static.

31 years ago* keymap.c (access_keymap, store_in_keymap,
Jim Blandy [Sat, 3 Oct 1992 00:05:39 +0000 (00:05 +0000)]
* keymap.c (access_keymap, store_in_keymap,
Fsingle_key_description): No need to check for
EVENT_HAS_PARAMETERS before using EVENT_HEAD; the latter now
works properly on all sorts of events.

31 years ago* intervals.h: Declare `copy_intervals()'.
Joseph Arceneaux [Sat, 3 Oct 1992 00:04:59 +0000 (00:04 +0000)]
* intervals.h: Declare `copy_intervals()'.

31 years agoDoc fixes.
Jim Blandy [Sat, 3 Oct 1992 00:04:45 +0000 (00:04 +0000)]
Doc fixes.

31 years ago* termhooks.h (struct input_event): Doc fix.
Jim Blandy [Sat, 3 Oct 1992 00:01:09 +0000 (00:01 +0000)]
* termhooks.h (struct input_event): Doc fix.
(NUM_MOUSE_BUTTONS): New constant.
(click_modifier): New modifier.
(NUM_MODIFIER_COMBOS): Removed.

31 years ago* keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events
Jim Blandy [Fri, 2 Oct 1992 23:56:44 +0000 (23:56 +0000)]
* keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events
are not 5 elements long.
(EVENT_HEAD): Work correctly on all sorts of events, not just
events with parameters.
(EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON,
EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful
anymore; this information may appear twice in an event.  These
are replaced by the POSN_ accessors, which are meant to be
composed with the EVENT_START and EVENT_END accessors.
(EVENT_START, EVENT_END): Two new accessors, to get at the
starting and ending position of an event.
(POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON,
POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher
diasassemble the values returned by EVENT_START and EVENT_END.

* keyboard.h (Qevent_unmodified): Extern declaration replaced by...
(Qevent_symbol_elements): This.
(EVENT_HEAD_UNMODIFIED): Use the Qevent_symbol_elements
property, rather than the Qevent_unmodified property.

31 years ago* keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first
Jim Blandy [Fri, 2 Oct 1992 23:55:39 +0000 (23:55 +0000)]
* keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first
testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on
all sorts of events now.
(read_key_sequence): Use the new accessors to decide in which window
an event occurred.

* keyboard.c (Qevent_unmodified): Replaced by...
(Qevent_symbol_elements): New property.
(syms_of_keyboard): initialize and staticpro the latter, not the
former.

* keyboard.c (readable_events): This doesn't need to scan and
discard mouse release events anymore; it just uses
EVENT_QUEUES_EMPTY.
(kbd_buffer_get_event): No need to skip past mouse release events.

* keyboard.c (button_down_location): New variable, which
stores the location at which each button was pressed, so we
can build a complete drag event when the button is released.
(make_lispy_event): When a button is pressed, record its
location in button_down_location, and turn it into a `down'
event.  When a button is released, compare its release
location with its press location, and decide whether to call
it a `click' or `drag' event.
Change mouse movement events to be arranged like click events.
(format_modifiers): Note that the click modifier has no
written representation.
(modifier_names, modifer_symbols): New variables, used to
create the Qevent_symbol_elements property.
(modify_event_symbol): Change the format of the modified
symbol cache; there are too many modifier bits now to use a
vector indexed by a modifier mask.  Use an assoc-list instead.
Document the format of the cache.
Put the Qevent_symbol_elements property on each new symbol,
instead of a Qevent_unmodified property.
(symbols_of_keyboard): Put Qevent_symbol_elements properties on
the symbols specified in head_table, not Qevent_unmodifed properties.
Initialize and staticpro modifier_symbols, and staticpro the
window elements of button_down_location.

31 years ago(Info-follow-nearest-node): Handle line breaks after *note.
Richard M. Stallman [Fri, 2 Oct 1992 23:52:26 +0000 (23:52 +0000)]
(Info-follow-nearest-node): Handle line breaks after *note.
Fix interactive spec.  Doc fix.  Put on mouse-3.

31 years ago* buffer.c: #include intervals.h.
Joseph Arceneaux [Fri, 2 Oct 1992 23:43:16 +0000 (23:43 +0000)]
* buffer.c: #include intervals.h.

31 years agoFixed typos.
Joseph Arceneaux [Fri, 2 Oct 1992 22:33:18 +0000 (22:33 +0000)]
Fixed typos.

31 years ago* lisp.h: Declare Qbuffer_or_string_p.
Joseph Arceneaux [Fri, 2 Oct 1992 22:32:00 +0000 (22:32 +0000)]
* lisp.h: Declare Qbuffer_or_string_p.

31 years agoFixed typeos.
Joseph Arceneaux [Fri, 2 Oct 1992 22:30:42 +0000 (22:30 +0000)]
Fixed typeos.

31 years ago* xmenu.c: #include "keyboard.h".
Jim Blandy [Fri, 2 Oct 1992 22:18:46 +0000 (22:18 +0000)]
* xmenu.c: #include "keyboard.h".
(Fx_popup_menu): Use the event accessors defined in keyboard.h,
instead of writing out cars and cdrs.

31 years ago* intervals.c: Removed #include of "screen.h".
Joseph Arceneaux [Fri, 2 Oct 1992 20:13:46 +0000 (20:13 +0000)]
* intervals.c: Removed #include of "screen.h".

31 years ago* textprop.c: Conditionalize all functions on
Joseph Arceneaux [Fri, 2 Oct 1992 20:05:45 +0000 (20:05 +0000)]
* textprop.c: Conditionalize all functions on
"USE_TEXT_PROPERTIES".

31 years ago* intervals.c: Conditionalize all functions on
Joseph Arceneaux [Fri, 2 Oct 1992 20:02:51 +0000 (20:02 +0000)]
* intervals.c: Conditionalize all functions on
"USE_TEXT_PROPERTIES".

31 years ago* alloc.c: #include "intervals.h".
Joseph Arceneaux [Fri, 2 Oct 1992 19:59:42 +0000 (19:59 +0000)]
* alloc.c: #include "intervals.h".
(init_intervals, make_interval,
mark_interval, mark_interval_tree): New functions conditionally
defined.
(make_uninit_string): Call INITIALIZE_INTERVAL.
(INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE):
New macros, conditionally defined.
(mark_object): Call MARK_INTERVAL_TREE in case Lisp_String.
(gc_sweep): If text properties are in use, place all unmarked
intervals on the free list.  Call UNMARK_BALANCE_INTERVALS on
`buffer->intervals' when unmarking `buffer'.
(compact_strings): Include INTERVAL_PTR_SIZE in calculation for
target of bcopy when relocating strings.
(init_alloc_once): Call INIT_INTERVALS.
(make_pure_string): Include INTERVAL_PTR_SIZE in calculation of
`size'.

31 years ago* fileio.c (Finsert_file_contents): Call offset_intervals() if
Joseph Arceneaux [Fri, 2 Oct 1992 18:59:40 +0000 (18:59 +0000)]
* fileio.c (Finsert_file_contents): Call offset_intervals() if
text was actually inserted.
#include "intervals.h".

31 years ago(nuke-nroff-bs): Delete just 9 lines above header.
Richard M. Stallman [Fri, 2 Oct 1992 04:06:18 +0000 (04:06 +0000)]
(nuke-nroff-bs): Delete just 9 lines above header.

31 years ago*** empty log message ***
Jim Blandy [Fri, 2 Oct 1992 02:26:36 +0000 (02:26 +0000)]
*** empty log message ***

31 years ago(nuke-nroff-bs): Was nuking one line too many after header.
Richard M. Stallman [Fri, 2 Oct 1992 00:32:14 +0000 (00:32 +0000)]
(nuke-nroff-bs): Was nuking one line too many after header.

31 years ago(mark_object): Avoid car recursion on cons with nil in cdr.
Richard M. Stallman [Thu, 1 Oct 1992 23:07:09 +0000 (23:07 +0000)]
(mark_object): Avoid car recursion on cons with nil in cdr.
Avoid recursion on constants-vector of a compiled function.

31 years ago(compilation-parse-errors): Save (match-beginning 0) in a variable, so the
Roland McGrath [Thu, 1 Oct 1992 02:00:41 +0000 (02:00 +0000)]
(compilation-parse-errors): Save (match-beginning 0) in a variable, so the
looking-at call doesn't clobber its value when we want to use it to back up
before the error we discard.
Make sure compilation-error-list is at least two elts long before checking
its first two elts for being in the same file.

31 years agoQbuffer_or_string_p added.
Joseph Arceneaux [Thu, 1 Oct 1992 01:58:57 +0000 (01:58 +0000)]
Qbuffer_or_string_p added.

31 years ago(describe_syntax): Use insert_char to insert `match'.
Joseph Arceneaux [Thu, 1 Oct 1992 01:52:09 +0000 (01:52 +0000)]
(describe_syntax): Use insert_char to insert `match'.

31 years ago* buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's
Joseph Arceneaux [Thu, 1 Oct 1992 01:22:22 +0000 (01:22 +0000)]
* buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's
interval component.
(Fkill_buffer): Likewise.

31 years ago* lisp.h: Conditionally define interval structure and macros.
Joseph Arceneaux [Thu, 1 Oct 1992 01:00:41 +0000 (01:00 +0000)]
* lisp.h: Conditionally define interval structure and macros.
Add DECLARE_INTERVALS to struct Lisp_String.

31 years ago* insdel.c: #include "intervals.h"
Joseph Arceneaux [Thu, 1 Oct 1992 00:56:11 +0000 (00:56 +0000)]
* insdel.c: #include "intervals.h"
(prepare_to_modify_buffer): Call verify_interval_modification().
(insert_from_string): Call offset_intervals() and
graft_intervals_into_buffer().
(del_range): Call offset_intervals().
(insert): Call offset_intervals().

31 years agoVarious comment changes.
Joseph Arceneaux [Thu, 1 Oct 1992 00:56:11 +0000 (00:56 +0000)]
Various comment changes.

31 years ago* intervals.h: Declare temp_set_point.
Joseph Arceneaux [Thu, 1 Oct 1992 00:56:11 +0000 (00:56 +0000)]
* intervals.h: Declare temp_set_point.

31 years ago* buffer.h: New macro TEMP_SET_PT. If intervals are used, SET_PT
Joseph Arceneaux [Thu, 1 Oct 1992 00:56:11 +0000 (00:56 +0000)]
* buffer.h: New macro TEMP_SET_PT.  If intervals are used, SET_PT
and TEMP_SET_PT are function calls.
Similarly for BUF_SET_PT and BUF_TEMP_SET_PT.
Added DECLARE_INTERVALS to buffer structure to conditionally
compile an interval tree into it..

31 years ago* editfns.c (make_buffer_string): Call copy_intervals_to_string().
Joseph Arceneaux [Thu, 1 Oct 1992 00:56:11 +0000 (00:56 +0000)]
* editfns.c (make_buffer_string): Call copy_intervals_to_string().
(Finsert_buffer_substring): Call graft_intervals_into_buffer().
#include "intervals.h".

31 years ago*** empty log message ***
Joseph Arceneaux [Thu, 1 Oct 1992 00:56:11 +0000 (00:56 +0000)]
*** empty log message ***

31 years agoMinor optimizations of Fset_text_properties and Ferase_text_properties.
Joseph Arceneaux [Thu, 1 Oct 1992 00:56:11 +0000 (00:56 +0000)]
Minor optimizations of Fset_text_properties and Ferase_text_properties.

31 years agoentered into RCS
Jim Blandy [Wed, 30 Sep 1992 21:44:26 +0000 (21:44 +0000)]
entered into RCS

31 years ago* buffer.c (Fother_buffer): Add back the VISIBLE_OK argument. It
Jim Blandy [Wed, 30 Sep 1992 18:16:11 +0000 (18:16 +0000)]
* buffer.c (Fother_buffer): Add back the VISIBLE_OK argument.  It
got removed with no comment or ChangeLog entry, and
append-to-buffer uses it.

31 years ago* window.c (Fset_window_configuration): Don't select the frame
Jim Blandy [Wed, 30 Sep 1992 14:28:46 +0000 (14:28 +0000)]
* window.c (Fset_window_configuration): Don't select the frame
just because we restored its configuration.

* window.c (Fset_window_configuration): Don't forget to set the
frame's selected window when we can't call Fselect_window.

31 years ago* xterm.c (x_meta_mod_mask): New variable, indicating which X
Jim Blandy [Wed, 30 Sep 1992 11:57:51 +0000 (11:57 +0000)]
* xterm.c (x_meta_mod_mask): New variable, indicating which X
modifier bits denote meta keys.
(x_find_modifier_meanings): New function, to set x_meta_mod_mask.
(x_convert_modifiers): Use that.
(x_term_init): Call x_find_modifier_meanings.

* xterm.c (XTread_socket): Pass PropertyNotify events from the
root window to x_invalidate_cut_buffer_cache.
(x_term_init): Call x_watch_cut_buffer_cache here.

31 years ago* data.c (Fmake_local_variable): If SYM forwards to a C variable,
Jim Blandy [Wed, 30 Sep 1992 11:35:45 +0000 (11:35 +0000)]
* data.c (Fmake_local_variable): If SYM forwards to a C variable,
swap in the value for the current buffer immediately.

31 years ago* lisp.h: Doc elaboration for Lisp_Buffer_Local_Value.
Jim Blandy [Wed, 30 Sep 1992 11:29:49 +0000 (11:29 +0000)]
* lisp.h: Doc elaboration for Lisp_Buffer_Local_Value.

31 years ago(kill-word): Don't change point before calling kill-region.
Richard M. Stallman [Wed, 30 Sep 1992 10:31:31 +0000 (10:31 +0000)]
(kill-word): Don't change point before calling kill-region.
(delete-indentation): Don't go beyond eob, comparing with fill-prefix.

31 years ago* gud.el (gud-last-frame): Added defvar for this.
Jim Blandy [Wed, 30 Sep 1992 08:36:57 +0000 (08:36 +0000)]
* gud.el (gud-last-frame): Added defvar for this.

31 years ago* gud.el (gud-filter-insert): Previous changes misunderstood
Jim Blandy [Wed, 30 Sep 1992 08:29:25 +0000 (08:29 +0000)]
* gud.el (gud-filter-insert): Previous changes misunderstood
the arrangement of unwind-protect and the save-excursion;
restored that structure.

31 years ago(compilation-parse-errors): After we get enough errors to stop early, toss
Roland McGrath [Wed, 30 Sep 1992 01:45:47 +0000 (01:45 +0000)]
(compilation-parse-errors): After we get enough errors to stop early, toss
the last one (which is for a different file), so we don't lose
the same way on the next run.

31 years agoMods to Ferase_text_properties
Joseph Arceneaux [Wed, 30 Sep 1992 01:11:20 +0000 (01:11 +0000)]
Mods to Ferase_text_properties

31 years ago(compilation-parse-errors): When we reach FIND-AT-LEAST errors, keep going
Roland McGrath [Tue, 29 Sep 1992 23:59:26 +0000 (23:59 +0000)]
(compilation-parse-errors): When we reach FIND-AT-LEAST errors, keep going
until we have seen all the consecutive errors in the same file.

31 years ago(os handling): Recognize `linux' as a valid os.
Roland McGrath [Tue, 29 Sep 1992 22:19:48 +0000 (22:19 +0000)]
(os handling): Recognize `linux' as a valid os.

31 years ago(mail-send-and-exit): Do other-buffer before bury-buffer.
Richard M. Stallman [Tue, 29 Sep 1992 20:39:55 +0000 (20:39 +0000)]
(mail-send-and-exit): Do other-buffer before bury-buffer.

31 years ago* xselect.c (Qcut_buffer0): Symbol removed; we're using a new
Jim Blandy [Tue, 29 Sep 1992 18:30:35 +0000 (18:30 +0000)]
* xselect.c (Qcut_buffer0): Symbol removed; we're using a new
interface to the cut buffer now.
(NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value,
cut_buffer_cached, cut_buffer_just_set): New variables.
(Fx_own_selection, Fx_selection_value): Dike out the code to
handle CUT_BUFFER0 requests.
(Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache,
x_invalidate_cut_buffer_cache): New functions.
(syms_of_xselect): Don't bother to initialize Qcut_buffer0.
Initialize and staticpro cut_buffer_value, and defsubr
Sx_get_cut_buffer and Sx_set_cut_buffer.
* xterm.c (XTread_socket): Pass PropertyNotify events from the
root window to x_invalidate_cut_buffer_cache.
(x_term_init): Call x_watch_cut_buffer_cache here.

31 years ago(mail-unsent-separator): Add another alternative.
Richard M. Stallman [Tue, 29 Sep 1992 18:15:12 +0000 (18:15 +0000)]
(mail-unsent-separator): Add another alternative.

31 years ago*** empty log message ***
Jim Blandy [Tue, 29 Sep 1992 17:43:45 +0000 (17:43 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Jim Blandy [Tue, 29 Sep 1992 17:27:47 +0000 (17:27 +0000)]
*** empty log message ***

31 years ago* keymap.c (access_keymap): Don't forget to QUIT while scanning
Jim Blandy [Tue, 29 Sep 1992 16:01:03 +0000 (16:01 +0000)]
* keymap.c (access_keymap): Don't forget to QUIT while scanning
the keymap.

31 years ago* data.c (swap_in_symval_forwarding): Formatting tweaked.
Jim Blandy [Tue, 29 Sep 1992 15:06:46 +0000 (15:06 +0000)]
* data.c (swap_in_symval_forwarding): Formatting tweaked.

31 years ago* keyboard.c: Initialize recent_keys in syms_of_keyboard, not
Jim Blandy [Tue, 29 Sep 1992 14:29:22 +0000 (14:29 +0000)]
* keyboard.c: Initialize recent_keys in syms_of_keyboard, not
init_keyboard; the latter is run after dumping, so you can't
add more staticpros.

31 years ago* keyboard.c (recent_keys): Turn this from an array, which is a
Jim Blandy [Tue, 29 Sep 1992 13:44:55 +0000 (13:44 +0000)]
* keyboard.c (recent_keys): Turn this from an array, which is a
pain in the neck to staticpro, into a vector, which is easier.
(read_char, Frecent_keys): Access recent_keys as a lisp vector,
not a C array.
(init_keyboard): Set recent_keys to be a vector, and staticpro
it.

31 years ago* frame.c (Fdelete_frame): Call Fselect_frame with the appropriate
Jim Blandy [Tue, 29 Sep 1992 13:25:14 +0000 (13:25 +0000)]
* frame.c (Fdelete_frame): Call Fselect_frame with the appropriate
number of arguments.

31 years ago*** empty log message ***
Jim Blandy [Tue, 29 Sep 1992 12:31:16 +0000 (12:31 +0000)]
*** empty log message ***

31 years ago* xterm.h (ROOT_WINDOW): Use the DefaultScreen macro, not the
Jim Blandy [Tue, 29 Sep 1992 11:32:13 +0000 (11:32 +0000)]
* xterm.h (ROOT_WINDOW): Use the DefaultScreen macro, not the
XDefaultScreen function.

31 years ago*** empty log message ***
Jim Blandy [Tue, 29 Sep 1992 10:03:50 +0000 (10:03 +0000)]
*** empty log message ***

31 years ago* gud.el: When we send a command to the debugger via gud-call,
Jim Blandy [Tue, 29 Sep 1992 09:57:12 +0000 (09:57 +0000)]
* gud.el: When we send a command to the debugger via gud-call,
it's annoying to see the command and the new prompt in the
debugger interaction buffer; nuke the command and the old prompt.
(gud-delete-prompt-marker): New variable, with extensive documentation.
(gud-mode): Make gud-delete-prompt-marker buffer-local, and
initialize it.
(gud-filter-insert): If gud-delete-prompt-marker is set, delete
the prompt, and clear gud-delete-prompt-marker.
(gud-call): Arrange for the last prompt printed to get deleted, by
setting gud-delete-prompt-char.

31 years ago* gud.el (gud-def): Doc fix.
Jim Blandy [Tue, 29 Sep 1992 07:45:05 +0000 (07:45 +0000)]
* gud.el (gud-def): Doc fix.
(gud-gdb-marker-filter, gud-sdb-marker-filter,
gud-dbx-marker-filter): Rename the argument `s' or `str' to
`string', and change all uses; these definitions were referring to
`string', which is unbound in the lexical context, but which
happens to end up being bound to the right thing by the caller,
gud-filter.
(sdb): Set comint-prompt-regexp, not comint-prompt-pattern; the
latter doesn't exist.
(gud-dbx-debugger-setup): Use the argument `f', not the variable
`file', which happens to be bound in the caller.
(gud-filter-insert): The variable `start' is never used.  The
variable `moving' is unnecessary.  The variable `old-buffer' and
the unwind-protect form are unneeded, since save-excursion can do
their work.  The binding of output-after-point should be done after
switching to the process's buffer, not in whatever random buffer
happens to be current when the process filter is called.  There's
no need to set the process mark if we've just inserted at its
location using insert-before-markers.
(gud-read-address): Don't bother setting the variable `result'; it
is never used.

* gud.el (gud-mode-map): Bind gud-refresh to C-c C-l, not C-c l;
the latter is reserved for the user's purposes.

* gud.el (gdb, sdb, dbx): Use C-c C-r ("resume") for continuing,
instead of C-c C-c.  C-c C-c should be comint-interrupt-subjob;
it's important to have that available, and the C-c C-c binding is
consistent with all the other comint-derived modes.

31 years ago* editfns.c (save_excursion_save, save_excursion_restore):
Jim Blandy [Tue, 29 Sep 1992 06:19:35 +0000 (06:19 +0000)]
* editfns.c (save_excursion_save, save_excursion_restore):
Formatting tweaked for readability.

31 years ago* data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
Jim Blandy [Tue, 29 Sep 1992 04:54:28 +0000 (04:54 +0000)]
* data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
HP/UX, not just under USG systems.

31 years ago* buffer.c (Fbury_buffer): This used to undisplay the buffer being
Jim Blandy [Tue, 29 Sep 1992 04:08:04 +0000 (04:08 +0000)]
* buffer.c (Fbury_buffer): This used to undisplay the buffer being
buried only if the BUFFER argument was nil.  Instead, undisplay the
buffer whenever it's displayed in the selected window, no matter
how it was specified by BUFFER.  This is how it behaves in 18.58,
and I can't find any ChangeLog entry in 18.58 or 19.0 saying why
they differ.  Fix the doc string accordingly.

31 years ago* frame.c (Fselect_frame, Fframe_root_window,
Jim Blandy [Tue, 29 Sep 1992 03:38:03 +0000 (03:38 +0000)]
* frame.c (Fselect_frame, Fframe_root_window,
Fframe_selected_window, Fnext_frame, Fmake_frame_visible,
Fmake_frame_invisible, Ficonify_frame): Doc fixes.

31 years agoentered into RCS
Jim Blandy [Tue, 29 Sep 1992 03:14:35 +0000 (03:14 +0000)]
entered into RCS

31 years ago* ralloc.c: Since the users of the relocating allocation code
Jim Blandy [Tue, 29 Sep 1992 01:08:33 +0000 (01:08 +0000)]
* ralloc.c: Since the users of the relocating allocation code
handle memory exhaustion, it's better to return an error code to
them than to call abort.
(obtain): If we cannot allocate more memory, don't call
abort.  Instead, return non-zero iff the allocation is successful.
(get_more_space): If obtain fails, return zero.
(get_bloc): Return zero if we can't allocate the new bloc.
(r_alloc_sbrk): Return zero if we can't allocate more memory.
(r_alloc): If we can't allocate more memory, set *PTR to zero and
return zero.
(r_re_alloc): If we can't allocate more memory, leave *PTR
unchanged, and return zero.

* ralloc.c (warnfunction): Renamed to warn_function; users changed.

31 years ago(record_delete): Record pos before the deletion.
Richard M. Stallman [Mon, 28 Sep 1992 13:10:43 +0000 (13:10 +0000)]
(record_delete): Record pos before the deletion.
(Fprimitive_undo): Go back to recorded position.

31 years ago(del_range): Call record_delete before updating point.
Richard M. Stallman [Mon, 28 Sep 1992 13:10:15 +0000 (13:10 +0000)]
(del_range): Call record_delete before updating point.

31 years ago(file-relative-name-1): New function split out.
Richard M. Stallman [Mon, 28 Sep 1992 13:02:52 +0000 (13:02 +0000)]
(file-relative-name-1): New function split out.
(file-relative-name): Use it.

31 years agoUse frame-width instead of screen-width.
Richard M. Stallman [Mon, 28 Sep 1992 13:02:35 +0000 (13:02 +0000)]
Use frame-width instead of screen-width.

31 years ago(ws-mark-word): Use forward-word, with an arg, instead of backward-word.
Richard M. Stallman [Mon, 28 Sep 1992 13:02:21 +0000 (13:02 +0000)]
(ws-mark-word): Use forward-word, with an arg, instead of backward-word.
(wordstar-mode): Move after definition of keymap.
(ws-move-block): Just two args for kill-region.

31 years ago(vc-rename-file): Use OLD, not FILE which is unbound.
Richard M. Stallman [Mon, 28 Sep 1992 13:01:53 +0000 (13:01 +0000)]
(vc-rename-file): Use OLD, not FILE which is unbound.

31 years ago(ange-ftp-kill-ftp-process): Delete spurious ".
Richard M. Stallman [Mon, 28 Sep 1992 12:54:05 +0000 (12:54 +0000)]
(ange-ftp-kill-ftp-process): Delete spurious ".

31 years ago(timer-process-sentinel): Don't set timer-scratch.
Richard M. Stallman [Mon, 28 Sep 1992 12:41:39 +0000 (12:41 +0000)]
(timer-process-sentinel): Don't set timer-scratch.

31 years ago(Finsert_file_contents): Do record_insert, then inc MODIFF.
Richard M. Stallman [Mon, 28 Sep 1992 07:40:46 +0000 (07:40 +0000)]
(Finsert_file_contents): Do record_insert, then inc MODIFF.

31 years ago* keyboard.c (read_char): If we're returning an event from a
Jim Blandy [Mon, 28 Sep 1992 06:55:54 +0000 (06:55 +0000)]
* keyboard.c (read_char): If we're returning an event from a
macro, set Vlast_event_frame to Qmacro, instead of leaving it set
to the frame of the previous real event.
(read_key_sequence): If Vlast_event_frame isn't a frame, don't
bother switching buffers.
(syms_of_keyboard): Doc fix for Vlast_event_frame.
(Vlast_event_frame): Doc fix.

* keyboard.c (format_modifiers, reorder_modifiers): Handle the new
modifier bits.

31 years ago* termhooks.h (alt_modifier, hyper_modifier, super_modifier,
Jim Blandy [Mon, 28 Sep 1992 06:53:29 +0000 (06:53 +0000)]
* termhooks.h (alt_modifier, hyper_modifier, super_modifier,
down_modifier, drag_modifier): New modifiers, to support the new
input system.  Re-arranged modifiers so that their bits are in
canonical order; this makes reorder_modifiers slightly simpler.

31 years ago* window.c (delete_all_subwindows): Save the window's buffer in
Jim Blandy [Mon, 28 Sep 1992 06:10:03 +0000 (06:10 +0000)]
* window.c (delete_all_subwindows): Save the window's buffer in
its `height' field; we may need to know the window's old buffer
once we have restored it from a window configuration.
Fset_window_configuration): When we restore a window, if its
`height' field is a buffer, restore its `buffer' field from that.
This allows us to leave the window's buffer unchanged if the
buffer recorded in the configuration is dead.

* window.c (delete_all_subwindows): Removed unused variable named
"count".

31 years ago* keymap.c (access_keymap): Remove code to notice bindings for
Jim Blandy [Mon, 28 Sep 1992 02:20:23 +0000 (02:20 +0000)]
* keymap.c (access_keymap): Remove code to notice bindings for
Qt.

* keymap.c (Fwhere_is_internal): Don't forget to advance map to
the next element when we find something that is neither a vector
nor a cons.  Don't forget to QUIT in the appropriate places,
either.

31 years agoUse (function ...) around lambdas, so it works in v18.
Roland McGrath [Mon, 28 Sep 1992 01:27:56 +0000 (01:27 +0000)]
Use (function ...) around lambdas, so it works in v18.

31 years agoDox Fix
Christopher Zaborsky [Sun, 27 Sep 1992 17:30:03 +0000 (17:30 +0000)]
Dox Fix

31 years agoDoc fix.
Christopher Zaborsky [Sun, 27 Sep 1992 17:22:08 +0000 (17:22 +0000)]
Doc fix.

31 years ago(vc-update-change-log): Use file-relative-name.
Roland McGrath [Sun, 27 Sep 1992 02:42:08 +0000 (02:42 +0000)]
(vc-update-change-log): Use file-relative-name.

31 years ago(file-relative-name): Rewritten so unrelativizable file names win.
Roland McGrath [Sun, 27 Sep 1992 02:40:49 +0000 (02:40 +0000)]
(file-relative-name): Rewritten so unrelativizable file names win.

31 years ago(file-relative-name): Don't lose when DIRECTORY is nil.
Roland McGrath [Sun, 27 Sep 1992 02:27:00 +0000 (02:27 +0000)]
(file-relative-name): Don't lose when DIRECTORY is nil.

31 years ago(file-relative-name): New function.
Roland McGrath [Sun, 27 Sep 1992 02:25:31 +0000 (02:25 +0000)]
(file-relative-name): New function.

31 years ago%.2d -> %02d
Roland McGrath [Sun, 27 Sep 1992 01:55:21 +0000 (01:55 +0000)]
%.2d -> %02d

31 years ago(vc-checkin-hook): New user hook variable.
Roland McGrath [Sun, 27 Sep 1992 01:51:04 +0000 (01:51 +0000)]
(vc-checkin-hook): New user hook variable.
(vc-log-after-operation-hook): New internal defvar.
(vc-checkin): Set vc-log-after-operation-hook to 'vc-checkin-hook.
(vc-finish-logentry): (run-hooks vc-log-after-operation-hook) at end.

(vc-update-change-log): When doing all visited files, remove directory
names from file names that are in default-directory.

31 years ago(vc-update-change-log): Use shell-command, not shell-command-on-region.
Roland McGrath [Sun, 27 Sep 1992 01:31:15 +0000 (01:31 +0000)]
(vc-update-change-log): Use shell-command, not shell-command-on-region.
Take optional args to pass to script.
Add fancy interactive spec: C-u for current file only; M-0 for all visited.

31 years agoNew version from sk. Further hacked:
Roland McGrath [Sun, 27 Sep 1992 01:24:00 +0000 (01:24 +0000)]
New version from sk.  Further hacked:
(find-grep-dired): Use ! -type d, not -type f.

31 years ago(vc-toggle-read-only): Doc fix.
Roland McGrath [Sun, 27 Sep 1992 00:45:57 +0000 (00:45 +0000)]
(vc-toggle-read-only): Doc fix.
(vc-mode-line): Add interactive spec.

31 years agoDoc fix.
Richard M. Stallman [Sat, 26 Sep 1992 22:58:56 +0000 (22:58 +0000)]
Doc fix.

31 years agoDelete obsolete comments.
Richard M. Stallman [Sat, 26 Sep 1992 22:52:22 +0000 (22:52 +0000)]
Delete obsolete comments.