bpt/emacs.git
14 years ago(vc-bzr-print-log): Deal with nil arguments better.
Dan Nicolaescu [Thu, 3 Dec 2009 07:31:15 +0000 (07:31 +0000)]
(vc-bzr-print-log): Deal with nil arguments better.

14 years ago(bibtex-complete-internal): Use completion-in-region.
Stefan Monnier [Thu, 3 Dec 2009 05:41:17 +0000 (05:41 +0000)]
(bibtex-complete-internal): Use completion-in-region.
(bibtex-text-in-field-bounds): Remove unused var `opoint'.

14 years agoSupport applying stashes. Improve UI.
Dan Nicolaescu [Thu, 3 Dec 2009 04:08:08 +0000 (04:08 +0000)]
Support applying stashes.  Improve UI.
* vc-git.el (vc-git-dir-extra-headers): Add tooltips.
(vc-git-stash-apply, vc-git-stash-pop)
(vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
(vc-git-stash-menu): New functions.
(vc-git-stash-menu-map): New variable.
(vc-git-stash-map): Add bindings to popup a menu and to apply stashes.

14 years ago(log-view-vc-backend, log-view-vc-fileset): Declare.
Glenn Morris [Thu, 3 Dec 2009 03:11:14 +0000 (03:11 +0000)]
(log-view-vc-backend, log-view-vc-fileset): Declare.
(vc-print-log-internal): Fix previous change.
(vc-revert): Correct pluralization.

14 years ago(Free Software and Free Manuals): Update URL, and remove duplicate text.
Glenn Morris [Thu, 3 Dec 2009 03:09:45 +0000 (03:09 +0000)]
(Free Software and Free Manuals): Update URL, and remove duplicate text.

14 years ago(makefile-special-targets-list): No need for it to be an alist any more.
Stefan Monnier [Thu, 3 Dec 2009 03:02:34 +0000 (03:02 +0000)]
(makefile-special-targets-list): No need for it to be an alist any more.
(makefile-complete): Use completion-in-region.

14 years ago(octave-complete-symbol): Use completion-in-region.
Stefan Monnier [Thu, 3 Dec 2009 02:58:16 +0000 (02:58 +0000)]
(octave-complete-symbol): Use completion-in-region.

14 years agoMisc cleanup.
Stefan Monnier [Thu, 3 Dec 2009 02:57:16 +0000 (02:57 +0000)]
Misc cleanup.
* progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
(idlwave-code-abbrev, idlwave-display-user-catalog-widget)
(idlwave-complete-class): Don't quote lambda.
(idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
(idlwave-mode-map): Move initialization into declaration.
(idlwave-action-and-binding): Use backquotes.
(idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
Simplify.
(idlwave-is-pointer-dereference): Remove unused var `pos'.
(idlwave-xml-create-rinfo-list): Remove unused var `entry'.
(idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
`parts', and `all-parts'.
(idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
(idlwave-convert-xml-system-routine-info): Remove unused string
`version-string'.
(idlwave-display-user-catalog-widget): Use dolist.
(idlwave-scanning-lib): Declare dynamically-scoped var.
(idlwave-scan-library-catalogs): Remove unused var `flags'.
(completion-highlight-first-word-only): Declare to silence bytecomp.
(idlwave-popup-select): Tighten scope of `resp'.
(idlwave-find-struct-tag): Remove unused var `beg'.
(idlwave-after-load-rinfo-hook): Declare.
(idlwave-sintern-class-info): Remove unused var `taglist'.
(idlwave-find-class-definition): Remove unused var `list'.
(idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
(idlwave-what-module-find-class): Remove unused var `classes'.

14 years ago* progmodes/pascal.el: Require CL when compiling (for lexical-let).
Juanma Barranquero [Thu, 3 Dec 2009 01:43:23 +0000 (01:43 +0000)]
* progmodes/pascal.el: Require CL when compiling (for lexical-let).

14 years ago(try-expand-dabbrev-visible): Preserve point in the
Stefan Monnier [Thu, 3 Dec 2009 01:33:56 +0000 (01:33 +0000)]
(try-expand-dabbrev-visible): Preserve point in the
buffers visited.  Remove redundant current-buffer-saving.

14 years agoUse completion-in-buffer and remove uses of dynamic scoping.
Stefan Monnier [Wed, 2 Dec 2009 18:31:26 +0000 (18:31 +0000)]
Use completion-in-buffer and remove uses of dynamic scoping.
* progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
(pascal-buffer-to-use, pascal-flag): Don't declare.
(pascal-func-completion, pascal-type-completion, pascal-var-completion)
(pascal-get-completion-decl, pascal-keyword-completion):
Add `pascal-str' argument, save-excursion,
return the found completions, and don't filter with pascal-pred.
(pascal-completion-cache): New var.
(pascal-completion): Don't switch buffer any more (it was never
necessary).  Don't save-excursion any more (it's done by the called
subroutines).  Use a cache to avoid redundant computations.
Use complete-with-action rather than pascal-completion-response and
let it apply the predicate as well.
(pascal-complete-word): Use completion-in-buffer when
pascal-toggle-completions is nil.
(pascal-show-completions): Don't bind pascal-buffer-to-use since it's
not used any more.
(pascal-comp-defun): Don't change buffer any more.
Use complete-with-action rather than pascal-completion-response and
let it apply the predicate as well.
(pascal-goto-defun): Change buffer before calling pascal-comp-defun
when neded.

