1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

20100 commits

Author SHA1 Message Date
Kenichi Handa
de86fcba73 (map_char_table): Do not operate on invalid characters.
Pay attention to `enable-multibyte-characters'.
1997-10-23 12:01:50 +00:00
Karl Heuer
82aba9f42f (c-initialize-builtin-style):
Only use copy-tree if it is
funcall-able.  This is the right patch, and was given by Erik Naggum
<erik@naggum.no>
1997-10-23 07:50:28 +00:00
Karl Heuer
c2efc1d098 (c-submit-bug-report): Remove
c-recognize-knr-p.  Add c-comment-continuation-stars.
1997-10-23 07:49:25 +00:00
Karl Heuer
8729df5954 Patches to Imenu support given by
"Masatake (jet) YAMATO" <masata-y@is.aist-nara.ac.jp>.
1997-10-23 07:49:06 +00:00
Karl Heuer
541aeedfa6 (c-progress-interval): Document new semantics 1997-10-23 07:48:50 +00:00
Karl Heuer
a7c7b186ff (c-progress-init, c-progress-fini):
Be slient if c-progress-interval
is nil.

(c-comment-line-break-function):
Fix for when comment starts at
comment-column and there is non-whitespace preceding this on the
current line.
1997-10-23 07:48:34 +00:00
Karl Heuer
6430c434e3 (c-guess-basic-syntax):
CASE 5F: extern-lang-close relpos should be
element 0 of inclass-p, not element 1.

(c-beginning-of-statement-1):
Watch out for keywords which have a
preceding underscore.
1997-10-23 07:48:09 +00:00
Karl Heuer
81eb2ff929 Remove version number. 1997-10-23 07:47:37 +00:00
Karl Heuer
13e91c8e41 Update version number. 1997-10-23 07:36:15 +00:00
Karl Heuer
55be952731 (c-end-of-statement-1):
Wrap backward-up-list in a c-safe call so no
error results when buffer contains only a comment and point is at
eob.
1997-10-23 07:33:21 +00:00
Karl Heuer
326c27f8f4 Define `/' in c-mode-base-map since all modes now support
c-electric-slash.

Define C-c C-e in mode-specific maps instead of c-mode-base-map since
c-expand-macro is meaningless in Java and IDL.
1997-10-23 07:33:03 +00:00
Karl Heuer
11e9410ecf (c-beginning-of-statement):
Fixes in sentence movement to properly
handle M-e moving forward into a comment when looking at preceding
whitespace, and M-a moving backward into comment when looking at
following whitespace.

Uncommented the looking-at call in the
sentence-flag clause so that moving by forward-sentence when looking
at the beginning of a comment works again.  A previous log message in
cc-mode.el indicates this was commented out "because
c-beginning-of-statement-1 should do the right thing", but clearly it
doesn't.

I don't know if this breaks something else, because I can't figure out
why it was commented out in the first place.
1997-10-23 07:32:37 +00:00
Karl Heuer
8220e74cf2 (c-initialize-builtin-style):
Use existing copy-tree if it's defined.

copy-sequence doesn't work; the
c-offsets-alist must be copied recursively.  Use copy-tree solution
given by Simon Marshall.
1997-10-23 07:32:07 +00:00
Karl Heuer
dc2b4c5f0f (objc-mode): Bind imenu-create-index-function
to cc-imenu-objc-function to enable Imenu support for Objective-C.
Contributed by Masatake (jet) YAMATO.
1997-10-23 07:31:46 +00:00
Karl Heuer
05896d7773 (cc-imenu-c-prototype-macro-regexp): New var.
(cc-imenu-c++-generic-expression): Patches to better match C++ code.
Given by jan.dubois@ibm.net (Jan Dubois)

(cc-imenu-java-generic-expression):
Removed test for declaration
statements.  Patch given by Ake Stenhoff <etxaksf@aom.ericsson.se>, as
forwarded to me by RMS.

