Luc Teirlinck [Wed, 4 Feb 2004 03:08:59 +0000 (03:08 +0000)]
(Text from Minibuffer): Various corrections and clarifications.
(Object from Minibuffer): Correct Lisp description of read-minibuffer.
(Minibuffer History): Clarify description of cons values for HISTORY arguments.
(Basic Completion): Various corrections and clarifications.
Add completion-regexp-list.
(Minibuffer Completion): Correct and clarify description of completing-read.
(Completion Commands): Mention partial-completion-mode.
Various other minor changes.
(High-Level Completion): Various corrections and clarifications.
(Reading File Names): Ditto.
(Minibuffer Misc): Ditto.
Jan Djärv [Tue, 3 Feb 2004 16:55:30 +0000 (16:55 +0000)]
* x-dnd.el: New file for drag and drop.
* term/x-win.el: require x-dnd, set after-make-frame-functions
to x-dnd-init-frame, let x-dnd-handle-drag-n-drop-event handle
drag-n-drop event.
* dired.el (dired-dnd-test-function, dired-dnd-popup-notice)
(dired-dnd-do-ask-action, dired-dnd-handle-local-file)
(dired-dnd-handle-file): New functions for drag and drop support.
(dired-mode): Initialize drag and drop if x-dnd present.
Jan Djärv [Tue, 3 Feb 2004 16:35:38 +0000 (16:35 +0000)]
* xfns.c (x-send-client-message): Moved to xselect.c
(Fx_change_window_property): Add optional arguments TYPE, FORMAT and
OUTER_P.
(Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P,
VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp
if vector_ret_p is true.
(syms_of_xfns): Sx_send_client_message moved to xselect.c.
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 "**".