Many changes to the parsing capabilities of etags.
The -C or -c++ options are now mostly obsolete.
Can delve at arbitrary deeps into structures of C-like languages.
* src/macfns.c (image_ascent, lookup_image): Adapt to change of
image margins.
* src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
(x_draw_image_relief, x_draw_image_foreground_1)
(x_draw_image_glyph_string): Adapt to change of image margins.
* src/macterm.c (mac_to_x_fontname): Change charset name of
Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
from ksc5601 to ksc5601.1989.
Kenichi Handa [Sun, 28 Jan 2001 01:12:01 +0000 (01:12 +0000)]
(font_family_registry): Even if FONTNAME conform to
XLFD, if it specifies other fields than family and registry,
return FONTANME. New argument FORCE if nonzero cancel that
feature.
(fontset_font_pattern): Call font_family_registry with FORCE 1 for
a signle byte character. Don't set FAMILY part to nil here. It
is handled by the caller choose_face_font.
(Fnew_fontset): Call font_family_registry with FORCE 0.
(Fset_fontset_font): Likewise.
Eli Zaretskii [Sat, 27 Jan 2001 12:43:56 +0000 (12:43 +0000)]
(shell-unquote-argument): If the shell is one of the
mentioned in shell-dumb-shell-regexp, don't treat a backslash as a
quote character.
(shell-dumb-shell-regexp): Document that the shells which match
this regexp are supposed to not treat a backslash as a quote
character.
Gerd Moellmann [Sat, 27 Jan 2001 12:07:49 +0000 (12:07 +0000)]
(dabbrev--substitute-expansion):
Treat a one-capital-letter abbrev as "not all upper case",
so as to force preservation of the expansion's pattern
if the expansion starts with a capital letter.
Kenichi Handa [Sat, 27 Jan 2001 01:51:04 +0000 (01:51 +0000)]
(quail-setup-completion-buf): Make the
multibyteness of current buffer inherited to Quail completion
buffer.
(quail-show-guidance-buf): Make the multibyteness of current
buffer inherited to Quail guidance buffer.
(quail-help): Make the multibyteness of current buffer inherited
to Quail help buffer.
Kenichi Handa [Fri, 26 Jan 2001 06:10:21 +0000 (06:10 +0000)]
(decode_coding): Set a flag for inhibiting
inconsistent eol.
(code_convert_region): Always set saved_coding_symbol.
(decode_coding_string): Likewise. Update coding->symbol when we
encounter a inconsistent eol by the same way as
code_convert_region.
Gerd Moellmann [Thu, 25 Jan 2001 20:27:30 +0000 (20:27 +0000)]
(x_after_update_window_line): Don't clear if frame's
internal border width is zero.
(x_clear_area): New function.
(x_after_update_window_line, x_clear_end_of_line)
(x_scroll_bar_create, x_scroll_bar_set_handle)
(XTset_vertical_scroll_bar, x_erase_phys_cursor): Use x_clear_area
instead of XClearArea.
Many small improvements in tagging accuracy and capability,
better tagging of DEFUNs, code cleanups.
2001-01-25 Francesco Potorti` <pot@potorti.it>
* etags.c (struct tok): Renamed from struct token.
(token): Renamed from tok.
(structtype): Make it a local variable.
[DEBUG]: Use assert.
(xrnew): Change the synopsis.
(typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
(grow_linebuffer): Don't call xrnew when not needed.
(token): buffer renamed to line.
(C_entries): Three calls to inibuffer moved here from main.
(C_entries): Removed all references to var methodlen, delete it.
(linebuffer_setlen): Was grow_buffer, now also sets len.
(consider_token, C_entries, Pascal_functions): Use it.
(C_entries): Preventing problems relative to extern "C".
(C_entries): Can tag more than one variable or func separated by
comma when --declarations is used.
(C_entries): More accurate tagging of members and declarations.
(yacc_rules): Was global, made local to C_entries.
(next_token_is_func): Removed.
(fvdef): New constants fdefunkey, fdefunname.
(consider_token, C_entries): Use them.
(C_entries): Build proper lisp names for Emacs DEFUNs.