1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00
Commit graph

110938 commits

Author SHA1 Message Date
Juri Linkov
6d65486d64 * lisp/isearch.el (minibuffer-local-isearch-map): Bind "\r" to `exit-minibuffer'
instead of `isearch-nonincremental-exit-minibuffer'.
(isearch-edit-string): Remove mention of
`isearch-nonincremental-exit-minibuffer' from docstring.
(isearch-nonincremental-exit-minibuffer): Mark as obsolete.
(isearch-forward-exit-minibuffer)
(isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)

* doc/emacs/search.texi (Repeat Isearch): Mention key `RET' to finish
editing the string.
2013-05-16 02:14:18 +03:00
Stefan Monnier
6e911150d0 Use just DOC instead of DOC-nn.mm.
* lisp/loadup.el: Just use unversioned DOC.
* Makefile.in (install-doc): DOC file is not version specific any more.
* .bzrignore: Don't ignore DOC-* any more.
* admin/quick-install-emacs: Don't prune DOC-* files a any more.
* doc/lispref/loading.texi (Autoload):
* doc/lispref/help.texi (Documentation Basics, Accessing Documentation)
(Accessing Documentation, Accessing Documentation): DOC-* is now DOC.
* etc/.gitignore: Don't ignore DOC-* any more.
* lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
* msdos/sed1x.inp: Don't rewrite DOC any more.
* nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
* src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
* src/makefile.w32-in (DOC): Use just "DOC".
2013-05-15 16:12:53 -04:00
Stefan Monnier
1aa8d50570 * src/process.c: Export default filters and sentinels to Elisp.
(Qinternal_default_process_sentinel, Qinternal_default_process_filter):
New constants.
(pset_filter, pset_sentinel, make_process, Fset_process_filter)
(Fset_process_sentinel, Fformat_network_address):
Default to them instead of nil.
(server_accept_connection): Sentinels can't be nil any more.
(read_and_dispose_of_process_output): New function, extracted from
read_process_output.
(read_process_output): Use it; filters can't be nil.
(Finternal_default_process_filter): New function, extracted from
read_process_output.
(exec_sentinel_unwind): Remove function.
(exec_sentinel): Don't zilch sentinel while running.
(status_notify): Sentinels can't be nil.
(Finternal_default_process_sentinel): New function extracted from
status_notify.
(setup_process_coding_systems): Default filter is not nil any more.
(syms_of_process): Export new Elisp functions and initialize
new constants.
* src/lisp.h (make_lisp_proc): New function.
2013-05-15 14:54:49 -04:00
Stefan Monnier
c99904740e * lisp/nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
literals as extending to EOB.
(nxml-last-fontify-end): Remove unused variable.
(nxml-after-change1): Use with-silent-modifications.
(nxml-extend-after-change-region): Simplify.
(nxml-extend-after-change-region1): Remove function.
(nxml-after-change1): Don't adjust for dependent regions.
(nxml-fontify-matcher): Simplify.
* lisp/nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
(xmltok-add-dependent): Remove function.
(xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
(xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
(xmltok-scan-prolog-after-processing-instruction-open): Treat
unclosed <[[, <?, comment, and other literals as extending to EOB.
* lisp/nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
(rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
Remove functions.
(rng-do-some-validation-1): Don't mark dependent regions.
* lisp/nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
(nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
(nxml-clear-dependent-regions): Remove functions.
(nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
(nxml-ensure-scan-up-to-date):
Don't clear&mark dependent regions.
2013-05-15 14:31:51 -04:00
Leo Liu
e3772e9833 * progmodes/octave.el (octave-goto-function-definition): Improve
and fix callers.
2013-05-15 16:17:22 +08:00
Stefan Monnier
c46c57b096 * lisp/emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
the setter.

Fixes: debbugs:14387
2013-05-14 22:00:07 -04:00
Stefan Monnier
5ac2eb344f * lisp/progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
surrounding group.
* src/regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart.

Fixes: debbugs:14402
2013-05-14 20:52:07 -04:00
Juri Linkov
180ed21842 * lisp/subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
Fixes: debbugs:14390
2013-05-15 02:38:14 +03:00
Glenn Morris
0ac0fecb15 * f90.el (f90-imenu-generic-expression): Fix typo in 2013-05-08 change.
(Bug#14402)
2013-05-14 15:29:35 -04:00
Jean-Philippe Gravel
2e78e6a794 * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove
signals for which replies are never received.
2013-05-14 14:34:13 -04:00
Jean-Philippe Gravel
53267ccaa5 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
(gdb-handler-alist, gdb-handler-number): Remove variables.
(gdb-handler-list): New variable.
(gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
(gdb-pending-handler-p, gdb-handle-reply)
(gdb-remove-all-pending-triggers): New functions.
(gdb-discard-unordered-replies): New defcustom.
(gdb-handler): New defstruct.
(gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
instead of gdb-pending-triggers.  Update docstring.
(gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
(gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
(gdb-var-update-handler, def-gdb-auto-update-trigger)
(def-gdb-auto-update-handler, gdb-get-changed-registers)
(gdb-changed-registers-handler, gdb-get-main-selected-frame)
(gdb-frame-handler): Pending triggers are now automatically managed.
(def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
Remove argument.
(gdb-input): Automatically handles pending triggers.  Update docstring.
(gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
(gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
Update comments.
(gdb-done-or-error): Now use gdb-handle-reply.
2013-05-14 14:13:31 -04:00
Jean-Philippe Gravel
d04ce803e5 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
gdb-debug-log.
2013-05-12 09:38:42 -04:00
Glenn Morris
0114073ac0 * subr.el (user-emacs-directory-warning): New option.
(locate-user-emacs-file): Handle non-accessible .emacs.d. 

Not in NEWS, because you only need to know about this if you encounter
it in the wild.

Fixes: debbugs:13930
2013-05-14 09:01:16 -07:00
Eli Zaretskii
eda9c7d707 Another attempt to solve bug #14062 with assertion violations on MS-Windows.
src/w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT
 unless we know that the window w is a leaf window.  Another
 attempt at solving bug#14062.
2013-05-14 17:09:43 +03:00
Leo Liu
6073d8f44a * progmodes/octave.el (octave-font-lock-texinfo-comment):
Fix invalid search bound error: wrong side of point.
2013-05-14 18:11:56 +08:00
Jan Djärv
8fdeaad563 * nsfont.m (ns_spec_to_descriptor): Retain and autorelease fdesc.
Fixes: debbugs:14375
2013-05-14 11:34:16 +02:00
Yann Hodique
469bfed936 * lisp/emacs-lisp/tabulated-list.el: Set a version number.
* lisp/emacs-lisp/package.el: Explicitly depend on a tabulated-list version.

Fixes: debbugs:14137
2013-05-14 00:35:21 -07:00
Leo Liu
4d25fd7e52 * progmodes/octave.el (octave-font-lock-keywords): Fix error
during redisplay.
(octave-goto-function-definition, octave-find-definition): Minor tweaks.
2013-05-14 13:19:29 +08:00
Glenn Morris
61aaeb01ce * lisp/progmodes/flymake.el (flymake-xml-program): New option.
(flymake-xml-init): Use it.
2013-05-13 22:42:17 -04:00
Glenn Morris
29efd4698b More cus-test.el tweaks
* admin/cus-test.el (cus-test-get-lisp-files): Ignore obsolete/.
(cus-test-libs): Fix let-binding of default-directory.
(cus-test-noloads): Load all libs for the comparison.
2013-05-13 22:12:19 -04:00
Glenn Morris
bf8154b1af * ede/simple.el, semantic/java.el: Set generated-autoload-load-name. 2013-05-13 22:10:23 -04:00
Glenn Morris
5bf90bc5d4 * lisp/term/xterm.el: Provide a feature. 2013-05-13 22:08:35 -04:00
Glenn Morris
27c8b6eb73 Make sup-mouse.el obsolete
* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete sup-mouse.el.

* term/sup-mouse.el: Move to obsolete/.

* etc/NEWS: Mention this.
2013-05-13 22:04:02 -04:00
Glenn Morris
2a1f2eb3fc Fix typo in previous 2013-05-13 13:52:59 -04:00
Glenn Morris
f4c7dfd296 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh): Add compat aliases
as a hack workaround.

Fixes: debbugs:14384
2013-05-13 09:21:00 -07:00
Glenn Morris
3766b7428c Auto-commit of generated files. 2013-05-13 06:17:36 -04:00
Leo Liu
b0e069c2ac * progmodes/octave.el (octave-indent-comment): Fix indentation for %!.
(octave-comment-start-skip): Include %!.
(octave-mode): Set comment-start-skip to octave-comment-start-skip.
2013-05-13 15:24:22 +08:00
Paul Eggert
bb8eb35723 * configure.ac (LD_SWITCH_SYSTEM_EMACS): Fix typo in previous change. 2013-05-12 23:23:08 -07:00
Paul Eggert
522fe43b9f * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -fno-pie.
Reported privately by Han Boetes <han@boetes.org>.
2013-05-12 20:54:34 -07:00
Leo Liu
f5a9432fa6 * progmodes/octave.el (octave-mode-map): Bind octave-indent-defun to
C-c C-q instead of C-M-q.
2013-05-13 09:36:42 +08:00
Leo Liu
2aeb3a1dba * progmodes/octave.el (octave-indent-comment): Fix the indentation
of ### or %%%.
2013-05-13 08:07:18 +08:00
Paul Eggert
44aa9ee6d2 * image.c (gif_load): Check that subimages fit.
Fixes: debbugs:14345
2013-05-12 12:17:04 -07:00
Glenn Morris
4506f5e652 Auto-commit of loaddefs files. 2013-05-12 06:22:44 -04:00
Leo Liu
30ea8374a7 * progmodes/octave.el (inferior-octave-startup): Store the value
of __octave_srcdir__ for octave-source-directories.
(inferior-octave-check-process): New function refactored out of
inferior-octave-send-list-and-digest.
(octave-source-directories)
(octave-find-definition-filename-function): New variables.
(octave-source-directories)
(octave-find-definition-default-filename): New functions.
(octave-find-definition): Improve to find functions implemented in C++.
2013-05-12 12:10:40 +08:00
Glenn Morris
472a3834de * diary-lib.el (diary-outlook-format-1): Don't include dayname in the output.
Fixes: debbugs:14349
2013-05-11 18:34:30 -07:00
Glenn Morris
0060ac73c0 * lisp/emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix. 2013-05-11 16:58:36 -07:00
Glenn Morris
6b91f90309 Set generated-autoload-load-name in some more cedet files
There are no autoloads in these files, but there are defcustoms.
See bug#5277.

* ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
* semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
* semantic/wisent/grammar.el, semantic/wisent/wisent.el:
* srecode/fields.el: Set generated-autoload-load-name.
2013-05-11 16:55:46 -07:00
Glenn Morris
3191b52fa8 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
Treat cc-provide like provide.
2013-05-11 16:54:14 -07:00
Kevin Ryde
e065ba740b Use generated-autoload-load-name for cus-load.el.
* lisp/cus-dep.el (custom-make-dependencies):
Use generated-autoload-load-name for the sake of files such
such cedet/semantic/bovine/c.el, where the base file name
is not in load-path.

Fixes: debbugs:5277
2013-05-11 16:52:27 -07:00
Glenn Morris
36f84c3728 Make some files provide features
* dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
Provide features.
2013-05-11 16:41:52 -07:00
Leo Liu
c8730c3abe * progmodes/octave.el (octave-indent-comment): Improve.
(octave-eldoc-message-style, octave-eldoc-cache): New variables.
(octave-eldoc-function-signatures, octave-eldoc-function): New
functions.
(octave-mode, inferior-octave-mode): Add eldoc support.
2013-05-11 21:22:06 +08:00
Richard M. Stallman
212e29f2e2 * epa.el (epa-decrypt-file): Take output file name as argument
and read it using `interactive'.
2013-05-11 09:14:07 -04:00
Leo Liu
6980b0cabf * progmodes/octave.el (octave-begin-keywords, octave-end-keywords)
(octave-reserved-words, octave-smie-bnf-table)
(octave-smie-rules): Add new keywords from Octave 3.6.4.
2013-05-11 15:39:59 +08:00
Leo Liu
9dbdb67ed9 * progmodes/octave.el (octave-indent-comment): New function.
(octave-mode): Use it in smie-indent-functions.

Fixes: debbugs:14350
2013-05-11 14:20:10 +08:00
Leo Liu
083fe0d743 * progmodes/octave.el (octave-beginning-of-line)
(octave-end-of-line): Check before using up-list because it jumps
out of more syntactic contructs since moving to smie.
2013-05-11 11:50:34 +08:00
Glenn Morris
5d10860617 More cus-test.el tweaks
* admin/cus-test.el (cus-test-libs-noloads): Add a few more files.
(cus-test-load-libs, cus-test-opts):
Add option to load more/all Lisp files.
(cus-test-get-lisp-files): Ignore .*.el files.
2013-05-10 19:29:57 -07:00
Glenn Morris
f20def1f2e Fix some declarations
* lisp/faces.el (internal-face-x-get-resource):
* lisp/frame.el (ns-display-monitor-attributes-list):
* lisp/calc/calc-aent.el (math-to-radians-2):
* lisp/cedet/ede/locate.el (cedet-cscope-version-check)
(cedet-cscope-support-for-directory):
* lisp/cedet/semantic/grammar.el (semantic-grammar-wy--install-parser):
* lisp/emacs-lisp/package.el (tar-header-name, tar-header-link-type):
Fix declarations.
2013-05-10 19:27:28 -07:00
Glenn Morris
445f95e2ab Make a few libraries loadable in isolation
* lisp/calc/calc-menu.el: Make it loadable in isolation.

* lisp/gnus/gnus-vm.el: Make it loadable without VM.
(gnus-vm-make-folder, gnus-summary-save-in-vm): Require 'vm.
(vm-forward-message, vm-reply, vm-mail): Remove unused autoloads.

* lisp/net/eudcb-bbdb.el: Make it loadable without bbdb.
(eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
(eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
(eudc-bbdb-query-internal): Require 'bbdb.
2013-05-10 19:25:11 -07:00
Glenn Morris
99fb275649 More custom :type fixes
* lisp/lpr.el (lpr-headers-switches):
* lisp/emacs-lisp/testcover.el (testcover-compose-functions):
* lisp/cedet/ede/project-am.el (project-am-compile-project-command): Fix :type.

* lisp/progmodes/sql.el (sql-login-params): Fix and improve :type.
2013-05-10 19:21:29 -07:00
Glenn Morris
0da7ad96c4 * lisp/emulation/edt-mapper.el: In batch mode, error rather than hang. 2013-05-10 19:17:45 -07:00