1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-03 19:52:16 -07:00
Commit graph

28505 commits

Author SHA1 Message Date
Kenichi Handa
6e4dc3e1c3 (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL,
CHARSET_8_BIT_GRAPHIC): New macros.
(SINGLE_BYTE_CHAR_P): Make it faster by using casting.
(CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT.
(CHARSET_REVERSE_CHARSET): Likewise.
(CHARSET_VALID_P): Handle new charsets; eight-bit-control and
eight-bit-graphic.
(BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII.
(CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise.
(PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we
encounter an invalid multibyte sequence.
(PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte
sequence is always valid.
(MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted.
(UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New
macros.
(CHAR_STRING): For 8-bit characters, call char_to_string.
(INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version.  Assume
multibyte sequence is always valid.
(BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise.
(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte,
str_as_unibyte): Extern them.
(BCOPY_SHORT): Fix a bug.
(CHAR_LEN): This macro deleted.  Callers changed to use
CHAR_BYTES.
(FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING.
(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro.
(FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer.
2000-05-19 23:54:05 +00:00
Kenichi Handa
2e344af3e7 (Qeight_bit_control, Qeight_bit_graphic): New
variables.
(SPLIT_CHARACTER_SEQ): This macro deleted.
(SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is
valid.
(CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control
and eight-bit-graphic.
(char_to_string): Likewise.  Signal an error for too large
character code.
(char_printable_p): Return 0 for 8-bit characters.
(update_charset_table): Update iso_charset_table only when a final
character is non-negative.
(find_charset_in_text): Renamed from find_charset_in_str.
Arguments and return value changed.  Callers changed.
(Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can
be -1 if CHARSET is used only internally.
(Fmake_char_internal): Handle new charsets; eight-bit-control and
eight-bit-graphic.
(Fcharset_after): Simplified.
(char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR.
(char_bytes): Return 2 for chars of the range 0xA0..0xFF.
(multibyte_chars_in_text): Simplified by assuming there's no
invalid multibyte sequence.
(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte,
str_as_unibyte): New functions.
(Fstring): Simpified by assuming that byte combining never
happens.
(init_charset_once): Initialization for
LEADING_CODE_8_BIT_CONTROL.
(syms_of_charset): Intern and staticpro Qeight_bit_control and
Qeight_bit_graphic.  Include them in Vcharset_list.  Make charsets
eight-bit-control and eight-bit-graphic.
2000-05-19 23:52:27 +00:00
Kenichi Handa
bd045987c2 (CCL_WRITE_CHAR): Be sure to write single byte characters
as is.
(CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR.
2000-05-19 23:51:55 +00:00
Kenichi Handa
75ec644a43 (Fmodify_category_entry): Use SPLIT_CHAR, not
SPLIT_NON_ASCII_CHAR.
2000-05-19 23:51:29 +00:00
Kenichi Handa
c5bfa12bad (Fcall_process): Always encode an argument string if
it is multibyte.  Setup src_multibyte and dst_multibyte members of
process_coding properly.
2000-05-19 23:51:10 +00:00
Kenichi Handa
089b985ff9 (Fbyte_code): If arg BYTESTR is multibyte, convert it
to unibyte.
2000-05-19 23:50:52 +00:00
Kenichi Handa
a9bcded1f3 (advance_to_char_boundary): Don't use DEC_POS to find a
apparent char boundary.
(Fset_buffer_multibyte): Convert 8-bit characters in the range
0x80..0x9F to/from multibyte form.
2000-05-19 23:50:26 +00:00
Kenichi Handa
9eac9d597c (Fmake_byte_code): If BYTECODE-STRING is multibyte,
convert it to unibyte.
(make_string): Use parse_str_as_multibyte, not chars_in_text.
2000-05-19 23:49:35 +00:00
Kenichi Handa
b195b25d4d (fns.o): Depend on charset.h. 2000-05-19 23:48:03 +00:00
Stefan Monnier
db72f2a606 (ada-mode, ada-create-case-exception): Don't quote lambdas. 2000-05-19 21:40:45 +00:00
Stefan Monnier
3f0c3d8b96 (lisp-mode-variables): Set comment-add. 2000-05-19 21:36:14 +00:00
Gerd Moellmann
2b63d473a8 *** empty log message *** 2000-05-19 20:37:34 +00:00
Gerd Moellmann
8050f8c8a5 (gud-jdb-directories): Doc fix. 2000-05-19 20:35:18 +00:00
Gerd Moellmann
a1a8b28e52 (Fbury_buffer): Avoid trouble from burying a killed buffer. 2000-05-19 20:33:58 +00:00
Stefan Monnier
59a1ce8db6 Fix license text and author.
Move aliases (indent-for-comment, set-comment-column, kill-comment
and indent-new-comment-line) to the beginning of the file.
Get rid of the last few CLisms.
(comment-forward): Avoid decf.
(comment-make-extra-lines): Comment-out asserts.
(comment-with-narrowing): Properly create uninterned symbol.
(comment-region-internal): Comment-out asserts.  Avoid incf and decf.
(comment-indent-new-line): Fix bug where compt could be set but
not comstart.  Set comment-column more carefully.
2000-05-19 15:37:41 +00:00
Stefan Monnier
f1355756f5 *** empty log message *** 2000-05-19 14:50:26 +00:00
Gerd Moellmann
5f64c9e0cd *** empty log message *** 2000-05-19 11:58:45 +00:00
Gerd Moellmann
08fb7a1c66 (auto-mode-alist): Add pattern for `.shrc'. 2000-05-19 11:55:50 +00:00
Gerd Moellmann
729ae5471f (Vimages_types): Moved to xdisp.c.
(syms_of_xfns): Move `image-types' to xdisp.c.
2000-05-19 11:54:13 +00:00
Gerd Moellmann
8ee2a6b111 (Vimage_types): Add extern declaration. 2000-05-19 11:53:38 +00:00
Gerd Moellmann
e00daaa0ce (Vimage_types): Moved here from xfns.c.
(syms_of_xdisp): Move `image-types' variable here from xfns.c.
2000-05-19 11:52:59 +00:00
Gerd Moellmann
c6718dc4f5 (Vimage_types): Removed.
(syms_of_w32fns): Remove `image-types'.
2000-05-19 11:52:17 +00:00
Andreas Schwab
db7314bdb5 . 2000-05-19 09:47:47 +00:00
Gerd Moellmann
a199a865b3 *** empty log message *** 2000-05-18 21:52:57 +00:00
Gerd Moellmann
f4fa5c853a PostScript code compatibility with other utilities
like mpage, psnup, etc.
(isLineStep): Code fix.
(BeginDoc, BeginSheet): Utility compatibility.
2000-05-18 21:52:48 +00:00
Gerd Moellmann
98f2fbe725 * ps-print.el: Compatibility, customization and doc fix.
(ps-printer-name-option): Replace defconst by defvar.
(ps-postscript-code-directory): XEmacs compatibility.
(ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
fix.
(ps-user-defined-prologue, ps-print-prologue-header)
(ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
compatibility and code fix.
(ps-print-background-image, ps-print-background-text):
Customization fix.
(ps-line-number-start, ps-n-up-on): New vars.
2000-05-18 21:50:51 +00:00
Gerd Moellmann
25bb0401ab (msb-menu-cond): Add choice `user'. 2000-05-18 18:41:46 +00:00
Gerd Moellmann
9f92e5d9c5 (pascal-indent-alist, pascal-indent-comment): Changed
the indent-comment function to just return the appropriate indent.
2000-05-18 18:38:09 +00:00
Eric M. Ludlam
68e6c83ac0 *** empty log message *** 2000-05-18 17:57:46 +00:00
Eric M. Ludlam
8950623196 New Icon for speedbar. 2000-05-18 17:39:23 +00:00
Eli Zaretskii
fcd2e082ed Changes to allow "make foo.dvi" on DJGPP platforms:
(ENVADD): Redefine as empty, to avoid requiring a Unixy shell.
(TEXINPUTS): Use semi-colon; export explicitly.
(MAKEINFO): Export explicitly.
2000-05-18 14:46:49 +00:00
Dave Love
63dffd51db (Ffontset_info): ...and another. 2000-05-18 14:44:57 +00:00
Dave Love
06e6aef0f7 (Ffontset_info): Fix newline in doc. 2000-05-18 13:53:25 +00:00
Dave Love
dae6cb9fe9 (appt-make-list): Match all lines of entry.
From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
2000-05-18 13:12:08 +00:00
Dave Love
a198aa548e (Info-fontify-node): Add intangible property as well as
invisible.
2000-05-18 13:07:26 +00:00
Andreas Schwab
1473639373 (dired-between-files): Also skip lines beginning with `used'. 2000-05-18 12:19:41 +00:00
Kenichi Handa
813086ea08 *** empty log message *** 2000-05-17 23:35:57 +00:00
Kenichi Handa
c151654a5a (describe-char-after): Call
internal-char-font, not char-font.  If internal-char-font returns
nil, display "-- none --".
2000-05-17 23:31:47 +00:00
Kenichi Handa
1ff005e1ed Include "buffer.h".
(fs_load_font): If the face has fontset, record the face ID in
that fontset.
(Finternal_char_font): New function.
(accumulate_font_info): New function.
(Ffontset_info): Rewritten for the new fontset implementation.
(syms_of_fontset): Register Vdefault_fontset in the first element
of Vfontset_table.  Include Vdefault_fontset in
Vfontset_alias_alist.  Declare `internal-char-font' as a Lisp
function.
2000-05-17 23:30:30 +00:00
Kenichi Handa
a3b210c4ab (map_char_table): Pay attention to character number of
charset.  Check the validity of charset at the first level.   For
leaf nodes that has nil value, call C_FUNCTION or FUNCTION with
the default value.
2000-05-17 23:30:06 +00:00
Stefan Monnier
392f1ef546 (comment-beginning): Handle unclosed comment.
(comment-auto-fill-only-comments): New var.
(comment-indent-new-line): Obey comment-auto-fill-only-comments.
  Align with comment-column rather than previous comment if previous
  comment's indentation is greater than comment-column.
2000-05-17 19:32:32 +00:00
Jason Rumney
ed9df70498 Obsolete. Use xfaces.c instead. 2000-05-17 19:24:55 +00:00
Eli Zaretskii
249781907d (image-type-available-p): Don't reference image-types
if it isn't bound.
2000-05-17 15:58:11 +00:00
Stefan Monnier
2fca2d5d49 (autoarg-mode): Typo in the :set argument. 2000-05-17 15:24:43 +00:00
Eli Zaretskii
490f2e7bf6 Correct a typo in description of `woman.el'. 2000-05-17 12:08:51 +00:00
Eli Zaretskii
cfc75d051e (command-line-1): Don't signal an error if the
directory for auto-save-list files does not yet exist.
2000-05-17 11:38:40 +00:00
Gerd Moellmann
a4776185ab *** empty log message *** 2000-05-17 09:16:11 +00:00
Kenichi Handa
0e6652f053 (arabic-iso8859-6): Fix typo. 2000-05-17 00:35:54 +00:00
Kenichi Handa
c4e30387e7 *** empty log message *** 2000-05-17 00:35:21 +00:00
Stefan Monnier
ad679e458a (comment-string-strip): Strip terminating newlines.
(comment-search-forward): Make LIMIT compulsory.
  If an unterminated string (rather than a comment) is found, try again,
  assuming that the region starts inside a string.
(comment-beginning): Make sure we don't move if we find a comment but
  it's not the one we're in.
(comment-enter-backward): Handle the case where comment-end-skip fails.
(comment-indent): Normalize variables and use line-end-position.
(comment-kill): Use line-end-position.
(comment-spill): Remove.
(comment-indent-new-line): Renamed from indent-new-comment-line.
  Cleaned up old commented-out code.
  Reset comment-continue and comment-end before calling comment-indent.
2000-05-16 22:02:37 +00:00