Eli Zaretskii [Fri, 4 Aug 2000 11:39:24 +0000 (11:39 +0000)]
(hi-lock-unface-buffer): If a menu of regexps is
popped up, but the user clicks outside the menu, return an empty
regexp (that causes unhighlight-regexp to have no effect).
Kenichi Handa [Fri, 4 Aug 2000 05:53:01 +0000 (05:53 +0000)]
(coding_restore_composition): Pay attention to the case that
cmp_data is not set properly (because of invalid code in the
source text).
(run_pre_post_conversion_on_str): Include text properties in the
resulting string.
(decode_coding_string): Set members of coding correctly.
Kenichi Handa [Fri, 4 Aug 2000 02:26:32 +0000 (02:26 +0000)]
(read_process_output): Big simplification. Handle
composition and post-read-conversion of coding system correctly.
(send_process): Handle composition correctly.
Gerd Moellmann [Thu, 3 Aug 2000 20:22:34 +0000 (20:22 +0000)]
(set_frame_size, update_wm_hints, EmacsFrameSetValues):
Use NULL instead of 0 at the end of variable argument list of
XtVaGetValues and XtVaSetValues, because 0 fails on systems where
sizeof (int) < sizeof (void *).
Gerd Moellmann [Thu, 3 Aug 2000 20:09:56 +0000 (20:09 +0000)]
Use NULL at the end of the
variable argument lists of XtVaSetValues and XtVaGetValues
functions because 0 is not sufficient on systems where sizeof
(int) < sizeof (void *).
Sam Steingold [Thu, 3 Aug 2000 18:11:47 +0000 (18:11 +0000)]
* pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
instead of `buffer-string'.
(require 'cl): Always, not just when compiling.
`ignore-errors' in `interactive', `list*', `defun*' &c make this necessary.
Gerd Moellmann [Wed, 2 Aug 2000 20:21:24 +0000 (20:21 +0000)]
(occur): Set tab-width in the *Occur* buffer to the
value of tab-width in the original buffer. Choose a line number
format that's a multiple of the original buffer's tab width, so
that lines appear right.
Eli Zaretskii [Mon, 31 Jul 2000 15:35:51 +0000 (15:35 +0000)]
(strokes-file): Run the file name through
convert-standard-filename.
(strokes-mode): Call display-mouse-p instead of looking at
window-system. Change the error message accordingly.
Eli Zaretskii [Mon, 31 Jul 2000 10:09:44 +0000 (10:09 +0000)]
(src): Make the rule faster by using a single djecho
command instead of multiple redir invocations.
(install): Speed up by using a command.com's for loop.
Eli Zaretskii [Mon, 31 Jul 2000 06:24:21 +0000 (06:24 +0000)]
(run_msdos_command): Save and restore the master
environment, for the case that child_setup signals an error.
When mirroring slashes in DOS shell commands, don't fail if
argv[2] has embedded blanks.
(iswitchb-entryfn-p): Test this-command instead
of testing if iswitchb-prepost-hooks is bound, because the
latter will always be true when invoking a recursive minibuffer
from an active Iswitchb buffer.
Fix bug 1: if ps-font-size-internal,
ps-header-font-size-internal and
ps-header-title-font-size-internal variables are not set,
ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
face text property is (foreground-color . COLOR) or
`(background-color . COLOR)', ps-print crashes. Doc fix.
(ps-print-version): New version number (5.2.4).
(ps-plot-region): Code fix.
(ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
(ps-face-attribute-list, ps-face-attributes, ps-face-background):
Bug fix 2.
(sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
types and exceptions.
(sql-placeholder-history): New variable.
(sql-query-placeholders-and-send): New function that will query
the user and replace placeholders with user input.
(sql-oracle): If running on NT, set comint-input-sender to
sql-query-placeholders-and-send.
(sql-stop): If in the SQLi buffer, insert stop notification, else
present it as a message.
(sql-input-ring-separator): Doc change.
(sql-input-ring-file-name): Doc change.
(sql-interactive-mode): Use `sql-input-ring-separator' and
`sql-input-ring-file-name' to set the comint-mode equivalents
without making them local variables.
(sql-stop): Don't bind `sql-input-ring-separator' and
`sql-input-ring-file-name' dynamically to their comint-mode
equivalents.
(Qkey_or_value, Qkey_and_value): New variables.
(syms_of_fns): Initialize new variables.
(sweep_weak_table): Handle weakness `key-or-value' and
`key-and-value'.
(Fmake_hash_table): Recognize `key-and-value' and `key-or-value'
weakness, with t meaning the same as `key-and-value'.
(cyrillic-koi8): Use `safe-chars' property instead of `safe-charsets'.
(cyrillic-alternativnyj): Likewise.
(ccl-encode-alternativnyj): Don't check the charset
cyrillic-iso8859-5.
(find-coding-systems-region-subset-p): This function deleted.
(sort-coding-systems-predicate): New variable.
(sort-coding-systems): New function.
(find-coding-systems-region): Use
find-coding-systems-region-internal.
(find-coding-systems-string): Use find-coding-systems-region.
(find-coding-systems-for-charsets): Check
char-coding-system-table.
(select-safe-coding-system-accept-default-p): New variable.
(select-safe-coding-system): Mostly rewritten. New argument
ACCEPT-DEFAULT-P.
(select-message-coding-system): Call select-safe-coding-system
with ACCEPT-DEFAULT-P arg.
(reset-language-environment): Reset default-sendmail-coding-system
to the default value iso-latin-1.
(set-language-environment): Don't set the obsolete variable
charset-origin-alist.
(Qsafe_charsets): This variable deleted.
(Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New
variables.
(coding_safe_chars): New function.
(CODING_SAFE_CHAR_P): New macro.
(CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of
checking safe_charsets member of the coding system. Caller
changed.
(detect_coding_iso2022): New local variable safe_chars.
(DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking
safe_charsets member of the coding system.
(decode_coding_iso2022): New local variable safe_chars.
(ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here.
(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
(ENCODE_ISO_CHARACTER): Arguments changed. Caller changed.
(ENCODE_UNSAFE_CHARACTER): New macro.
(encode_coding_iso2022): New local variable safe_chars. Check
unsafe chars.
(setup_coding_system): Delete the code to initialize
coding->safe_charses
(intersection, find_safe_codings): New functions.
(Ffind_coding_systems_region_internal): New function.
(syms_of_coding): Defsubr it. Initialize Qsafe_chars,
Qsafe_cding_system. Make Vchar_coding_system_table a Lisp
variable and initialize it.