14 years agoInclude ZWJ and ZWNJ in the patterns to shape for all Indic scripts.
Kenichi Handa [Wed, 2 Dec 2009 08:01:02 +0000 (08:01 +0000)]
Include ZWJ and ZWNJ in the patterns to shape for all Indic scripts.

14 years agoUse completion-in-buffer.
Stefan Monnier [Wed, 2 Dec 2009 04:11:08 +0000 (04:11 +0000)]
Use completion-in-buffer.
(widget-field-text-end): New function.
(widget-field-value-get): Use it.
(widget-string-complete, widget-file-complete)
(widget-color-complete): Use it and completion-in-region.
(widget-complete): Don't narrow the buffer.

14 years ago(message-completion-in-region): New compatibility function.
Stefan Monnier [Wed, 2 Dec 2009 03:11:38 +0000 (03:11 +0000)]
(message-completion-in-region): New compatibility function.
(message-expand-group): Use it.

14 years agoReplace all pop-to-buffer calls with rmail-pop-to-buffer, to prevent
Glenn Morris [Wed, 2 Dec 2009 03:05:14 +0000 (03:05 +0000)]
Replace all pop-to-buffer calls with rmail-pop-to-buffer, to prevent
horizontal splits.

14 years ago(rmail-pop-to-buffer): New function. (Bug#2282)
Glenn Morris [Wed, 2 Dec 2009 03:04:43 +0000 (03:04 +0000)]
(rmail-pop-to-buffer): New function.  (Bug#2282)
(rmail-select-summary): Use rmail-pop-to-buffer.

14 years ago(diary-list-entries): Replace superfluous save-excursion with
Glenn Morris [Wed, 2 Dec 2009 03:03:48 +0000 (03:03 +0000)]
(diary-list-entries): Replace superfluous save-excursion with
save-current-buffer.
Widen before searching.  (Bug#5093)
(diary-list-sexp-entries): Remove superfluous save-excursion.

14 years agoComment.
Glenn Morris [Wed, 2 Dec 2009 03:02:10 +0000 (03:02 +0000)]
Comment.

14 years ago2009-12-02 Michael Welsh Duggan <mwd at cert.org>
Glenn Morris [Wed, 2 Dec 2009 03:01:44 +0000 (03:01 +0000)]
2009-12-02  Michael Welsh Duggan  <mwd at cert.org>

(woman-make-bufname): Handle man-pages with "." in the name.  (Bug#5038)

14 years agoAndreas Politz <politza at fh-trier.de> (tiny change)
Glenn Morris [Wed, 2 Dec 2009 03:00:41 +0000 (03:00 +0000)]
Andreas Politz  <politza at fh-trier.de>  (tiny change)

(ido-file-internal): Handle filenames at point that do not have a
directory part.  (Bug#5049)

14 years ago* mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
Juanma Barranquero [Wed, 2 Dec 2009 02:08:21 +0000 (02:08 +0000)]
* mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
  (mpc-songs-jump-to, mpc-resume): Doc fixes.

14 years ago(gnus-group-prepare-flat): Check also whether groups with no unread article
Katsumi Yamaoka [Wed, 2 Dec 2009 00:48:21 +0000 (00:48 +0000)]
(gnus-group-prepare-flat): Check also whether groups with no unread article
 should be listed if the 2nd arg `predicate' is given.

14 years ago(tpu-cursor-free-mode): Emit message.
Stefan Monnier [Tue, 1 Dec 2009 20:44:21 +0000 (20:44 +0000)]
(tpu-cursor-free-mode): Emit message.
(tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message any more.

14 years ago(comint-insert-input): Ignore clicks to the right of
Stefan Monnier [Tue, 1 Dec 2009 20:31:57 +0000 (20:31 +0000)]
(comint-insert-input): Ignore clicks to the right of
the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.

14 years ago(vc-print-log-internal): Don't wait for the prcess to
Stefan Monnier [Tue, 1 Dec 2009 20:08:20 +0000 (20:08 +0000)]
(vc-print-log-internal): Don't wait for the prcess to
terminate before setting up the major mode.

14 years ago(pcomplete/cd): Complete more than one argument, just in case.
Stefan Monnier [Tue, 1 Dec 2009 19:42:28 +0000 (19:42 +0000)]
(pcomplete/cd): Complete more than one argument, just in case.

14 years ago(pcomplete-std-complete): Don't try to complete past the last element.
Stefan Monnier [Tue, 1 Dec 2009 19:39:52 +0000 (19:39 +0000)]
(pcomplete-std-complete): Don't try to complete past the last element.

14 years ago* message.el: Revert last change.
Chong Yidong [Tue, 1 Dec 2009 19:01:41 +0000 (19:01 +0000)]
* message.el: Revert last change.

14 years ago(normal-erase-is-backspace-mode): Fix thinko in message.
Stefan Monnier [Tue, 1 Dec 2009 18:06:06 +0000 (18:06 +0000)]
(normal-erase-is-backspace-mode): Fix thinko in message.

14 years agoAdd etc/images/mpc directory.
Glenn Morris [Tue, 1 Dec 2009 17:06:30 +0000 (17:06 +0000)]
Add etc/images/mpc directory.

14 years ago(window--display-buffer-2): Fix previous changes.
Glenn Morris [Tue, 1 Dec 2009 17:04:55 +0000 (17:04 +0000)]
(window--display-buffer-2): Fix previous changes.

14 years agoDelete trailing whitespace.
Chong Yidong [Tue, 1 Dec 2009 16:21:36 +0000 (16:21 +0000)]
Delete trailing whitespace.

14 years ago* mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
Chong Yidong [Tue, 1 Dec 2009 16:20:59 +0000 (16:20 +0000)]
* mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.

* gnus/message.el (message-setup-hook, message-send-hook): Make into aliases
for mail-*-hook.

14 years agoAdd arch tagline
Miles Bader [Tue, 1 Dec 2009 09:28:22 +0000 (09:28 +0000)]
Add arch tagline

14 years ago(font_load_for_lface, font_open_by_name): Don't store name
YAMAMOTO Mitsuharu [Tue, 1 Dec 2009 09:07:36 +0000 (09:07 +0000)]
(font_load_for_lface, font_open_by_name): Don't store name
if entity is Qnil.

14 years ago(ELCFILES): Add mpc.elc.
Glenn Morris [Tue, 1 Dec 2009 07:51:02 +0000 (07:51 +0000)]
(ELCFILES): Add mpc.elc.

14 years agoNew file.
Glenn Morris [Tue, 1 Dec 2009 07:49:26 +0000 (07:49 +0000)]
New file.

14 years agoAdd missing entry.
Glenn Morris [Tue, 1 Dec 2009 07:47:11 +0000 (07:47 +0000)]
Add missing entry.

14 years ago(Searching): Use mh vfolder_format and fix typo in database path for
Bill Wohler [Tue, 1 Dec 2009 07:10:17 +0000 (07:10 +0000)]
(Searching): Use mh vfolder_format and fix typo in database path for
mairix example. Specify -q in namazu example since namazu is
excessively garrulous.

14 years ago(mh-mairix-execute-search): Use mh vfolder_format. Fix typo in
Bill Wohler [Tue, 1 Dec 2009 07:07:23 +0000 (07:07 +0000)]
(mh-mairix-execute-search): Use mh vfolder_format. Fix typo in
database path.
(mh-namazu-execute-search): Specify -q in example since namazu is
excessively garrulous.

14 years ago* mpc.el: New file.
Stefan Monnier [Tue, 1 Dec 2009 04:04:33 +0000 (04:04 +0000)]
* mpc.el: New file.

14 years ago(window-to-use): Define for compiler.
Glenn Morris [Tue, 1 Dec 2009 03:15:01 +0000 (03:15 +0000)]
(window-to-use): Define for compiler.

14 years ago(byte-compile-save-excursion): Make message consistent with others (no
Glenn Morris [Tue, 1 Dec 2009 03:14:02 +0000 (03:14 +0000)]
(byte-compile-save-excursion): Make message consistent with others (no
final period).

14 years ago(rmail-mime-handle): Doc fix.
Glenn Morris [Tue, 1 Dec 2009 03:13:03 +0000 (03:13 +0000)]
(rmail-mime-handle): Doc fix.
(rmail-mime-show): Downcase the encoding.  (Bug#5070)

14 years agoUpdate maintainer per comment from HN in bug#5056: "I no longer
Glenn Morris [Tue, 1 Dec 2009 03:12:13 +0000 (03:12 +0000)]
Update maintainer per comment from HN in bug#5056: "I no longer
actively maintain savehist-mode".

14 years agoMention usertags.
Glenn Morris [Tue, 1 Dec 2009 03:10:31 +0000 (03:10 +0000)]
Mention usertags.

14 years agoMake vc-print-log buttons work.
Dan Nicolaescu [Tue, 1 Dec 2009 00:35:43 +0000 (00:35 +0000)]
Make vc-print-log buttons work.
* log-view.el (log-view-mode-map):  Inherit from from widget-keymap.

14 years ago* savehist.el (savehist-autosave-interval): Allow setting to nil
Juanma Barranquero [Mon, 30 Nov 2009 23:39:04 +0000 (23:39 +0000)]
* savehist.el (savehist-autosave-interval): Allow setting to nil
  through customize.  (Bug#5056)

14 years agoFix references to jit-lock properties.
Juanma Barranquero [Mon, 30 Nov 2009 22:51:34 +0000 (22:51 +0000)]
Fix references to jit-lock properties.
* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
  Refer to jit-lock-defer-multiline, not jit-lock-multiline.
  (perl-font-lock-special-syntactic-constructs):
  Quote jit-lock-defer-multiline property.

14 years agoAdd Bug#4698 to 2009-11-29 change. By Reiner Steib.
Katsumi Yamaoka [Mon, 30 Nov 2009 22:11:19 +0000 (22:11 +0000)]
Add Bug#4698 to 2009-11-29 change.  By Reiner Steib.

14 years ago(multi-isearch-search-fun): Always provide a non-nil
Juri Linkov [Mon, 30 Nov 2009 21:45:30 +0000 (21:45 +0000)]
(multi-isearch-search-fun): Always provide a non-nil
value `buffer' of `multi-isearch-next-buffer-current-function'.
Use `(current-buffer)' when `buffer' is nil.
(multi-isearch-next-buffer-from-list): Don't fallback to
`(current-buffer)' when `buffer' is nil.  (Bug#4947)

14 years ago(vc-git-registered): Call vc-git-root only once.
Dan Nicolaescu [Mon, 30 Nov 2009 21:21:35 +0000 (21:21 +0000)]
(vc-git-registered): Call vc-git-root only once.

14 years ago(print_preprocess): Preprocess the key_and_value table of
Stefan Monnier [Mon, 30 Nov 2009 21:08:25 +0000 (21:08 +0000)]
(print_preprocess): Preprocess the key_and_value table of
hashtables, even tho they're "hidden" (bug#5082).

14 years ago(multi-isearch-read-buffers): Move canonicalization
Juri Linkov [Mon, 30 Nov 2009 20:27:44 +0000 (20:27 +0000)]
(multi-isearch-read-buffers): Move canonicalization
of buffers with `get-buffer' to `multi-isearch-buffers'.
(multi-isearch-buffers, multi-isearch-buffers-regexp):
Canonicalize BUFFERS with `get-buffer'.  Doc fix.
(multi-isearch-files, multi-isearch-files-regexp): Canonicalize
FILES with `expand-file-name' converting relative file names
to absolute.  Doc fix.  (Bug#4727)

14 years ago(multi-isearch-read-buffers)
Juri Linkov [Mon, 30 Nov 2009 19:42:16 +0000 (19:42 +0000)]
(multi-isearch-read-buffers)
(multi-isearch-read-matching-buffers): New functions.
(multi-isearch-buffers, multi-isearch-buffers-regexp):
Use them in the `interactive' spec.  Doc fix.
(multi-isearch-read-files, multi-isearch-read-matching-files):
New functions.
(multi-isearch-files, multi-isearch-files-regexp):
Use them in the `interactive' spec.  Doc fix.  (Bug#4725)

14 years ago(doc-view-continuous):
Juri Linkov [Mon, 30 Nov 2009 16:14:48 +0000 (16:14 +0000)]
(doc-view-continuous):
Rename from `doc-view-continuous-mode'.
(doc-view-menu): Move "Toggle display" to the top.
Add submenu "Continuous" with radio buttons "Off"/"On"
and "Save as Default".
(doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page)
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): Rename
`doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)

14 years ago(comint-mode-map): Rebind `M-r' from
Juri Linkov [Mon, 30 Nov 2009 16:11:18 +0000 (16:11 +0000)]
(comint-mode-map): Rebind `M-r' from
`comint-previous-matching-input' to
`comint-history-isearch-backward-regexp'.
Unbind `M-s' to allow global key binding `M-s'.
Add menu items for `comint-history-isearch-backward' and
`comint-history-isearch-backward-regexp'.  (Bug#3746)

14 years ago(perform-replace): Let-bind recenter-last-op to nil.
Juri Linkov [Mon, 30 Nov 2009 16:05:47 +0000 (16:05 +0000)]
(perform-replace): Let-bind recenter-last-op to nil.
For def=recenter, replace `recenter' with `recenter-top-bottom'
that is called with `this-command' and `last-command' let-bound
to `recenter-top-bottom'.  When the last `def' was not `recenter',
set `recenter-last-op' to nil.  (Bug#4981)

14 years agoMinor cleanup and simplification.
Stefan Monnier [Mon, 30 Nov 2009 13:49:13 +0000 (13:49 +0000)]
Minor cleanup and simplification.
* filecache.el (file-cache-add-directory, file-cache-add-directory-recursively)
(file-cache-add-from-file-cache-buffer)
(file-cache-delete-file-regexp, file-cache-delete-directory)
(file-cache-files-matching-internal, file-cache-display): Use dolist.
(file-cache-temp-minibuffer-message): Delete function.
(file-cache-minibuffer-complete): Use minibuffer-message instead.

14 years ago(perl-font-lock-special-syntactic-constructs):
Stefan Monnier [Mon, 30 Nov 2009 13:43:51 +0000 (13:43 +0000)]
(perl-font-lock-special-syntactic-constructs):
Don't signal an error when bumping into EOB in tr, s, or y.

14 years ago(Highlight Interactively): Actually a list of
Juri Linkov [Sun, 29 Nov 2009 23:57:18 +0000 (23:57 +0000)]
(Highlight Interactively): Actually a list of
default faces is pre-loaded into a list of default values
instead of the history.

14 years ago(describe-char-unidata-list): Use lowercase name
Juri Linkov [Sun, 29 Nov 2009 23:55:57 +0000 (23:55 +0000)]
(describe-char-unidata-list): Use lowercase name
for "Unicode name" like in other tags.

14 years ago(fancy-about-text): Fix wording of Guided Tour. (Bug#4960)
Juri Linkov [Sun, 29 Nov 2009 23:54:41 +0000 (23:54 +0000)]
(fancy-about-text): Fix wording of Guided Tour.  (Bug#4960)

14 years ago(ediff-minibuffer-with-setup-hook): New compatibility macro.
Juri Linkov [Sun, 29 Nov 2009 23:52:16 +0000 (23:52 +0000)]
(ediff-minibuffer-with-setup-hook): New compatibility macro.
(ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.

14 years ago* gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
Juri Linkov [Sun, 29 Nov 2009 23:38:18 +0000 (23:38 +0000)]
* gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
when it is fboundp in GNU Emacs 23.1.
Put `isearch-scroll' property on `gnus-recenter'. (Bug#4981)

14 years agoAdd defcustom to define the cycling order of `recenter-top-bottom'. (Bug#4981)
Juri Linkov [Sun, 29 Nov 2009 23:34:05 +0000 (23:34 +0000)]
Add defcustom to define the cycling order of `recenter-top-bottom'. (Bug#4981)

* window.el (recenter-last-op): Doc fix.
(recenter-positions): New defcustom.
(recenter-top-bottom): Rewrite to use `recenter-positions'.
(move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.

14 years ago* tramp.texi (Remote processes): Improve eshell example with "su"
Michael Albinus [Sun, 29 Nov 2009 20:40:51 +0000 (20:40 +0000)]
* tramp.texi (Remote processes): Improve eshell example with "su"
and "sudo" commands.

14 years ago* eshell/esh-util.el (top): Require also Tramp when compiling.
Michael Albinus [Sun, 29 Nov 2009 20:19:48 +0000 (20:19 +0000)]
* eshell/esh-util.el (top): Require also Tramp when compiling.
(eshell-directory-files-and-attributes): Check for FTP remote
connection.
(eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
`ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
(eshell-file-attributes): Handle ".".  Return `entry'.

14 years ago* eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
Michael Albinus [Sun, 29 Nov 2009 20:10:29 +0000 (20:10 +0000)]
* eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
(eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
(eshell/sudo): Flatten args.  Let-bind `default-directory'.

14 years ago* net/tramp.el (tramp-maybe-open-connection): Open the remote
Michael Albinus [Sun, 29 Nov 2009 20:05:23 +0000 (20:05 +0000)]
* net/tramp.el (tramp-maybe-open-connection): Open the remote
shell with "exec" when possible.  This prevents trailing prompts
in `start-file-process'.

14 years ago* net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
Michael Albinus [Sun, 29 Nov 2009 20:04:08 +0000 (20:04 +0000)]
* net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
(ange-ftp-directory-files-and-attributes)
(ange-ftp-real-directory-files-and-attributes): New defuns.

14 years agoframe.c (frame_make_pointer_invisible)
Jan Djärv [Sun, 29 Nov 2009 09:48:50 +0000 (09:48 +0000)]
frame.c (frame_make_pointer_invisible)
(frame_make_pointer_visible): Declare f before statements.

14 years agoTry and remove assumptions about point-min==1.
Stefan Monnier [Sat, 28 Nov 2009 21:32:06 +0000 (21:32 +0000)]
Try and remove assumptions about point-min==1.
* nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
(rng-compute-mode-line-string): Show the validation percentage in
terms of the narrowed text, not the widened text.
(rng-do-some-validation): Don't catch internal errors when debugging.
(rng-first-error): Simplify.
(rng-after-change-function): Remove work around.  AFAIK the bug has
been fixed a while ago.

14 years ago* sem-user.texi (Semantic mode): Link to Idle Scheduler.
Chong Yidong [Sat, 28 Nov 2009 21:11:25 +0000 (21:11 +0000)]
* sem-user.texi (Semantic mode): Link to Idle Scheduler.

14 years ago* semantic.texi (Analyzer Internals): Rename from Analyzer.
Chong Yidong [Sat, 28 Nov 2009 21:09:00 +0000 (21:09 +0000)]
* semantic.texi (Analyzer Internals): Rename from Analyzer.

* sem-user.texi (Semantic mode user commands): Fix key syntax.
Document semantic-complete-analyze-inline.
(Semanticdb search debugging commands): Minor clarification.
(Analyzer, Smart Completion, Smart Summary, Smart Jump)
(Analyzer Debug) New nodes, adapted from the upstream Semantic user
manual.

14 years ago(image-minor-mode): Exit more gracefully when the image
Stefan Monnier [Sat, 28 Nov 2009 20:45:19 +0000 (20:45 +0000)]
(image-minor-mode): Exit more gracefully when the image
cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).

14 years ago* erc.texi (Development): Correction to git tutorial url.
Kevin Ryde [Sat, 28 Nov 2009 20:36:05 +0000 (20:36 +0000)]
* erc.texi (Development): Correction to git tutorial url.

14 years ago(Man-completion-table): Make it easier to enter "<sec> <name>".
Stefan Monnier [Sat, 28 Nov 2009 20:28:51 +0000 (20:28 +0000)]
(Man-completion-table): Make it easier to enter "<sec> <name>".

14 years ago* cl.texi (Porting Common Lisp): Update EIEIO dead ftp link to a
Kevin Ryde [Sat, 28 Nov 2009 20:20:39 +0000 (20:20 +0000)]
* cl.texi (Porting Common Lisp): Update EIEIO dead ftp link to a
@pxref, now eieio is in emacs.

14 years ago* eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
Stefan Monnier [Sat, 28 Nov 2009 17:06:30 +0000 (17:06 +0000)]
* eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
`cd' doesn't always do it for us (bug#5067).
* pcomplete.el (pcomplete-entries): Revert change installed mistakenly
on 2009-10-25 as part of some other change (bug#5067).

14 years ago(skip_invisible): Fix a typo in a comment.
Eli Zaretskii [Sat, 28 Nov 2009 10:50:31 +0000 (10:50 +0000)]
(skip_invisible): Fix a typo in a comment.

14 years ago(Special Properties): More accurate description of what the `cursor'
Eli Zaretskii [Sat, 28 Nov 2009 10:46:14 +0000 (10:46 +0000)]
(Special Properties): More accurate description of what the `cursor'
property does.

14 years ago[!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h.
Eli Zaretskii [Sat, 28 Nov 2009 10:24:51 +0000 (10:24 +0000)]
[!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h.

14 years ago(byte-compile-warning-types): New type `suspicious'.
Stefan Monnier [Fri, 27 Nov 2009 22:03:04 +0000 (22:03 +0000)]
(byte-compile-warning-types): New type `suspicious'.
(byte-compile-warnings): Use byte-compile-warning-types.
(byte-compile-save-excursion): Warn about use of set-buffer right
after save-excursion.

14 years ago(gud-basic-call): Don't only save the buffer but the excursion as well.
Stefan Monnier [Fri, 27 Nov 2009 19:31:57 +0000 (19:31 +0000)]
(gud-basic-call): Don't only save the buffer but the excursion as well.

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.