Stefan Monnier [Fri, 19 Oct 2007 15:59:13 +0000 (15:59 +0000)]
Add word-granularity refinement.
(smerge-refine-forward-function, smerge-refine-ignore-whitespace)
(smerge-refine-weight-hack): New vars.
(smerge-refine-forward): New fun.
(smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
(smerge-refine-subst): Use them as well. Preserve point.
(unload-function-features-list): Rename from `unload-hook-features-list'.
(unload-hook-features-list): Add as obsolete alias.
(unload-feature): Use `unload-function-features-list'
and new FEATURE-unload-function.
Katsumi Yamaoka [Thu, 18 Oct 2007 22:49:05 +0000 (22:49 +0000)]
From_ Johan Bockgrd, <http://article.gmane.org/gmane.emacs.devel/81056>
* net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
Use `save-restriction' rather than `widen'.
Stefan Monnier [Thu, 18 Oct 2007 19:06:44 +0000 (19:06 +0000)]
Don't change the global function-key-map anny more.
(xterm-mouse-mode): Use terminal-init-xterm-hook. Don't use
after-make-frame-functions now that term/xterm.el calls us directly.
(turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
Use turn-*-xterm-mouse-tracking-on-terminal. Only once per terminal.
(turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
Setup input-decode-map and remember that xterm-mouse-mode was
enabled in this terminal.
(turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
terminals where it has been enabled.
Stefan Monnier [Thu, 18 Oct 2007 19:02:23 +0000 (19:02 +0000)]
(tty-create-frame-with-faces): Make sure not only
tty-run-terminal-initialization but also set-locale-environment
are run only once per terminal.
(tty-run-terminal-initialization): Don't check if the terminal was
already initted.
Stefan Monnier [Thu, 18 Oct 2007 18:53:28 +0000 (18:53 +0000)]
(encoded-kbd-setup-display): Be careful not to remove keymaps that just
happen to inherit from one of ours. When setting up our keymap, make sure
it won't be accidentally modified by someone else.
Juri Linkov [Thu, 18 Oct 2007 00:09:22 +0000 (00:09 +0000)]
(Fill Commands): Undocument fill-paragraph-or-region.
fill-paragraph operates on the active region in Transient Mark mode.
(Fill Prefix, Format Indentation): Replace fill-paragraph-or-region
with fill-paragraph.
Juri Linkov [Thu, 18 Oct 2007 00:08:08 +0000 (00:08 +0000)]
(indent-for-tab-command): Change interactive spec from "P" to "p".
(indent-for-tab-command): Add check for interactive arg before
indenting the active region.
Juri Linkov [Thu, 18 Oct 2007 00:06:33 +0000 (00:06 +0000)]
(fill-paragraph-or-region): Remove function at the request of RMS.
(fill-paragraph): Change `arg' to optional `justify'. Add interactive
arg `region'. Fix docstring. At the first `or' branch add call to
`fill-region' if it the region is active in transient-mark-mode.
(feature-symbols, file-provides, file-requires, file-set-intersect,
file-dependents): Simplify.
(unload-feature-special-hooks): Update list of special hooks.
Reiner Steib [Wed, 17 Oct 2007 21:34:19 +0000 (21:34 +0000)]
* bindings.el (completion-ignored-extensions): Remove pdf and dvi
extensions since they can be viewed with doc-view.
* files.el (auto-mode-alist): Make doc-view-mode the default mode
for pdf, ps and dvi files.
* doc-view.el: Make doc-view-mode the standard mode for viewing
pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
text and image display. Add binding C-c C-e to switch to an
editing mode.
(doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
avoid security problems when rendering files untrusted sources.
Chong Yidong [Wed, 17 Oct 2007 15:57:17 +0000 (15:57 +0000)]
* process.c: Link to libs for calling res_init() if available.
(Fmake_network_process): Call res_init() before getaddrinfo or
gethostbyname, if possible.
Chong Yidong [Wed, 17 Oct 2007 02:50:23 +0000 (02:50 +0000)]
(longlines-wrap-follows-window-size): Integer value
specifies wrapping margin.
(longlines-mode, longlines-window-change-function): Set
window-specific wrapping margin based on the above.
Chong Yidong [Wed, 17 Oct 2007 02:50:12 +0000 (02:50 +0000)]
* longlines.el (longlines-wrap-follows-window-size): Integer value
specifies wrapping margin.
(longlines-mode, longlines-window-change-function): Set
window-specific wrapping margin based on the above.
Chong Yidong [Wed, 17 Oct 2007 02:47:39 +0000 (02:47 +0000)]
(longlines-wrap-follows-window-size): Integer value
specifies wrapping margin.
(longlines-mode, longlines-window-change-function): Set
window-specific wrapping margin based on the above.
Chong Yidong [Wed, 17 Oct 2007 02:47:28 +0000 (02:47 +0000)]
* longlines.el (longlines-wrap-follows-window-size): Integer value
specifies wrapping margin.
(longlines-mode, longlines-window-change-function): Set
window-specific wrapping margin based on the above.