Stefan Monnier [Fri, 27 Jun 2003 21:54:38 +0000 (21:54 +0000)]
(VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros.
(GC_STRING_BYTES): Don't mask markbit (it's only used on `size').
(allocate_buffer): Move.
(string_bytes): Don't mask markbit of `size_byte'.
(mark_maybe_object, mark_maybe_pointer, Fgarbage_collect)
(mark_object, mark_buffer, survives_gc_p, gc_sweep):
Use the `size' field of buffers (rather than the `name' field) for
the mark bit, as is done for all other vectorlike objects.
Use the new macros to access the mark bit of vectorlike objects.
Stefan Monnier [Thu, 26 Jun 2003 23:20:50 +0000 (23:20 +0000)]
(Fset_window_dedicated_p): Simplify.
(display_buffer_1): Don't raise the win from which minibuf was entered.
(temp_output_buffer_show): Don't assume BEG == 1. Simplify.
(Fminibuffer_selected_window): Simplify.
(delete_window): Update for new types.
Stefan Monnier [Thu, 26 Jun 2003 23:17:29 +0000 (23:17 +0000)]
(check_markers, adjust_markers_for_delete)
(adjust_markers_for_insert, adjust_markers_for_replace)
(prepare_to_modify_buffer, RESTORE_VALUE): Update for new types.
Stephen Eglen [Thu, 26 Jun 2003 11:47:34 +0000 (11:47 +0000)]
(iswitchb-read-buffer): Remove redudant variable
iswitchb-prepost-hooks. Remove iswitchb-xemacs variable and use
(featurep 'xemacs) and fboundp instead. (From Stefan Monnier).
(iswitchb-completions): Remove two redundant arguments and local
variables. (From Stefan Monnier).
Stefan Monnier [Wed, 25 Jun 2003 23:28:14 +0000 (23:28 +0000)]
(make_interval, Fmake_symbol, allocate_misc):
Initialize the new field `gcmarkbit'.
(mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field.
(mark_interval_tree): Don't mark the tree separately from the nodes.
(UNMARK_BALANCE_INTERVALS): Don't unmark the tree.
(mark_maybe_object, mark_maybe_pointer, Fgarbage_collect, mark_object)
(survives_gc_p, gc_sweep): Use new `gcmarkbit' fields.
Glenn Morris [Sun, 22 Jun 2003 01:02:22 +0000 (01:02 +0000)]
(diary-check-diary-file): New function.
(diary, view-diary-entries, show-all-diary-entries)
(mark-diary-entries): Use it.
(view-other-diary-entries): Doc fix. Use `prefix-numeric-value'.
(diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
(diary-modified, d-file): No need to defvar (for compiler).
(list-diary-entries): No need for `let*' so use `let'.
(simple-diary-display): Use `diary-file' directly rather than
inheriting `d-file' from `list-diary-entries' caller.
(make-fancy-diary-buffer, show-all-diary-entries): `mode-line-format'
already buffer-local.
(diary-mail-addr): Set to the empty string (rather than nil) if
undefined, as per `user-mail-address'.
(diary-mail-entries): Doc fix. Error if `diary-mail-address' unset.
(mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
Remove an un-needed `if'.
(list-sexp-diary-entries): Remove local vars mark and s-entry, and
use `let' rather than `let*'.
(diary-date, insert-monthly-diary-entry)
(insert-yearly-diary-entry, insert-anniversary-diary-entry)
(insert-block-diary-entry, insert-cyclic-diary-entry)
(font-lock-diary-date-forms): No need for `let*' so use `let'.
(make-diary-entry): Doc fix. Use `or' rather than `if'.
(diary-font-lock-keywords): Use `when'. `cal-islam' is required
feature, not `cal-islamic'.
`calendar-islamic-month-name-array-leap-year' does not exist - use
`calendar-islamic-month-name-array'.
Kenichi Handa [Sat, 21 Jun 2003 02:26:13 +0000 (02:26 +0000)]
Many name changes: utf-16-{be,le} -> utf-16{be,le}.
(mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding
system aliases for backward compatibility.
Nick Roberts [Wed, 18 Jun 2003 22:37:40 +0000 (22:37 +0000)]
(gud-display1): Keep the gdb command, "display", in
the command history.
(gdb-restore-windows): Make restore work when gdb-many-windows
is nil.
(gdb-source-info, gdba): Display assembler if there is no symbol
table for main, or message if there is no main.
(gdb-assembler-custom): Move point to current line of assembler.
Nick Roberts [Wed, 18 Jun 2003 22:36:40 +0000 (22:36 +0000)]
(gud-menu-map): Add dbx support for "run" and
"nexti".
(dbx): Define gud-nexti and gud-run.
(gud-find-expr, gud-find-fortran-expr): New functions.
(gud-find-expr): New variable.
(gud-find-c-expr): Simplify.
Luc Teirlinck [Wed, 18 Jun 2003 03:03:23 +0000 (03:03 +0000)]
(Info-fontify-node): Give only the last whitespace character after the
node name the display property. Give all other such whitespace the
invisibility property.
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.