1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-18 20:00:36 -08:00
Commit graph

59462 commits

Author SHA1 Message Date
Stefan Monnier
4f8d1cf6d4 * lisp/paren.el (show-paren-data-function): New hook.
(show-paren--default): New function, extracted from show-paren-function.
(show-paren-function): Use show-paren-data-function.
2013-05-30 10:20:52 -04:00
Stefan Monnier
539240a694 * syntax.el (syntax-propertize-function): Fix docstring. 2013-05-30 09:57:44 -04:00
Glenn Morris
d209d4a9b3 Silence ielm compilation
* lisp/ielm.el (ielm-map, ielm-complete-symbol):
Use completion-at-point rather than obsolete functions.
(inferior-emacs-lisp-mode): Doc fix.
Set completion-at-point-functions, rather than
comint-dynamic-complete-functions.
2013-05-29 20:30:34 -07:00
Glenn Morris
2082faa6de In Eshell, replace obsolete lisp-complete-symbol
* eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
(eshell-cmpl-initialize, eshell-complete-parse-arguments):
Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
2013-05-29 20:27:46 -07:00
Glenn Morris
8d48f3f961 * gnus/nnmail.el (nnmail-fancy-expiry-target): Also bind mail-dont-reply-to-names 2013-05-29 20:26:13 -07:00
Glenn Morris
7029bc7d31 * gnus/spam-stat.el (spam-stat-save): No need to tweak font-lock in temp buffers 2013-05-29 20:25:29 -07:00
Glenn Morris
dd8620de6e * image.el (image-animated-p): Tweak definition.
* gnus/shr.el (shr-put-image): Silence compiler.
2013-05-29 20:24:30 -07:00
Glenn Morris
ceca95b18e rlogin.el tiny cleanup
* net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
(rlogin-process-connection-type): Tweak default.  Add set-after.
(rlogin-host): Doc fix.
(rlogin): Tweak prompt.
(rlogin-tab-or-complete): Use completion-at-point rather than alias.
2013-05-29 20:22:45 -07:00
Glenn Morris
ee9f1acc30 Use completion-at-point rather than obsolete alias.
* net/net-utils.el (nslookup-mode-map, ftp-mode-map):
* progmodes/tcl.el (inferior-tcl-mode-map):
Use completion-at-point rather than obsolete alias.
2013-05-29 20:20:56 -07:00
Glenn Morris
45ce222e71 * lisp/emacs-lisp/eieio.el (eieio-eval-default-p): Move before use. 2013-05-29 20:19:37 -07:00
Glenn Morris
f146f2e4bd * erc/erc-backend.el: Require erc at run-time too (silences compilation) 2013-05-29 20:19:04 -07:00
Glenn Morris
02d844b536 * minibuffer.el (read-file-name-completion-ignore-case):
Move before completion--in-region, for eager macro expansion.

Somehow, this avoids an eager macro expansion failure present during
bootstrap since ~ 2013-04-17.
2013-05-29 20:18:06 -07:00
Juri Linkov
ac44d6c19f * lisp/replace.el (occur-engine): Rename globalcount' to global-lines'
for total count of matching lines.  Add `global-matches' for total
count of matches.  Rename `matches' to `lines' for count of
matching lines.  Add `matches' for count of matches.
Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
to `prev-line' for line number of prev match endpt.
Increment `matches' for every match.  Print the number of
matching lines in the header.
(occur-context-lines): Rename `lines' to `curr-line'.
Rename `prev-lines' to `prev-line'.

Fixes: debbugs:14017
2013-05-30 02:43:39 +03:00
Juri Linkov
3c9c9d38d0 * lisp/replace.el (perform-replace): Add `skip-read-only-count',
`skip-filtered-count', `skip-invisible-count' let-bound to 0.
Increment them for corresponding conditions and report the number
of skipped occurrences in the final message. 
(query-replace, query-replace-regexp, query-replace-regexp-eval)
(replace-string, replace-regexp): Doc fix.