Imenu support for Objective-C given by Masatake (jet) YAMATO.
1997-10-23 07:31:26 +00:00
Karl Heuer
cf4320b8bf (locate-library): Bind jka-compr-inhibit to t. 1997-10-23 07:01:19 +00:00
Karl Heuer
9fdf055b7a (jka-compr-inhibit): New variable.
(jka-compr-handler): Obey jka-compr-inhibit.
1997-10-23 07:00:59 +00:00
Karl Heuer
1c3430513b (unlock_all_files): Don't call unlock_file;
do the work directly, and avoid calling Fexpand_file_name.
1997-10-23 06:53:36 +00:00
Karl Heuer
abb4c08fef (redisplay_window): If clip_changed, always run
window-scroll-functions.
1997-10-23 06:52:01 +00:00
Karl Heuer
e4b201bbbb (set-scroll-bar-mode): Take just one arg.
(set-scroll-bar-mode-1): Take 2 args, as set-scroll-bar-mode used to.
(scroll-bar-mode variable): Use set-scroll-bar-mode-1.
(scroll-bar-mode command): Pass 1 arg to set-scroll-bar-mode.
1997-10-23 06:44:15 +00:00
Karl Heuer
dafcda2057 (tpu-arrange-rectangle): Use FORCE arg of move-to-column. 1997-10-23 06:42:50 +00:00
Karl Heuer
b4d73c7126 picture.el no longer required.
(lm-insert-at-column): Use FORCE arg of move-to-column.
1997-10-23 06:40:32 +00:00
Karl Heuer
113ab303b8 (basic-faces): New group. Put the standard faces in it. 1997-10-23 06:36:33 +00:00
Karl Heuer
775a19b4f5 Fix another instance of mode line format. 1997-10-23 06:35:13 +00:00
Karl Heuer
b0ea497faf (mouse-drag-vertical-line): Handle left-side scroll bars. 1997-10-23 06:29:35 +00:00
Paul Eggert
2bbd9a61a6 (DBL_DIG): Remove; the default value is now set in print.c. 1997-10-23 04:29:36 +00:00
Paul Eggert
2f2615421a No need to include <float.h> before "lisp.h",
as the latter no longer defines DBL_DIG.
1997-10-23 04:29:36 +00:00
Paul Eggert
f356c3fb99 (_MAXLDBL, _NMAXLDBL):
Define to work around hpux 7 <math.h> problem.
(<math.h>): Include.
(<float.h>, <stdlib.h>): Include if STDC_HEADERS.
(FLT_RADIX, DBL_MANT_DIG, DBL_DIG): Default to IEEE values.
(DOUBLE_DIGITS_BOUND): New macro.
(float_to_string): By default, generate the fewest number of digits
that represent the floating point value exactly.
1997-10-23 04:29:36 +00:00
Kenichi Handa
9913ef5adb Set chinese-big5 for newsgroup "tw". 1997-10-22 04:34:23 +00:00
Kenichi Handa
cb160af852 (gnus-show-traditional-method): Call
gnus-mule-decode-article only when enable-multibyte-characters is
non-nil.
1997-10-22 04:34:23 +00:00
Kenichi Handa
4016646482 (gnus-ems-redefine): Require `gnus-mule' only
when enable-multibyte-characters is non-nil.
1997-10-22 04:34:23 +00:00
Kenichi Handa
06dee88cc2 (gnus-structured-field-decoder): Pay attention
to enable-multibyte-characters.
(gnus-unstructured-field-decoder): Likewise.
1997-10-22 04:34:23 +00:00
Kenichi Handa
d34596414e (read-multilingual-string): Use
current-input-method prior to default-input-method.  Don't bind
current-input-method by `let', instead, activate the specified
input method in the current buffer temporarily.
1997-10-21 10:47:35 +00:00
Kenichi Handa
3fcbab9a49 Change the way of making coding
systems and no-conversion and undecide.
1997-10-21 10:47:35 +00:00
Kenichi Handa
ff8909d81d (describe-coding-system): Print
informatoin about coding system properties, post-read-conversion
and pre-write-conversion.
(print-coding-system-briefly): Adjusted for the change in mule.el.
(describe-current-coding-system): Likewise.
(print-coding-system): Likewise.
1997-10-21 10:47:35 +00:00
Kenichi Handa
f1fd88c6ac (coding-system-base): Moved to
mule.el.
(coding-system-post-read-conversion):
Use the new function coding-system-get.
(coding-system-pre-write-conversion): Likewise.
(coding-system-unification-table-for-decode): Likewise.
(coding-system-unification-table-for-encode): Likewise.
(coding-system-list): Adjusted for the change in mule.el.
(coding-system-plist): Deleted.
(coding-system-equal): Do not use coding-system-plist.
1997-10-21 10:47:35 +00:00
Kenichi Handa
0269ddfb0d The summary of the following changes:
(1) Make all coding systems (including aliases and subsidiaries)
directly have coding-spec vector in `coding-system' property.
(2) Properties of a coding system (except for `coding-system' and
`eol-type') is embeded in PLIST slot of coding-spec vector.
(coding-spec-plist-idx): Initialize to 3.
(coding-system-spec-ref): Deleted.
(coding-system-spec): Moved from src/coding.c.
(coding-system-type): Adjusted for the above change.
(coding-system-mnemonic): Likewise.
(coding-system-doc-string): Likewise.
(coding-system-flags): Likewise.
(coding-system-eol-type): Likewise.
(coding-system-category): Likewise.
(coding-system-get, coding-system-put, coding-system-category):
New functions.
(coding-system-base): Moved from mule-util.el and adjusted for the
above change.
(coding-system-parent): Make it obsolete alias of
coding-system-base.
(make-subsidiary-coding-system): Adjusted for the above change.
Update coding-system-list and coding-system-alist.
(make-coding-system): Likewise.
(set-buffer-file-coding-system): Typo in doc-string fixed.
(after-insert-file-set-buffer-file-coding-system): Change
enable-multibyte-characters only when
find-new-buffer-file-coding-system returns non-nil value.
(find-new-buffer-file-coding-system): Adjusted for the abobe change.
1997-10-21 10:47:35 +00:00
Kenichi Handa
b9c4dcd8f1 (devanagari-compose-from-is13194-region):
Return the length of converted region.
(in-is13194-devanagari-post-read-conversion): Return the result of
devanagari-compose-from-is13194-region.
1997-10-21 10:45:26 +00:00
Kenichi Handa
08d4b3907f Use coding-system-put to set coding
system properties, post-read-conversion and pre-write-conversion.
1997-10-21 10:45:26 +00:00
Kenichi Handa
69f24acff8 Use coding-system-put to set coding system
properties, post-read-conversion and pre-write-conversion.
(post-read-decode-hz): Return the result of decode-hz-region.
(pre-write-encode-hz): Do not change the value of
last-coding-system.
1997-10-21 10:45:26 +00:00
Kenichi Handa
d9da4d0c39 Use coding-system-put to set coding system
properties, post-read-conversion and pre-write-conversion.
1997-10-21 10:45:26 +00:00
Kenichi Handa
73b4b26409 (tibetan-post-read-conversion): Return
the length of converted region.
1997-10-21 10:45:26 +00:00
Kenichi Handa
bcd1768529 (xselect.o): Depend on buffer.h. 1997-10-21 10:43:40 +00:00
Kenichi Handa
4608c386ff (Qcoding_system_spec): Deleted.
(Vcoding_system_list, Vcoding_system_alist): New variables.
(setup_coding_system): Adjusted for the change in mule.el.
(detect_eol): Likewise.
(Fcoding_system_spec): Changed to Lisp function in mule.el.
(Fcoding_system_p): Do not call Fcoding_system_spec.
(Fread_coding_system): Give Vcoding_system_alist to
Fcompleting_read as the arg TABLE.
(Fread_non_nil_coding_system): Likewise.  Give
Vcoding_system_history to Fcompleting_read as the arg HIST.
(syms_of_coding): Deleted codes for Qcoding_system and
Fcoding_system_spec.  Set up new Lisp variables.
1997-10-21 10:43:40 +00:00
Kenichi Handa
5faa9b4571 Include buffer.h.
(selection_data_to_lisp_data): Do not perform code conversion if
the default value of enable-multibyte-characters is nil.
(lisp_data_to_selection_data): Likewise.  Access the array
`charsets' in the correct way.
1997-10-21 10:43:40 +00:00
Karl Heuer
48bad49001 Elements of kill-emacs-query-functions return nil, not non-nil,
to prevent Emacs from being killed.
1997-10-21 03:35:06 +00:00
Karl Heuer
396e0b08c6 Using cl macros push, pop, when, unless throughout
the file. This is not further mentioned in this ChangeLog entry.
Documentation largely updated.  Parser rewritten for better
Multifile Document processing.  Macros with naked label arguments
supported.  Some Mule related changes.
(reftex-default-label-alist-entries): Customization type is now
computed from reftex-label-alist-builtin. Enumerate has new
typekey `i'.  `n' is now reserved for footnotes etc.
(reftex-label-alist): Introduced default regular expressions.
Customization type is now computed from
reftex-label-alist-builtin.
(reftex-label-menu-flags): New flag for showing file borders.
(reftex-refontify-context): New option.
(reftex-bibfile-ignore-list): Now a user option (was: variable).
(reftex-cite-format): Now a user option (was: variable).
Customization type is now computed from
reftex-cite-format-builtin.
(reftex-comment-citations): Now a user option (was: variable).
(reftex-toc-follow-mode): Now a user option (was: variable).
(reftex-optimizations-for-large-documents): New custom group.
(reftex-keep-temporary-buffers): 1 as additional value.
(reftex-initialize-temporary-buffers): New option.
(reftex-enable-partial-scans): New option.
(reftex-save-parse-info): New option.
(reftex-plug-into-AUCTeX): Now a user option (was: variable).
(reftex-auto-show-entry): New value 'copy allowed.
(reftex-load-hook): Now a declared variable.
(reftex-mode-hook): Now a declared variable.
(reftex-label-numbers-symbol): Variable removed.
(reftex-list-of-labels-symbol): Variable removed.
(reftex-label-numbers-symbol): Variable removed.
(reftex-bibfile-list-symbol): Variable removed.
(reftex-docstruct-symbol): New variable (buffer-local).
(reftex-master-include-list): Variable removed.
(reftex-make-master-buffer): Function removed.
(reftex-make-master-buffer-hook): Hook removed.
(reftex-insert-buffer-or-file): Function removed.
(reftex-parse-document): Function adapted to new parser.
(reftex-access-scan-info): Changed to fit new parser.  Now detects
changes in label-alist related variables automatically.
(reftex-parse-one,reftex-parse-all): New functions.
(reftex-all-document-files): New function.
(reftex-grep-document,reftex-search-document,
reftex-query-replace-document): Now use
`reftex-all-document-files'.
(reftex-section-or-include-regexp): New variable.
(reftex-everything-regexp): New variable.
(reftex-find-label-regexp-format): New variable.
(reftex-find-label-regexp-format2): New variable.
(reftex-do-parse): New function.
(reftex-is-multi): New function.
(reftex-parse-from-file): New function.
(reftex-locate-bibliography-files): New function.
(reftex-last-assoc-before-elt): New function.
(reftex-replace-label-list-segment): New function.
(reftex-silence-toc-markers): New function.
(reftex-access-parse-file): New function.
(reftex-label): Now uses `reftex-where-am-I'.
(reftex-offer-label-menu): New keys `%' and `i' and `r'.
(reftex-select-item): Recursive edit moved to key `e'.  New key
`x' for external documents.  Works now also with nin-nil
pop-frame.
(reftex-offer-label-menu): Now uses `reftex-where-am-I'.
(reftex-make-and-insert-label-menu): More efficient, allow
optional extra fontification.
(reftex-find-nearby-label): Function removed.
(reftex-scan-buffer-for-labels): Function removed.
(reftex-section-info): New function.
(reftex-nth-parens-substring): Renamed to reftex-nth-arg.  Return
nil when not enough args are present.
(reftex-move-over-touching-args): New function.
(reftex-where-am-I): New function.
(reftex-nth-arg-wrapper): New function.
(reftex-select-label-callback): Deal with special macros as well.
(reftex-find-duplicate-labels): Ignore special entries in
docstruct.
(reftex-kill-temporary-buffers): New arg buffer.
(reftex-show-entry): Copy context when necessary.
(reftex-toc): New key `R', use reftex-where-am-I.
(reftex-nearest-section): Use reftex-where-am-I.
(reftex-toc-visit-line): Completely rewritten.  Uses markers and
several backup methods.
(reftex-citation): Recursive edit moved to `e' key.
(reftex-scan-buffer): Function removed.
(reftex-get-bibfile-list): Changed to work with chapterbib
package.
(reftex-find-tex-file): New function.
(reftex-find-files-on-path): Now first looks for file with
additional .tex extension, then for the naked file name.
(reftex-citation): Split into reftex-citation and
reftex-do-citation.
(reftex-do-citation): Recursive edit now on `e' key.
(reftex-what-macro): Allow white space between macro arguments.
(reftex-allow-for-ctrl-m): Renamed to
`reftex-make-regexp-allow-for-ctrl-m'.
(reftex-nearest-match): New function.
(reftex-auto-mode-alist): New function.
(reftex-make-desparate-section-regexp): New funtion.
(reftex-get-file-buffer-force): Rewritten to use new variable
`reftex-initialize-temporary-buffers'.
(reftex-label-alist-builtin): Use abbreviated regexps.
(reftex-label-mac-list): New variable.
(reftex-parse-args): New function.
(easy-menu-define): Menu extended. Some parts are now computed.
from the user options.
(reftex-move-to-next-arg,reftex-move-to-previous-arg) New
functions.  Now we can parse macros with distributed arguments.
(reftex-goto-label): Function removed.
(reftex-position-cursor): Function removed.
(reftex-item): Function removed.
(reftex-add-to-label-alist): No longer autoloaded.
(reftex-toc-indent): Constant removed.
(reftex-label-indent): Constant removed.
(reftex-context-indent): Constant removed.
(reftex-match-string): New function.
(reftex-memory): New variable
(reftex-reset-mode): No longer hacks local variables.  Now resets
path variables as well.
(reftex-truncate): New functions, to make RefTeX work with Mule.
(reftex-fp): New macro, to make RefTeX work with Mule.
(reftex-format-bib-entry): Now uses `reftex-truncate' to truncate
author names.  `extra' and `title' are no longer truncated at all.
(reftex-all-assq): New function.
(reftex-view-crossref): Works now also if mouse click is on macro.
(reftex-context-substring): Now returns substring without text
properties.
(reftex-tex-path,reftex-bib-path): New variables.
(reftex-split): Function replaced with builtin `split-string'.
(reftex-find-bib-file): New function.
(reftex-find-files-on-path): Function removed.
(reftex-find-file-on-path): New function.
(reftex-access-search-path,reftex-parse-colon-path,
reftex-recursive-directory-list,reftex-expand-path): New
functions, dealing with recursive TEXINPUTS and BIBINPUTS
definitions.
1997-10-21 03:15:20 +00:00
Karl Heuer
e01abb7d50 Add autoloads for `8859-1-map'. 1997-10-21 03:06:34 +00:00
Karl Heuer
98d5aafec1 (custom-group-value-create): Use
`custom-group-visibility' instead of `group-visibility'.
1997-10-21 03:04:39 +00:00
Karl Heuer
5be75283b3 (LD_SWITCH_MACHINE_TEMACS): New macro (defaults empty).
(ALL_LDFLAGS): Use LD_SWITCH_MACHINE_TEMACS here.
1997-10-21 02:59:21 +00:00