1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
Commit graph

111237 commits

Author SHA1 Message Date
Eli Zaretskii
32e2d7287f Fix compilation error on MinGW64 due to nt/inc/sys/time.h.
nt/inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
 avoid multiple definition errors on MinGW64.
2013-06-01 10:07:22 +03:00
Leo Liu
c75c93c7ed * progmodes/octave.el (octave-mode-syntax-table): Give `.'
punctuation syntax.
(inferior-octave-minimal-columns)
(inferior-octave-last-column-width): New variables.
(inferior-octave-track-window-width-change): New function.
(inferior-octave-mode): Adjust column width so that Octave output,
for example from 'ls', can fit into the window nicely.
2013-06-01 11:38:36 +08:00
Paul Eggert
da9aff1154 * process.c (handle_child_signal): Also use WCONTINUED.
This is so that list-processes doesn't mistakenly list the process
as stopped, when the process has actually been continued and is
now running.
2013-05-31 17:54:34 -07:00
Eli Zaretskii
5c20c8b704 Document changes in the installation tree on MS-Windows. 2013-05-31 22:22:23 +03:00
Paul Eggert
f5d430271e Spelling fixes. 2013-05-31 10:10:10 -07:00
Dmitry Gutov
973d1e126c * lisp/progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
Highlight expansions inside regexp literals.
2013-05-31 20:55:03 +04:00
Eli Zaretskii
2a157a5d33 Fix compile errors in nt/inc/sys/time.h when using nt/configure.bat.
nt/inc/sys/time.h (gettimeofday): Use '__restrict' instead of
 'restrict', which is a C99 extension.  See
 http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
 and the following discussion for the problem this caused in the
 old nt/configure.bat build.
2013-05-31 11:47:18 +03:00
Glenn Morris
e26aac1f93 * sym-comp.el (symbol-complete): Replace obsolete completion-annotate-function. 2013-05-31 00:34:56 -07:00
Tassilo Horn
ac699eef91 * themes/tsdh-dark-theme.el (tsdh-dark): Refine mode-line faces. 2013-05-31 09:15:51 +02:00
Glenn Morris
0888c286e5 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler. 2013-05-31 00:05:55 -07:00
Dmitry Gutov
19bb8e6293 * lisp/progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New
function, checks if expression expansion is allowed in given parse
state.
(ruby-syntax-propertize-expansion): Use it.
(ruby-syntax-propertize-function): Bind `case-fold-search' to nil
around the body.

* test/automated/ruby-mode-tests.el: New tests, for percent literals
and expression expansion.
2013-05-31 10:04:33 +04:00
Paul Eggert
fc186a96df Don't let D-bus autolaunch mess up SIGCHLD handling.
* xterm.c (x_term_init): Inhibit D-Bus autolaunch if D-Bus is
not already configured.

Fixes: debbugs:14474
2013-05-30 18:41:52 -07:00
Paul Eggert
0e64479a3a * fileio.c (Finsert_file_contents): Remove unused local.
Fixes: debbugs:8447
2013-05-30 18:31:10 -07:00
Juri Linkov
01dea85f7b * lisp/isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible' to "\M-si".
(isearch-invisible): New variable.
(isearch-forward): Doc fix.
(isearch-mode): Set `isearch-invisible'
to the value of `search-invisible'.
(isearch-toggle-case-fold): Doc fix.
(isearch-toggle-invisible): New command.
(isearch-query-replace): Let-bind `search-invisible'
to the value of `isearch-invisible'.
(isearch-search): Use `isearch-invisible' instead of
`search-invisible'.  Let-bind `search-invisible'
to the value of `isearch-invisible'.

Fixes: debbugs:11378
2013-05-31 02:45:41 +03:00
Glenn Morris
8accd027c4 * lisp/progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo. 2013-05-30 19:33:08 -04:00
Juri Linkov
ab1bdce51e * lisp/replace.el (perform-replace): Avoid `isearch-range-invisible'
call when `query-flag' is nil and `search-invisible' is non-nil.

Fixes: debbugs:11746
2013-05-31 02:29:42 +03:00
Glenn Morris
2a8bed1c02 cc-bytecomp tweaks for sake of byte-compiler
* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
(cc-require): Suppress spurious "noruntime" warnings.
(cc-require-when-compile): Use fboundp, for sake of compiler.
2013-05-30 19:20:05 -04:00
Glenn Morris
d6d236e233 * lisp/progmodes/cc-mode.el: Move load of cc-vars before that of cc-langs
(which in turn loads cc-vars), to quieten compiler.
2013-05-30 19:18:39 -04:00
Stefan Monnier
9190b35b7d * lisp/paren.el: Simplify the code.
(show-paren-mode): Always start the timer.
(show-paren--idle-timer): Rename from show-paren-idle-timer.
(show-paren--overlay, show-paren--overlay-1): Rename from
show-paren-overlay and show-paren-overlay-1, and initialize to an
overlay rather than to nil.
(show-paren-function): Misc cleanup and simplifications.
2013-05-30 11:44:54 -04:00
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
Xue Fuqiao
bee07d4ff7 Refine maintaining.texi.
* maintaining.texi (Types of Log File): Supplement some information of
change log files.
2013-05-30 17:27:55 +08: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
Eli Zaretskii
38b787fa72 Remove *.res files in mostlyclean, to avoid problems with out-of-tree builds.
src/Makefile.in (mostlyclean): Remove *.res files.

 lib-src/Makefile.in (mostlyclean): Remove *.res files.

 nt/Makefile.in (emacs.res): Include srcdir when preprocessing
 resources, for out-of-tree builds.
 (mostlyclean): Remove *.res files.
2013-05-29 19:48:42 +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
Xue Fuqiao
9dbd3bb11a * INSTALL: Fix description. 2013-05-29 21:21:17 +08: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
Stefan Monnier
22513e526e * src/fileio.c (Finsert_file_contents): Preserve undo info when reverting
a buffer.

Fixes: debbugs:8447
2013-05-28 21:07:53 -04:00
Stefan Monnier
a5cf7779bc * doc/lispref/functions.texi (Lambda Expressions): Lambda expressions don't
evaluate to themselves in general.

Fixes: debbugs:11782
2013-05-28 20:24:50 -04: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