1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00
Commit Graph

20913 Commits

Author SHA1 Message Date
Stephen Eglen
0b5bb3ec88 Customized. 1998-02-22 22:01:28 +00:00
Stephen Eglen
ccc3ce39b4 Commented out line 471 (miniperl entry in interpreter-mode-alist)
Removed stray =06 entry on line 4445.
Customized.
1998-02-22 20:03:39 +00:00
Stephen Eglen
5636765c52 Customized. 1998-02-22 19:51:45 +00:00
Stephen Eglen
d1ebc62e6c Customized. 1998-02-22 17:34:42 +00:00
Karl Heuer
ceb7e4f8e7 (Fdelete_backward_char): Count both bytes and chars. 1998-02-22 01:06:06 +00:00
Karl Heuer
1d1293ddf1 (UPDATE_SYNTAX_TABLE_FORWARD): Fix condition.
(UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE): Likewise.
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix bounds.
1998-02-22 01:04:35 +00:00
Karl Heuer
ee0cdb4862 (update_syntax_table): Fix calculations using offset.
(skip_chars): Fix loop termination condition.
1998-02-22 01:04:11 +00:00
Karl Heuer
d0cb872a04 (interval_of): Handle Qt. 1998-02-22 01:03:49 +00:00
Karl Heuer
a63f38642a Fix indentation rules for
multiple-value-setf and multiple-value-list.
1998-02-22 00:30:03 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Simon Marshall
b6908641f2 *** empty log message *** 1998-02-20 14:55:48 +00:00
Simon Marshall
8acf2292d9 Renamed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:24:57 +00:00
Andreas Schwab
2e38d8620a (LINUX_MAP_SHARED_DOES_WORK): Define for kernel
version after 2.0.
(UNEXEC_USE_MAP_PRIVATE): Don't define if
LINUX_MAP_SHARED_DOES_WORK.
1998-02-20 13:06:59 +00:00
Andreas Schwab
47b682b73c (sigmask) [POSIX_SIGNALS]: Always define our own
version that returns a sigset_t.
(sigpause) [POSIX_SIGNALS]: Unconditionally define in terms of
sigsuspend.  Don't redefine SIGEMPTYMASK.
(sys_sigpause): Don't declare.
(temp_mask): Don't declare.
1998-02-20 13:01:10 +00:00
Andreas Schwab
c639b0e327 (sys_sigpause): Removed.
(new_action, old_action): Move as local variables into sys_signal.
(old_mask, temp_mask): Removed.
1998-02-20 13:00:21 +00:00
Kenichi Handa
55e2a603da (rmail-decode-babyl-format): Message modified.
(rmail): Comment for the binding of rmail-enable-multibyte added.
1998-02-20 11:15:28 +00:00
Kenichi Handa
3f49e59945 (Fmessage): Check byte size (instead of char size) of
VAL against MESSAGE_LENGTH.
1998-02-20 11:14:32 +00:00
Kenichi Handa
021452a726 (Fccl_execute_on_string): Put \n\ at end-of-line of
doc-string.
1998-02-20 11:14:32 +00:00
Kenichi Handa
55a7907fc8 (Fwrite_region): When writing a string, give byte size
to a_write.
(a_write): Handle annotations correctly when writing a string.
1998-02-20 11:14:32 +00:00
Kenichi Handa
7d862e0779 (rmail-enable-multibyte): New variable
(rmail): Bind coding-system-for-read to raw-text.  Set the buffer
multibyte if necessary.
(rmail-convert-file): Call rmail-decode-babyl-format only when we
don't have to call rmail-convert-to-babyl-format.
(rmail-decode-babyl-format): If rmail-file-coding-system is nil,
detect it.
(rmail-get-new-mail): Bind rmail-enable-multibyte locally.
(rmail-convert-to-babyl-format): Check the value of
rmail-enable-multibyte instead of enable-multibyte-characters.
1998-02-20 01:45:50 +00:00
Kenichi Handa
295baf1f72 (setup-chinese-cns-environment): Correct
the settting of default-input-method.
1998-02-20 01:45:21 +00:00
Kenichi Handa
1f77639917 (select-safe-coding-system): Kill the
warning buffer before returning.
1998-02-20 01:44:10 +00:00
Kenichi Handa
a2b4abc18b (after-insert-file-set-buffer-file-coding-system): Call set-buffer-multibyte
instead of directly setting enable-multibyte-characters to nil.
1998-02-20 01:44:10 +00:00
Kenichi Handa
66353e86d1 * subr.el (sref): Doc-string added. 1998-02-20 01:43:38 +00:00
Kenichi Handa
c9c0f7cf48 (MULTIBYTE_BYTES_WIDTH): New macro.
(current_column_1): Don't follow a display table for a heading
byte of a multibyte character.  Use the macro
MULTIBYTE_BYTES_WIDTH.
(Fmove_to_column): Likewise.
(compute_motion): Likewise.  Handling of wide-column character
fixed.
1998-02-20 01:40:47 +00:00
Kenichi Handa
2d9eea4477 (adjust_before_replace): Comment added.
(adjust_after_replace): Comment added.  Give correct args to
adjust_point.  Don't call signal_after_change here.
1998-02-20 01:40:47 +00:00
Kenichi Handa
2189766e34 (temp_set_point_both): Declare arg BYTEPOS as int.
(set_point_both): Likewise.
1998-02-20 01:40:47 +00:00
Kenichi Handa
20773569e0 (advance_to_char_boundary): Make the behaviour
consistent with INC_POS.
1998-02-20 01:40:47 +00:00
Kenichi Handa
39a68837f4 (Fccl_execute_on_string): Add new arg UNIBYTE-P. 1998-02-20 01:40:47 +00:00
Kenichi Handa
93bcb7852b (invalid_character): New function.
(chars_in_text): Make the behaviour consistent with INC_POS.
(multibyte_chars_in_text): Likewise.
(str_cmpchar_id): Likewise.
(non_ascii_char_to_string): Call invalid_character.
(Fchar_direction): Likewise.
1998-02-20 01:40:47 +00:00
Kenichi Handa
bb5999ae96 (INC_POS): Use macro BASE_LEADING_CODE_P.
(DEC_POS): Make the behaviour consistent with INC_POS.
(BUF_INC_POS, BUF_DEC_POS): Likewise.
1998-02-20 01:40:47 +00:00
Kenichi Handa
fb88bf2d25 (decode_coding_iso2022): Update coding->fake_multibyte.
(ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3,
encode_coding_iso2022, decode_coding_sjis_big5,
encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding,
encode_coding): Likewise.
(shrink_decoding_region, shrink_encoding_region): Do not skip
non-ASCII code in any cases.  Bug fix for getting starting address
from BEG.
(code_convert_region): Sync character positions correctly by
paying attention to coding->fake_multibyte.
(code_convert_string): Set number of character and bytes just
processed in members of CODING.
(code_convert_string): Adjusted for the change of
code_convert_region.
(code_convert_region1): Likewise.
1998-02-20 01:40:47 +00:00
Kenichi Handa
e6a9a0bce6 (struct coding_system): New member fake_multibyte. 1998-02-20 01:40:47 +00:00
Kenichi Handa
64e0ae2a6a (Finsert_file_contents): Read a file contents into the
correct buffer (byte) position.  Adjusted for the change of
code_convert_region.
1998-02-20 01:40:47 +00:00
Kenichi Handa
0ab9dd767e (Fset_char_table_default): For an invalid character, call
invalid_character.
1998-02-20 01:40:47 +00:00
Kenichi Handa
26aff1500f (search_buffer): Update POS_BYTE for regexp search. 1998-02-20 01:40:47 +00:00
Kenichi Handa
0d09d1e645 (try_window_id): Use DEC_POS only for multibyte buffer.
display_text_line): Handling of a wide-column character fixed.
Make the behaviour consistent with INC_POS.
1998-02-20 01:40:47 +00:00
Karl Heuer
f55a1d8128 (Fchar_before): Check POS in valid range
before calling CHAR_TO_BYTE.
1998-02-18 22:56:25 +00:00
Karl Heuer
588d2fd5ff (search_command): Check LIM in valid range
before calling CHAR_TO_BYTE.
1998-02-18 22:54:43 +00:00
Simon Marshall
9c8de95c2a Keyword doc fixes and keyword tweaks. 1998-02-18 09:12:24 +00:00
Dave Love
aa7a8f0ee8 (sgml-mode-common): Downcase key for
assoc so upper-case markup works.
(sgml-attributes, sgml-tag-help): Likewise.
1998-02-17 20:08:22 +00:00
Richard M. Stallman
c923ccc981 (read_minibuf): Do use DEFALT in place of empty input
when when expflag is nonzero.
(Fread_no_blanks_input): Arg INIT renamed to INITIAL.
1998-02-17 19:44:25 +00:00
Richard M. Stallman
f014d22e07 (c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.
1998-02-17 07:26:46 +00:00
Richard M. Stallman
87f235fb1b (c-enable-xemacs-performance-kludge-p): New variable.
(c-default-style): Start doc string with *.

(c-default-style): Renamed from c-site-default-style.
1998-02-17 07:14:36 +00:00
Richard M. Stallman
0bacd8d0b2 (c-make-styles-buffer-local): Take an optional argument which switches
between make-variable-buffer-local and make-local-variable.  Generalize.

(c-offsets-alist): Three new syntactic symbols: innamespace,
namespace-open, namespace-close.  These support C++ namespace blocks.
Also, new syntactic symbol cpp-macro-cont, by default bound to
c-lineup-dont-change.  This symbol is assigned to subsequent lines of
a multi-line C preprocess macro definition.

(c-style-alist): "jdk" style for conformance with Sun's JDK style.

(c-set-style-2, c-initialize-builtin-style): Don't special case
"cc-mode", it's a derived style.  Fix setup of derived style
"cc-mode".  Introduce the new default style "user" which contains all
user customizations.
1998-02-17 07:13:59 +00:00
Richard M. Stallman
77e31a8d08 (c-mode, c++-mode, objc-mode, java-mode): Set
imenu-case-fold-search to nil.

(java-mode): Set c-method-key to nil.  I don't think this is necessary
for Java, and besides, the old value was inherited from Objective-C
which was clearly not right.

(c++-mode): Set c-extra-toplevel-key to c-C++-extra-toplevel-key.
(c-initialize-on-load): New variable, *not* customized.
1998-02-17 07:11:40 +00:00
Richard M. Stallman
f1063b2f66 Imenu support changed. 1998-02-17 07:10:49 +00:00
Richard M. Stallman
bb7830ef8a (c-postprocess-file-styles): If a file style or file offsets are set,
make the variables local to the buffer (via make-local-variable).

(c-java-method-key): Variable deleted.

(c-C-extra-toplevel-key)
(c-C++-extra-toplevel-key, c-extra-toplevel-key): New variables
which parameterize the search for additional top-level enclosing
constructs.

(c-mode-base-map): c-mark-function moved back to M-C-h.
1998-02-17 07:10:11 +00:00
Richard M. Stallman
e1c458ae08 (c-forward-syntactic-ws, c-backward-syntactic-ws):
Don't narrow, just make a simple check against the given limit.

(c-collect-line-comments): New function.

(c-literal-limits): New function that finds the start and end pos
of a comment or string surrounding point.

(c-literal-limits-fast): A faster variant of `c-literal-limits'
for newer Emacsen where the state returned from
`parse-partial-sexp' contains the starting pos of the last literal.

(c-parse-state): Use (c-point 'bod) instead of
beginning-of-defun directly.

(c-guess-basic-syntax): Fixed a few byte compiler warnings.

(c-backward-to-start-of-do): Break infloop for
invalid code, e.g. when someone types while (TRUE) { at the top of
a buffer, we shouldn't hang when the { is typed!

(c-backward-to-start-of-if): Ensure never
move forward, not even if point < lim.

(c-search-uplist-for-classkey): When searching up for a class key,
instead of hardcoding the extended search for "extern", use the new
variable c-extra-toplevel-key, which is language dependent.  For C++,
this variable includes the keyword "namespace" which will match C++
namespace introducing blocks.

(c-guess-basic-syntax): Support for recognizing C++ namespace
blocks, by elaborating on the mechanism used to find external
language blocks.  Searches which hardcoded "extern" now use
c-extra-toplevel-key, a language dependent variable.  Case clauses
that were modified: CASE 5A.1, CASE 5A.4, CASE 5F, CASE 5I, CASE
14A.

CASE 3: we can now determine whether we're at the beginning of a
 	cpp macro definition, or inside the middle of one. Set syntax to
 	'cpp-macro in the former case, 'cpp-macro-cont in the latter.  In
 	both cases, the relpos is the beginning of the macro.

(c-forward-syntactic-ws): Added code that skips forward over
multi-line cpp macros.

(c-beginning-of-macro): Moved, and made into a defsubst.  This
function can now actually find the beginning of a multi-line C
preprocessor macro.

(c-backward-syntactic-ws): Use c-beginning-of-macro to skip backwards
over multi-line macro definitions.

(c-in-literal, c-fast-in-literal): Use c-beginning-of-macro to
find out whether we're in a multi-line macro definition.

(c-fast-in-literal): Function which should be faster than
c-in-literal.  In XEmacs, this uses buffer-syntactic-context.
1998-02-17 07:08:44 +00:00
Richard M. Stallman
d5436a295e (c-point): In XEmacs, use scan-lists + buffer-syntactic-context-depth.
(c-emacs-features): Added autoload cookie.
1998-02-17 07:06:17 +00:00