bpt/emacs.git
26 years ago(syms_of_buffer): enable-multibyte-characters is read-only.
Karl Heuer [Fri, 27 Feb 1998 21:55:45 +0000 (21:55 +0000)]
(syms_of_buffer): enable-multibyte-characters is read-only.

26 years agoFix comment.
Karl Heuer [Fri, 27 Feb 1998 21:55:01 +0000 (21:55 +0000)]
Fix comment.

26 years ago(mouse-avoidance-kbd-command): Function deleted.
Richard M. Stallman [Fri, 27 Feb 1998 21:52:27 +0000 (21:52 +0000)]
(mouse-avoidance-kbd-command): Function deleted.
(mouse-avoidance-fancy-hook, mouse-avoidance-exile-hook)
(mouse-avoidance-banish-hook): Test whether last command
was a mouse command of any kind.

26 years ago(mapcar1): Handle bool-vectors.
Karl Heuer [Fri, 27 Feb 1998 21:52:08 +0000 (21:52 +0000)]
(mapcar1): Handle bool-vectors.
(Fmapconcat, Fmapcar): Doc fixes.
(Flength): For char-table, length is based on max valid char code.

26 years ago(dired-do-toggle): Moved here from dired-x.el.
Karl Heuer [Fri, 27 Feb 1998 21:45:01 +0000 (21:45 +0000)]
(dired-do-toggle): Moved here from dired-x.el.
(dired-mode-map): Changed dired-do-toggle from "T" to "t".

26 years ago(dired-do-toggle): Function moved to dired.el.
Karl Heuer [Fri, 27 Feb 1998 21:44:39 +0000 (21:44 +0000)]
(dired-do-toggle): Function moved to dired.el.

26 years agoAdded version id.
André Spiegel [Fri, 27 Feb 1998 18:44:41 +0000 (18:44 +0000)]
Added version id.

26 years ago(vc-default-init-version): New variable.
André Spiegel [Fri, 27 Feb 1998 18:44:14 +0000 (18:44 +0000)]
(vc-default-init-version): New variable.
(vc-register): Use it.  Also use COMMENT argument.

