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

110932 commits

Author SHA1 Message Date
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
Glenn Morris
8582e4c4b9 * lisp/term.el (term-set-escape-char): Make it idempotent. 2013-05-10 19:15:46 -07:00
Glenn Morris
f79362a7a0 Auto-commit of loaddefs files. 2013-05-10 06:21:19 -04:00
Glenn Morris
cc70ee9b78 Auto-commit of generated files. 2013-05-10 06:17:36 -04:00
Glenn Morris
a3f276d8ff Add option for cus-test.el to load all Lisp files
* admin/cus-test.el (cus-test-libs-noloads): Add some files.
(cus-test-get-lisp-files): New function.
(cus-test-libs): Add option to load more/all Lisp files.
2013-05-10 00:31:34 -07:00
Leo Liu
f71c50d026 * progmodes/octave.el (inferior-octave-completion-table): No
longer a function and all uses changed.  Use cache to speed up
completion due to bug#11906.
(octave-beginning-of-defun): Re-write to be more general.
2013-05-10 14:26:42 +08:00
Glenn Morris
d5837773e0 * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix. 2013-05-09 22:01:12 -04:00