Stefan Monnier [Mon, 17 Jul 2006 21:26:32 +0000 (21:26 +0000)]
(custom-autoload): Add `noset' argument.
(custom-push-theme): Don't autoload the variable, let callers do it.
(custom-theme-set-variables): Autoload the variable if necessary.
Kim F. Storm [Mon, 17 Jul 2006 14:25:05 +0000 (14:25 +0000)]
(handle_single_display_spec): Ensure the right value of
it->position is saved by push_it.
(pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING.
(reseat_1): Don't setup it->object twice.
(set_iterator_to_next): No need to set it->object after pop_it.
(move_it_to): Explicitly check to see if last move reached to_charpos.
(ff-special-constructs): Doc fix. Also, for C/C++
entry, don't assign to free var; simply return the extracted filename.
(ff-treat-as-special): Incorporate common preamble from callers.
(ff-other-file-name, ff-find-the-other-file):
Update call to ff-treat-as-special.
Nick Roberts [Sat, 15 Jul 2006 04:26:39 +0000 (04:26 +0000)]
(allout-run-unit-tests-on-load): Rectified docstring grammar.
(allout-beginning-of-current-line): Beware beginning of buffer. Also, a
comment is simplified.
(allout-hotspot-key-handler): Only set allout-post-goto-bullet when
appropriate. (This fix enables use for other than bullet-hotspot operation.)
(allout-hide-current-subtree): While escalating to sibling-close, make sure to
situate on a topic.
Kim F. Storm [Fri, 14 Jul 2006 23:32:14 +0000 (23:32 +0000)]
(Antinews): Mention redisplay function.
The kbd macro existed, but was not documented, before 22.x.
Function pos-visible-in-window-p is not new in 22.x, just enhanced.
Kim F. Storm [Fri, 14 Jul 2006 22:14:08 +0000 (22:14 +0000)]
(cua-delete-selection, cua-toggle-set-mark): New defcustoms.
(cua-rectangle-modifier-key): Add `alt' modifier.
(cua-replace-region): Don't delete if cua-delete-selection is nil.
(cua-set-mark): Don't clear mark if cua-toggle-set-mark is nil.
Suggested by Klaus Zeitler <kzeitler@lucent.com>.
Kim F. Storm [Fri, 14 Jul 2006 14:18:40 +0000 (14:18 +0000)]
(pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs.
(init_winsock): Load them. Use ws2_32.dll.
(sys_listen): Undo last change. Just set FILE_LISTEN flag.
(sys_accept): Undo last change. Instead, set child status to
STATUS_READ_ACKNOWLEDGED and reset char_avail event so next
sys_select will wakeup the reader thread.
(_sys_wait_accept): New function used by reader thread to wait for
an incoming connection on a server socket.
Eli Zaretskii [Fri, 14 Jul 2006 11:26:36 +0000 (11:26 +0000)]
Require 'cl during byte-compilation/interactive load, for the `assert' macro.
(allout-mode-deactivate-hook): New hook, is run when allout mode deactivates.
(allout-developer): New allout customization subgroup.
(allout-run-unit-tests-on-load): New allout-developer
customization variable, when true allout unit tests are run towards end of file
load/eval.
(allout-inhibit-auto-fill): Disable auto-fill activity even during
auto-fill-mode.
(allout-resumptions): Removed, to be replaced by...
(allout-add-resumptions): Register variable settings to be reinstated by
`allout-do-resumptions'. The settings are made buffer-local, but the
locality/globality of the suspended setting is restored on resumption.
(allout-do-resumptions): Reinstate all settings suspended using
`allout-add-resumptions'.
(allout-test-resumptions): Unit tests (and intermediate variables) for
resumptions.
(allout-tests-globally-unbound, allout-tests-globally-true)
(allout-tests-locally-true): Intermediate variables for resumptions unit tests.
(allout-overlay-preparations): Replaces `allout-set-overlay-category'.
(allout-exposure-category): Replaces 'allout-overlay-category variable.
(allout-mode): Use `allout-add-resumptions' and `allout-do-resumptions'
instead of retired `allout-resumptions'. For hook functions, use `local'
parameter so hook settings are created and removed as
buffer-local settings. Revise (resumptions) setting auto-fill-function so it
is set only if already active. (The related fill-function settings are all
made in either case, so that activating auto-fill-mode activity will have the
custom allout-mode behaviors (hanging indent on topics, if configured for it).
Also, remove all allout-exposure-category overlays on mode deactivation.
(allout-hotspot-key-handler): New function extracted from
`allout-pre-command-business', so the functionality can be used for other
purposes, eg as a binding in an overlay.
(allout-pre-command-business): Use new `allout-hotspot-key-handler'.
(allout-auto-fill): Respect new `allout-inhibit-auto-fill' customization
variable.
(allout-run-unit-tests): Run the (currently quite small) repertoire of unit
tests. Called just before the provide iff user has customized
`allout-run-unit-tests-on-load' non-nil.
Kim F. Storm [Fri, 14 Jul 2006 09:29:32 +0000 (09:29 +0000)]
Fix high cpu load for server sockets.
(pfn_WSAEventSelect): New function ptr.
(init_winsock): Load it.
(sys_listen): Set FILE_LISTEN flag. Set event mask for socket's
char_avail event object to FD_ACCEPT.
(sys_accept): Check FILE_LISTEN flag. Set event mask on new
socket's char_avail event object to FD_READ|FD_CLOSE.
Kim F. Storm [Thu, 13 Jul 2006 13:43:50 +0000 (13:43 +0000)]
(Fthrow): Remove loop around Fsignal.
(Feval, Fapply, Ffuncall): Optimize for no function indirection.
Use original function name in all signaled errors.
Simplify Fsignal calls (no return).
(funcall_lambda): Simplify Fsignal calls (no return).
Alex Schroeder [Wed, 12 Jul 2006 19:07:33 +0000 (19:07 +0000)]
Fix typos.
(Getting started with rcirc): New calling convention for M-x irc.
Mention #rcirc. Removed channel tracking.
(Configuration): Changed the names of all variables that got changed
recently, eg. rcirc-server to rcirc-default-server. Added
documentation for rcirc-authinfo, some background for Bitlbee, and
rcirc-track-minor-mode.
(Scrolling conservatively): Fixed the xref from Auto Scrolling to just
Scrolling.
(Reconnecting after you have lost the connection): Fixed example code
to match code changes.