26 years ago(iso-spanish, iso-german, iso-iso2tex,
Dave Love [Fri, 27 Feb 1998 17:05:21 +0000 (17:05 +0000)]
(iso-spanish, iso-german, iso-iso2tex,
iso-tex2iso, iso-gtex2iso, iso-iso2gtex, iso-iso2duden): Fix
doc, interactive spec.

26 years agoChanged to use directory-sep-char rather than "/".
Simon Marshall [Fri, 27 Feb 1998 12:58:26 +0000 (12:58 +0000)]
Changed to use directory-sep-char rather than "/".

26 years ago(compute_motion): If we just moved over a continuation
Andreas Schwab [Fri, 27 Feb 1998 09:38:41 +0000 (09:38 +0000)]
(compute_motion): If we just moved over a continuation
return contin_hpos as prevhpos.

26 years ago(rmail-retry-failure): Don't insist on finding
Karl Heuer [Wed, 25 Feb 1998 23:26:45 +0000 (23:26 +0000)]
(rmail-retry-failure): Don't insist on finding
MIME delimiter again at end of bounce text.
(mail-unsent-separator): Accept "Your message follows".

26 years ago(del_range_both): Reorder args. All callers changed.
Karl Heuer [Wed, 25 Feb 1998 23:18:15 +0000 (23:18 +0000)]
(del_range_both): Reorder args.  All callers changed.

26 years ago(thing-at-point-url-at-point): Intuit ftp:// on `short' URLs.
Dave Love [Wed, 25 Feb 1998 23:16:42 +0000 (23:16 +0000)]
(thing-at-point-url-at-point): Intuit ftp:// on `short' URLs.

26 years agoReorder args of del_range_both.
Karl Heuer [Wed, 25 Feb 1998 23:16:37 +0000 (23:16 +0000)]
Reorder args of del_range_both.

26 years ago(winner-mode): Autoload cookie for defcustom too.
Dave Love [Wed, 25 Feb 1998 23:09:07 +0000 (23:09 +0000)]
(winner-mode): Autoload cookie for defcustom too.

26 years ago(reftex-toc-mode, reftex-select-label-mode):
Karl Heuer [Wed, 25 Feb 1998 23:05:37 +0000 (23:05 +0000)]
(reftex-toc-mode, reftex-select-label-mode):
(reftex-select-bib-mode): New major modes for RefTeX's special
buffers.
(reftex-offer-label-menu): Put selection buffer into
`reftex-select-label-mode'.  Make selection buffer read-only.  Use
`reftex-erase-buffer'.
(reftex-do-citation): Put selection buffer into
`reftex-select-bib-mode'.  Make selection buffer read-only.  Use
`reftex-erase-buffer'.  Set `reftex-select-return-marker'.
(reftex-toc): Put *toc* buffer into reftex-toc-mode.  Add
mouse-face property.
(reftex-select-item): Use recursive edit instead of selfmade
command loop.  Removed unnecessary local bindings.  Changed the
tag for catch, to avoid problems with `exit' tag in
recursive-edit.  Moved the code around old command loop to pre-
and post-command-hook.
(reftex-select-pre-command-hook, reftex-select-post-command-hook):
(reftex-select-show-insertion-point): New functions.
(reftex-reference): Set `reftex-select-return-marker'.
(reftex-check-recursive-edit): Error message changed.
(reftex-select-search-minibuffer-map): Obsolete constant removed.
(reftex-select-next, reftex-select-previous, reftex-select-scroll-up):
(reftex-select-scroll-down, reftex-select-next-heading):
(reftex-select-previous-heading): Handle prefix arguments.
(reftex-toc, reftex-make-and-insert-label-list):
(reftex-insert-bib-matches): Add mouse-face property.
(reftex-highlight-selection): New option.
(reftex-select-mouse-accept): New command.
(reftex-select-recursive-edit, reftex-select-search-forward):
(reftex-select-search-backward, reftex-select-search):
(reftex-select-scroll-up, reftex-select-scroll-down):
(reftex-scroll-other-window, reftex-scroll-other-window-down):
(reftex-empty-toc-buffer): Removed obsolete functions.
(reftex-highlight-overlays): Removed obsolete 3rd overlay.
(reftex-select-label-map, reftex-select-bib-map): Removed obsolete
bindings, added mouse bindings, `digit-argument',
`negative-argument', `reftex-select-show-insertion-point'.
(reftex-erase-buffer): BUFFER now defaults to current buffer.
(reftex-label-alist-builtin): Added sidecap packages support.
(reftex-last-follow-point, reftex-select-return-marker): New
variables.
(reftex-toc, reftex-select-item): Set `reftex-last-follow-point'.
(reftex-toc-post-command-hook): Use `reftex-last-follow-point'.
(reftex-get-file-buffer-force): Turn off `enable-local-variables'
when reading a file literally.

26 years ago(mathlst): Fix typo.
Karl Heuer [Wed, 25 Feb 1998 22:59:49 +0000 (22:59 +0000)]
(mathlst): Fix typo.
(shortlst): Avoid saying "Can you be", which confuses the doctor.

26 years ago(vc-register): Update vc-buffer-backend.
Karl Heuer [Wed, 25 Feb 1998 22:53:17 +0000 (22:53 +0000)]
(vc-register): Update vc-buffer-backend.

26 years ago(hppa*-hp-hpux*): Use hpux10 by default.
Karl Heuer [Wed, 25 Feb 1998 22:50:36 +0000 (22:50 +0000)]
(hppa*-hp-hpux*): Use hpux10 by default.

26 years ago(install-arch-indep): Do chmod a+x on subdirs.
Karl Heuer [Wed, 25 Feb 1998 22:49:45 +0000 (22:49 +0000)]
(install-arch-indep): Do chmod a+x on subdirs.

26 years ago(custom-file): New function.
Karl Heuer [Wed, 25 Feb 1998 22:46:28 +0000 (22:46 +0000)]
(custom-file): New function.
(custom-save-delete): Use it.
(custom-save-all): Use it.

26 years agoAdded support for the Emacs Lisp manual.
Karl Heuer [Wed, 25 Feb 1998 22:45:29 +0000 (22:45 +0000)]
Added support for the Emacs Lisp manual.
(info-complete-file): Use default value if MODE is nil.
(info-lookup-file-alist): Variable removed.

26 years ago(battery-linux-proc-apm-regexp): Load percentage
Karl Heuer [Wed, 25 Feb 1998 22:44:24 +0000 (22:44 +0000)]
(battery-linux-proc-apm-regexp): Load percentage
and remaining time have to match negative values.
(battery-linux-proc-apm): Initialize void %-sequences.

26 years ago(shell-dirtrack-mode): Renamed from shell-dirtrack-toggle.
Karl Heuer [Wed, 25 Feb 1998 22:43:03 +0000 (22:43 +0000)]
(shell-dirtrack-mode): Renamed from shell-dirtrack-toggle.
(dirtrack-mode, shell-dirtrack-toggle): Defined as aliases.

26 years agoAdd "q" for quit, and use "C" for copy and "R" for
Karl Heuer [Wed, 25 Feb 1998 22:37:35 +0000 (22:37 +0000)]
Add "q" for quit, and use "C" for copy and "R" for
rename as in dired.

26 years ago*** empty log message ***
Dan Nicolaescu [Wed, 25 Feb 1998 05:06:02 +0000 (05:06 +0000)]
*** empty log message ***

26 years ago(require 'cl) unconditionally.
Dave Love [Wed, 25 Feb 1998 00:28:55 +0000 (00:28 +0000)]
(require 'cl) unconditionally.
(winner): defgroup.
(winner-dont-bind-my-keys, winner-skip-buffers,
winner-skip-regexps, winner-mode, winner-mode-hook,
winner-mode-leave-hook); Customized.
(winner-mode): Add autoload cookie.
(winner-undo): Doc fix.

26 years ago(vc-checkin-hook): Add :options.
Dave Love [Tue, 24 Feb 1998 12:54:05 +0000 (12:54 +0000)]
(vc-checkin-hook): Add :options.
(vc-checkin, vc-comment-to-change-log): Doc fix.

26 years ago(compilation-error-regexp-alist): Allow initial
Dave Love [Tue, 24 Feb 1998 12:45:02 +0000 (12:45 +0000)]
(compilation-error-regexp-alist): Allow initial
program name in first pattern.

26 years ago(scan_newline): Delete duplicated code.
Kenichi Handa [Tue, 24 Feb 1998 06:57:15 +0000 (06:57 +0000)]
(scan_newline): Delete duplicated code.

26 years ago(message_dolog): Give correct args to
Kenichi Handa [Tue, 24 Feb 1998 06:57:15 +0000 (06:57 +0000)]
(message_dolog): Give correct args to
message_log_check_duplicate and del_range_both.

26 years agoDoc fix in Commentary section.
Stephen Eglen [Mon, 23 Feb 1998 17:51:06 +0000 (17:51 +0000)]
Doc fix in Commentary section.

26 years agoCustomized.
Stephen Eglen [Sun, 22 Feb 1998 22:01:28 +0000 (22:01 +0000)]
Customized.

26 years agoCommented out line 471 (miniperl entry in interpreter-mode-alist)
Stephen Eglen [Sun, 22 Feb 1998 20:03:39 +0000 (20:03 +0000)]
Commented out line 471 (miniperl entry in interpreter-mode-alist)
Removed stray =06 entry on line 4445.
Customized.

26 years agoCustomized.
Stephen Eglen [Sun, 22 Feb 1998 19:51:45 +0000 (19:51 +0000)]
Customized.

26 years agoCustomized.
Stephen Eglen [Sun, 22 Feb 1998 17:34:42 +0000 (17:34 +0000)]
Customized.

26 years ago(Fdelete_backward_char): Count both bytes and chars.
Karl Heuer [Sun, 22 Feb 1998 01:06:06 +0000 (01:06 +0000)]
(Fdelete_backward_char): Count both bytes and chars.

26 years ago(UPDATE_SYNTAX_TABLE_FORWARD): Fix condition.
Karl Heuer [Sun, 22 Feb 1998 01:04:35 +0000 (01:04 +0000)]
(UPDATE_SYNTAX_TABLE_FORWARD): Fix condition.
(UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE): Likewise.
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix bounds.

26 years ago(update_syntax_table): Fix calculations using offset.
Karl Heuer [Sun, 22 Feb 1998 01:04:11 +0000 (01:04 +0000)]
(update_syntax_table): Fix calculations using offset.
(skip_chars): Fix loop termination condition.

26 years ago(interval_of): Handle Qt.
Karl Heuer [Sun, 22 Feb 1998 01:03:49 +0000 (01:03 +0000)]
(interval_of): Handle Qt.

26 years agoFix indentation rules for
Karl Heuer [Sun, 22 Feb 1998 00:30:03 +0000 (00:30 +0000)]
Fix indentation rules for
multiple-value-setf and multiple-value-list.

26 years agoChanged font-lock-reference-face to font-lock-constant-face.
Simon Marshall [Fri, 20 Feb 1998 14:58:27 +0000 (14:58 +0000)]
Changed font-lock-reference-face to font-lock-constant-face.

26 years ago*** empty log message ***
Simon Marshall [Fri, 20 Feb 1998 14:55:48 +0000 (14:55 +0000)]
*** empty log message ***

26 years agoRenamed font-lock-reference-face to font-lock-constant-face.
Simon Marshall [Fri, 20 Feb 1998 14:24:57 +0000 (14:24 +0000)]
Renamed font-lock-reference-face to font-lock-constant-face.

26 years ago(LINUX_MAP_SHARED_DOES_WORK): Define for kernel
Andreas Schwab [Fri, 20 Feb 1998 13:06:59 +0000 (13:06 +0000)]
(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.

26 years ago(sigmask) [POSIX_SIGNALS]: Always define our own
Andreas Schwab [Fri, 20 Feb 1998 13:01:10 +0000 (13:01 +0000)]
(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.

26 years ago(sys_sigpause): Removed.
Andreas Schwab [Fri, 20 Feb 1998 13:00:21 +0000 (13:00 +0000)]
(sys_sigpause): Removed.
(new_action, old_action): Move as local variables into sys_signal.
(old_mask, temp_mask): Removed.

26 years ago(rmail-decode-babyl-format): Message modified.
Kenichi Handa [Fri, 20 Feb 1998 11:15:28 +0000 (11:15 +0000)]
(rmail-decode-babyl-format): Message modified.
(rmail): Comment for the binding of rmail-enable-multibyte added.

26 years ago(Fmessage): Check byte size (instead of char size) of
Kenichi Handa [Fri, 20 Feb 1998 11:14:32 +0000 (11:14 +0000)]
(Fmessage): Check byte size (instead of char size) of
VAL against MESSAGE_LENGTH.

26 years ago(Fccl_execute_on_string): Put \n\ at end-of-line of
Kenichi Handa [Fri, 20 Feb 1998 11:14:32 +0000 (11:14 +0000)]
(Fccl_execute_on_string): Put \n\ at end-of-line of
doc-string.

26 years ago(Fwrite_region): When writing a string, give byte size
Kenichi Handa [Fri, 20 Feb 1998 11:14:32 +0000 (11:14 +0000)]
(Fwrite_region): When writing a string, give byte size
to a_write.
(a_write): Handle annotations correctly when writing a string.

26 years ago(rmail-enable-multibyte): New variable
Kenichi Handa [Fri, 20 Feb 1998 01:45:50 +0000 (01:45 +0000)]
(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.

26 years ago(setup-chinese-cns-environment): Correct
Kenichi Handa [Fri, 20 Feb 1998 01:45:21 +0000 (01:45 +0000)]
(setup-chinese-cns-environment): Correct
the settting of default-input-method.

26 years ago(select-safe-coding-system): Kill the
Kenichi Handa [Fri, 20 Feb 1998 01:44:10 +0000 (01:44 +0000)]
(select-safe-coding-system): Kill the
warning buffer before returning.

26 years ago(after-insert-file-set-buffer-file-coding-system): Call set-buffer-multibyte
Kenichi Handa [Fri, 20 Feb 1998 01:44:10 +0000 (01:44 +0000)]
(after-insert-file-set-buffer-file-coding-system): Call set-buffer-multibyte
instead of directly setting enable-multibyte-characters to nil.

26 years ago* subr.el (sref): Doc-string added.
Kenichi Handa [Fri, 20 Feb 1998 01:43:38 +0000 (01:43 +0000)]
* subr.el (sref): Doc-string added.

26 years ago(MULTIBYTE_BYTES_WIDTH): New macro.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(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.

26 years ago(adjust_before_replace): Comment added.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(adjust_before_replace): Comment added.
(adjust_after_replace): Comment added.  Give correct args to
adjust_point.  Don't call signal_after_change here.

26 years ago(temp_set_point_both): Declare arg BYTEPOS as int.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(temp_set_point_both): Declare arg BYTEPOS as int.
(set_point_both): Likewise.

26 years ago(advance_to_char_boundary): Make the behaviour
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(advance_to_char_boundary): Make the behaviour
consistent with INC_POS.

26 years ago(Fccl_execute_on_string): Add new arg UNIBYTE-P.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(Fccl_execute_on_string): Add new arg UNIBYTE-P.

26 years ago(invalid_character): New function.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(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.

26 years ago(INC_POS): Use macro BASE_LEADING_CODE_P.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(INC_POS): Use macro BASE_LEADING_CODE_P.
(DEC_POS): Make the behaviour consistent with INC_POS.
(BUF_INC_POS, BUF_DEC_POS): Likewise.

26 years ago(decode_coding_iso2022): Update coding->fake_multibyte.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(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.

26 years ago(struct coding_system): New member fake_multibyte.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(struct coding_system): New member fake_multibyte.

26 years ago(Finsert_file_contents): Read a file contents into the
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(Finsert_file_contents): Read a file contents into the
correct buffer (byte) position.  Adjusted for the change of
code_convert_region.

26 years ago(Fset_char_table_default): For an invalid character, call
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(Fset_char_table_default): For an invalid character, call
invalid_character.

26 years ago(search_buffer): Update POS_BYTE for regexp search.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(search_buffer): Update POS_BYTE for regexp search.

26 years ago(try_window_id): Use DEC_POS only for multibyte buffer.
Kenichi Handa [Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)]
(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.

26 years ago(Fchar_before): Check POS in valid range
Karl Heuer [Wed, 18 Feb 1998 22:56:25 +0000 (22:56 +0000)]
(Fchar_before): Check POS in valid range
before calling CHAR_TO_BYTE.

26 years ago(search_command): Check LIM in valid range
Karl Heuer [Wed, 18 Feb 1998 22:54:43 +0000 (22:54 +0000)]
(search_command): Check LIM in valid range
before calling CHAR_TO_BYTE.

26 years agoKeyword doc fixes and keyword tweaks.
Simon Marshall [Wed, 18 Feb 1998 09:12:24 +0000 (09:12 +0000)]
Keyword doc fixes and keyword tweaks.

26 years ago(sgml-mode-common): Downcase key for
Dave Love [Tue, 17 Feb 1998 20:08:22 +0000 (20:08 +0000)]
(sgml-mode-common): Downcase key for
assoc so upper-case markup works.
(sgml-attributes, sgml-tag-help): Likewise.

26 years ago(read_minibuf): Do use DEFALT in place of empty input
Richard M. Stallman [Tue, 17 Feb 1998 19:44:25 +0000 (19:44 +0000)]
(read_minibuf): Do use DEFALT in place of empty input
when when expflag is nonzero.
(Fread_no_blanks_input): Arg INIT renamed to INITIAL.

26 years ago(c-copy-tree): New function.
Richard M. Stallman [Tue, 17 Feb 1998 07:26:46 +0000 (07:26 +0000)]
(c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.

26 years ago(c-enable-xemacs-performance-kludge-p): New variable.
Richard M. Stallman [Tue, 17 Feb 1998 07:14:36 +0000 (07:14 +0000)]
(c-enable-xemacs-performance-kludge-p): New variable.

(c-default-style): Start doc string with *.

(c-default-style): Renamed from c-site-default-style.

26 years ago(c-make-styles-buffer-local): Take an optional argument which switches
Richard M. Stallman [Tue, 17 Feb 1998 07:13:59 +0000 (07:13 +0000)]
(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.

26 years ago(c-mode, c++-mode, objc-mode, java-mode): Set
Richard M. Stallman [Tue, 17 Feb 1998 07:11:40 +0000 (07:11 +0000)]
(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.

26 years agoImenu support changed.
Richard M. Stallman [Tue, 17 Feb 1998 07:10:49 +0000 (07:10 +0000)]
Imenu support changed.

26 years ago(c-postprocess-file-styles): If a file style or file offsets are set,
Richard M. Stallman [Tue, 17 Feb 1998 07:10:11 +0000 (07:10 +0000)]
(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.

26 years ago(c-forward-syntactic-ws, c-backward-syntactic-ws):
Richard M. Stallman [Tue, 17 Feb 1998 07:08:44 +0000 (07:08 +0000)]
(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.

26 years ago(c-point): In XEmacs, use scan-lists + buffer-syntactic-context-depth.
Richard M. Stallman [Tue, 17 Feb 1998 07:06:17 +0000 (07:06 +0000)]
(c-point): In XEmacs, use scan-lists + buffer-syntactic-context-depth.

(c-emacs-features): Added autoload cookie.

26 years ago(c-beginning-of-statement)
Richard M. Stallman [Tue, 17 Feb 1998 07:04:48 +0000 (07:04 +0000)]
(c-beginning-of-statement)
(c-end-of-statement): Do not move by sentence in strings.

(c-beginning-of-statement): Major rewrite.

(c-beginning-of-defun, c-indent-defun):
Use (c-point 'bod) instead of beginning-of-defun directly.

(c-beginning-of-defun, c-end-of-defun): New commands.

(c-beginning-of-statement): When moving forward by sentences, because
we're either inside or at the start of a comment, be sure to limit
movement to only within the extent of the comment.

(c-electric-colon): Don't insert newlines before or after scope
operators, regardless of the value of c-hanging-colons.

(c-electric-brace): namespace-open and namespace-close braces can hang.

(c-comment-line-break-function): When breaking a
line-oriented comment, copy the comment leader from the previous
line instead of hardcoding it to "// ".  This ensures that
whitespace between the slashes and the text is preserved.

(c-electric-pound, c-electric-brace)
(c-electric-slash, c-electric-star, c-electric-semi&comma)
(c-electric-colon, c-electric-lt-gt, c-scope-operator)
(c-electric-backspace, c-electric-delete)
(c-indent-command, c-indent-exp, c-indent-defun)
(c-backslash-region, c-fill-paragraph): Add "*" to interactive spec.

(c-fill-paragraph): regexp-quote the
fill-prefix when search forward for the end of line oriented comments.
(c-backslash-region): Do not preserve the zmacs region (XEmacs).

26 years ago(c-lineup-close-paren)
Richard M. Stallman [Tue, 17 Feb 1998 07:02:18 +0000 (07:02 +0000)]
(c-lineup-close-paren)
(c-indent-one-line-block): New indentation functions.

(c-semi&comma-no-newlines-before-nonblanks)
(c-semi&comma-no-newlines-for-oneline-inliners): New functions.

(c-lineup-dont-change): New lineup function that leaves the current
line's indentation unchanged.  Used for the new cpp-macro-cont
syntactic symbol.

26 years ago(Info-summary): Clear buffer-read-only.
Richard M. Stallman [Tue, 17 Feb 1998 03:56:42 +0000 (03:56 +0000)]
(Info-summary): Clear buffer-read-only.

26 years ago(info-complete): Rewrite minibuffer completion code.
Richard M. Stallman [Tue, 17 Feb 1998 03:25:05 +0000 (03:25 +0000)]
(info-complete): Rewrite minibuffer completion code.

(info-lookup-minor-mode, turn-on-info-lookup):
Added minor mode interface.
(info-lookup-minor-mode-string): New variable.
(info-lookup-minor-mode-map): New variable.

Provide a work-around if the custom library is not available.

(info-lookup-other-window-flag)
(info-lookup-highlight-face): Variables customized.

(info-lookup-alist): No longer customizable.
(info-lookup-add-help, info-lookup-maybe-add-help): Interface
functions for adding new modes.
(info-lookup-add-help*): New function.
(info-lookup-symbol-alist, info-lookup-file-alist): Variables deleted.
This info is specified now by calling info-lookup-maybe-add-help
and info-lookup-add-help.

26 years ago(split_interval_right): Make sure to call
Richard M. Stallman [Mon, 16 Feb 1998 23:46:08 +0000 (23:46 +0000)]
(split_interval_right): Make sure to call
balance_possible_root_interval in case an interval doesn't have a
right child, because otherwise the interval tree might degenerate into
a list.

(split_interval_left): Ditto if an interval hasn't a left child.

26 years ago(bibtex-autokey-names): Change number tag to integer.
Richard M. Stallman [Mon, 16 Feb 1998 05:42:08 +0000 (05:42 +0000)]
(bibtex-autokey-names): Change number tag to integer.

(bibtex-include-OPTkey): Add non-nil default :value
for function, so that it can be selected.
(bibtex-entry-format): Replace repeat with set.
(bibtex-mode-hook):  Change :type to 'hook.
(bibtex-clean-entry-hook): Ditto.
(bibtex-add-entry-hook): Ditto.
(bibtex-autokey-before-presentation-hook): Change name to ->
`bibtex-autokey-before-presentation-function' as it is not hook.
(bibtex-autokey-get-namefield): Remove newlines unconditionally.

(bibtex-autokey): Fixed prefix.
(bibtex-user-optional-fields): Better `:type'.
(bibtex-autokey-names): Better `:type' and doc-fix.
(bibtex-mark-active): New function, taking care of Emacs variants.
(bibtex-run-with-idle-timer): Ditto.
(bibtex-mode-map): Change `[(control tab)]' to `[(meta tab)]'.
(bibtex-autokey-get-yearfield): Changed to accept year when year
field has field-delimiters. This is quick fix, there might
be better solution.
(bibtex-mode): Don't call idle timer with 0 seconds.
(bibtex-mode): Call easy-menu-add.

(bibtex-autokey-get-yearfield): Fixed problem with
parsing the year field.

(bibtex-comment-start): Font locking for comments added.

(autokey-name-case-convert, autokey-titleword-case-convert): Replace
autokey-preserve-case, adding flexibility to case conversion of author
names and titlewords.

(bibtex-autokey-get-titles): Non capitalized title words
are used for key generation as well.
(bibtex-member-of-regexp): Case is honoured for matches now.
(bibtex-autokey-titleword-ignore): Added entries provide compatibility
to former behaviour.

(bibtex-autokey-titleword-ignore): Title words found in
this list are always ignored (previously only at the beginning of the
title).  Replaces bibtex-autokey-titleword-first-ignore.

26 years ago(standard-display-european): If AUTO is nil,
Richard M. Stallman [Mon, 16 Feb 1998 03:03:46 +0000 (03:03 +0000)]
(standard-display-european): If AUTO is nil,
clear multibyte in *scratch*, and load latin-1.

26 years ago(skip_chars): Use INC_POS instead of INC_BOTH.
Richard M. Stallman [Mon, 16 Feb 1998 03:02:53 +0000 (03:02 +0000)]
(skip_chars): Use INC_POS instead of INC_BOTH.
(Fforward_comment): Always use both FROM and FROM_BYTE to set point.
Use dec_bytepos not DEC_POS.
(scan_lists): Handle unibyte buffers when decrementing temp_pos.
(INC_FROM): Use INC_BOTH.
(inc_bytepos, dec_bytepos): In unibyte mode, just increment bytepos.

26 years ago(INC_BOTH, DEC_BOTH): In unibyte mode, simply increment bytepos.
Richard M. Stallman [Mon, 16 Feb 1998 03:01:16 +0000 (03:01 +0000)]
(INC_BOTH, DEC_BOTH): In unibyte mode, simply increment bytepos.

26 years agoautomatically generated from GPLed version
Ulrich Drepper [Mon, 16 Feb 1998 02:42:49 +0000 (02:42 +0000)]
automatically generated from GPLed version

26 years ago(hexl-mode-exit): Remove hexl-follow-ascii-find from post-command-hook
Stephen Eglen [Sun, 15 Feb 1998 16:57:16 +0000 (16:57 +0000)]
(hexl-mode-exit): Remove hexl-follow-ascii-find from post-command-hook
when leaving hexl-mode.

26 years agoFile customized.
Stephen Eglen [Sun, 15 Feb 1998 16:45:52 +0000 (16:45 +0000)]
File customized.
(msb-modes-key): New variable.
(msb--mode-menu-cond, msb--aggregate-alist): New functions.
(msb--split-menus): Check if msb-max-file-menu-items is nil.
(msb--format-title): Remove extra / after ~.
(msb--choose-file-menu): Prevent looping when examining ange-ftp directory
paths.
Redundant (function ...) forms around lambda functions removed.
Update copyright year.

26 years ago(sh-font-lock-keywords): Fontify sh-style function names in declarations.
Richard M. Stallman [Sun, 15 Feb 1998 00:30:24 +0000 (00:30 +0000)]
(sh-font-lock-keywords): Fontify sh-style function names in declarations.

26 years ago(info-complete): Display completions on second invocation at same point
Richard M. Stallman [Sat, 14 Feb 1998 22:46:12 +0000 (22:46 +0000)]
(info-complete): Display completions on second invocation at same point
or if initial guess is already ambiguous.
(info-look-completion): New variable.

(info-lookup-symbol-alist):
Added support for latex-mode, perl-mode, awk-mode, emacs-lisp-mode.

26 years ago(simple_search): Call set_search_regs.
Richard M. Stallman [Sat, 14 Feb 1998 08:43:17 +0000 (08:43 +0000)]
(simple_search): Call set_search_regs.
(boyer_moore): New arg CHARSET_BASE says which chars
to use the translate tables for.
(search_buffer): Properly test which chars participate in translation.

(TRANSLATE): New arg OUT.  Handle non-integer in TRT.
All calls changed.

26 years ago(Fread_file_name): Alter the history
Richard M. Stallman [Sat, 14 Feb 1998 08:41:32 +0000 (08:41 +0000)]
(Fread_file_name): Alter the history
to contain just the actual file name, and not any
other preinserted text that is not really used.

26 years ago(display_text_line): Use INC_BOTH for unibyte buffers too.
Richard M. Stallman [Sat, 14 Feb 1998 07:27:58 +0000 (07:27 +0000)]
(display_text_line): Use INC_BOTH for unibyte buffers too.