Fixes: debbugs:11746
2013-05-30 02:11:41 +03:00
Stefan Monnier
8e399682a1 * lisp/emacs-lisp/trace.el (trace--read-args): Provide a default. 2013-05-29 11:17:12 -04:00
Stefan Monnier
33e249a259 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
prog-mode-map.
2013-05-29 10:14:16 -04:00
Joakim Verona
4f0994366d Merge remote-tracking branch 'origin/trunk' into xwidget 2013-05-29 09:57:21 +02:00
Glenn Morris
03983bdcc4 idlwave-concatenate-rinfo-lists fix
* progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
Handle idlwave-last-system-routine-info-cons-cell being nil.

This seems to prevent an error on typing `C-c TAB',
idlwave-update-routine-info, in an idlwave buffer.
2013-05-29 00:18:09 -07:00
Leo Liu
f236dd8432 * lisp/emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
off the highlight first.

* lisp/progmodes/octave.el (octave-indent-comment): Tweak regexps.
(octave-help): Small simplification.

* test/indent/octave.m: Tweak.
2013-05-29 14:50:48 +08:00
Glenn Morris
bc74a74a5d * idlwave.el (idlwave-scan-user-lib-files, idlwave-write-paths): Simplify
via with-temp-buffer.
2013-05-28 23:44:19 -07:00
Glenn Morris
8b3942003d Silence cua-mode compilation
* emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
* emulation/cua-rect.el: Also load cua-base at run time.
2013-05-28 19:48:16 -07:00
Glenn Morris
3694d13f70 Silence cperl-mode compilation
* progmodes/cperl-mode.el (imenu-choose-buffer-index)
(file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
(cperl-imenu-on-info): Require imenu.
2013-05-28 19:46:35 -07:00
Glenn Morris
cf6a9685f1 Silence some gnus compilation warnings
* gnus/gnus-ems.el (set-process-plist): Every supported Emacs has this.

* gnus/gnus-group.el (gnus-sequence-of-unread-articles)
(gnus-summary-add-mark, gnus-mark-article-as-read)
(gnus-group-make-articles-read): Declare.

* gnus/gnus-sum.el (gnus-parameter-list-identifier)
(gnus-article-stop-animations, gnus-stop-downloads)
(gnus-article-only-boring-p, article-goto-body)
(gnus-flush-original-article-buffer, article-narrow-to-head)
(gnus-article-hidden-text-p, gnus-delete-wash-type)
(gnus-summary-save-in-pipe, gnus-article-show-summary): Declare.

* gnus/gnus.el: No need to eval-and-compile autoloads.

* gnus/gravatar.el (help-function-arglist): Autoload.

* gnus/nnimap.el (gnus-refer-thread-use-nnir): Declare.

* gnus/nnmail.el (nnmail-fancy-expiry-target): Maybe use mail-dont-reply-to.

* gnus/spam.el: No need to load spam-report when compiling.
No need to eval-and-compile autoloads.
(spam-report-resend-to): Declare.
(spam-report-resend-register-routine): Require 'spam-report.
2013-05-28 19:40:43 -07:00
Joakim Verona
4c71f9d376 upstream 2013-05-28 23:39:22 +02:00
Alan Mackenzie
336d728464 Handle "capitalised keywords" correctly.
* progmodes/cc-mode.el (c-after-change): bind case-fold-search to
        nil.
2013-05-28 15:42:56 +00:00
Aidan Gauland
cb29c582d7 Added -r option to eshell/cp 2013-05-28 22:22:03 +12:00
Glenn Morris
712b9732db Silence the rest of vc compilation
* vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff, vc-resynch-buffer):
Declare.
(vc-switches, vc-default-revert, vc-version-backup-file): Autoload.

* vc/vc-git.el (vc-exec-after, vc-set-async-update, grep-read-regexp)
(grep-read-files, grep-expand-template, vc-dir-refresh): Declare.
(vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.

* vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
(vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.

* vc/vc-sccs.el (vc-file-tree-walk): Declare.
(vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
(vc-tag-precondition, vc-rename-master): Autoload.
2013-05-28 00:47:11 -07:00
Glenn Morris
f673190fb0 Commit file missing from previous change
* obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert): Autoload.
(vc-resynch-buffer): Declare.
2013-05-28 00:03:00 -07:00
Glenn Morris
e658d75cda Silence some vc compilation warnings
* lisp/vc/vc-arch.el (vc-exec-after): Declare.
(vc-switches): Autoload.

* lisp/vc/vc-bzr.el: No need to require vc when compiling.
(vc-exec-after, vc-set-async-update, vc-default-dir-printer)
(vc-resynch-buffer, vc-dir-refresh): Declare.
(vc-setup-buffer, vc-switches): Autoload.

* lisp/vc/vc-dir.el (desktop-missing-file-warning): Declare.

* lisp/vc/vc-mtn.el (vc-exec-after): Declare.
(vc-switches): Autoload.

* lisp/vc/vc-rcs.el (vc-expand-dirs, vc-switches)
(vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
(vc-file-tree-walk): Declare.

* lisp/vc/vc-svn.el (vc-exec-after): Declare.
(vc-switches, vc-setup-buffer): Autoload.

* lisp/obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
Autoload.
(vc-resynch-buffer): Declare.
2013-05-28 00:01:59 -07:00
Glenn Morris
98e87fb36a * obsolete/fast-lock.el (byte-compile-warnings):
Don't warn about obsolete features in this obsolete file.
2013-05-27 23:56:55 -07:00
Glenn Morris
f537955316 * cc-vars.el (c-macro-names-with-semicolon): Move definition before use. 2013-05-27 23:55:48 -07:00
Glenn Morris
7a20ef8319 dunnet.el trivia
* play/dunnet.el (byte-compile-warnings): Don't disable them all.
(dun-unix-verbs): Remove dun-zippy.
(dun-zippy): Remove function.
2013-05-27 23:54:23 -07:00
Glenn Morris
690e44b238 * lisp/emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix. 2013-05-27 23:52:51 -07:00
Michael Albinus
ec518f1a35 Add comment for last change. 2013-05-28 08:49:19 +02:00
Juri Linkov
3a52ccf7c2 * lisp/replace.el (replace-search): New function with code moved out
from `perform-replace'.
(replace-highlight, replace-dehighlight): Move function definitions
up closer to `replace-search'.

Fixes: debbugs:11746
2013-05-28 02:38:56 +03:00
Dmitry Gutov
f1a60a0f07 * lisp/vc/vc-git.el (vc-git-working-revision): When in detached mode,
return the commit hash.  Also set the `vc-git-detached' property.
(vc-git--rev-parse): Extract from `vc-git-previous-revision'.
(vc-git-mode-line-string): Use the same help-echo format whether in
detached mode or not, because we know the actual revision now.  When
in detached mode, shorten the revision to 7 chars.

Fixes: debbugs:14459
2013-05-28 03:11:21 +04:00
Juri Linkov
d289938a05 * lisp/replace.el (perform-replace): Ignore invisible matches.
In addition to checking `query-replace-skip-read-only', also
filter out matches by calling `run-hook-with-args-until-failure'
on `isearch-filter-predicates', and also check `search-invisible'
for t or call `isearch-range-invisible'.
(replace-dehighlight): Call `isearch-clean-overlays'.

