* etc/NEWS: Add placeholders for undocumented package.el changes.
* doc/emacs/misc.texi: Small updates (no need to merge to trunk)

* doc/emacs/misc.texi [iftex]: Update chapter summary.
(Emulation): Remove ludicrously outdated claim.
src/dispnew.c (update_frame_with_menu): Set display_completed.
* src/callproc.c (call_process): Don't check read-only if we don't insert
anything.
Fix TTY menu invocation via M-x.

 lisp/menu-bar.el (menu-bar-open): Fix invocation via M-x by forcing
 the update of the menu bar.
* lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.

* etc/NEWS: Related edit.
* emacs/package.texi (Package Installation): Mention package-pinned-packages.

* etc/NEWS: Related markup.
Fix Bug#17653.

* net/tramp.el (tramp-ssh-controlmaster-options): Improve search regexp.
Minor fix of the last commit in menu-bar-open.

 lisp/menu-bar.el (menu-bar-open): Fix last change: use the PC
 '(redisplay)' instead of '(sit-for 0)'.
In display-buffer-use-some-window don't shrink window used (Bug#17671).

* window.el (display-buffer-use-some-window): Don't make window
used smaller than it was before (Bug#17671).
Attempt to solve bug #17497 by minimizing cursor motion during TTY menu updates.

 src/term.c (tty_menu_display): Don't position cursor here.  Instead,
 pass the cursor coordinates to update_frame_with_menu.
 (tty_menu_activate): Send the hide cursor command only once in an
 iteration through the outer 'while' loop.
 src/dispnew.c (update_frame_1): Accept an additional argument
 SET_CURSOR_P, and position the cursor at the end of the frame
 update only if that argument is non-zero.  All callers changed to
 provide the additional argument as non-zero, except for
 update_frame_with_menu.
 (update_frame_with_menu): Accept 2 additional arguments ROW and
 COL; if they are non-negative, instruct update_frame_1 not to
 position the cursor, and instead position it according to ROW and
 COL.
 src/dispextern.h (update_frame_with_menu): Update prototype.
Fix infloop of -nw session at exit on MS-Windows under a debugger.

 src/sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter
 contains garbage on WINDOWSNT (which could potentially infloop at
 exit).
nt/INSTALL: Instructions how to start Bash.
Some documentation for signing of packages

* doc/emacs/package.texi (Package Menu, Package Installation):
Mention signed packages.

* doc/lispref/package.texi (Package Archives): Mention signing packages.

* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Doc fixes.

* etc/NEWS: Related edits.
* lisp/emacs-lisp/package.el: Comment update
Spelling fixes.
* etc/themes/deeper-blue-theme.el (diff-added, diff-changed, diff-removed):
Set face definitions explicitly.  Inherit indicator faces from them.
Document incompatible overlay priority change

* doc/lispref/display.texi (Overlay Properties): Update re priority. 

* etc/NEWS: Related edit.
* admin/FOR-RELEASE: Mention ack.texi
Doc updates re window-setup-hook

* lisp/startup.el (window-setup-hook): Doc fix.

* doc/lispref/display.texi (Window Systems): Remove window-setup-hook.

* doc/lispref/os.texi (Startup Summary, Init File):
Improve description of window-setup-hook.
(Terminal-Specific): Update window-setup-hook cross-reference.

* doc/lispref/hooks.texi (Standard Hooks):
Update window-setup-hook cross-reference.