1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

21101 commits

Author SHA1 Message Date
Richard M. Stallman
d09af6a54b (fill-region-as-paragraph, fill-region): Allow t as legit value of JUSTIFY. 1998-03-14 03:05:28 +00:00
Richard M. Stallman
1bf95511a4 (internal_self_insert): Call Fforward_buffer to advance
over the replacement characters.
1998-03-13 21:22:05 +00:00
Richard M. Stallman
0d9be91c37 (mouse-buffer-menu-maxlen): Renamed from mouse-menu-buffer-maxlen. 1998-03-12 23:11:57 +00:00
Richard M. Stallman
4bfba59e50 (struct Lisp_Buffer_Local_Value):
Field car renamed to realvalue.  New fields check_frame,
found_for_buffer, found_for_frame, buffer, frame.
1998-03-12 22:49:02 +00:00
Richard M. Stallman
b0d2a9e796 Delete junk accidentally left in buffer on 4 March. 1998-03-12 22:44:12 +00:00
Richard M. Stallman
8828ae9b5e (SETUP_SLAVE_PTY): New definition. 1998-03-12 06:59:25 +00:00
Richard M. Stallman
b0c2d1c671 (store_symval_forwarding, swap_in_symval_forwarding)
(set_internal, default_value, Fset_default, Fmake_local_variable)
(Fmake_variable_buffer_local, Fkill_local_variable):
Handle new data structure for struct Lisp_Buffer_Local_Value.
(Fmake_variable_frame_local): New function.
1998-03-12 05:50:33 +00:00
Richard M. Stallman
a9faeabee0 (gc_sweep, mark_object): Handle new data structure
for struct Lisp_Buffer_Local_Value.
1998-03-12 05:49:15 +00:00
Richard M. Stallman
0315377157 (print): Handle new data structure
for struct Lisp_Buffer_Local_Value.
1998-03-12 05:48:33 +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
Kenichi Handa
2b4f9037e3 (code_convert_region): Adjusted for the change of
adjust_after_replace.
1998-03-12 00:44:06 +00:00
Kenichi Handa
61415a2589 (adjust_before_replace): Call
adjust_overlays_for_delete.
(adjust_after_replace): Delete args COMBINED_BEFORE_BYTES and
COMBINED_AFTER_BYTES.  This makes the newly generated text
following GPT_ADDR a buffer contents.
1998-03-12 00:42:35 +00:00
Kenichi Handa
f8198e198d (Finsert_file_contents): Don't do position adjustments
and handling post-read-conversion here, they are done in
code_convert_region.  Even if a file is read by no-conversion,
call adjust_after_replace to adjust positions.
1998-03-12 00:38:28 +00:00
Richard M. Stallman
1f90a790f5 (combine_bytes): New function.
(insert_1_both, insert_from_string_1, insert_from_buffer_1):
Simplify greatly by using combine_bytes near the end
to handle all aspects of combining except for undo-recording.
This means most of the code deals with the text as if there were
no combining.
(replace_range): Likewise.  Also handle unibyte-multibyte conversion
as in insert_from_string_1.
(del_range_2): Handle combining of character before the deletion
with strays after the deletion.
(adjust_markers_for_delete): Delete debugging code for Z == Z_BYTE.
(adjust_markers_for_insert): Move Z == Z_BYTE debugging code
to before we relocate the marker.
1998-03-11 22:08:24 +00:00
Richard M. Stallman
ce97a2d7ed (adjust_markers_for_insert): Don't leave a marker within
the combined_after_bytes.  Use DEC than INC when leaving
a marker before the insertion.
(count_combining_before): Return number of bytes from start
of insertion that will combine.
(insert_1_both): Compensate for change in count_combining_before.
Delete intervals for the combined_after_bytes.
Compensate for that when updating other intervals.
(insert_from_buffer_1, replace_range): Likewise.
(adjust_after_replace): Likewise.
(insert_from_string_1): Likewise.  Also handle intervals
for inserting just part of string.
1998-03-11 00:47:48 +00:00
Richard M. Stallman
93b882e857 (insert_1_both, insert_from_string_1, insert_from_buffer_1):
Count all of combined_after_bytes, not just 1, when correcting
nchars, and in related places.
(adjust_after_replace, replace_range): Likewise.
1998-03-10 23:50:30 +00:00
Dave Love
b632d90a16 (scheme-font-lock-keywords-1, scheme-font-lock-keywords-2,
scheme-font-lock-keywords): Moved.
1998-03-10 22:54:43 +00:00
Dave Love
22dcd0d12b (scheme-mode-variables): Set font-lock-defaults locally.
(scheme-font-lock-keywords-1, scheme-font-lock-keywords-2,
scheme-font-lock-keywords): Moved here from font-lock.el.
(dsssl-mode): Move font-lock-defaults setting and running hooks.
1998-03-10 22:51:23 +00:00
Richard M. Stallman
7553d0e19c (code_convert_region): Fix previous change. Adjusted
for the change of adjust_after_replace (see insdel.c change above).
1998-03-10 21:14:08 +00:00
Richard M. Stallman
41b8e71c88 (hippie-expand-dabbrev-skip-space): Renamed `he-dabbrev-skip-space'.
(hippie-expand-dabbrev-as-symbol): Renamed `he-dabbrev-as-symbol'.
(hippie-expand-no-restriction): New variable.
(hippie-expand-only-buffers): New variable.
(he-init-string,he-line-search,he-list-search,he-dabbrev-search): Use
`buffer-substring-no-properties' to avoid transfer of text properties.
(he-dabbrev-kill-search,he-whole-kill-search): Remove text properties
from search result.
(he-regexp-member): Removed function.
(he-buffer-member): New function used instead of `he-regexp-member'.
(try-expand-line,try-expand-line-all-buffers,try-expand-list,
 try-expand-list-all-buffers,try-expand-dabbrev,
 try-expand-dabbrev-all-buffers): Depending on
