Paul Eggert [Sat, 5 Apr 2014 19:30:36 +0000 (12:30 -0700)]
Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
* alloc.c (memory_full):
* charset.c (syms_of_charset):
* doc.c (Fsnarf_documentation):
* emacs.c (main):
* font.c (BUILD_STYLE_TABLE):
* keyboard.c (make_lispy_event):
* profiler.c (setup_cpu_timer):
* xgselect.c (xg_select):
* xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG):
Use ARRAYELTS.
* font.c (FONT_PROPERTY_TABLE_SIZE): Remove.
Replace the only use with ARRAYELTS (font_property_table).
* xfaces.c (DIM): Remove. All uses replaced by ARRAYELTS.
Glenn Morris [Sat, 5 Apr 2014 18:40:52 +0000 (11:40 -0700)]
ChangeLog fix
Related entries do not get separated by blank lines (per standards.info).
Use form from admin/notes/changelogs for repeated items.
Glenn Morris [Sat, 5 Apr 2014 10:17:34 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.
Leo Liu [Sat, 5 Apr 2014 02:33:36 +0000 (10:33 +0800)]
* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
define-compilation-mode.
João Távora [Fri, 4 Apr 2014 23:31:02 +0000 (00:31 +0100)]
Improve on previous quote autopairing change
* lisp/elec-pair.el:
(electric-pair--syntax-ppss): When inside comments parse from
comment beginning.
(electric-pair--balance-info): Fix typo in comment.
(electric-pair--in-unterminated-string-p): Delete.
(electric-pair--unbalanced-strings-p): New function.
(electric-pair-string-bound-function): New var.
(electric-pair-inhibit-if-helps-balance): Decide quote pairing
according to `electric-pair--in-unterminated-string-p'
* test/automated/electric-tests.el (define-electric-pair-test): Don't
overtest..
(inhibit-in-mismatched-string-inside-ruby-comments): New test.
(inhibit-in-mismatched-string-inside-c-comments): New test.
Stefan Monnier [Fri, 4 Apr 2014 20:16:24 +0000 (16:16 -0400)]
* lisp/textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
Move declaration before first use.
(reftex-move-to-next-arg): Silence compiler warning.
Stefan Monnier [Fri, 4 Apr 2014 17:26:23 +0000 (13:26 -0400)]
* lisp/erc/erc.el (erc-invite-only-mode, erc-toggle-channel-mode): Simplify.
(erc-load-script): Tighten a regexp.
Joost Kremers [Fri, 4 Apr 2014 12:10:22 +0000 (14:10 +0200)]
Use `window-total-width' instead of `window-width'.
* textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge): Use
`window-total-width' instead of `window-width'.
Daniel Colascione [Thu, 3 Apr 2014 20:46:04 +0000 (13:46 -0700)]
Rename EARRAYSIZE to ARRAYELTS
Daniel Colascione [Thu, 3 Apr 2014 07:14:02 +0000 (00:14 -0700)]
Clean up array size calculations
Glenn Morris [Thu, 3 Apr 2014 01:16:18 +0000 (21:16 -0400)]
* make-dist: Further update AC_INIT regexp.
Daniel Colascione [Thu, 3 Apr 2014 00:44:00 +0000 (17:44 -0700)]
Add missing src/ChangeLog text that somehow ended up in last commit message instead
Daniel Colascione [Thu, 3 Apr 2014 00:37:51 +0000 (17:37 -0700)]
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.
Daniel Colascione [Thu, 3 Apr 2014 00:18:08 +0000 (17:18 -0700)]
Add GC bug investigation code
Richard M. Stallman [Wed, 2 Apr 2014 17:21:34 +0000 (13:21 -0400)]
Revert subr.el workaround for GC bug.
* subr.el (set-transient-map): Comment out previous change.
Dmitry Antipov [Wed, 2 Apr 2014 16:17:08 +0000 (20:17 +0400)]
* xterm.c (x_term_init) [USE_LUCID]: Fix minor memory leak.
Juanma Barranquero [Wed, 2 Apr 2014 15:14:50 +0000 (17:14 +0200)]
Merge from emacs-24; up to 2014-03-28T01:39:30Z!rgm@gnu.org
Martin Rudalics [Wed, 2 Apr 2014 14:33:33 +0000 (16:33 +0200)]
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).
Dmitry Antipov [Wed, 2 Apr 2014 13:24:19 +0000 (17:24 +0400)]
* 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).
João Távora [Wed, 2 Apr 2014 09:59:06 +0000 (10:59 +0100)]
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'.
Glenn Morris [Wed, 2 Apr 2014 07:07:11 +0000 (00:07 -0700)]
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.
Glenn Morris [Wed, 2 Apr 2014 07:01:07 +0000 (00:01 -0700)]
NEWS small edits
Glenn Morris [Wed, 2 Apr 2014 06:53:10 +0000 (23:53 -0700)]
* lisp/simple.el (command-execute): Respect nil disabled-command-function.
Nicolas Richard [Wed, 2 Apr 2014 06:51:59 +0000 (23:51 -0700)]
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
Daniel Colascione [Tue, 1 Apr 2014 20:48:02 +0000 (13:48 -0700)]
Prevent assertion failure when trying to complete the prompt
Paul Eggert [Tue, 1 Apr 2014 20:18:12 +0000 (13:18 -0700)]
* 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.
Glenn Morris [Tue, 1 Apr 2014 16:27:59 +0000 (09:27 -0700)]
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
Glenn Morris [Tue, 1 Apr 2014 16:17:19 +0000 (09:17 -0700)]
configure.ac comment
Glenn Morris [Tue, 1 Apr 2014 16:01:00 +0000 (09:01 -0700)]
* lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.
Fixes: debbugs:17160
Michael Albinus [Tue, 1 Apr 2014 13:20:20 +0000 (15:20 +0200)]
* NEWS: `url-handler-mode' passes operations to Tramp for some protocols.
Michael Albinus [Tue, 1 Apr 2014 12:41:56 +0000 (14:41 +0200)]
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.
Glenn Morris [Tue, 1 Apr 2014 11:22:00 +0000 (07:22 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Tue, 1 Apr 2014 10:17:57 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Mon, 31 Mar 2014 19:01:59 +0000 (15:01 -0400)]
Fix up some Version: headers that might confuse package.el
Glenn Morris [Mon, 31 Mar 2014 17:01:19 +0000 (13:01 -0400)]
Rename some cedet Version: headers that can confuse package.el
Fixes: debbugs:17137
Glenn Morris [Mon, 31 Mar 2014 16:22:32 +0000 (09:22 -0700)]
* configure.ac: Make the final "Does Emacs use Gsettings" message
consistent with src/config.h.
Dmitry Antipov [Mon, 31 Mar 2014 12:06:34 +0000 (16:06 +0400)]
* fns.c (Fsubstring, Fsubstring_no_properties, secure_hash):
Move common substring range checking code to...
(validate_substring): ...this function.
Dmitry Antipov [Mon, 31 Mar 2014 07:13:58 +0000 (11:13 +0400)]
* 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.
Jan Djärv [Mon, 31 Mar 2014 06:20:04 +0000 (08:20 +0200)]
* nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO
Fixes: debbugs:16976
Jan Djärv [Mon, 31 Mar 2014 06:08:29 +0000 (08:08 +0200)]
* configure.ac: Fix errors from previous checkin (GSettings check).
Backport from trunk.
Jan Djärv [Mon, 31 Mar 2014 05:02:08 +0000 (07:02 +0200)]
* configure.ac: Fix errors from previous checkin (GSettings check).
Daniel Colascione [Mon, 31 Mar 2014 02:25:02 +0000 (19:25 -0700)]
Discuss using lazy completion tables for inline completion.
Leo Liu [Mon, 31 Mar 2014 01:31:17 +0000 (09:31 +0800)]
* 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.
Glenn Morris [Mon, 31 Mar 2014 00:49:05 +0000 (17:49 -0700)]
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.
Glenn Morris [Mon, 31 Mar 2014 00:35:12 +0000 (17:35 -0700)]
* 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.
Reto Zimmermann [Mon, 31 Mar 2014 00:22:29 +0000 (17:22 -0700)]
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.
Glenn Morris [Mon, 31 Mar 2014 00:08:55 +0000 (17:08 -0700)]
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
Daniel Colascione [Sun, 30 Mar 2014 23:59:19 +0000 (16:59 -0700)]
* configure.ac: Include GFILENOTIFY objects in glib check (backport from trunk)
Fixes: debbugs:17069
Daniel Colascione [Sun, 30 Mar 2014 19:12:57 +0000 (12:12 -0700)]
completion-in-region-mode improvements
Eli Zaretskii [Sun, 30 Mar 2014 18:55:19 +0000 (21:55 +0300)]
nt/INSTALL: Minor fixes.
Jan Djärv [Sun, 30 Mar 2014 17:21:20 +0000 (19:21 +0200)]
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
Martin Rudalics [Sun, 30 Mar 2014 13:31:45 +0000 (15:31 +0200)]
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).
Glenn Morris [Sun, 30 Mar 2014 11:24:54 +0000 (07:24 -0400)]
Auto-commit of loaddefs files.
Jan Djärv [Sun, 30 Mar 2014 10:44:33 +0000 (12:44 +0200)]
* configure.ac: Add check that GSettings is in libgio. Backport from trunk.
Fixes: debbugs:17118
Juri Linkov [Sat, 29 Mar 2014 17:59:36 +0000 (19:59 +0200)]
* lisp/dired-aux.el (dired-compress-file): Don't use string-match-p
because its match data is used afterwards.
Jan Djärv [Sat, 29 Mar 2014 12:08:47 +0000 (13:08 +0100)]
* configure.ac: Add check that GSettings is in libgio.
Fixes: debbugs:17118
Glenn Morris [Sat, 29 Mar 2014 02:59:51 +0000 (19:59 -0700)]
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.
Glenn Morris [Sat, 29 Mar 2014 01:53:35 +0000 (21:53 -0400)]
* lisp/speedbar.el: Remove some old commentary.
Glenn Morris [Sat, 29 Mar 2014 00:55:44 +0000 (20:55 -0400)]
Set Maintainer to emacs-devel in some lisp/url files.
Glenn Morris [Sat, 29 Mar 2014 00:53:32 +0000 (20:53 -0400)]
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.
Glenn Morris [Sat, 29 Mar 2014 00:14:16 +0000 (20:14 -0400)]
* (make-dist): Update AC_INIT regexp.
Glenn Morris [Fri, 28 Mar 2014 23:11:39 +0000 (19:11 -0400)]
Improve usage of AC_INIT
* configure.ac (AC_INIT): Add "GNU" in package, add bug address.
(PACKAGE_BUGREPORT): Use it.
* src/emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION.
(emacs_bugreport): New variable.
(usage_message): Use PACKAGE_BUGREPORT.
(syms_of_emacs) <report-emacs-bug-address>: New variable.
* lisp/cus-start.el (report-emacs-bug-address): Set custom properties.
* lisp/mail/emacsbug.el (report-emacs-bug-address):
Variable is now defined in emacs.c.
Glenn Morris [Fri, 28 Mar 2014 23:02:02 +0000 (19:02 -0400)]
* lisp/url/url-vars.el (url-bug-address): Make into an obsolete alias.
* lisp/urlurl-http.el (url-http-handle-authentication):
* lisp/url/url-news.el (url-news-fetch-message-id):
Use M-x report-emacs-bug in help messages.
Stefan Monnier [Fri, 28 Mar 2014 22:47:46 +0000 (18:47 -0400)]
* lisp/emacs-lisp/package.el (package-built-in-p): Treat a min-version of
0 like nil.
Glenn Morris [Fri, 28 Mar 2014 22:03:42 +0000 (18:03 -0400)]
Add system-configuration-features, summarising some configure results
* configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency.
(EMACS_CONFIG_FEATURES): New define.
* src/emacs.c (syms_of_emacs) <system-configuration-features>: New var.
* lisp/mail/emacsbug.el (report-emacs-bug):
Include system-configuration-features.
* etc/NEWS: Mention this.
Glenn Morris [Fri, 28 Mar 2014 19:44:37 +0000 (15:44 -0400)]
* etc/CONTRIBUTE: Avoid being specific about countries.
It's just liable to get outdated.
Glenn Morris [Fri, 28 Mar 2014 19:20:48 +0000 (15:20 -0400)]
* etc/CONTRIBUTE: Small updates
Ken Brown [Fri, 28 Mar 2014 16:32:54 +0000 (12:32 -0400)]
* src/conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Set to 10000. (Bug#17112)
Michal Nazarewicz [Fri, 28 Mar 2014 16:26:15 +0000 (17:26 +0100)]
Make `cycle-spacing' behave more like `just-one-space' if colled once.
* simple.el (cycle-spacing): Never delete spaces on first run by
default, but do so in a new 'fast mode and if there are already
N spaces (the previous behaviour).
Compare N with its value in previous invocation so that changing
prefix argument restarts `cycle-spacing' sequence.
The idea is that with this change, binding M-SPC to
`cycle-spacing' should not introduce any changes in behaviour of
the binding so long as users do not type M-SPC twice in a raw with
the same prefix argument or lack thereof.
Tassilo Horn [Fri, 28 Mar 2014 08:59:06 +0000 (09:59 +0100)]
Add gnus-group-* faces.
* etc/themes/tsdh-light-theme.el (tsdh-light): Add gnus-group-* faces.
Glenn Morris [Fri, 28 Mar 2014 07:16:42 +0000 (00:16 -0700)]
Tweak earlier tty-run-terminal-initialization change
* lisp/faces.el (tty-run-terminal-initialization):
Use tty-find-type so that aliases are matched with the
hyphen and underscore stripping behavior.
Glenn Morris [Fri, 28 Mar 2014 01:43:01 +0000 (21:43 -0400)]
Backport NEWS tweak from trunk
Glenn Morris [Fri, 28 Mar 2014 01:39:30 +0000 (21:39 -0400)]
Make term-file-aliases into a defcustom; tweaks previous change
Glenn Morris [Fri, 28 Mar 2014 01:29:54 +0000 (21:29 -0400)]
Introduce `term-file-aliases', replacing some small lisp/term files
* lisp/faces.el (term-file-aliases): New variable.
(tty-run-terminal-initialization): Respect term-file-aliases.
* lisp/term/apollo.el, lisp/term/vt102.el, lisp/term/vt125.el:
* lisp/term/vt201.el, lisp/term/vt220.el, lisp/term/vt240.el:
* lisp/term/vt300.el, lisp/term/vt320.el, lisp/term/vt400.el:
* lisp/term/vt420.el: Remove files, replaced by aliases.
* lisp/term/README: Mention term-file-aliases.
* lisp/term/AT386.el, lisp/term/news.el, lisp/term/tvi970.el:
* lisp/term/vt100.el, lisp/term/wyse50.el: Remove obsolete comment.
* doc/emacs/custom.texi (Terminal Init): Mention term-file-aliases.
* doc/lispref/os.texi (Terminal-Specific): Mention term-file-aliases.
* etc/NEWS: Mention this.
YAMAMOTO Mitsuharu [Fri, 28 Mar 2014 00:50:53 +0000 (09:50 +0900)]
Adjust image background width on X11 accordingly when its x position is adjusted. (Bug#17115)
Paul Eggert [Thu, 27 Mar 2014 22:52:14 +0000 (15:52 -0700)]
Port recent signal-related changes to FreeBSD.
Problem reported by Herbert J. Skuhra.
* lisp.h (block_tty_out_signal, unblock_tty_out_signal):
Move decls from here ...
* syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h.
Paul Eggert [Thu, 27 Mar 2014 21:29:32 +0000 (14:29 -0700)]
* configure.ac: Suggest './configure MAKE=gmake' in diagnostic.
This tends to work better than 'MAKE=gmake ./configure' if later
builds run config.status etc.
Glenn Morris [Thu, 27 Mar 2014 20:57:23 +0000 (16:57 -0400)]
Simplify treatment of some startup hooks
* lisp/startup.el (inhibit-startup-hooks): Doc tweak.
(normal-top-level): Simplify running of hooks.
For window-setup-hook, respect inhibit-startup-hooks.
(command-line-1): Don't set window-setup-hook to nil.
Glenn Morris [Thu, 27 Mar 2014 19:41:57 +0000 (15:41 -0400)]
Require GNU make to build Emacs
Ref: http://debbugs.gnu.org/16717#45
If no-one objects, we can then start getting rid of some of the
convoluted Makefile hacks that exist to support non-GNU makes.
* configure.ac: Require GNU make.
(HAVE_GNU_MAKE): Remove.
* INSTALL, etc/NEWS, etc/PROBLEMS: Update for this change.
* Makefile.in: Comment.
Glenn Morris [Thu, 27 Mar 2014 19:00:49 +0000 (15:00 -0400)]
Allow selective autoloading from lisp/obsolete directory
* lisp/Makefile.in (obsolete-autoloads): New rule.
(autoloads): Run obsolete-autoloads.
* lisp/obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
* lisp/simple.el (iswitchb-mode): Remove hand-written autoloads.
Glenn Morris [Thu, 27 Mar 2014 18:22:27 +0000 (14:22 -0400)]
Add vhdl-mode.info build rules
* doc/misc/Makefile.in (INFO_COMMON): Add vhdl-mode.
(vhdl_mode_deps, vhdl-mode, $(buildinfodir)/vhdl-mode$(INFO_EXT))
(vhdl-mode.dvi, vhdl-mode.pdf, vhdl-mode.html): New rules/variables.
Glenn Morris [Thu, 27 Mar 2014 18:20:08 +0000 (14:20 -0400)]
vhdl-mode.texi clean-up
* doc/misc/vhdl-mode.texi: General clean-up.
Set copyright to FSF (years based on vhdl-mode releases), add license.
Remove hand-written node pointers. Remove info re old Emacs versions.
Markup fixes.
(Getting Connected): Remove irrelevant info.
(Indentation Commands, Requirements): Remove empty/irrelevant nodes.
(Frequently Asked Questions): Electric indent is now enabled.
Rod Whitby [Thu, 27 Mar 2014 18:18:15 +0000 (14:18 -0400)]
* doc/misc/vhdl-mode.texi: New file, imported from upstream vhdl-mode.
Juanma Barranquero [Thu, 27 Mar 2014 17:34:22 +0000 (18:34 +0100)]
Merge from emacs-24; up to 2014-03-24T03:06:35Z!dancol@dancol.org
YAMAMOTO Mitsuharu [Thu, 27 Mar 2014 16:25:17 +0000 (18:25 +0200)]
Fix bug #17115 with displaying on w32 images that have 'box' face.
src/w32term.c (x_draw_image_glyph_string): Fix computation of height
and width of image background when it is displayed with a 'box'
face.
Dmitry Gutov [Thu, 27 Mar 2014 08:21:15 +0000 (10:21 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
special globals with font-lock-builtin-face.
Fixes: debbugs:17057
Dmitry Gutov [Thu, 27 Mar 2014 06:53:13 +0000 (08:53 +0200)]
Fix bug#17097
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Don't propertize `?' or `!' as symbol constituent when after
colon.
Juanma Barranquero [Thu, 27 Mar 2014 01:17:54 +0000 (02:17 +0100)]
src/image.c: Avoid partial load of SVG libraries.
(init_svg_functions): When loading SVG-related libraries,
free already loaded libraries if the initialization fails.
(rsvg_handle_set_size_callback): Remove declaration, unused.
Juanma Barranquero [Thu, 27 Mar 2014 01:01:36 +0000 (02:01 +0100)]
lisp/frameset.el: Fix bug#17046.
(frameset--restore-frame): Remove workaround for bug#14795
which is no longer needed and causes trouble in GTK builds.
Juanma Barranquero [Thu, 27 Mar 2014 00:20:50 +0000 (01:20 +0100)]
lisp/emacs-lisp/package-x.el: Follow-up to change in package.el.
(package--archive-contents-from-url): Use url-insert-file-contents;
package-handle-response no longer exists.
Daniel Colascione [Wed, 26 Mar 2014 21:01:47 +0000 (14:01 -0700)]
Provide command for deleting processes from list-processes buffer
Paul Eggert [Wed, 26 Mar 2014 17:55:31 +0000 (10:55 -0700)]
More backward-compatible fix to char-equal core dump.
* editfns.c (Fchar_equal): In unibyte buffers, assume values in
range 128-255 are raw bytes. Suggested by Eli Zaretskii.
Fixes: debbugs:17011
Juanma Barranquero [Wed, 26 Mar 2014 15:57:13 +0000 (16:57 +0100)]
Merge from emacs-24; up to 2014-03-23T23:14:52Z!yamaoka@jpl.org
Juanma Barranquero [Wed, 26 Mar 2014 15:21:17 +0000 (16:21 +0100)]
* lisp/emacs-lisp/package.el: Fix bug#16733 (again).
(url-http-parse-response, url-http-end-of-headers, url-recreate-url)
(url-http-target-url): Remove unused declarations.
(package-handle-response): Remove.
(package--with-work-buffer): Use url-insert-file-contents and simplify.
(package--download-one-archive): Use current-buffer instead of
dynamic binding of `buffer'.
(describe-package-1): Do not decode readme-string.
* lisp/url/url-handlers.el (url-http-parse-response): Add autoload.
(url-insert-file-contents): Signal file-error in case of HTTP error.
Michael Albinus [Wed, 26 Mar 2014 13:02:16 +0000 (14:02 +0100)]
Fix wrong timestamp.
Juanma Barranquero [Wed, 26 Mar 2014 10:21:55 +0000 (11:21 +0100)]
src/*.c: Silence a few warnings about unused vars and functions.
* src/image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]:
* src/sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally.
* src/keyboard.c (read_decoded_event_from_main_queue): #ifdef out
variables on Windows.
* src/w32.c (unsetenv): Remove unused var `retval'.
(emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'.
* src/w32fns.c (Ffile_system_info): Use parenthesis in and/or expression.
* src/w32notify.c (watch_worker): Remove unnecesary var sleep_result.
(start_watching): Remove unused var `thr'.
* src/w32proc.c (sys_spawnve): Comment out unused vars `first', `last'.
(find_child_console): Remove unnecesary var `thread_id'.
* src/w32term.c (w32_read_socket): Comment out unused vars `row', `columns'.
(x_focus_frame): #ifdef 0 unused variable `dpyinfo'.
Paul Eggert [Wed, 26 Mar 2014 05:35:38 +0000 (22:35 -0700)]
Fix core dump in char-equal.
* editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in
unibyte buffers, as we can't tell whether the characters are
actually unibyte.
Fixes: debbugs:17011
Paul Eggert [Wed, 26 Mar 2014 04:16:13 +0000 (21:16 -0700)]
Merge from gnulib.
This incorporates:
2014-03-26 strftime: wrap macros in "do {...} while(0)"
* lib/strftime.c, doc/misc/texinfo.tex: Update from gnulib.
Paul Eggert [Wed, 26 Mar 2014 04:07:25 +0000 (21:07 -0700)]
* insdel.c (adjust_markers_for_delete): Remove unused local.
Glenn Morris [Wed, 26 Mar 2014 04:02:27 +0000 (21:02 -0700)]
Fix previous ChangeLog entry