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

115783 commits

Author SHA1 Message Date
Daniel Colascione
170c12e054 Add missing src/ChangeLog text that somehow ended up in last commit message instead 2014-04-02 17:44:00 -07:00
Daniel Colascione
f59c276045 Fix typo
* alloc.c: Include execinfo.h if available.
(SUSPICIOUS_OBJECT_CHECKING): New macro; define unconditionally.
(suspicious_free_record): New structure.
(suspicious_objects,suspicious_object_index)
(suspicious_free_history, suspicious_free_history_index): New
variables.
(find_suspicious_object_in_range,detect_suspicious_free,Fsuspicious_object):
New functions.
(cleanup_vector): Call find_suspicious_object_in_range.
2014-04-02 17:37:51 -07:00
Daniel Colascione
01ae0fbf30 Add GC bug investigation code 2014-04-02 17:18:08 -07:00
Richard M. Stallman
4fd68bf6cc Revert subr.el workaround for GC bug.
* subr.el (set-transient-map): Comment out previous change.
2014-04-02 13:21:34 -04:00
Dmitry Antipov
ed859c7aea * xterm.c (x_term_init) [USE_LUCID]: Fix minor memory leak. 2014-04-02 20:17:08 +04:00
Juanma Barranquero
09aba8153a Merge from emacs-24; up to 2014-03-28T01:39:30Z!rgm@gnu.org 2014-04-02 17:14:50 +02:00
Martin Rudalics
ffcd5669d6 In x_new_font don't calculate non-toolkit scrollbar width from font width (Bug#17163).
* xterm.c (x_new_font): Don't calculate non-toolkit scrollbar
width from font width (Bug#17163).
2014-04-02 16:33:33 +02:00
Dmitry Antipov
af1a69f4d1 * font.c (font_list_entities): Do not add empty vector to font cache.
(font_matching_entity): Likewise.  If matching entity is found, insert
1-item vector with this entity instead of entity itself (Bug#17125).
2014-04-02 17:24:19 +04:00
João Távora
200c532bd0 Inhibit quote autopairing more frequently
* lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
quote pairing if point-max is inside an unterminated string.
(electric-pair--looking-at-unterminated-string-p):
Delete.
(electric-pair--in-unterminated-string-p): New function.

* test/automated/electric-tests.el (inhibit-if-strings-mismatched):
New test, change from `inhibit-only-of-next-is-mismatched'.
2014-04-02 10:59:06 +01:00
Glenn Morris
0b908bf2ef Small codes update for revert-buffer-function no longer being nil by default
* lisp/menu-bar.el (menu-bar-file-menu):
* lisp/vc/ediff.el (ediff-current-file):
Update for revert-buffer-function no longer being nil by default.
2014-04-02 00:07:11 -07:00
Glenn Morris
9c8b0aa042 NEWS small edits 2014-04-02 00:01:07 -07:00
Glenn Morris
c7510f6e94 * lisp/simple.el (command-execute): Respect nil disabled-command-function. 2014-04-01 23:53:10 -07:00
Nicolas Richard
6116a72722 Fix for command-execute handling of disabled commands
* lisp/simple.el (command-execute): Do not execute the command when it
is disabled; fixes thinko in 2013-02-20 conversion from C.

Fixes: debbugs:17151
2014-04-01 23:51:59 -07:00
Daniel Colascione
2395f2b919 Prevent assertion failure when trying to complete the prompt 2014-04-01 13:48:02 -07:00
Paul Eggert
8ec49c53c6 * fns.c (validate_subarray): Rename from validate_substring,
since it works for vectors too.  New arg ARRAY.  Optimize for the
non-nil case.  Instead of returning bool, throw an error if out of
range, so that the caller needn't do that.  All uses changed.
Report original values if out of range.
(Fsubstring, Fsubstring_no_properties, secure_hash):
Also optimize the case where FROM is 0 or TO is the size.
2014-04-01 13:18:12 -07:00
Glenn Morris
8ec45bab98 Backport cedet/ede/emacs.el change from trunk
In case anyone uses 24.4 to edit trunk Emacs sources

* lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.

Fixes: debbugs:17160
2014-04-01 09:27:59 -07:00
Glenn Morris
21c625fdd0 configure.ac comment 2014-04-01 09:17:19 -07:00
Glenn Morris
06f051798b * lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.
Fixes: debbugs:17160
2014-04-01 09:01:00 -07:00
Michael Albinus
20253ce169 * NEWS: `url-handler-mode' passes operations to Tramp for some protocols. 2014-04-01 15:20:20 +02:00
Michael Albinus
8def287539 Pass some protocols to Tramp, like ssh and friends.
* url-tramp.el: New file.

* url-handlers.el (url-handler-regexp): Add ssh, scp, rsync and telnet.
Add :version.
(url-file-handler): Call `url-tramp-file-handler' if appropriate.
2014-04-01 14:41:56 +02:00
Glenn Morris
c7335c0d2b Auto-commit of loaddefs files. 2014-04-01 07:22:00 -04:00
Glenn Morris
a7ab7bc038 Auto-commit of loaddefs files. 2014-04-01 06:17:57 -04:00
Glenn Morris
2998fa1b73 Fix up some Version: headers that might confuse package.el 2014-03-31 15:01:59 -04:00
Glenn Morris
8033778191 Rename some cedet Version: headers that can confuse package.el
Fixes: debbugs:17137
2014-03-31 13:01:19 -04:00
Glenn Morris
63adc15691 * configure.ac: Make the final "Does Emacs use Gsettings" message
consistent with src/config.h.
2014-03-31 09:22:32 -07:00
Dmitry Antipov
fbc87aeaaf * fns.c (Fsubstring, Fsubstring_no_properties, secure_hash):
Move common substring range checking code to...
(validate_substring): ...this function.
2014-03-31 16:06:34 +04:00
Dmitry Antipov
68712e0845 * search.c (Freplace_match): Use make_specified_string.
* xterm.c, w32term.c (x_set_glyph_string_gc): Use emacs_abort
to catch bogus override face of glyph strings.
2014-03-31 11:13:58 +04:00
Jan Djärv
abe133666d * nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO
Fixes: debbugs:16976
2014-03-31 08:20:04 +02:00
Jan Djärv
dcb4c4d753 * configure.ac: Fix errors from previous checkin (GSettings check).
Backport from trunk.
2014-03-31 08:08:29 +02:00
Jan Djärv
ce486e0d8f * configure.ac: Fix errors from previous checkin (GSettings check). 2014-03-31 07:02:08 +02:00
Daniel Colascione
d94c875df3 Discuss using lazy completion tables for inline completion. 2014-03-30 19:25:02 -07:00
Leo Liu
294b2b0928 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Refactor
out eldoc-documentation-function-default.
(eldoc-documentation-function-default): New function.
(eldoc-documentation-function): Change value.
2014-03-31 09:31:17 +08:00
Glenn Morris
1db854ccdd Sync some vhdl changes that seem to have been missed from some previous merge
* lisp/progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
(vhdl-compose-components-package, vhdl-compose-configuration):
Abbreviate default-directory.
2014-03-30 17:49:05 -07:00
Glenn Morris
4f3a895b33 * lisp/simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
Include restoring manual line-breaks to state before 2014-03-28T16:26:15Z!mina86@mina86.com.
2014-03-30 17:35:12 -07:00
Reto Zimmermann
3c2d477626 Sync with upstream vhdl mode v3.35.2.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg01137.html

* lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
(top-level): No longer require assoc.
(vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
New functions.  Use throughout to replace aget etc.
(vhdl-aput-delete-if-nil): Rename from vhdl-aput.
(vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
(vhdl-template-replace-header-keywords): Fix bug for "<title string>".
(vhdl-compile-init): Do not initialize regexps for Emacs 22+.
(vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
except `vhdl-compiler'.
(vhdl-error-regexp-add-emacs): Remove all other compilers,
when appropriate.
2014-03-30 17:22:29 -07:00
Glenn Morris
5c30ab7a71 vhdl-mode.el small fixup
* lisp/progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
Revert 2014-03-26 merge goof; go back to using defalias.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg01104.html
2014-03-30 17:08:55 -07:00
Daniel Colascione
8e86e380dc * configure.ac: Include GFILENOTIFY objects in glib check (backport from trunk)
Fixes: debbugs:17069
2014-03-30 16:59:19 -07:00
Daniel Colascione
1861d5a712 completion-in-region-mode improvements 2014-03-30 12:12:57 -07:00
Eli Zaretskii
34cad8271d nt/INSTALL: Minor fixes. 2014-03-30 21:55:19 +03:00
Jan Djärv
f9d45267c8 Avoid flickering on frame creation with tool bar on OSX.
* nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
is nil.  If waiting for toolbar to complete, force a redraw.

* nsterm.h (EmacsView): Add wait_for_tool_bar.

* nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
bar is zero height, just return.
(initFrameFromEmacs:): Initialize wait_for_tool_bar.

Fixes: debbugs:16976
2014-03-30 19:21:20 +02:00
Martin Rudalics
632e91a645 In x_set_window_size postpone calculation of default frame sizes (Bug#17142).
* frame.c (x_set_frame_parameters): Calculate default values of
new frame sizes only after all other frame parameters have been
processed (Bug#17142).
2014-03-30 15:31:45 +02:00
Glenn Morris
045902f0e1 Auto-commit of loaddefs files. 2014-03-30 07:24:54 -04:00
Jan Djärv
4e6c9f7b2e * configure.ac: Add check that GSettings is in libgio. Backport from trunk.
Fixes: debbugs:17118
2014-03-30 12:44:33 +02:00
Juri Linkov
8778eb5efa * lisp/dired-aux.el (dired-compress-file): Don't use string-match-p
because its match data is used afterwards.
2014-03-29 19:59:36 +02:00
Jan Djärv
b0e04df615 * configure.ac: Add check that GSettings is in libgio.
Fixes: debbugs:17118
2014-03-29 13:08:47 +01:00
Glenn Morris
1730d9634a ede autoload tweak
* lisp/cedet/ede/dired.el (ede-dired-minor-mode): Add autoload cookie.
(generated-autoload-file, generated-autoload-load-name):
Set file-local values.

* lisp/cedet/ede.el: Load ede/loaddefs at compile time too.
(ede-dired-minor-mode): Remove hand-written autoload.
2014-03-28 19:59:51 -07:00
Glenn Morris
7b5003b866 * lisp/speedbar.el: Remove some old commentary. 2014-03-28 21:53:35 -04:00
Glenn Morris
93a583ee13 Set Maintainer to emacs-devel in some lisp/url files. 2014-03-28 20:55:44 -04:00
Glenn Morris
41116c5ab6 Manage reftex's internal autoloads automatically
* lisp/textmodes/reftex.el: Manage most autoloads automatically.

* lisp/textmodes/reftex-auc.el, lisp/textmodes/reftex-cite.el:
* lisp/textmodes/reftex-dcr.el, lisp/textmodes/reftex-global.el:
* lisp/textmodes/reftex-index.el, lisp/textmodes/reftex-parse.el:
* lisp/textmodes/reftex-ref.el, lisp/textmodes/reftex-sel.el:
* lisp/textmodes/reftex-toc.el: Set generated-autoload-file,
and add autoload cookies for reftex.el.

* lisp/Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2014-03-28 20:53:32 -04:00
Glenn Morris
dd694335f5 * (make-dist): Update AC_INIT regexp. 2014-03-28 20:14:16 -04:00