1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

49173 commits

Author SHA1 Message Date
Jan Djärv
f94fda5c69 Minor addition 2004-02-03 18:09:55 +00:00
Jan Djärv
549007363d * frames.texi (Drag and drop): New section. 2004-02-03 18:02:45 +00:00
Jan Djärv
0074d3a095 Add note about drag and drop support. 2004-02-03 17:09:02 +00:00
Jan Djärv
b12f06619f Fix typo. 2004-02-03 17:00:50 +00:00
Jan Djärv
133aad747d * 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.
2004-02-03 16:55:30 +00:00
Jan Djärv
69eff41f7e Added C support for drag and drop (xterm.h, xterm.c, xfns.c and xselect.c) 2004-02-03 16:36:29 +00:00
Jan Djärv
b4715a7293 * 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.
2004-02-03 16:35:38 +00:00
Jan Djärv
1fb3821bbd * 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.
2004-02-03 16:34:57 +00:00
Jan Djärv
e69745bba5 * xterm.c (handle_one_xevent): Call x_handle_dnd_message for
ClientMessages.
2004-02-03 16:34:26 +00:00
Jan Djärv
8998a957ba * xterm.h: Add x_handle_dnd_message, x_check_property_data,
x_fill_property_data, x_property_data_to_lisp and check_x_display_info.
2004-02-03 16:33:53 +00:00
Benjamin Rutt
c010ecfa9a Bind q to `quit-window'. 2004-02-02 21:09:05 +00:00
Eli Zaretskii
dcdbbb5dc5 (Fcopy_file): If NEWNAME is a directory, expand the
basename of FILE relative to it, not FILE itself.
2004-02-02 20:52:20 +00:00
Stefan Monnier
82eb0daee6 (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.
2004-02-02 15:22:39 +00:00
David Kastrup
d83a97ab5f (perform-replace): Allow 'literal argument in
regexp-flag to indicate literal replacement.
(query-replace-regexp-eval): Use it.
2004-02-02 12:50:49 +00:00
David Kastrup
0fc8fa73bb *** empty log message *** 2004-02-02 12:50:24 +00:00
Kenichi Handa
09721b316c (coding_restore_composition): Check invalid
composition data more rigidly.
2004-02-02 12:09:36 +00:00
Andreas Schwab
c14dc0edf2 Regenerate. 2004-02-01 16:40:34 +00:00
Andreas Schwab
679be51789 (executable-command-find-posix-p): Doc fix. 2004-02-01 16:27:34 +00:00
Stephen Eglen
b3a3e4e162 Add support for maxima-mode. Update commentary
because info-lookup-symbol is now bound to C-h S.
2004-02-01 13:52:33 +00:00
Luc Teirlinck
ac459e8a5e *** empty log message *** 2004-02-01 00:04:28 +00:00
Luc Teirlinck
11178a0606 (edit-and-eval-command): Bind print-level and
minibuffer-history-sexp-flag around call to read-from-minibuffer.
Correct initial position in command-history.
2004-01-31 15:07:40 +00:00
Luc Teirlinck
eb99610125 *** empty log message *** 2004-01-31 04:41:35 +00:00
Luc Teirlinck
25802eac0d (read-directory-name): Adapt the docstring to recent change in Fread_file_name. 2004-01-31 04:38:32 +00:00
Luc Teirlinck
238aedc973 (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.
2004-01-31 04:24:23 +00:00
Eli Zaretskii
a0367d423d Fix the prototype for xfree. 2004-01-30 17:12:40 +00:00
Richard M. Stallman
2d7502b55b (term-mouse-paste): Call mouse-set-point. 2004-01-30 16:53:11 +00:00
Jonathan Yavner
9e2d29b605 Changes suggested by Stefan Monnier to truncate decimal places if print format too large for column width. 2004-01-30 08:02:57 +00:00
Stefan Monnier
cce5462e72 *** empty log message *** 2004-01-30 00:40:55 +00:00
Stefan Monnier
7b4d9d3bb7 (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.
2004-01-30 00:20:46 +00:00
Stefan Monnier
f415f2d726 (jit-lock-stealth-fontify): Allow quit.
(jit-lock-fontify-now): Handle the `quit' case.
(jit-lock-contextually): Rename from jit-lock-defer-contextually.
2004-01-30 00:08:38 +00:00
Richard M. Stallman
ab43c85050 (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.
2004-01-29 17:58:16 +00:00
Richard M. Stallman
750e563f99 (beginning-of-defun-raw, end-of-defun):
Iterate the hook function if arg is given.
(mark-defun, narrow-to-defun): Change order of finding the limits.
2004-01-29 17:56:42 +00:00
Richard M. Stallman
40f8257f08 (file-cache-find-posix-p): Deleted.
(file-cache-add-directory-using-find): Use `executable-command-find-posix-p'.
2004-01-29 17:55:39 +00:00
Richard M. Stallman
87f54c051d (grep-compute-defaults): Use executable-command-find-posix-p.
(grep-find): Check `grep-find-command'.
2004-01-29 17:54:36 +00:00
Richard M. Stallman
1476871642 (executable-command-find-posix-p):
New.  Check if find handles arguments Posix-style.
2004-01-29 17:53:17 +00:00
Stefan Monnier
05e72590a1 *** empty log message *** 2004-01-29 17:22:15 +00:00
Jonathan Yavner
100eda14f0 Increase ses-initial-column-width to 14, so it will play well with default
printer of "%.7g" for extreme values like "-1.234567e+07".
2004-01-29 06:51:03 +00:00
Kenichi Handa
3ff05361d8 *** empty log message *** 2004-01-29 04:58:11 +00:00
Kenichi Handa
ef99df9a86 (x-selection-value): Optimize for ASCII only case. 2004-01-29 04:56:11 +00:00
Kenichi Handa
13f52ed814 (string_char_to_byte): Optimize for ASCII only string.
(string_byte_to_char): Likewise.
2004-01-29 02:54:22 +00:00
Jason Rumney
d57625a021 *** empty log message *** 2004-01-28 23:33:32 +00:00
Jason Rumney
d37c8e1eeb Added support for the `default-printer-name' function. 2004-01-28 23:32:55 +00:00
Jason Rumney
39a0e1353f * makefile.w32-in, w32fns.c: Add `default-printer-name' function. 2004-01-28 23:31:03 +00:00
Jason Rumney
0e664bca59 gmake.defs, nmake.defs: Add linking to ``winspool.lib''. 2004-01-28 23:20:02 +00:00
Steven Tamm
911c78b4aa unexecmacos.x (unexec_copy): Do not copy more than was requested (count)
to prevent overwriting during unexec.
2004-01-28 06:07:36 +00:00
Stefan Monnier
92c7831bff (server-socket-name): Don't use the hostname in the
socket name since /tmp is local to the host anyway.
2004-01-27 23:08:29 +00:00
Stefan Monnier
0734b0d08d (main): Don't use the hostname in the socket name.
Look for relative socket names in the /tmp dir rather than in cwd.
2004-01-27 23:07:13 +00:00
Stefan Monnier
e8a12926bb (easy-mmode-define-navigation): Use a more robust check of widening. 2004-01-27 22:54:45 +00:00
Jan Djärv
ce38070aa2 * process.c (sigchld_handler): Add comment about not calling malloc 2004-01-27 21:34:43 +00:00
Richard M. Stallman
f5ea26f8ec 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.
2004-01-27 19:01:24 +00:00