Colin Walters [Tue, 28 May 2002 17:40:47 +0000 (17:40 +0000)]
(byte-compile-last-line): Deleted.
(byte-compile-delete-first): New function.
(byte-compile-read-position): New variable.
(byte-compile-last-position): New variable.
(byte-compile-current-buffer): New variable.
(byte-compile-log-1): Use it.
(byte-compile-set-symbol-position): New function.
(byte-compile-obsolete, byte-compile-callargs-warn)
(byte-compile-arglist-warn, byte-compile-arglist-warn)
(byte-compile-print-syms, byte-compile-file-form-defmumble)
(byte-compile-check-lambda-list, byte-compile-lambda)
(byte-compile-form, byte-compile-variable-ref)
(byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
(byte-compile-condition-case, byte-compile-defun)
(byte-compile-defvar, byte-compile-autoload)
(byte-compile-lambda-form): Use it.
(byte-compile-from-buffer): Set it, and bind
`read-with-symbol-positions' and `read-symbol-positions-list'.
(byte-compile-debug): New variable.
Colin Walters [Tue, 28 May 2002 16:24:55 +0000 (16:24 +0000)]
lread.c (readchar_count): New variable.
(readchar): Increment it.
(unreadchar): Decrement it.
(read_multibyte): Decrement it.
(Vread_with_symbol_positions): New variable.
(Vread_symbol_positions_list): New variable.
(read_internal_start): New function, created from Fread and
Fread_from_string. Handle Vread_symbol_positions_list and
Vread_with_symbol_positions.
(readevalloop, Fread, Fread_from_string): Use it.
(read1): Use readchar_count to add symbol positions to
Vread_symbol_positions_list if Vread_with_symbol_positions is
non-nil.
(syms_of_lread): DEFVAR_LISP and initialize them.
Kim F. Storm [Mon, 27 May 2002 22:06:29 +0000 (22:06 +0000)]
(Fcall_interactively) <"D">: Supply Qfile_directory_p
predicate for Fread_file_name when reading directory name.
Supply Qnil for predicate in other calls to Fread_file_name.
Kim F. Storm [Mon, 27 May 2002 22:05:00 +0000 (22:05 +0000)]
(Vread_file_name_function, Vread_file_name_predicate):
New variables.
(syms_of_fileio): DEFVAR_LISP them.
(read_file_name_cleanup): New unwind function.
(Fread_file_name_internal): Only return completions satifying
Vread_file_name_predicate. Temporarily unwind protect and rebind
default-directory while checking completions against the predicate.
(Fread_file_name): Added PREDICATE argument. Specbind it to
Vread_file_name_predicate during completion.
Call Vread_file_name_function to read the file name if non-nil.
Kim F. Storm [Mon, 27 May 2002 12:14:52 +0000 (12:14 +0000)]
(cua-set-mark): Align pop to marko
behaviour with standard set-mark-command.
(cua--pre-command-handler): Use push-mark-command.
(cua-repeat-replace-region): Improve functionality when
repeated after moving point or changing buffer.
Kim F. Storm [Sun, 26 May 2002 00:54:10 +0000 (00:54 +0000)]
(cua--repeat-replace-text): New variable.
(cua-repeat-replace-region): New command.
(cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
Misc improvements to the commantary.
Miles Bader [Sat, 25 May 2002 05:15:07 +0000 (05:15 +0000)]
(menu-bar-showhide-fringe-menu-customize-left)
(menu-bar-showhide-fringe-menu-customize-right)
(menu-bar-showhide-fringe-menu-customize-disable):
Use proper calling convention for `customize-set-value'.
Require `fringe' before setting variable.
Kim F. Storm [Sat, 25 May 2002 00:08:36 +0000 (00:08 +0000)]
(cua--init-rectangles): Install default
binding in cua--rectangle-keymap using cua--self-insert-char-p
to handle all global self inserting characters in rectangle mode.
Kim F. Storm [Sat, 25 May 2002 00:07:26 +0000 (00:07 +0000)]
(cua--init-global-mark): Install default
binding in cua--global-mark-keymap using cua--self-insert-char-p
to handle all global self inserting characters in gmark mode.
Glenn Morris [Fri, 24 May 2002 22:00:21 +0000 (22:00 +0000)]
(f90-end-of-subprogram): Remove the final (forward-line 1).
(f90-end-of-block, f90-beginning-of-block, f90-next-block-end,
f90-previous-block-start): New navigation commands.
Kim F. Storm [Thu, 23 May 2002 20:21:30 +0000 (20:21 +0000)]
(apropos-true-hit, apropos-false-hit-symbol)
(apropos-false-hit-str, apropos-true-hit-doc): New functions.
(apropos-command, apropos-value, apropos-documentation-internal)
(apropos-documentation-check-doc-file)
(apropos-documentation-check-elc-file): Use them to filter out
false matches where only one keyword matches, but more than once.
Colin Walters [Thu, 23 May 2002 03:39:00 +0000 (03:39 +0000)]
(font-lock-function): New variable.
(font-lock-default-function): New function, created from `font-lock-mode'.
(font-lock-mode): Just funcall `font-lock-default-function'.
Kim F. Storm [Wed, 22 May 2002 21:18:25 +0000 (21:18 +0000)]
(x_write_glyphs): Clear phys_cursor_on_p if current
phys_cursor's hpos is overwritten. This is still not completely
correct, as it doesn't really make sense to use hpos at all to
get the cursor glyph (as that is relative to the width of the
characters on the line, which may have changed during the update).
Jason Rumney [Wed, 22 May 2002 19:35:48 +0000 (19:35 +0000)]
* w32fns.c (enumfont_t): Remove tail, make pattern a normal
Lisp_Object.
(enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts):
Use modified enumfont_t struct.
* w32fns.c (Qhbar): New variable.
(x_specified_cursor_type): Use it.
Colin Walters [Tue, 21 May 2002 22:22:10 +0000 (22:22 +0000)]
(Info-fontify): Deleted.
(Info-select-node): Don't use it.
(Info-mode-hook): New variable.
(Info-mode): Set up categories.
(Info-fontify-menu-headers, Info-fontify-node): Use categories.
Colin Walters [Tue, 21 May 2002 21:14:03 +0000 (21:14 +0000)]
(make-coding-system): Doc fixes.
(auto-coding-functions): New variable.
(auto-coding-from-file-contents): Use it.
(set-auto-coding): Update docs.
(sgml-xml-auto-coding-function): New function.