`hippie-expand-no-restriction', widen the buffer before search.
(try-expand-line-all-buffers,try-expand-list-all-buffers,
 try-expand-dabbrev-all-buffers): Use `he-buffer-member' and
`hippie-expand-only-buffers'.
1998-03-10 18:30:07 +00:00
Carsten Dominik
1c0dde8448 Added keybinding for `reftex-mouse-view-crossref' to S-mouse-2. 1998-03-10 08:43:44 +00:00
Richard M. Stallman
9bde9add0d (BUILT-EMACS): Variable renamed from EMACS. All uses changed. 1998-03-10 07:07:31 +00:00
Richard M. Stallman
88a806e90d (hppa-hp-hpux1[0-9]*): Handle versions 1X like 10.
(m68*-hp-hpux*): Handle versions 1X like 10.
1998-03-10 03:33:23 +00:00
Richard M. Stallman
d96d677d0a (fontset_pattern_regexp): ==' was used instead of ='. 1998-03-10 00:29:10 +00:00
Richard M. Stallman
432f78d25b (adjust_markers_for_insert):
New args COMBINED_AFTER_BYTES, COMBINED_BEFORE_BYTES.  Calls changed.
(insert_1): Call insert_1_both.
(count_combining_before): New function.
(count_combining_after): New function.
(insert_1_both, insert_from_string_1): Handle bytes that combine
with chars adjacent to the inserted text.
(insert_from_buffer_1, replace_range): Likewise.
(adjust_after_replace): New args COMBINED_BEFORE_BYTES, COMBINED_AFTER_BYTES.
1998-03-09 23:22:44 +00:00
Richard M. Stallman
2a92dc2540 Use list syntax for key definitions.
(winner-mode, winner-save-unconditionally)
(winner-hook-installed-p): Save window configuration after
every command if window-configuration-change-hook is not present.

(winner-save-new-configurations, winner-insert-if-new):
Compare a new window configuration
with the previous configuration before saving it.

(winner-insert-if-new, winner-ring)
(winner-configuration, winner-set): Save buffer list together
with the window configurations, so that windows that can no
longer be correctly restored can instead be deleted.

(winner-undo): Compare restored configuration
with other configurations that have been reviewed and skip
this one if it looks similar.

(winner-insert-if-new, winner-save-new-configurations)
(winner-save-unconditionally): Just save the final
configuration if the same command (changing the window
configuration) is applied several times in a row.

(winner-switch): Removed the command
`winner-switch' (and the variables connected to it), since
because of the change above, any "switching package" may now
be used without disturbing winner-mode too much.

(winner-change-fun): Removed the pushnew
command, so that `cl' will not have to be loaded.

