Kenichi Handa [Sat, 31 May 2003 00:56:42 +0000 (00:56 +0000)]
(DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags
is nonzero, accept multibyte form of eight-bit-control chars.
(decode_composition_emacs_mule): Likewise.
(decode_coding_emacs_mule): Likewise.
(encode_coding_emacs_mule): If coding->flags is nonzero, produce
multibyte form of eight-bit-control chars.
Stefan Monnier [Fri, 30 May 2003 18:52:46 +0000 (18:52 +0000)]
(latex-block-args-alist, latex-block-body-alist): New vars.
(latex-insert-block): Use them.
(tex-string-prefix-p): New fun.
(tex-guess-main-file): Use it to detect when the main file
is in a parent directory.
(tex-main-file): Try to find a main-file in parent directories.
(tex-compile-default): Don't use `gv' on pdf files just because
`gv' was used recently on a ps file. Remove unused arg `dir'.
Reuse a previous command as-is if it applied to the same file.
(tex-compile): Use the right file name when file is not in dir.
Stefan Monnier [Fri, 30 May 2003 18:28:16 +0000 (18:28 +0000)]
(refill-adjust-ignorable-overlay): Don't hardcode pint-min == 1.
(refill-fill-paragraph-at): Use a more robust method to detect
when the paragraph is after point. Remove unused var `fill-pfx'.
Stefan Monnier [Fri, 30 May 2003 15:34:02 +0000 (15:34 +0000)]
(edebug-storing-offsets): Move indent and debug to inside the macro.
(edebug-read-storing-offsets): Simplify.
(edebug-read-quote, edebug-read-function): Place the start-position correctly.
(edebug-read-backquote-new): Remove.
(edebug-read-backquote-level): New var to replace it.
(edebug-read-backquote): Increment it. Don't store offsets one extra time.
(edebug-read-comma): Decrement it. Read the comma as a plain
symbol if outside of any new-style backquote.
(edebug-read-list): Use edebug-read-backquote-level.
Don't call edebug-read-backquote directly. This way the extra
offsets store is done exactly when it's needed.
(edebug-read-vector): Use push.
(defmacro): Add support for the `declare' thingy.
Kenichi Handa [Fri, 30 May 2003 07:56:08 +0000 (07:56 +0000)]
(CCL_WRITE_CHAR): Increment extra_bytes only when it is
nonzero.
(ccl_driver): Initialize extra_bytes to ccl->eight_bit_control.
(setup_ccl_program): Initialize ccl->eight_bit_control to zero.
Stefan Monnier [Thu, 29 May 2003 23:53:21 +0000 (23:53 +0000)]
(forms-mode-hook): Rename from forms-mode-hooks.
(forms-mode): Use add-hook rather than make-local-variable+setq.
Use with-current-buffer. Run the new and the old hooks.
(forms--update): Use with-current-buffer and line-end-position.
(forms--goto-record): New fun.
(forms-jump-record, forms-insert-record, forms-delete-record): Use it.
(forms--process-format-list): Remove unused var `this-item'.
(forms--intuit-from-file): Remove unused var `the-result'.
(forms--trans): Remove unused var `x'.
(forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
Stefan Monnier [Thu, 29 May 2003 22:20:47 +0000 (22:20 +0000)]
(define-derived-mode, define-minor-mode): Remove outdated spec.
(save-match-data, with-output-to-string, with-current-buffer)
(combine-after-change-calls, with-temp-buffer, dolist, dotimes)
(unless, when): Remove specs that are now in the corresponding macro.
Stefan Monnier [Thu, 29 May 2003 22:09:24 +0000 (22:09 +0000)]
(edebug-window-list): Use push.
(edebug-macrop): Use functionp.
(edebug-functionp): Remove.
(edebug-get-displayed-buffer-points): Use push.
(edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
(edebug-list-form): Remove dead code.
(backquote-form): Correctly handle `(a . ,b).
(edebug-mode-map, global-edebug-map): Move init to inside the defvar.
Kenichi Handa [Thu, 29 May 2003 01:28:24 +0000 (01:28 +0000)]
(ctext-non-standard-encodings-alist):
Renamed from non-standard-icccm-encodings-alist.
(ctext-non-standard-encodings-regexp): New variable
(ctext-post-read-conversion): Full rewrite.
(ctext-non-standard-designations-alist): Renamed from
non-standard-designations-alist.
(ctext-pre-write-conversion): Full rewrite.
(set-face-attribute): Set face-modified prop to t
when we change the new-frame defaults.
(face-spec-set): Set face-modified prop to nil
when we change the new-frame defaults.
(describe-char-unicode-data): New dummy definition.
Real definition commented out since we can't use UnicodeData.txt as is.
(describe-char-unicodedata-file): Variable commented out.
Kai Großjohann [Wed, 28 May 2003 08:56:29 +0000 (08:56 +0000)]
(Init Rebinding): Xref Non-ASCII Rebinding, for
non-English letters. Explain how to set coding systems correctly
and how to include the right coding cookie in the file.
Glenn Morris [Tue, 27 May 2003 18:40:55 +0000 (18:40 +0000)]
(sh-here-document-word): Document new treatment of leading "-".
(sh-maybe-here-document): Strip a leading "-" from closing heredoc
delimiter, if present.
Glenn Morris [Tue, 27 May 2003 18:36:40 +0000 (18:36 +0000)]
Update copyright.
(timeclock-ask-before-exiting): Put `timeclock-query-out' on
`kill-emacs-query-functions' rather than `kill-emacs-hook'.
(timeclock-mode-string): Doc fix.
(timeclock-modeline-display): Doc fix. Use `global-mode-string' rather
than `mode-line-format'.
(timeclock-query-out): Doc fix.
(timeclock-update-modeline): No need for `let*', so use `let'.
Add some help-echo text to `timeclock-mode-string'.
(timeclock-mode-string): Give it the risky-local-variable property,
so that help-echo text will display.
(timeclock-find-discrep): Set `accum' to 0 if `timeclock-discrepancy' is nil.
Stefan Monnier [Tue, 27 May 2003 14:17:17 +0000 (14:17 +0000)]
(lisp-font-lock-syntactic-face-function): Don't infinite lop at bob.
(emacs-lisp-mode): Mark its main custom group to be `lisp'.
(prin1-char): New fun.
(eval-last-sexp-1): Use it. Use with-syntax-table as well.
(eval-defun-1): Don't replace `defvar' with `defconst'.
(construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. Scrolling down/up the
mouse wheel is respectively mapped to mouse button 4 and 5.
(w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs MOUSE_CLICK_EVENT
events. Forward w32 MSH_MOUSEWHEEL events as WM_MOUSEWHEEL events.