bpt/emacs.git
14 years agoDon't crash if an X terminal is deleted with force == t.
Jan Djärv [Fri, 27 Nov 2009 17:27:04 +0000 (17:27 +0000)]
Don't crash if an X terminal is deleted with force == t.

* xftfont.c (xftfont_end_for_frame): Just return if dpyinfo->display
is NULL.

* xterm.c (x_delete_terminal): Set dpyinfo->display to NULL.

* frame.c (frame_make_pointer_invisible)
(frame_make_pointer_visible): Just return if there isn't any selected
frame.

14 years ago* NEWS: New functions eshell/su and eshell/sudo.
Michael Albinus [Fri, 27 Nov 2009 16:38:57 +0000 (16:38 +0000)]
* NEWS: New functions eshell/su and eshell/sudo.

14 years ago* eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
Michael Albinus [Fri, 27 Nov 2009 16:29:03 +0000 (16:29 +0000)]
* eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
providing a Tramp related implementation of "su" and "sudo".
(eshell-unix-initialize): Add "su" and "sudo".

14 years agoserach.c (simple_search): Remove warning by making *p const.
Jan Djärv [Fri, 27 Nov 2009 15:44:30 +0000 (15:44 +0000)]
serach.c (simple_search): Remove warning by making *p const.

14 years ago(socks-send-command): Convert binary request to
Daiki Ueno [Fri, 27 Nov 2009 07:35:14 +0000 (07:35 +0000)]
(socks-send-command): Convert binary request to
unibyte before sending.  This fixes mishandling of some port
numbers such as 129.

14 years ago(describe-bindings-internal): Remove `interactive'.
Stefan Monnier [Fri, 27 Nov 2009 04:24:47 +0000 (04:24 +0000)]
(describe-bindings-internal): Remove `interactive'.

