Jan Djärv [Fri, 28 Jun 2002 19:42:48 +0000 (19:42 +0000)]
(x_focus_changed): New function.
(x_detect_focus_change): New function.
(XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
EnterNotify and LeaveNotify to track X focus changes.
Stefan Monnier [Thu, 27 Jun 2002 21:46:45 +0000 (21:46 +0000)]
(mouse-wheel-change-button): Deactivate before changing.
(mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
(mouse-wheel-up-event, mouse-wheel-down-event): New vars.
(mouse-wheel-follow-mouse): Change default to t.
(mwheel-event-button): Return the basic event symbol.
(mwheel-scroll): Work with non-mouse events.
(mouse-wheel-mode): Use the new vars.
(mwheel-install): Obey `uninstall'.
Kim F. Storm [Thu, 27 Jun 2002 20:42:35 +0000 (20:42 +0000)]
(mode_line_string_list, mode_line_string_face)
(mode_line_string_face_prop): New variables.
(store_mode_line_string): New function.
(display_mode_element): Use store_mode_line_string to
add mode-line string elements to mode_line_string_list
when mode_line_string_list is non-nil.
(Fformat_mode_line): Now returns propertized string by
default. New arg NO-PROPS to ignore properties.
(decode_mode_spec): Only add two dashes for %- in propertized
mode-line string.
(syms_of_xdisp): Init and staticpro mode_line_string_list.
Kai Großjohann [Thu, 27 Jun 2002 15:52:51 +0000 (15:52 +0000)]
(tramp-file-name-structure)
(tramp-multi-file-name-hop-structure): Split for easier
readability.
(tramp-handle-make-symbolic-link): Use user/host/method/... from
LINKNAME, not FILENAME.
(tramp-handle-verify-visited-file-modtime): Call
tramp-ange-ftp-file-name-p with right parameters.
(tramp-handle-verify-visited-file-modtime): `insert' does not
work for integers, convert them to strings first.
(tramp-handle-ange-ftp): New function to perform setup for
replacing Ange-FTP with Tramp.
(tramp-repair-jka-compr): New function to factor out some
previously top-level code. Call the function at top-level.
Stefan Monnier [Thu, 27 Jun 2002 15:35:48 +0000 (15:35 +0000)]
(uniquify-delay-rationalize-file-buffer-names):
Rename from delay-uniquify-rationalize-file-buffer-names.
Only rationalize if the buffer is under uniquify control.
(uniquify-delayed-rationalize-file-buffer-names):
Rename from delayed-uniquify-rationalize-file-buffer-names.
(describe-variable): Capitalize "not documented" message.
(describe-function-1): Likewise. Also, document the obsolescence
of the function, if applicable.
(do_completion, Fminibuffer_complete_word)
(Fminibuffer_completion_help): Complete just the text before point.
(minibuffer_completion_contents): New function.
Stefan Monnier [Tue, 25 Jun 2002 01:09:52 +0000 (01:09 +0000)]
(byte-compile-callargs-warn):
Check for `noruntime' even if the function has a known sig.
(byte-compile-file, byte-compile-output-docform):
Don't hard code point-min = 1.
Stefan Monnier [Tue, 25 Jun 2002 00:11:28 +0000 (00:11 +0000)]
(cvs-parse-process): Don't save/restore point.
Fix last change not to introduce spurious dir FIs.
(cvs-move-to-goal-column): New function extracted from
cvs-mode-previous-line.
(cvs-mode-previous-line, cvs-mode-next-line): Use it.
(cvs-addto-collection): Use it to preserve point.
(cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
Stefan Monnier [Mon, 24 Jun 2002 21:35:09 +0000 (21:35 +0000)]
(describe-property-list): Make sure there's
a space between the property name and its value.
(describe-text-properties): Don't kill a pre-existing buffer.
Stefan Monnier [Sun, 23 Jun 2002 22:13:15 +0000 (22:13 +0000)]
(event-start, event-end, event-click-count):
Accept non-mouse events as well.
(read-key): New function.
(read-quoted-char): Use it. Use this-single-command-raw-keys as well.
Stefan Monnier [Sun, 23 Jun 2002 21:16:38 +0000 (21:16 +0000)]
Rename (and mark as obsolete)
find-file-hooks to find-file-hook,
find-file-not-found-hooks to find-file-not-found-functions,
write-file-hooks to write-file-functions,
write-contents-hooks to write-contents-functions.
Mark local-write-file-hooks as obsolete.
(locate-file-completion): Don't cons uselessly. Use test-completion.
(basic-save-buffer): Use (point-min) rather than 1.
(basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
Stefan Monnier [Sun, 23 Jun 2002 21:02:45 +0000 (21:02 +0000)]
(describe-variable): Only use `buffer' is still live.
Use `delete-region' instead of save-excursion + delete-char.
Document the obsolescence of the variable, if applicable.