(fill-comment-paragraph): Handle indent-tabs-mode.
(fill-delete-newlines): Call sentence-end as function.
(fill-nobreak-p, canonically-space-region): Likewise.
(fill-nobreak-p): If this break point is at the end of the line,
don't consider the newline which follows as a reason to return t.
Various small changes in addition to:
(Window Point): Mention return value of `set-window-point'.
(Window Start): `pos-visible-in-window-p' disregards horizontal
scrolling. Explain return value if PARTIALLY is non-nil.
(Vertical Scrolling): Mention PIXELS-P argument to `window-vscroll'
and `set-window-vscroll'.
(Size of Window): The argument WINDOW to `window-inside-edges',
`window-pixel-edges' and `window-inside-pixel-edges' is optional.
(Resizing Windows): Explain return value of
`shrink-window-if-larger-than-buffer'.
`window-size-fixed' automatically becomes buffer local when set.
(Window Configurations): Explain return value of `set-window-configuration'.
Steven Tamm [Mon, 19 Jul 2004 06:38:14 +0000 (06:38 +0000)]
mac.c (sys_select): Block input around call to
ReceiveNextEvent to prevent breakage. Correctly handle
blocking on event queue only by calling ReceiveNextEvent
instead of select (since GUI events aren't on an fd).
(sys_read): Remove function
sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON
Steven Tamm [Mon, 19 Jul 2004 04:42:43 +0000 (04:42 +0000)]
Fixes for Ctrl-G support on carbon, replacing old timeout based polling
with alarm based polling.
mac.c (sys_select): Redo sys_select to use alarm-based
polling instead of 1 sec timeouts (like solaris).
macterm.c (x_make_frame_visible): Comment in polling on
frame creation.
keyboard.c: Undef SIGIO on Carbon
atimer.c (alarm_signal_handler): Call alarm handlers after
scheduling.
eval.c (Feval): Remove quit_char test
process.c (wait_reading_process_input): Remove clearing
stdin for select call on process input
Describe `Auto Revert Tail Mode' in `Commentary' section.
(auto-revert-handler): Do not check `auto-revert-tail-mode' for
non-file buffers. We know it is nil.
Kai Großjohann [Sat, 17 Jul 2004 17:28:43 +0000 (17:28 +0000)]
Sync with Tramp 2.0.43.
(tramp-handle-verify-visited-file-modtime): Remove
outdated comment.
(tramp-locked, tramp-locker): New variables for implementing a
global lock.
(tramp-sh-file-name-handler): Use them to implement the global
lock.
Jonathan Yavner [Sat, 17 Jul 2004 17:06:26 +0000 (17:06 +0000)]
Added some additional functions to the `1-valued', `compose', and progn groups.
Bugfix for marking up the definition for an empty function.
New category "potentially-1valued" for functions that are not erroneous if either 1-valued or multi-valued.
(coordinates_in_window): Inside the window but outside
its box to the L or R, return ON_VERTICAL_BORDER.
(window_list_1): Rotate the list to start with WINDOW.
Kim F. Storm [Fri, 16 Jul 2004 10:42:26 +0000 (10:42 +0000)]
(cua--preserve-mark-commands): New defvar.
Init to beginning-of-buffer and end-of-buffer.
(cua--undo-push-mark): New defvar.
(cua--pre-command-handler): Set inhibit-mark-movement if mark is
already active and command is in cua--preserve-mark-commands.
Also fix check for shift modifier on non-window systems.
(cua--post-command-handler): Clear inhibit-mark-movement if set.
Kim F. Storm [Fri, 16 Jul 2004 10:42:00 +0000 (10:42 +0000)]
(inhibit-mark-movement): New defvar.
(beginning-of-buffer, end-of-buffer): Do not push mark if
inhibit-mark-movement is non-nil or C-u prefix is given.
Daniel Pfeiffer [Wed, 14 Jul 2004 21:06:39 +0000 (21:06 +0000)]
(auto-revert-tail-mode, auto-revert-tail-mode-text, auto-revert-tail-pos): New vars.
(auto-revert-mode): Turn off auto-revert-tail-mode, so we're not in both at the same time.
(auto-revert-tail-mode): New command.
(turn-on-auto-revert-tail-mode, auto-revert-tail-handler): New funs.
(auto-revert-handler): Revert only either tail or whole file.
(Ffloat_time, Fformat_time_string, Fdecode_time)
(Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings
that time values of the type (HIGH . LOW) are considered obsolete.
2004-07-09 Mark A. Hershberger <mah@everybody.org>
* xml.el (xml-maybe-do-ns, xml-parse-tag): Produce elements in the
form
(("ns" . "element") (attr-list) children) instead of
((:ns . "element") (attr-list) children) in order to reduce the
number of symbols used.
(xml-skip-dtd): Change to use xml-parse-dtd but set
xml-validating-parsing to nil.
(xml-parse-dtd): Parse entity deleclarations in DOCTYPEs.
(xml-substitute-entity): Remove in favor of new entity substitution.
(xml-substitute-special): Rewrite in to substitute complex
entities from DOCTYPE declarations.
(xml-parse-fragment): Parse fragments from entity deleclarations.
(xml-parse-region, xml-parse-tag, xml-parse-attlist)
(xml-parse-dtd, xml-substitute-special): Make validity checks
conditioned on xml-validating-parser. Add "Not Well Formed" to
error messages about well-formedness.
Steven Tamm [Thu, 8 Jul 2004 15:24:54 +0000 (15:24 +0000)]
term/mac-win.el (mac-scroll-ignore-events, mac-scroll-down)
(mac-scroll-down-line, mac-scroll-up, mac-scroll-up-line):
Do not treat double clicks and triple clicks specially in the
scroll bar (preventing strange repositioning problems)
Various small changes in addition to:
(Killing Emacs): Expand and clarify description of
`kill-emacs-query-functions' and `kill-emacs-hook'.
(System Environment): Expand and clarify description of `getenv' and `setenv'.
(Timers): Clarify description of `run-at-time'.
(Translating Input): Correct description of `extra-keyboard-modifiers'.
(Flow Control): Correct description of `enable-flow-control'.