Fixes: debbugs:11746
2013-05-28 02:02:37 +03:00
Juri Linkov
66fc57e3cd * lisp/isearch.el (isearch-filter-predicates): Rename from `isearch-filter-predicate'.
Doc fix. 
(isearch-message-prefix): Display text from the property
`isearch-message-prefix' of the currently active filters.
(isearch-search): Don't compare `isearch-filter-predicate' with
`isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
on `isearch-filter-predicates'.  Also check `search-invisible' for t
or call `isearch-range-invisible'.
(isearch-filter-visible): Make obsolete.
(isearch-lazy-highlight-search):
Call `run-hook-with-args-until-failure' on
`isearch-filter-predicates' and use `isearch-range-invisible'.

* lisp/info.el (Info-search): Call `run-hook-with-args-until-failure' on
`isearch-filter-predicates' instead of `funcall'ing
`isearch-filter-predicate'.
(Info-mode): Set `Info-isearch-filter' to
`isearch-filter-predicates' instead of `isearch-filter-predicate'.

* lisp/dired-aux.el (dired-isearch-filter-predicate-orig): Remove variable.
(dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
(dired-isearch-filenames-end): Add and remove
`dired-isearch-filter-filenames' in `isearch-filter-predicates'
instead of changing the value of `isearch-filter-predicate'.
Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
(dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
Put property `isearch-message-prefix' to "filename " on
`dired-isearch-filter-filenames'.

* lisp/wdired.el (wdired-change-to-wdired-mode):
Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
locally instead of changing `isearch-filter-predicate'.
(wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.

Fixes: debbugs:11378
2013-05-28 01:42:11 +03:00
Joakim Verona
5cf62a1639 Merge remote-tracking branch 'origin/trunk' into xwidget
Conflicts:
	ChangeLog
	lisp/ChangeLog
	lisp/progmodes/octave.el
	src/Makefile.in
2013-05-27 23:14:19 +02:00
Stefan Monnier
7f17cc40ef Always defvar a mode's hook and provide a docstring.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
* lisp/emacs-lisp/derived.el (define-derived-mode): Always defvar the
mode hook and provide a docstring.
2013-05-27 12:12:52 -04:00
Alan Mackenzie
25c8401c40 Remove spurious syntax-table text properties inserted by C-y.
* progmodes/cc-mode.el (c-after-change): Also clear hard
        syntax-table property with value nil.
2013-05-27 13:30:21 +00:00
Michael Albinus
dde84790b7 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
when reading the events; the buffer layout shall not be changed.
2013-05-27 14:41:17 +02:00
Leo Liu
837fd9af07 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
New variable.
(inferior-octave-directory-tracker): Automatically re-sync
default-directory.
(octave-help): Improve handling of 'See also'.
2013-05-27 13:08:04 +08:00
Stefan Monnier
416f18027e * lisp/doc-view.el: Minor naming convention tweaks.
(desktop-buffer-mode-handlers): Don't add to it repeatedly.
2013-05-26 21:08:43 -04:00
Stefan Monnier
4fd996b389 * lisp/image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
even if there's no `display' property yet.

Fixes: debbugs:14435
2013-05-26 20:59:33 -04:00
Fabián Ezequiel Gallina
20992a8504 * progmodes/python.el: Fix typo in commentary. 2013-05-26 06:06:02 -03:00
Fabián Ezequiel Gallina
f782d53133 * progmodes/python.el (python-indent-block-enders): Add break,
continue and raise keywords.
2013-05-26 05:55:02 -03:00
Eli Zaretskii
bc1dd793bd Rename unmsys--filename to unmsys--file-name. 2013-05-25 19:05:19 +03:00
Eli Zaretskii
a052ef3bef Rename reveal-filename into unmsys--filename.
lisp/subr.el (unmsys--filename): Renamed from reveal-filename.
 lisp/Makefile.in (custom-deps, finder-data, autoloads)
 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
 ($(CAL_DIR)/hol-loaddefs.el): All users changed.

 leim/Makefile.in (leim-list.el, check-declare): Replace
 reveal-filename with unmsys--filename.
2013-05-25 10:19:50 +03:00
Stefan Monnier
df76dacbd1 * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Don't burp at EOB.
Fixes: debbugs:14446
2013-05-24 23:08:04 -04:00