14 years ago(Man-completion-table): Trim a terminating "(".
Stefan Monnier [Fri, 27 Nov 2009 04:08:04 +0000 (04:08 +0000)]
(Man-completion-table): Trim a terminating "(".
Remove the space between name page a section.
Add the command's description on the `help-echo' property.
Remove `process-connection-type' binding since it's unused by call-process.
Provide completion for the "<section> <name>" format as well.
(Man-default-man-entry): Remove spurious var shadowing the argument.

14 years ago(url-generic-parse-url): Bind deactivate-mark.
Stefan Monnier [Fri, 27 Nov 2009 01:27:04 +0000 (01:27 +0000)]
(url-generic-parse-url): Bind deactivate-mark.

14 years ago* commands.texi (Misc Events): vindex mouse-wheel-up-event and
Kevin Ryde [Thu, 26 Nov 2009 23:59:14 +0000 (23:59 +0000)]
* commands.texi (Misc Events): vindex mouse-wheel-up-event and
mouse-wheel-down-event, the closest thing to a definition for them.
* os.texi (Startup Summary): vindex inhibit-startup-message and
inhibit-splash-screen.
(Command-Line Arguments): vindex argv.
(Suspending Emacs): vindex suspend-tty-functions and
resume-tty-functions.  Don't want to index every hook, but having
the programming ones is helpful.

14 years ago* os.texi (Startup Summary): vindex inhibit-startup-message and
Kevin Ryde [Thu, 26 Nov 2009 23:58:23 +0000 (23:58 +0000)]
* os.texi (Startup Summary): vindex inhibit-startup-message and
inhibit-splash-screen.
(Command-Line Arguments): vindex argv.
(Suspending Emacs): vindex suspend-tty-functions and
resume-tty-functions.  Don't want to index every hook, but having
the programming ones is helpful.

14 years ago* commands.texi (Misc Events): vindex mouse-wheel-up-event and
Kevin Ryde [Thu, 26 Nov 2009 23:57:40 +0000 (23:57 +0000)]
* commands.texi (Misc Events): vindex mouse-wheel-up-event and
mouse-wheel-down-event, the closest thing to a definition for them.

14 years ago* sha1.el (sha1-string-external): default-directory "/" in case
Kevin Ryde [Thu, 26 Nov 2009 23:39:32 +0000 (23:39 +0000)]
* sha1.el (sha1-string-external): default-directory "/" in case
otherwise non-existent.  process-connection-type pipe for touch of
efficiency recommended by elisp manual.  (An aside in Bug#3911.)

14 years ago* log-view.el: Add "Keywords: tools", since its other keywords
Kevin Ryde [Thu, 26 Nov 2009 23:19:53 +0000 (23:19 +0000)]
* log-view.el: Add "Keywords: tools", since its other keywords
aren't in finder-known-keywords, and following vc.el.

14 years ago* MORE.STUFF: emacswiki ElispArea url "wiki.pl" -> "wiki".
Kevin Ryde [Thu, 26 Nov 2009 22:35:47 +0000 (22:35 +0000)]
* MORE.STUFF: emacswiki ElispArea url "wiki.pl" -> "wiki".
Aubrey Jaffer's texinfo R5RS moved to
http://groups.csail.mit.edu/mac/ftpdir/scm/r5rs.info.tar.gz
(per http://people.csail.mit.edu/jaffer/Scheme.html).

14 years agoMisc coding convention cleanups.
Stefan Monnier [Thu, 26 Nov 2009 16:24:36 +0000 (16:24 +0000)]
Misc coding convention cleanups.
* htmlfontify.el (hfy-init-kludge-hook): Rename from hfy-init-kludge-hooks.
(hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
(hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
(hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist and push.
(hfy-slant, hfy-weight): Use tables rather than code.
(hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
(hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
(hfy-face-attr-for-class): Initialize `face-spec' directly.
(hfy-face-to-css): Remove `nconc' with single arg.
(hfy-p-to-face-lennart): Use `or'.
(hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
(hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
(hfy-compile-stylesheet, hfy-merge-adjacent-spans)
(hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
(hfy-force-fontification): Use run-hooks.

14 years agoVarious minor fixes.
Stefan Monnier [Thu, 26 Nov 2009 15:22:27 +0000 (15:22 +0000)]
Various minor fixes.
* htmlfontify.el (hfy-default-header): Add toggle_invis since
Javascript belongs in the header, not the body.
(hfy-javascript): Remove.
(hfy-fontify-buffer): Don't insert it any more.
(hfy-face-at): Handle (face0 face1 face2) style face properties.
Fix bug in invis handling when there were no invis props in a chunk.

14 years ago(vc-bzr-annotate-command): Make operation asynchronous.
Stefan Monnier [Thu, 26 Nov 2009 14:50:28 +0000 (14:50 +0000)]
(vc-bzr-annotate-command): Make operation asynchronous.

14 years agoMention Metacity hang on Emacs resize.
Jan Djärv [Thu, 26 Nov 2009 07:15:33 +0000 (07:15 +0000)]
Mention Metacity hang on Emacs resize.

14 years ago(finder-mode-map): Add a menu.
Dan Nicolaescu [Thu, 26 Nov 2009 03:27:10 +0000 (03:27 +0000)]
(finder-mode-map): Add a menu.

14 years ago(power_letter): Remove duplicate const.
Dan Nicolaescu [Thu, 26 Nov 2009 03:24:41 +0000 (03:24 +0000)]
(power_letter): Remove duplicate const.

14 years ago* verilog-mode.el (verilog-at-struct-p): Support "signed" and
Dan Nicolaescu [Thu, 26 Nov 2009 03:18:31 +0000 (03:18 +0000)]
* verilog-mode.el (verilog-at-struct-p): Support "signed" and
"unsigned" structs.

(verilog-leap-to-head, verilog-backward-token): Handle "disable
fork" statement better.

* verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
(verilog-delete-empty-auto-pair, verilog-library-filenames): Fix
AUTOINSERTLISP to support insert-file.  Reported by Clay Douglass.

(verilog-auto-inst, verilog-auto-star-safe)
(verilog-delete-auto-star-implicit, verilog-read-sub-decls): Fix
removing "// Interfaces" when saving .* expansions.  Reported by
Pierre-David Pfister.

14 years ago(eshell/cd): Don't throw to a tag outside the scope.
Glenn Morris [Thu, 26 Nov 2009 03:09:58 +0000 (03:09 +0000)]
(eshell/cd): Don't throw to a tag outside the scope.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557572

14 years agoFix format.
Glenn Morris [Thu, 26 Nov 2009 03:08:30 +0000 (03:08 +0000)]
Fix format.

14 years ago(Latest version of Emacs): Mention stability of development version.
Glenn Morris [Thu, 26 Nov 2009 03:07:21 +0000 (03:07 +0000)]
(Latest version of Emacs): Mention stability of development version.
(Problems with very large files): Max buffer size increase in 23.2.
(VM): VM has moved house again.

14 years agoVM has moved again.
Glenn Morris [Thu, 26 Nov 2009 03:05:17 +0000 (03:05 +0000)]
VM has moved again.

14 years ago* arc-mode.el: Add "Keywords: files", so the details in its
Kevin Ryde [Thu, 26 Nov 2009 00:15:17 +0000 (00:15 +0000)]
* arc-mode.el: Add "Keywords: files", so the details in its
commentary can be reached from finder-by-keyword.

14 years ago* textmodes/bibtex-style.el: Add "Keywords: tex".
Kevin Ryde [Thu, 26 Nov 2009 00:07:01 +0000 (00:07 +0000)]
* textmodes/bibtex-style.el: Add "Keywords: tex".
* international/isearch-x.el, international/ja-dic-cnv.el,
international/ja-dic-utl.el, international/kkc.el:
Add "Keywords: i18n", so they can be reached from finder-by-keyword.

14 years ago* international/isearch-x.el, international/ja-dic-cnv.el,
Kevin Ryde [Thu, 26 Nov 2009 00:04:36 +0000 (00:04 +0000)]
* international/isearch-x.el, international/ja-dic-cnv.el,
international/ja-dic-utl.el, international/kkc.el,
international/robin.el: Add "Keywords: i18n", so they can be
reached from finder-by-keyword.

14 years ago* textmodes/bibtex-style.el: Add "Keywords: tex".
Kevin Ryde [Thu, 26 Nov 2009 00:01:20 +0000 (00:01 +0000)]
* textmodes/bibtex-style.el: Add "Keywords: tex".

14 years ago* textmodes/dns-mode.el: Add "Keywords: comm". It's only an
Kevin Ryde [Wed, 25 Nov 2009 23:52:00 +0000 (23:52 +0000)]
* textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
editing mode, but it's comms related and sgml-mode.el has "comm"
on that basis too.

14 years ago(vc-annotate-revision-previous-to-line): Really use previous revision.
Johan Bockgård [Wed, 25 Nov 2009 23:47:31 +0000 (23:47 +0000)]
(vc-annotate-revision-previous-to-line): Really use previous revision.

14 years ago(man): completion-ignore-case t for friendliness and since man
Kevin Ryde [Wed, 25 Nov 2009 22:52:02 +0000 (22:52 +0000)]
(man): completion-ignore-case t for friendliness and since man
itself is case-insensitive on the command line.

14 years ago* man.el (Man-completion-table): default-directory "/" in case
Kevin Ryde [Wed, 25 Nov 2009 22:42:11 +0000 (22:42 +0000)]
* man.el (Man-completion-table): default-directory "/" in case
doesn't otherwise exist.  process-environment COLUMNS=999 so as
not to truncate long names.  process-connection-type pipe to avoid
any chance of hitting the pseudo-tty TIOCGWINSZ.  (Further to
Bug#3717.)

14 years ago(Man-completion-table): Modify regexp to include section names
Juri Linkov [Wed, 25 Nov 2009 21:16:58 +0000 (21:16 +0000)]
(Man-completion-table): Modify regexp to include section names
to completion strings.  (Bug#3717)

14 years ago(delete_tty): Remove check for last terminal (bug#4970).
Jan Djärv [Wed, 25 Nov 2009 17:53:54 +0000 (17:53 +0000)]
(delete_tty): Remove check for last terminal (bug#4970).

14 years agoSearch recursively in gzipped files. (Bug#4982)
Juri Linkov [Wed, 25 Nov 2009 17:23:45 +0000 (17:23 +0000)]
Search recursively in gzipped files.  (Bug#4982)

(grep-highlight-matches): Add new options
`always' and `auto'.  Doc fix.
(grep-process-setup): Check `grep-highlight-matches' for
`auto-detect' to determine the need to compute grep defaults.
Move Windows/DOS specific --colors settings handling
to `grep-compute-defaults'.  Check `grep-highlight-matches'
to get the value of "--color=".
(grep-compute-defaults): Compute `grep-highlight-matches' when it
has the value `auto-detect'.  Move Windows/DOS specific settings
from `grep-process-setup'.
(zrgrep): New command with alias `rzgrep'.

14 years ago(doc-view-mode): Set buffer-local `view-read-only' to nil
Juri Linkov [Wed, 25 Nov 2009 17:21:12 +0000 (17:21 +0000)]
(doc-view-mode): Set buffer-local `view-read-only' to nil
instead of switching off view-mode.  (Bug#4896)

14 years agoMouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
Juri Linkov [Wed, 25 Nov 2009 17:18:26 +0000 (17:18 +0000)]
Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)

* mwheel.el (mwheel-scroll-up-function)
(mwheel-scroll-down-function): New defvars.
(mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
`scroll-up', and `mwheel-scroll-down-function' instead of
`scroll-down'.

* doc-view.el (doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page): Add optional ARG.
Use this ARG in the call to image-scroll-up/image-scroll-down.
Change `interactive' spec to "P".  Goto next/previous page only
when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
SPC/DEL case).  Doc fix.
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): Rename arg to ARG
for consistency.
(doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
`doc-view-scroll-up-or-next-page', and buffer-local
`mwheel-scroll-down-function' to
`doc-view-scroll-down-or-previous-page'.

14 years agoProvide additional default values (directories at other Dired
Juri Linkov [Wed, 25 Nov 2009 17:15:19 +0000 (17:15 +0000)]
Provide additional default values (directories at other Dired
windows) via M-n in the minibuffer of some Dired commands.

* dired-aux.el (dired-diff, dired-compare-directories)
(dired-do-create-files): Use `dired-dwim-target-defaults' to set
`minibuffer-default' in `minibuffer-with-setup-hook'.
(dired-dwim-target-directory): Find a window that displays Dired
buffer instead of failing when the next window is not Dired.
Use `get-window-with-predicate' to find for the next Dired window.
(dired-dwim-target-defaults): New function.

* ediff-util.el (ediff-read-file-name):
Use `dired-dwim-target-defaults' to set `minibuffer-default'
in `minibuffer-with-setup-hook'.

14 years agoProvide additional default values (file name at point or at the
Juri Linkov [Wed, 25 Nov 2009 17:11:29 +0000 (17:11 +0000)]
Provide additional default values (file name at point or at the
current Dired line) via M-n for file reading minibuffers.  (Bug#5010)

* minibuffer.el (read-file-name-defaults): New function.
(read-file-name): Reset `minibuffer-default' to nil when
it duplicates initial input `insdef'.
Bind `minibuffer-default-add-function' to lambda that
calls `read-file-name-defaults' in `minibuffer-selected-window'.
(minibuffer-insert-file-name-at-point): New command.

* files.el (file-name-at-point-functions): New defcustom.
(find-file-default): Remove defvar.
(find-file-read-args): Don't use `find-file-default'.
Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
to `read-file-name'.
(find-file-literally): Use `read-file-name' with
`confirm-nonexistent-file-or-buffer'.

* ffap.el (ffap-guess-file-name-at-point): New autoloaded function.

* dired.el (dired-read-dir-and-switches):
Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
to `read-file-name'.
(dired-file-name-at-point): New function.
(dired-mode): Add hook `dired-file-name-at-point' to
`file-name-at-point-functions'.

14 years agoReally make the *Completions* window soft-dedicated (bug#5030).
Stefan Monnier [Wed, 25 Nov 2009 16:36:04 +0000 (16:36 +0000)]
Really make the *Completions* window soft-dedicated (bug#5030).
* window.el (window--display-buffer-2): Add `dedicated' argument.
(display-buffer): Pass it when needed so the dedicated flag is set
after calling set-window-buffer, which would otherwise reset it.

14 years agoxsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).
Jan Djärv [Wed, 25 Nov 2009 16:19:51 +0000 (16:19 +0000)]
xsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).

14 years ago* progmodes/meta-mode.el (meta-complete-symbol):
Stefan Monnier [Wed, 25 Nov 2009 06:08:42 +0000 (06:08 +0000)]
* progmodes/meta-mode.el (meta-complete-symbol):
* progmodes/etags.el (complete-tag): Use completion-in-region.

14 years ago(mail-abbrev-complete-alias): Use completion-in-region.
Stefan Monnier [Wed, 25 Nov 2009 06:02:01 +0000 (06:02 +0000)]
(mail-abbrev-complete-alias): Use completion-in-region.

14 years ago(dabbrev--minibuffer-origin): Use minibuffer-selected-window.
Stefan Monnier [Wed, 25 Nov 2009 05:31:05 +0000 (05:31 +0000)]
(dabbrev--minibuffer-origin): Use minibuffer-selected-window.
(dabbrev-completion): Use completion-in-region.
(dabbrev--abbrev-at-point): Simplify regexp.

14 years ago(abbrev--before-point): Use word-motion functions
Stefan Monnier [Wed, 25 Nov 2009 04:59:02 +0000 (04:59 +0000)]
(abbrev--before-point): Use word-motion functions
if :regexp is not specified (bug#5031).

14 years ago(string-prefix-p): New function.
Stefan Monnier [Wed, 25 Nov 2009 03:59:19 +0000 (03:59 +0000)]
(string-prefix-p): New function.

14 years ago(Man-completion-cache): New var.
Stefan Monnier [Wed, 25 Nov 2009 03:51:00 +0000 (03:51 +0000)]
(Man-completion-cache): New var.
(Man-completion-table): Use it.

14 years ago(vc-print-log-internal): Make `limit' optional for better
Stefan Monnier [Wed, 25 Nov 2009 03:28:24 +0000 (03:28 +0000)]
(vc-print-log-internal): Make `limit' optional for better
compatibility (e.g. with vc-annotate.el).

14 years ago* emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Build
Kevin Ryde [Tue, 24 Nov 2009 23:13:55 +0000 (23:13 +0000)]
* emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Build
value with regexp-opt instead of explicit joining loop.  (My
Bug#4927.)

14 years ago* emacs-lisp/elint.el (elint-add-required-env): Better error message
Kevin Ryde [Tue, 24 Nov 2009 23:08:15 +0000 (23:08 +0000)]
* emacs-lisp/elint.el (elint-add-required-env): Better error message
when .el source file not found or other error.

14 years ago(linum-update-window): Ignore intangible (bug#4996).
Stefan Monnier [Tue, 24 Nov 2009 22:28:01 +0000 (22:28 +0000)]
(linum-update-window): Ignore intangible (bug#4996).

14 years agoHandle the [back] button properly (bug#4979).
Stefan Monnier [Tue, 24 Nov 2009 22:23:49 +0000 (22:23 +0000)]
Handle the [back] button properly (bug#4979).
* descr-text.el (describe-text-properties): Add a `buffer' argument.
Use help-setup-xref, help-buffer, and with-help-window.
(describe-char): Add `buffer' argument.
Pass proper command to help-setup-xref.  Don't meddle with
help-xref-stack-item directly.
(describe-text-category): Use with-help-window and help-buffer.

14 years ago(list-load-path-shadows): Setup a major mode
Stefan Monnier [Tue, 24 Nov 2009 21:36:10 +0000 (21:36 +0000)]
(list-load-path-shadows): Setup a major mode
for the displayed buffer (bug#4887).

14 years ago(adjust_markers_for_delete): Move it in the right direction! (bug#4803)
Stefan Monnier [Tue, 24 Nov 2009 21:33:23 +0000 (21:33 +0000)]
(adjust_markers_for_delete): Move it in the right direction!  (bug#4803)

14 years ago(Man-completion-table): New function.
Stefan Monnier [Tue, 24 Nov 2009 20:00:41 +0000 (20:00 +0000)]
(Man-completion-table): New function.
(man): Use it.

14 years agovc-git-registered: use checkout directory (where .git is)
David Reitter [Tue, 24 Nov 2009 15:31:01 +0000 (15:31 +0000)]
vc-git-registered: use checkout directory (where .git is)
rather than the file's directory and a relative path spec to work around a bug in git.

14 years agoImprove handling of processes on remote hosts.
Michael Albinus [Tue, 24 Nov 2009 10:25:54 +0000 (10:25 +0000)]
Improve handling of processes on remote hosts.

* eshell/esh-util.el (eshell-path-env): New defvar.
(eshell-parse-colon-path): New defun.
(eshell-file-attributes): Use `eshell-parse-colon-path'.

* eshell/esh-ext.el (eshell-search-path): Use
`eshell-parse-colon-path'.
(eshell-remote-command): Remove argument HANDLER.
(eshell-external-command): Check for FTP remote connection.

* eshell/esh-proc.el (eshell-gather-process-output): Use
`file-truename', in order to start also symlinked files. Apply
`start-file-process' instead of `start-process'. Shorten `command'
to the local file name part.

* eshell/em-cmpl.el (eshell-complete-commands-list): Use
`eshell-parse-colon-path'.

* eshell/em-unix.el (eshell/du): Check for FTP remote connection.

* net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
to `eshell-directory-change-hook'.

14 years ago(message-from-style, message-interactive, message-signature): Always set
Katsumi Yamaoka [Tue, 24 Nov 2009 09:19:09 +0000 (09:19 +0000)]
(message-from-style, message-interactive, message-signature): Always set
 default values from the corresponding mail-* variables.
(message-cite-prefix-regexp, message-sendmail-envelope-from)
(message-yank-prefix, message-indentation-spaces, message-signature-file)
(message-default-headers): Use boundp rather than (featurep 'xemacs) to check
 if the corresponding mail-* variables exist.

14 years ago(x_new_font): Update f->scroll_bar_actual_width.
YAMAMOTO Mitsuharu [Tue, 24 Nov 2009 08:37:56 +0000 (08:37 +0000)]
(x_new_font): Update f->scroll_bar_actual_width.

14 years ago(font_open_entity): Don't use ASET if font_object is Qnil.
YAMAMOTO Mitsuharu [Tue, 24 Nov 2009 08:37:32 +0000 (08:37 +0000)]
(font_open_entity): Don't use ASET if font_object is Qnil.

14 years ago* doc-view.el (doc-view-mode): Switch off view-mode explicitly,
Tassilo Horn [Tue, 24 Nov 2009 07:47:45 +0000 (07:47 +0000)]
* doc-view.el (doc-view-mode): Switch off view-mode explicitly,
because it could be enabled automatically if view-read-only is
non-nil.

14 years ago2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer [Tue, 24 Nov 2009 03:16:38 +0000 (03:16 +0000)]
2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>

* ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
made on 2009-11-22.

14 years ago(focus-follows-mouse): Mention mouse-autoselect-window.
Glenn Morris [Tue, 24 Nov 2009 02:40:03 +0000 (02:40 +0000)]
(focus-follows-mouse): Mention mouse-autoselect-window.

14 years ago(global-semantic-idle-scheduler-mode): Move after definition of
Glenn Morris [Tue, 24 Nov 2009 02:38:08 +0000 (02:38 +0000)]
(global-semantic-idle-scheduler-mode): Move after definition of
global-semantic-idle-tag-highlight-mode.

14 years ago(bookmark-bmenu-hide-filenames): Remove assignment to deleted variable
Glenn Morris [Tue, 24 Nov 2009 02:37:05 +0000 (02:37 +0000)]
(bookmark-bmenu-hide-filenames): Remove assignment to deleted variable
bookmark-bmenu-bookmark-column.

14 years ago(bookmark-bmenu-search): Clear echo area when exiting.
Stefan Monnier [Tue, 24 Nov 2009 02:21:32 +0000 (02:21 +0000)]
(bookmark-bmenu-search): Clear echo area when exiting.

14 years ago* net/browse-url.el (browse-url-filename-alist): On Windows, add
Chong Yidong [Mon, 23 Nov 2009 20:58:55 +0000 (20:58 +0000)]
* net/browse-url.el (browse-url-filename-alist): On Windows, add
two slashes to the "file:" prefix.
(browse-url-file-url): De-munge Cygwin filenames before passing
them to Windows browser.
(browse-url-default-windows-browser): Use call-process.

14 years agoImplement DocView Continuous mode. (Bug#4896)
Juri Linkov [Mon, 23 Nov 2009 20:34:53 +0000 (20:34 +0000)]
Implement DocView Continuous mode.  (Bug#4896)
* doc-view.el (doc-view-continuous-mode): New defcustom.
(doc-view-mode-map): Bind C-n/<down> to `doc-view-next-line-or-next-page',
C-p/<up> to `doc-view-previous-line-or-previous-page'.
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): New commands.

14 years agoImplement Isearch in comint input history. (Bug#3746)
Juri Linkov [Mon, 23 Nov 2009 20:30:33 +0000 (20:30 +0000)]
Implement Isearch in comint input history.  (Bug#3746)
* comint.el (comint-mode): Add `comint-history-isearch-setup' to
`isearch-mode-hook'.
(comint-history-isearch): New defcustom.
(comint-history-isearch-backward)
(comint-history-isearch-backward-regexp): New commands.
(comint-history-isearch-message-overlay): New buffer-local variable.
(comint-history-isearch-setup, comint-history-isearch-end)
(comint-goto-input, comint-history-isearch-search)
(comint-history-isearch-message, comint-history-isearch-wrap)
(comint-history-isearch-push-state)
(comint-history-isearch-pop-state): New functions.

14 years ago* net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
Michael Albinus [Mon, 23 Nov 2009 15:59:07 +0000 (15:59 +0000)]
* net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
return.
(tramp-handle-make-symbolic-link)
(tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
Quote file names.
(tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
(tramp-handle-process-file): Use it.

14 years agoMust create deps for ecrt0.o in its rule.
Jan Djärv [Mon, 23 Nov 2009 14:48:59 +0000 (14:48 +0000)]
Must create deps for ecrt0.o in its rule.

14 years ago* etags.c (absolute_filename): Use memove if we have it for overlapping copy.
Jan Djärv [Mon, 23 Nov 2009 09:51:06 +0000 (09:51 +0000)]
* etags.c (absolute_filename): Use memove if we have it for overlapping copy.

14 years agoSet Xft defaults if no XSETTING is found, better default for Gtk+ font dialog.
Jan Djärv [Mon, 23 Nov 2009 08:55:08 +0000 (08:55 +0000)]
Set Xft defaults if no XSETTING is found, better default for Gtk+ font dialog.

* xfns.c (Fx_select_font): Try to convert Fontconfig name to Gtk name
because that is what Gtk+ font dialog understands.

* font.c (font_make_object, Fcopy_font_spec): Use Fcopy_alist instead
of Fcopy_sequence.
(font_open_by_name): Put name given into QCname for font-object returned.

* frame.c (x_set_font): Save original font name as frame parameter
font-parameter.

* xsettings.c (set_default_xft_settings): New function.
(init_xfd_settings): Call set_default_xft_settings if no XSETTINGS window
is found.

14 years ago(move-to-window-line-last-op): Remove.
Stefan Monnier [Mon, 23 Nov 2009 05:37:34 +0000 (05:37 +0000)]
(move-to-window-line-last-op): Remove.
(move-to-window-line-top-bottom): Reuse recenter-last-op instead.

14 years ago(move-to-window-line-last-op): New var.
Stefan Monnier [Mon, 23 Nov 2009 05:32:25 +0000 (05:32 +0000)]
(move-to-window-line-last-op): New var.
(move-to-window-line-top-bottom): New command.
(global-map): Bind M-r move-to-window-line-top-bottom.

14 years agoSven Joachim <svenjoac at gmx.de>
Glenn Morris [Mon, 23 Nov 2009 00:32:37 +0000 (00:32 +0000)]
Sven Joachim  <svenjoac at gmx.de>

(dired-guess-shell-alist-default): Support xz format.  (Bug#4953)

14 years ago* cedet/srecode/map.el (srecode-get-maps):
Chong Yidong [Sun, 22 Nov 2009 23:49:13 +0000 (23:49 +0000)]
* cedet/srecode/map.el (srecode-get-maps):
* cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
* cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
* cedet/semantic/decorate/mode.el (semantic-decoration-mode)
(semantic-toggle-decoration-style):
* cedet/semantic/decorate/include.el
(semantic-decoration-include-describe)
(semantic-decoration-unknown-include-describe)
(semantic-decoration-unparsed-include-describe)
(semantic-decoration-all-include-summary):
* cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
* cedet/semantic/analyze/complete.el
(semantic-analyze-possible-completions):
* cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
(semantic-show-unmatched-syntax-mode)
(semantic-show-parser-state-mode, semantic-stickyfunc-mode)
(semantic-highlight-func-mode):
* cedet/semantic/util.el (semantic-describe-buffer):
* cedet/semantic/symref.el (semantic-symref-find-references-by-name)
(semantic-symref-find-tags-by-name)
(semantic-symref-find-tags-by-regexp)
(semantic-symref-find-tags-by-completion)
(semantic-symref-find-file-references-by-name)
(semantic-symref-find-text):
* cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
(senator-yank-tag):
* cedet/semantic/scope.el (semantic-calculate-scope):
* cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
* cedet/semantic/idle.el (semantic-idle-scheduler-mode)
(define-semantic-idle-service):
* cedet/semantic/complete.el (semantic-complete-analyze-inline)
(semantic-complete-analyze-inline-idle):
* cedet/semantic/analyze.el (semantic-analyze-current-context):
* cedet/mode-local.el (describe-mode-local-bindings)
(describe-mode-local-bindings-in-mode):
* cedet/ede/make.el (ede-make-check-version):
* cedet/ede/locate.el (ede-enable-locate-on-project):
* cedet/cedet-idutils.el (cedet-idutils-expand-filename)
(cedet-idutils-version-check):
* cedet/cedet-global.el (cedet-gnu-global-expand-filename)
(cedet-gnu-global-version-check):
* cedet/cedet-cscope.el (cedet-cscope-expand-filename)
(cedet-cscope-version-check): Use called-interactively-p instead
of interactive-p.

14 years ago* cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
Chong Yidong [Sun, 22 Nov 2009 23:09:17 +0000 (23:09 +0000)]
* cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
Use semantic-format-tag-prototype.

14 years agoMove entries to the correct file and fix format.
Glenn Morris [Sun, 22 Nov 2009 19:53:21 +0000 (19:53 +0000)]
Move entries to the correct file and fix format.

14 years ago* progmodes/subword.el (subword-mode-map): Fix subword-mode-map
Tassilo Horn [Sun, 22 Nov 2009 18:24:29 +0000 (18:24 +0000)]
* progmodes/subword.el (subword-mode-map): Fix subword-mode-map
generation from word-movement command names.

14 years ago(simple_search): Avoid CHAR_TO_BYTE in inner loop when
Andreas Schwab [Sun, 22 Nov 2009 12:11:00 +0000 (12:11 +0000)]
(simple_search): Avoid CHAR_TO_BYTE in inner loop when
searching backwards through multibyte buffer.

14 years ago2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer [Sun, 22 Nov 2009 03:14:14 +0000 (03:14 +0000)]
2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>

* viper-cmd.el: use viper-last-command-char instead of
last-command-char/last-command-event.
(viper-prefix-arg-value): do correct conversion of event-char for
XEmacs.

* viper-util.el, viper.el: use viper-last-command-char instead of
last-command-char/last-command-event.

* ediff-init.el, ediff-mult.el, ediff-util.el: relpace
last-command-char and last-command-event with (ediff-last-command-char) everywhere.

* ediff-vers.el (ediff-rcs-get-output-buffer): make sure the buffer is
created in fundamental mode.

* ediff.el (ediff-version): revert the change of interactive-p to
called-interactively-p.

14 years ago(Radix modes): Discuss alternate bases for two's complement notations.
Jay Belanger [Sun, 22 Nov 2009 02:19:23 +0000 (02:19 +0000)]
(Radix modes): Discuss alternate bases for two's complement notations.

14 years agoUpdate md5sum.
Chong Yidong [Sat, 21 Nov 2009 20:19:15 +0000 (20:19 +0000)]
Update md5sum.

14 years ago* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
Chong Yidong [Sat, 21 Nov 2009 20:18:37 +0000 (20:18 +0000)]
* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
(semantic-complete-jump-local, semantic-complete-jump): Improve
prompt string.

14 years ago* cus-start.el (all): Add native condition for font-use-system-font.
Jan Djärv [Sat, 21 Nov 2009 15:40:24 +0000 (15:40 +0000)]
* cus-start.el (all): Add native condition for font-use-system-font.

* configure.in: Don't check for GConf unless X is used.

14 years agoUse a select wrapper around the GLib event loop, thus taking into account GLib
Jan Djärv [Sat, 21 Nov 2009 15:28:59 +0000 (15:28 +0000)]
Use a select wrapper around the GLib event loop, thus taking into account GLib
timeouts and event sources.  This simplifies Gtk+-code a lot, and is needed
for handling GConf death/restart.

* xterm.c: #include xgselect.h.
(x_initialize): Call xgselect_initialize.

* xsettings.c (something_changedCB): C++ comments => C comments.
(init_gconf): Do not deal with any GLib file descriptors, xg_select
does that now.

* gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
(xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
(scroll_bar_button_cb): Remove.
(create_menus): C++ comments => C comments. Don't bind grab-notify
event.
(xg_create_scroll_bar): Don't bind button-press-event and
button-release-event.

* process.c: Include xgselect.h if defined (USE_GTK) ||
defined (HAVE_GCONF).
(wait_reading_process_output): Call xg_select for the same condition.

* xgselect.c (xg_select): New function to better integrate with
GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.

* xgselect.h: New file, declare xg_select, xgselect_initialize.

* Makefile.in (XOBJ): Add xgselect.o.

14 years ago* character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
Andreas Schwab [Sat, 21 Nov 2009 11:52:23 +0000 (11:52 +0000)]
* character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
ignored second argument.  All callers changed.
* regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
(RE_STRING_CHAR_AND_LENGTH): Likewise.
* xdisp.c (string_char_and_length): Likewise.

14 years ago(cc-imenu-java-generic-expression): A corrected version of the patch from
Alan Mackenzie [Sat, 21 Nov 2009 10:32:20 +0000 (10:32 +0000)]
(cc-imenu-java-generic-expression): A corrected version of the patch from
2009-11-18.

14 years ago*** empty log message ***
Alan Mackenzie [Sat, 21 Nov 2009 10:31:01 +0000 (10:31 +0000)]
*** empty log message ***

14 years ago* progmodes/subword.el: Rename from lisp/subword.el.
Tassilo Horn [Sat, 21 Nov 2009 07:50:48 +0000 (07:50 +0000)]
* progmodes/subword.el: Rename from lisp/subword.el.

* subword.el: Rename to progmodes/subword.el.

* Makefile.in (ELCFILES): Adapt to subword.el move.

14 years ago(bookmark-bmenu-bookmark-column): Remove var.
Stefan Monnier [Sat, 21 Nov 2009 06:43:45 +0000 (06:43 +0000)]
(bookmark-bmenu-bookmark-column): Remove var.
(bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
(bookmark-bmenu-show-filenames): Use push.
(bookmark-bmenu-hide-filenames): Use local var instead of
bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
(bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
(bookmark-bmenu-execute-deletions): Don't bother adding/removing the
filenames now that the bookmark names are always available.

14 years agoFix last change.
Chong Yidong [Sat, 21 Nov 2009 04:50:36 +0000 (04:50 +0000)]
Fix last change.

14 years ago(bookmark-search-prompt, bookmark-search-timer): Remove.
Stefan Monnier [Sat, 21 Nov 2009 04:43:10 +0000 (04:43 +0000)]
(bookmark-search-prompt, bookmark-search-timer): Remove.
(bookmark-search-pattern): Move and leave unbound.
(bookmark-bmenu-mode-map): Change binding.
(bookmark-read-search-input): Simplify.
Don't use text-char-description.  Don't error on non-char events.
(bookmark-filtered-alist-by-regexp-only): Remove by folding into the
only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
(bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
Use a local var for the timer.
(bookmark-bmenu-cancel-search): Remove by folding into the only caller
(i.e. bookmark-bmenu-search).

14 years ago(rmail-mime): Decode in fundamental-mode. (Bug#4993)
Glenn Morris [Sat, 21 Nov 2009 02:36:54 +0000 (02:36 +0000)]
(rmail-mime): Decode in fundamental-mode.  (Bug#4993)

14 years ago* xterm.c (x_new_font):
Dan Nicolaescu [Sat, 21 Nov 2009 02:33:45 +0000 (02:33 +0000)]
* xterm.c (x_new_font):
* print.c (print_object):
* cmds.c (Fself_insert_command): Move declarations before statements.

14 years ago* net/browse-url.el (browse-url-default-windows-browser): Use
Chong Yidong [Fri, 20 Nov 2009 21:49:46 +0000 (21:49 +0000)]
* net/browse-url.el (browse-url-default-windows-browser): Use
cygstart for cygwin.

14 years ago* PROBLEMS: Remove fixed rebasing problem.
Chong Yidong [Fri, 20 Nov 2009 21:46:28 +0000 (21:46 +0000)]
* PROBLEMS: Remove fixed rebasing problem.

14 years ago* s/cygwin.h: Remove unneeded linker flags.
Chong Yidong [Fri, 20 Nov 2009 21:44:58 +0000 (21:44 +0000)]
* s/cygwin.h: Remove unneeded linker flags.