Stefan Monnier [Tue, 17 Jun 2003 18:40:06 +0000 (18:40 +0000)]
(kill-new): Leave yank-handler property alone if no
explicit yank-handler is specified.
(vis-mode-saved-buffer-invisibility-spec): Rename from
saved-buffer-invisibility-spec.
(vis-mode): Correctly handle the case where the mode is turned on
or off several times in a row.
Kai Großjohann [Tue, 17 Jun 2003 14:05:19 +0000 (14:05 +0000)]
Version 2.0.35 of Tramp released.
From Michael Albinus <Michael.Albinus@alcatel.de>:
(Inline methods): Add methods `remsh' and `plink1'.
(External transfer methods): Add method `remcp'.
(Multi-hop Methods): Add method `remsh'.
Small patch from Adrian Aichner <adrian@xemacs.org>:
Fix minor typos.
(Concept Index): Added to make manual searchable via
`Info-index'.
(Version Control): Add cindex entry.
Kai Großjohann [Tue, 17 Jun 2003 14:03:58 +0000 (14:03 +0000)]
Version 2.0.35 of Tramp released.
* net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
(tramp-completion-function-alist): Add completion function for
"remcp", "remsh" and "plink1".
Factor out the `regular' file name handling via a remote shell of
some sort into a specific function. Intent is to later put that
part of Tramp into a special file, so that the Tramp `core' is
just a dispatcher that dispatches to various handlers.
(tramp-sh-file-name-handler): New function.
(tramp-foreign-file-name-handler-alist): New default value. Call
tramp-sh-file-name-handler as default case.
(tramp-file-name-handler): Do not invoke the old remote-shell
handler.
(tramp-find-foreign-file-name-handler): Return after first match
is found. From Francis Litterio <franl@world.std.com>.
(tramp-handle-file-newer-than-file-p): `tramp-time-diff' returns
integer, not list. Do not apply `car' to the return value of
`tramp-time-diff'. Reported by David D. Smith
<ultrasoul@ultrasoul.com>.
(tramp-time-diff): Convert return value of subtract-time to a
number of seconds in a correct manner, by applying float-time or
time-to-seconds. Also correct compat code accordingly. The
XEmacs branch for itimer-time-difference didn't need correction,
it returned a float already. Reported by David D. Smith
<ultrasoul@ultrasoul.com>.
(tramp-handle-insert-file-contents): When calling
`file-local-copy', let-bind `inhibit-file-name-operation'
accordingly. This makes sure that jka-compr is not called when
`insert-file-contents-literally' is invoked. From Katsumi Yamaoka
<yamaoka@jpl.org>.
(tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
writing the target file.
(tramp-foreign-file-name-handler-alist): Add comment about default
value having to come last.
(tramp-handle-file-local-copy, tramp-handle-write-region): Add the
"-p" hack.
(tramp-handle-copy-file): Set file modes of target file.
(tramp-handle-file-local-copy)
(tramp-do-copy-or-rename-via-buffer): Use binary coding system,
instead of no-conversion. They are the same on Emacs but
different on XEmacs.
(tramp-shell-prompt-pattern): Allow multiple escape
sequences (each with optional trailing space).
* net/tramp-uu.el:
* net/tramp-util.el:
* net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
for XEmacs compatibility.
Kenichi Handa [Tue, 17 Jun 2003 10:56:24 +0000 (10:56 +0000)]
(x-select-request-type): New variable.
(x-select-utf8-or-ctext): New function.
(x-selection-value): New function.
(x-cut-buffer-or-selection-value): Call x-selection-value to get
a selection data. Set next-selection-coding-system to nil.
Kenichi Handa [Tue, 17 Jun 2003 10:51:11 +0000 (10:51 +0000)]
Don't include cahrset.h, coding.h, composite.h.
(Qforeign_selection): New variable.
(syms_of_xselect): Intern and static it.
(selection_data_to_lisp_data): Return a unibyte string made from
data with `foreign-selection' text property.
Stefan Monnier [Mon, 16 Jun 2003 15:16:59 +0000 (15:16 +0000)]
(add-log-edit-prev-comment, add-log-edit-next-comment): New commands.
(change-log-mode-map): Bind them.
(smerge-resolve-function): Declare to quieten the byte-compiler.
(change-log-mode): Add the keymap to the docstring.
Stefan Monnier [Sun, 15 Jun 2003 21:46:53 +0000 (21:46 +0000)]
(mark_kboards): New fun, moved from alloc.c. Mark kbd_buffer.
(record_asynch_buffer_change, read_avail_input): Don't pass uninitialized
data to kbd_buffer_store_event.
Stefan Monnier [Sat, 14 Jun 2003 20:11:37 +0000 (20:11 +0000)]
(copyright-update-year): New function extracted from copyright-update.
When `arg' is set, replace the year, not the `copyright' text.
Ignore `copyright-update = nil' if called interactively.
Use "," rather than ", " if that's what was used before.
Recognize mixes of 2 and 4 digit years.
Use replace-match.
(copyright-update): Add interactivep arg. Use it instead of use last-command.
Use replace-match. Don't assume (point-min) == 1.
(shell-command-separator-regexp): New variable.
(shell-directory-tracker): Make regexp used for skipping to next command
correspond to one used for command itself.
Glenn Morris [Thu, 12 Jun 2003 17:28:48 +0000 (17:28 +0000)]
(display-time-hook, timeclock-modeline-display): Define for byte-compiler.
(timeclock-time-to-date, timeclock-workday-remaining)
(timeclock-time-to-seconds, timeclock-seconds-to-time): Move earlier
in the file so defined before used.
(timeclock-status-string): No need for `let*' so use `let'.
(timeclock-query-out): Always return a non-nil value.
Kim F. Storm [Mon, 9 Jun 2003 23:01:52 +0000 (23:01 +0000)]
(phys_cursor_in_rect_p): Fix 2003-05-24 change.
Adjust phys_cursor.x to be relative to window box, rather than
text area before checking -- to ensure cursor is redrawn when
exposing window.
Note: This also fixes a similar (older) bug if display margins
are present.
Kim F. Storm [Mon, 9 Jun 2003 22:00:34 +0000 (22:00 +0000)]
(Info-fontify-node): Make `invisible' property
non-sticky so that whitespace added by filling stays visible.
Make refilling less agressive by starting at beginning of current
line rather than beginning of current paragraph.
Stefan Monnier [Mon, 9 Jun 2003 17:42:22 +0000 (17:42 +0000)]
(tex-search-noncomment): New macro.
(tex-last-unended-begin, tex-next-unmatched-end): Use it
so we don't get confused by \begin and \end in comments.
(tex-compile): Change dir before calling tex-compile-default.
Nick Roberts [Sun, 8 Jun 2003 01:20:51 +0000 (01:20 +0000)]
(gdb-get-current-frame, gdb-frame-handler): Use Gdb
command `info frame' instead of `frame' to preserve point.
(gdb-invalidate-assembler): Only run disassemble again if frame
has changed.
(gdb-append-to-inferior-io): Revert change from 2003-05-17.
(shell-resync-dirs): Tolerate an extra line of output before the list of
directories from `shell-dirstack-query' (it looks for, and ignores, a literal
copy of the value of shell-dirstack-query).