(conf-space-mode-internal): New subroutine. Reinit Font Lock mode.
(conf-space-mode): Always make conf-space-keywords and
conf-space-keywords-override local.
Call conf-space-mode-internal directly as well as via hook.
Eli Zaretskii [Sat, 9 Sep 2006 10:34:23 +0000 (10:34 +0000)]
(locate-current-search): New variable.
(locate): Set buffer local value. Use current buffer if it is in Locate mode.
(locate-mode): Disable undo here.
(locate-do-setup): Use locate-current-filter from buffer to be killed.
(locate-update): Use locate-current-search and locate-current-filter.
David Kastrup [Fri, 8 Sep 2006 19:47:27 +0000 (19:47 +0000)]
(desktop-read): when loading a desktop, disable
saving it while the load progresses, and switch off a pending lazy
load by calling `desktop-lazy-abort'.
[!MAC_OSX] Don't include keyboard.h.
[!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent
in the same BLOCK_INPUT block, in case that some input has already
been read asynchronously. Pretend to be interrupted by a signal
if some input is available.
[MAC_OSX] (select_and_poll_event, sys_select): Likewise.
(SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000.
Now used for ReceiveNextEvent timeout instead of select timeout.
(EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro.
[SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect
support. Quit event loop.
[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking
connect support. Reuse previously allocated CFRunLoopSource.
(Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function.
(syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
Stefan Monnier [Thu, 7 Sep 2006 16:18:06 +0000 (16:18 +0000)]
(inferior-prolog-flavor): New var left out of previous commit.
(inferior-prolog-guess-flavor): New fun left out of previous commit.
(prolog-consult-region-and-go): Don't hard code "*prolog*" and don't
burp in dedicated windows.
(inferior-prolog-self-insert-command): New command.
(inferior-prolog-mode-map): Use it.
Jan Djärv [Thu, 7 Sep 2006 07:44:33 +0000 (07:44 +0000)]
* dnd.el (dnd-protocol-alist): Add what url-handler-mode can handle.
(dnd-open-remote-url): New function.
(dnd-open-remote-file-function): Set to dnd-open-remote-url if
not windows-nt.
2006-09-07 Jason Rumney <jasonr@gnu.org>
* dnd.el (dnd-open-remote-file-function): New variable.
(dnd-open-unc-file): New function.
(dnd-open-file): Call dnd-open-remote-file-function if set.
Miles Bader [Thu, 7 Sep 2006 05:58:54 +0000 (05:58 +0000)]
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 134-135)
- Merge from emacs--devo--0
- Update from CVS
2006-09-06 Daiki Ueno <ueno@unixuser.org>
* lisp/pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with
pgg-passphrase-coding-system rather than locale-coding-system.
* lisp/pgg-def.el (pgg-passphrase-coding-system): New user option.
Stefan Monnier [Wed, 6 Sep 2006 17:34:12 +0000 (17:34 +0000)]
Remove * in docstrings.
(prolog-program-name): Add SWI prolog.
(prolog-mode-menu): New menu.
(prolog-mode): Set comment-add.
(prolog-indent-line): Simplify. Use indent-line-to.
(inferior-prolog-buffer): New var.
(inferior-prolog-run, inferior-prolog-process): New funs.
(run-prolog, switch-to-prolog): Rewrite, using them.
(prolog-consult-region): Use inferior-prolog-buffer.
(inferior-prolog-load-file): New function.
(prolog-mode-map): Add bindings for load-file and switch-to-prolog.
Kim F. Storm [Tue, 5 Sep 2006 22:52:29 +0000 (22:52 +0000)]
(line-move-partial): New function to do vscrolling for
partially visible images / tall lines. Rewrite based on code
previously in line-move. Simplify backwards vscrolling.
(line-move): Use it. Simplify.
Kim F. Storm [Tue, 5 Sep 2006 22:49:51 +0000 (22:49 +0000)]
(pos_visible_p): Remove exact_mode_line_heights_p arg;
so always calculate heights even when pos-visible-in-window-p is
called with partially = t. Don't overshoot last_visible_y in move_it_to.
Return row height and row number in new rowh and vpos args.
(cursor_row_fully_visible_p): First line is always "fully visible".
(try_window): Don't clear matrix if vscrolled.
Kim F. Storm [Tue, 5 Sep 2006 22:49:43 +0000 (22:49 +0000)]
(Fpos_visible_in_window_p): Adapt to new pos_visible_p.
Return row height and row number for partially visible rows.
Modify return value to a 2 element list for fully visible rows
and 6 for partially visible row.
(window_scroll_pixel_based): Use pos_visible_p directly instead of
Fpos_visible_in_window_p. Fix auto vscrolling for partially visible lines.
Only vscroll backwards if already vscrolled forwards. Unconditionally
vscroll forwards if PT is first (and only) line. Set new window start
instead of scrolling at start/end of tall line.