(winner-set-conf): Introduced "wrapper" around
`set-window-configuration', so that `winner-undo' may be
called from the minibuffer.
1998-03-09 22:42:13 +00:00
Carsten Dominik
576827ffbe (reftex-nicify-text): make a new " " string each time.
(reftex-what-macro): Make sure, `reftex-section-regexp' is available.
1998-03-09 16:01:20 +00:00
Richard M. Stallman
a0d8840a5a (fill-nobreak-predicate): New variable.
(fill-region-as-paragraph): Obey fill-nobreak-predicate.
1998-03-09 06:37:20 +00:00
Richard M. Stallman
dbe524b632 (do-auto-fill): Obey fill-nobreak-predicate. 1998-03-09 06:36:42 +00:00
Richard M. Stallman
9bd4f69c5d (latex-mode): Set fill-nobreak-predicate.
(slitex-mode): Set fill-nobreak-predicate, tex-face-alist,
and imenu-create-index-function.
(latex-fill-nobreak-predicate): New function.
1998-03-09 06:36:25 +00:00
Richard M. Stallman
693caa7142 (make-help-screen): Mention DEL in the prompt. 1998-03-09 05:26:05 +00:00
Richard M. Stallman
8539959b7b (update-file-autoloads):
Undo 1997-08-23 change.
1998-03-09 01:01:36 +00:00
Richard M. Stallman
3d2f23d923 (quit-window): New command.
(shrink-window-if-larger-than-buffer):
Bind text-height in the let*.
(view-return-to-alist): Add defvar.
1998-03-09 00:37:11 +00:00
Richard M. Stallman
ab228c24d5 (simple_search): Don't count a character until it matches!
Call set_search_regs differently in a forward search.
(boyer_moore): Fix up the code that translates the pattern
and loops thru equivalent characters.
1998-03-09 00:25:30 +00:00
Richard M. Stallman
b8bc6df2ee (lisp-interaction-mode-map)
(emacs-lisp-mode-map, lisp-mode-map): Use set-keymap-parent.
1998-03-08 23:40:28 +00:00
Carsten Dominik
be456a1d88 1998-03-08 Carsten Dominik <cd@gnu.org>
* (reftex-offer-label-menu, reftex-select-item): removed
match-everywhere interpretation.
1998-03-08 16:29:08 +00:00
Carsten Dominik
6b94c6ad09 1998-03-08 Carsten Dominik <cd@gnu.org>
* (reftex-cursor-selected-face,
reftex-mouse-selected-face, reftex-file-boundary-face,
reftex-label-face, reftex-section-heading-face,
reftex-toc-header-face, reftex-bib-author-face,
reftex-bib-year-face, reftex-bib-title-face,
reftex-bib-extra-face): New options.
(reftex-toc, reftex-make-and-insert-label-list,
reftex-format-bib-entry, reftex-section-info): Use fonts defined
in the new options.
(reftex-do-citation): Kill buffer *RefTeX Select* to avoid
problems with lazy-lock.
1998-03-08 11:40:12 +00:00
André Spiegel
4b398f5de9 (vc-context-matches-p): New function.
(vc-restore-buffer-context): Restore point and mark only if they don't
match the context.
(vc-revert-buffer1, vc-clear-headers): Use save-excursion to relocate
point and mark, and vc-restore-buffer-context as a backup.
(vc-resynch-buffer): When operating on the current buffer, don't use
save-excursion, because that would undo the effects of the above
functions.
(vc-resynch-window): Deleted code that removed vc-find-file-hook
temporarily.  This was unnecessary, because find-file-hooks are not
called when the buffer is reverted.
(vc-register): Added comment for prev change.
1998-03-08 10:03:50 +00:00
Richard M. Stallman
3c3d11e776 (c-emacs-features): Var moved to cc-vars.el. 1998-03-08 06:55:27 +00:00
Richard M. Stallman
abfbd5639b (c-emacs-features): Var moved from cc-defs.el. 1998-03-08 06:55:04 +00:00
Richard M. Stallman
461688a195 Don't require cc-defs. 1998-03-08 06:53:15 +00:00
Richard M. Stallman
e5caa08e54 (c-initialize-cc-mode): Moved require's to top level.
(c-initialize-on-load): Variable removed.
1998-03-08 06:52:23 +00:00
Richard M. Stallman
717d3be71d (c-Java-javadoc-paragraph-start): New variable for use in c-fill-paragraph. 1998-03-08 06:51:26 +00:00
Richard M. Stallman
f23da29ac2 (c-fill-paragraph): Bind fill-paragraph-function to
nil when calling fill-paragraph, to avoid bogus recursion which
will signal an error.

(c-fill-paragraph): Always keep point in the same
relative position.  Fill comment before point if there's nothing
else on the same line.  Fill block comments after code a little
better.  Try harder to find a good fill-prefix when point is on a
block comment ender line.  Use c-Java-javadoc-paragraph-start in
block comments in Java mode.  Leave block comment ender alone when
c-hanging-comment-ender-p is nil and point is on that line.
Detect paragraph-separate in multiparagraph comments.  Fix for bug
that may strip the `*' off `*/' if fill-prefix ends with `*' and
c-hanging-comment-ender-p is t.  Added filling of multiline string
literals.  Always return t to disable filling in any unhandled
area, i.e. actual code where fill-paragraph only mess things up.
1998-03-08 06:50:21 +00:00
Richard M. Stallman
b2acd78958 (c-inside-bracelist-p): Fix for enum test.
(c-collect-line-comments): Require same comment start column.

(c-guess-basic-syntax): Fixes for nesting of and
repeated defun-open's inside extern and namespace clauses.  This
is done by passing a relpos to `inextern-lang' and `innamespace'.
Also, the relpos in `defun-open' is no longer always bol.  It's
always bol when on the top level, however.  Changed cases: 5A.5, 5I, 14A.

(c-forward-token-1, c-backward-token-1): New functions to move by tokens.
c-guess-basic-syntax): Fixes for Java 1.1 array initialization brace lists.
1998-03-08 06:49:04 +00:00
Richard M. Stallman
419277c5b8 (c-enable-xemacs-performance-kludge-p): New variable. 1998-03-08 06:45:26 +00:00
Richard M. Stallman
e275fa086c Initial revision 1998-03-08 00:53:39 +00:00
Richard M. Stallman
73b3354550 (fill-region): If JUSTIFY is non-nil
and not a known value, treat it as `full'.
(fill-region-as-paragraph): Likewise.
1998-03-08 00:27:23 +00:00
Richard M. Stallman
7bd1de9193 Whitespace changes. 1998-03-08 00:26:27 +00:00
Richard M. Stallman
62382d98d0 (mh-quit): Use quit-window. 1998-03-08 00:25:49 +00:00