Jan Djärv [Tue, 3 Feb 2004 16:34:57 +0000 (16:34 +0000)]
* xselect.c: Include termhooks.h and X11/Xproto.h
(x_check_property_data, x_fill_property_data)
(x_property_data_to_lisp, mouse_position_for_drop)
(Fx_get_atom_name, x_handle_dnd_message): New functions for DND support.
(Fx_send_client_event): Moved here from xfns.c.
(syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message.
Stefan Monnier [Mon, 2 Feb 2004 15:22:39 +0000 (15:22 +0000)]
(cperl-mode-map, cperl-do-auto-fill, cperl-menu): Use fill-paragraph,
not cperl-fill-paragraph.
(cperl-mode): Set fill-paragraph-function.
(cperl-fill-paragraph): Make it non-interactive.
Luc Teirlinck [Sat, 31 Jan 2004 15:07:40 +0000 (15:07 +0000)]
(edit-and-eval-command): Bind print-level and
minibuffer-history-sexp-flag around call to read-from-minibuffer.
Correct initial position in command-history.
Luc Teirlinck [Sat, 31 Jan 2004 04:24:23 +0000 (04:24 +0000)]
(Fread_file_name_internal): Correctly handle the case where
insert-default-directory is nil.
(Fread_file_name): Always return an empty string if the user exits
with an empty minibuffer. Adapt the docstring accordingly.
(syms_of_fileio): Adapt the docstring of insert-default-directory to
the change in Fread_file_name.
Stefan Monnier [Fri, 30 Jan 2004 00:20:46 +0000 (00:20 +0000)]
(jit-lock-context-time, jit-lock-context-timer): New var.
(with-buffer-unmodified, with-buffer-prepared-for-jit-lock):
Add edebug info.
(jit-lock-mode): Setup/cancel the new timer.
(jit-lock-context-fontify): New fun. Extracted from
context fontification code of jit-lock-stealth-fontify.
(jit-lock-stealth-fontify): Don't do context fontification any more.
(byte-compile-compatibility): Doc fix.
(byte-compile-format-warn): New.
(byte-compile-callargs-warn): Use it.
(Format, message, error): Add byte-compile-format-like property.
(byte-compile-maybe-guarded): New.
(byte-compile-if, byte-compile-cond): Use it.
(byte-compile-lambda): Compile interactive forms, just to make
warnings about them.
Change rmail-spam-filter- or spam-filter-
or rmail-spam- to rsf- in all function and variable names.
(rsf-min-region-to-spam-list): New variable.
(rsf-bbdb-auto-delete-spam-entries): Renamed from
rmail-bbdb-auto-delete-spam-bbdb-entries. The cc: field is
scanned together with the recipients field for spam testing; Don't
delete spam message if rmail-delete-after-output is non-nil;
(check-field) New function, extracted from code in
rmail-spam-filter to ease addition of header fields like content-type:.
(message-content-type) New variable. The content-type: field was
added also in defcustom of rsf-definitions-alist;
(rmail-spam-filter): Replace repeated test code for header fields
by calls to check-field; change the call to
rmail-output-to-rmail-file such that rmail-current-message stays
the same to avoid wrong deletion of unseen flags.
(rmail-use-spam-filter): Add autoload cookie.
(file-cache-find-posix-p): New function. Detect Cygwin.
(file-cache-add-directory-using-find): Added Cygwin support.
(file-cache-find-command-posix-flag): New user variable.
(file-cache-add-directory): Check for directories and remove them from
dir-files.
Jan Djärv [Mon, 26 Jan 2004 23:41:09 +0000 (23:41 +0000)]
Do not call strsignal in signal handler, it calls malloc.
New variable synch_process_termsig that callproc checks and calls
strsignal outside signal handler.
Jan Djärv [Mon, 26 Jan 2004 23:39:08 +0000 (23:39 +0000)]
Define synch_process_termsig.
(Fcall_process): Initiate synch_process_termsig to zero and
check if non-zero and get signal name after subprocess has ended.
Stefan Monnier [Mon, 26 Jan 2004 23:06:20 +0000 (23:06 +0000)]
(font-lock): Add jit-lock as explicit group member.
(jit-lock): Group declaration moved to jit-lock.el.
(toplevel): Don't explicitly require jit-lock, since it's autoloaded
when necessary.
Stefan Monnier [Mon, 26 Jan 2004 22:56:09 +0000 (22:56 +0000)]
(jit-lock): Move group declaration from font-lock.el.
(jit-lock-context-unfontify-pos): Rename from jit-lock-first-unfontify-pos.
(jit-lock-defer-buffers): Rename from jit-lock-buffers.
Luc Teirlinck [Mon, 26 Jan 2004 20:42:59 +0000 (20:42 +0000)]
(Text Comparison): assoc-string also matches elements of alists that
are strings instead of conses.
(Formatting Strings): Standardize Texinfo usage. Update index entries.
Glenn Morris [Sun, 25 Jan 2004 23:59:57 +0000 (23:59 +0000)]
(fortran-break-before-delimiters): Doc fix.
(fortran-break-delimiters-re, fortran-no-break-re): New defconsts.
(fortran-fill): When filling a string, adjust re-search-backward
argument for special case of string just on fill-column.
When filling non-string, allow one extra char if
fortran-break-before-delimiters is non-nil. Suggested by
Michael Hagemann <michael.hagemann@unibas.ch>.
Use fortran-break-delimiters-re and fortran-no-break-re to
correctly handle cases such as "**".
Thien-Thi Nguyen [Sat, 24 Jan 2004 17:00:21 +0000 (17:00 +0000)]
Use two semicolons as Commentary line prefix.
Add ";;; Code:" stylized comment.
Delete end-of-line whitespace.
Wrap (require 'cl) with `eval-when-compile'.
André Spiegel [Thu, 22 Jan 2004 23:34:33 +0000 (23:34 +0000)]
(vc-current-line): Function removed. This is now done by the new
function line-at-pos in simple.el.
(vc-annotate-warp-version): Use line-at-pos instead of
vc-current-line.
Stefan Monnier [Wed, 21 Jan 2004 20:19:41 +0000 (20:19 +0000)]
(kbd_buffer_gcpro): Remove.
(kbd_buffer_store_event, clear_event, Fdiscard_input)
(stuff_buffered_input, init_keyboard, syms_of_keyboard):
Don't intitialize and/or maintain the variable any more. It was made
redundant by my commit of 2003-06-15.