Kenichi Handa
1be6387dbd
Type in comment fixed.
1999-09-03 01:28:42 +00:00
Gerd Moellmann
7ec44ec68f
(set_buffer_internal): Never set
...
windows_or_buffers_changed.
1999-09-02 20:35:53 +00:00
Gerd Moellmann
b5a225b494
(set_buffer_internal): Set windows_or_buffers_changed
...
only if buffer is displayed somewhere.
(modify_overlay): Use BUF_COMPUTE_UNCHANGED.
(reset_buffer): Set clip_changed to 0 and
prevent_redisplay_optimizations_p to 1.
(Fget_buffer_create): Set prevent_redisplay_optimizations_p to 1.
(modify_overlay): Compute beg/end_unchanged
per buffer.
(Fget_buffer_create): Initialize new members of the buffer
structure.
1999-08-23 00:11:36 +00:00
Gerd Moellmann
4f13cc9959
Remove conditional compilation on NO_PROMPT_IN_BUFFER.
1999-08-21 19:29:47 +00:00
Richard M. Stallman
daa1c1093c
(Fprevious_overlay_change): Just return the answer obtained from overlays_at.
1999-08-07 16:10:47 +00:00
Richard M. Stallman
413e06a447
(switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.
...
(no_switch_buffer): New function.
(Fswitch_to_buffer): Call them. Don't get confused
by "same-window" buffers in a dedicated frame.
1999-08-06 11:45:48 +00:00
Richard M. Stallman
2594e0fdb5
(switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.
...
(no_switch_buffer): New function.
(Fswitch_to_buffer): Call them. Don't get confused
by "same-window" buffers in a dedicated frame.
1999-08-05 19:38:34 +00:00
Gerd Moellmann
0552666bc1
(init_buffer_once): Init top_line_format.
...
(default-top-line-format): New.
(top-line-format): New buffer-local variable.
(init_buffer_once): Set buffer_local_flags for
scroll_*_aggressively.
(syms_of_buffer): Add DEFVAR_PER_BUFFER for scroll-*-aggressively.
(init_buffer_once): Set defaults for these variables.
(syms_of_buffer): Add default-scroll-*-aggressively.
(indicate-empty-lines): New.
(default-indicate-zv-lines): Likewise.
(init_buffer_once): Add default for `indicate-zv-lines'.
(init_buffer_once): New variable `default-indicate-zv-lines'.
(syms_of_buffer): New buffer-local varianle `indicate-zv-lines'.
(init_buffer_once): Add left_margin_width and
right_margin_width to buffer_local_flags.
(syms_of_buffer): Add buffer-local variables
left-margin-width and right-margin-width. Add defaults
default-left-margin-width and default-right-margin-width.
(record_buffer): Return void.
(record_asynch_buffer_change): Return void.
(Fget_buffer_create): Initialize minibuffer_prompt_length.
(Fmake_indirect_buffer): Ditto.
(Fkill_buffer): Ditto.
1999-07-21 21:43:52 +00:00
Dave Love
ed8300d96d
(syms_of_buffer): Make default-enable-multibyte-characters a user variable.
1999-07-20 16:42:19 +00:00
Kenichi Handa
36bb26f758
(syms_of_buffer): Don't make
...
enable-multibyte-characters customizable.
1999-06-16 02:33:32 +00:00
Richard M. Stallman
940daec19b
(syms_of_buffer): Doc fix.
1999-05-24 09:03:05 +00:00
Richard M. Stallman
abc9d9597c
(Fmake_indirect_buffer): Copy multibyte status from the base buffer.
...
(Fset_buffer_multibyte): Copy new multibyte status
into the buffer's indirect buffers.
1999-04-09 19:20:26 +00:00
Karl Heuer
90d456d297
(Fset_buffer_modified_p): Don't lock or unlock
...
if buffer-file-name is nil.
1999-03-26 17:55:42 +00:00
Karl Heuer
5ed6257458
(syms_of_buffer): Doc fix.
1999-03-04 09:16:12 +00:00
Richard M. Stallman
53fe786d1f
(syms_of_buffer): Doc fix for enable-multibyte-characters.
1999-02-26 07:07:13 +00:00
Richard M. Stallman
6e553d5e6c
(Fset_buffer_multibyte): Error if buffer is multibyte.
1999-02-01 11:17:41 +00:00
Richard M. Stallman
9ebc22d43e
(syms_of_buffer): Doc fix.
1998-11-24 09:01:32 +00:00
Kenichi Handa
7775635d6f
(inhibit_modification_hooks): New variable.
...
(init_buffer_once): Initialize inhibit_modification_hooks to 0.
1998-10-08 06:45:36 +00:00
Dave Love
ed218f733e
(enable-multibyte-characters): Doc fix.
1998-09-04 14:08:26 +00:00
Richard M. Stallman
97c3c30c78
(Fother_buffer): Doc fix.
1998-05-22 20:09:01 +00:00
Richard M. Stallman
773fbdb9c8
(Fother_buffer): New arg FRAME. Calls changed.
...
Pass it to frame_buffer_list, frame_buffer_predicate.
(record_buffer): Pass selected frame to them
and to set_frame_buffer_list.
1998-05-22 20:05:56 +00:00
Richard M. Stallman
309f2a6e70
(init_buffer): Support DOS_NT absolute file names.
1998-05-21 02:05:53 +00:00
Richard M. Stallman
3fd364dbd5
(syms_of_buffer): Set up Lisp variable buffer-display-time.
...
Doc fixes.
(reset_buffer): Initialize display_time slot.
(init_buffer_once): Initialize display_time slot.
1998-05-20 00:38:47 +00:00
Richard M. Stallman
b69f979760
(Fset_buffer_multibyte): Error if marker is put
...
on buffer's marker-chain while we have temporarily put nil there.
1998-05-11 01:14:36 +00:00
Richard M. Stallman
95fb069bc9
Comment change.
1998-05-11 01:08:59 +00:00
Richard M. Stallman
6c0316aea2
(syms_of_buffer) <buffer-file-coding-system>: Doc fix.
1998-05-07 04:02:36 +00:00
Richard M. Stallman
8231a9aaf2
Whitespace change.
1998-05-02 05:20:30 +00:00
Andreas Schwab
dfcf069d56
Fix -Wimplicit warnings.
1998-04-14 12:25:56 +00:00
Andreas Schwab
70e7711955
(Fset_buffer_multibyte): Do nothing if nothing actually
...
changes.
1998-04-14 10:27:32 +00:00
Richard M. Stallman
fc932ac6c7
Use STRING_BYTES and SET_STRING_BYTES.
1998-03-21 07:06:14 +00:00
Richard M. Stallman
3d871c85aa
(init_buffer): Call Fset_buffer_multibyte for *scratch*.
...
(set_buffer_internal_1)
(swap_out_buffer_local_variables): Handle new data structure
for struct Lisp_Buffer_Local_Value.
1998-03-12 05:47:39 +00:00
Richard M. Stallman
f844932305
(advance_to_char_boundary): Handle the case the code
...
0240..0377 is not a constituent of a multibyte sequence.
1998-03-06 21:57:04 +00:00
Kenichi Handa
673c57d22a
(Fset_buffer_multibyte): Fix arg for chars_in_text.
...
Be sure not to have a multibyte sequence striding over the GAP
1998-03-04 07:41:41 +00:00
Karl Heuer
1bf08bafe7
(syms_of_buffer): enable-multibyte-characters is read-only.
1998-02-27 21:55:45 +00:00
Kenichi Handa
20773569e0
(advance_to_char_boundary): Make the behaviour
...
consistent with INC_POS.
1998-02-20 01:40:47 +00:00
Richard M. Stallman
b05525fa0d
(advance_to_char_boundary): New function.
...
(Fset_buffer_multibyte): Advance all byte-positions to char boundaries.
Clear undo list.
1998-02-08 21:10:31 +00:00
Richard M. Stallman
6b17d7568d
(Fpop_to_buffer): Pass new arg to Fdisplay_buffer.
1998-02-06 06:17:17 +00:00
Richard M. Stallman
31c8f88101
Update copyright year.
1998-01-21 22:22:17 +00:00
Richard M. Stallman
d0628b063d
(set_buffer_if_live): New function.
1998-01-21 21:42:19 +00:00
Richard M. Stallman
3ac81adbcc
(Fset_buffer_multibyte): New function.
...
(syms_of_buffer): defsubr it.
1998-01-19 19:38:40 +00:00
Richard M. Stallman
43d27a7200
(record_overlay_string): Totalize sizes assuming
...
strings are converted to match buffer in multibyteness.
(overlay_strings): Convert strings to match buffer in multibyteness.
1998-01-05 17:15:53 +00:00
Richard M. Stallman
3f236a4066
(Fmake_indirect_buffer): Use set_marker_both.
...
(set_buffer_internal_1): Likewise.
(set_buffer_temp): Likewise.
(set_buffer_temp): Update BUF_PT_BYTE, BUF_BEGV_BYTE and BUF_ZV_BYTE.
(Fmake_indirect_buffer, set_buffer_internal_1):
Set up the pt, begv and zv markers with both kinds of position.
Set BUF_PT_BYTE, BUF_BEGV_BYTE, BUF_ZV_BYTE.
(Fget_buffer_create): Set BUF_..._BYTE.
1998-01-01 02:37:16 +00:00
Kenichi Handa
01136e9b14
(nsberror, record_buffer, validate_region,
...
fix_overlay_before): Declare them as void.
1997-11-27 12:04:49 +00:00
Karl Heuer
30e0071c9e
(Fkill_buffer): Don't assume buffer is current.
1997-10-27 03:50:50 +00:00
Karl Heuer
81ab2e0727
(init_buffer): Don't add /: to default dir if it's `/'.
1997-10-16 18:37:51 +00:00
Karl Heuer
5d516f2d33
(mode-line-format): Doc fix.
1997-09-25 00:40:45 +00:00
Richard M. Stallman
d8b9150f33
(modify_overlay): Update overlay_modiff of proper buffer.
1997-09-07 17:49:08 +00:00
Richard M. Stallman
9dde47f579
Include errno.h.
...
(init_buffer) [HAVE_GETCWD]: Fix error message for getcwd failure.
1997-08-27 20:01:05 +00:00
Richard M. Stallman
839dd8341f
(syms_of_buffer): Doc fixes.
1997-08-22 05:51:48 +00:00
Richard M. Stallman
6335beb00f
(init_buffer): Use getcwd instead of getwd, if available.
1997-08-09 04:46:22 +00:00