]> code.delx.au - gnu-emacs/log
gnu-emacs
7 years agoSync with Tramp repository.
Michael Albinus [Sat, 28 May 2016 10:14:58 +0000 (12:14 +0200)]
Sync with Tramp repository.

* lisp/net/tramp-adb.el (tramp-adb-handle-start-file-process):
* lisp/net/tramp-sh.el (tramp-sh-handle-start-file-process)
* lisp/net/tramp-smb.el (tramp-smb-handle-start-file-process):
Create BUFFER if it doesn't exist.  Reported by Nikolay
Kudryavtsev <nikolay.kudryavtsev@gmail.com>.

* lisp/net/tramp-gvfs.el (tramp-gvfs-file-attributes)
(tramp-gvfs-file-attributes-with-gvfs-ls-regexp)
(tramp-gvfs-file-attributes-with-gvfs-info-regexp): New defconst.
(tramp-gvfs-get-directory-attributes)
(tramp-gvfs-get-root-attributes)
(tramp-gvfs-get-file-attributes): New defun.
(tramp-gvfs-handle-file-attributes)
(tramp-gvfs-handle-file-name-all-completions): Use them.
(tramp-gvfs-handle-file-directory-p): Use `file-truename'.
(tramp-gvfs-maybe-open-connection): Set :noquery flag for process.
(tramp-gvfs-send-command): Add locale settings to `process-environment'.
(top): Suppress D-Bus error messages during zeroconf initialization.

* lisp/net/tramp.el (tramp-unknown-id-string)
(tramp-unknown-id-integer): New defconst.
(tramp-check-cached-permissions)
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes)
* lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls)
(tramp-convert-file-attributes, tramp-get-remote-uid)
(tramp-get-remote-gid): Use them.

* lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp):
Rename from `tramp-color-escape-sequence-regexp'.
(tramp-sh-handle-insert-directory)
(tramp-convert-file-attributes): Adapt callees.
(tramp-device-escape-sequence-regexp): New defconst.
(tramp-wait-for-output): Use it.  Reported by Matthías Páll
Gissurarson <icetritlo@gmail.com>.

* lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions):
Simplify.

* test/lisp/net/tramp-tests.el (tramp-test26-process-file)
(tramp-test28-shell-command):
Use `tramp-display-escape-sequence-regexp'.

7 years agoDon’t document declare-function internals
Paul Eggert [Sat, 28 May 2016 01:16:24 +0000 (18:16 -0700)]
Don’t document declare-function internals

Suggested by Stefan Monnier in:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00618.html
* doc/lispref/functions.texi (Declaring Functions):
* lisp/subr.el (declare-function):
* lisp/emacs-lisp/bytecomp.el:
(byte-compile-macroexpand-declare-function):
Document as (fn file &optional arglist fileonly)
even though it is really (fn file &rest args).

7 years ago* src/puresize.h (BASE_PURESIZE): Increase it some more.
Paul Eggert [Sat, 28 May 2016 01:11:44 +0000 (18:11 -0700)]
* src/puresize.h (BASE_PURESIZE): Increase it some more.

7 years ago* src/puresize.h (BASE_PURESIZE): Increase it by a little bit.
Glenn Morris [Fri, 27 May 2016 23:41:07 +0000 (19:41 -0400)]
* src/puresize.h (BASE_PURESIZE): Increase it by a little bit.

7 years ago* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Tweak previous to
Glenn Morris [Fri, 27 May 2016 23:22:29 +0000 (19:22 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Tweak previous to
avoid build failure.

7 years agoPort to platforms where rlim_max < 0
Paul Eggert [Fri, 27 May 2016 20:55:07 +0000 (13:55 -0700)]
Port to platforms where rlim_max < 0

* src/emacs.c (main): Do not treat a negative rlim_max as a limit;
this can happen if a special value like RLIM_INFINITY is negative.

7 years agoRobustify stack-size calculation
Paul Eggert [Fri, 27 May 2016 20:39:34 +0000 (13:39 -0700)]
Robustify stack-size calculation

* src/emacs.c: Include getpagesize.h.
(main): Check for integer overflow when computing stack size.
Round new rlim_cur to pagesize boundary on all platforms, as this
is easy and would have prevented Bug#23622.  If setrlimit
fails, use current limit to determine re_max_failures.

7 years ago; Add comment for declare-function
Paul Eggert [Fri, 27 May 2016 19:45:21 +0000 (12:45 -0700)]
; Add comment for declare-function

7 years agoAdjust filenotify-tests on Cygwin
Ken Brown [Fri, 27 May 2016 18:55:34 +0000 (14:55 -0400)]
Adjust filenotify-tests on Cygwin

* test/lisp/filenotify-tests.el (file-notify--test-timeout):
Remove special case for Cygwin.
(file-notify-test07-backup): Update expected results on Cygwin.

7 years agoImprove define-function omitted-arg documentation
Paul Eggert [Fri, 27 May 2016 16:46:44 +0000 (09:46 -0700)]
Improve define-function omitted-arg documentation

* doc/lispref/functions.texi (Declaring Functions):
* lisp/subr.el (declare-function):
Be clearer when documenting omitted args for define-function.

7 years ago* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add docstring to accessors.
Stefan Monnier [Fri, 27 May 2016 16:34:33 +0000 (12:34 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add docstring to accessors.

7 years ago* lisp/subr.el (definition-prefixes): Expand docstring
Stefan Monnier [Fri, 27 May 2016 16:33:57 +0000 (12:33 -0400)]
* lisp/subr.el (definition-prefixes): Expand docstring

* lisp/emacs-lisp/autoload.el (autoload--split-prefixes):
Remove unused function.

7 years agoFix broken viper deactivation
Phillip Lord [Fri, 27 May 2016 15:49:12 +0000 (16:49 +0100)]
Fix broken viper deactivation

* lisp/emulation/viper.el (viper--deactivate-advice-list): Destructure
  args to advice-remove.
  (viper--advice-add): Use cons not list.

Addresses bug#23625

7 years agoPreserve buffer point in windows by default (Bug#4041).
Mark Oteiza [Fri, 27 May 2016 01:47:18 +0000 (21:47 -0400)]
Preserve buffer point in windows by default (Bug#4041).

* doc/lispref/windows.texi: Mention new default.
* etc/NEWS: Mention new default.
* lisp/window.el (switch-to-buffer-preserve-window-point): Default to t.

7 years agoFix byte-compiler pacification for declare-function
Paul Eggert [Fri, 27 May 2016 02:10:26 +0000 (19:10 -0700)]
Fix byte-compiler pacification for declare-function

Problem reported by Michael Heerdegen in:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00590.html
* lisp/emacs-lisp/bytecomp.el:
(byte-compile-macroexpand-declare-function):
Revert signature to previous value.
* lisp/subr.el (declare-function): Change signature to
match the reverted signature used in the byte compiler.

7 years agoUpdate texinfo.tex
Paul Eggert [Thu, 26 May 2016 20:49:26 +0000 (13:49 -0700)]
Update texinfo.tex

This fixes Bug#23611 in a different (and presumably better) way.
* doc/misc/texinfo.tex: Update from gnulib.

7 years agoPacify 'make check-declare'
Paul Eggert [Thu, 26 May 2016 20:38:28 +0000 (13:38 -0700)]
Pacify 'make check-declare'

7 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Paul Eggert [Thu, 26 May 2016 20:20:29 +0000 (13:20 -0700)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

7 years agoRepair damage from emacs-25 merge
Paul Eggert [Thu, 26 May 2016 20:02:07 +0000 (13:02 -0700)]
Repair damage from emacs-25 merge

* test/lisp/character-fold-tests.el:
Remove, as it was renamed to test/lisp/char-fold-tests.el.
* test/lisp/emulation/viper-tests.el:
Rename from test/automated/viper-tests.el.

7 years agoMerge from origin/emacs-25
Paul Eggert [Thu, 26 May 2016 19:55:06 +0000 (12:55 -0700)]
Merge from origin/emacs-25

c3489d0 * lisp/w32-fns.el (set-message-beep, w32-get-locale-info) (w3...
a4d882c Correct old cell name unbinding when renaming cell.
6c12c53 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into...
0be6725 Document problem: slow screen refresh on missing font.
853b9b9 * admin/admin.el (add-release-logs): Basic check of existing ...
5fa80cf * build-aux/gitlog-to-emacslog: Handle empty generated Change...
3c79e51 * admin/admin.el (add-release-logs): Generate ChangeLog if ne...
42275df * doc/misc/texinfo.tex: Revert previous change (Bug#23611).
3f4a9d9 * admin/authors.el (authors): First update the ChangeLog.
897fb6f ; 'Changes from the pre-25.1 API' copyedits
825ca25 Rename vc-stay-local back to vc-cvs-stay-local
4efb3e8 * doc/emacs/files.texi (Comparing Files): * doc/emacs/trouble...
b995d1e * doc/misc/eww.texi (Advanced): Fix xref.
2e589c0 Fix cross-references between manuals
f3d2ded * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to ...
906c810 ; * admin/release-process: Move etc/HISTORY from here... ; * ...
bea1b65 * admin/admin.el (add-release-logs): Also update etc/HISTORY.
503e752 ; * CONTRIBUTE: Fix a typo.
fbfd478 Avoid aborting due to errors in arguments of 'set-face-attrib...
bdfbe6d ; * admin/release-process: Copyedits.
44a6aed ; * test/automated/data-tests.el: Standardize license notice.
c33ed39 ; * test/automated/viper-tests.el: Standardize license notice.
df4a14b Add automated test for viper-tests.el
c0139e3 Fix viper undo breakage from undo-boundary changes
920d76c Fix reference to obsolete fn ps-eval-switch
18a9bc1 Do not trash symlinks to init file
2671179 Don't print the "decomposition" line for control chars in wha...
869092c Bring back xterm pasting with middle mouse
5ab0830 Provide workaround for xftfont rendering problem
c9f7ec7 * lisp/desktop.el: Disable restore frameset if in non-graphic...
30989a0 Mention GTK+ problems in etc/PROBLEMS
421e3c4 * lisp/emacs-lisp/package.el (package-refresh-contents):
dadfc30 Revert "epg: Add a way to detect gpg1 executable for tests"
e41a5cb Avoid errors with Czech and Slovak input methods
d4ae6d7 epg: Add a way to detect gpg1 executable for tests
ebc3a94 * lisp/emacs-lisp/package.el: Fix free variable warnings.
6e71295 * lisp/emacs-lisp/package.el (package--with-response-buffer):
c45d9f6 Improve documentation of 'server-name'
3b5e38c Modernize ASLR advice in etc/PROBLEMS
1fe1e0a * lisp/char-fold.el: Rename from character-fold.el.

7 years agoAvoid byte-compiler warnings due to 'declare-function'
Eli Zaretskii [Thu, 26 May 2016 19:48:35 +0000 (22:48 +0300)]
Avoid byte-compiler warnings due to 'declare-function'

* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
(w32-get-valid-locale-ids):
* lisp/progmodes/js.el (ido-mode): Specify arglist in
'declare-function' forms, to avoid byte-compiler warnings.

7 years ago* lisp/info.el (Info-default-directory-list): Don't check /share,info.
Glenn Morris [Thu, 26 May 2016 19:46:06 +0000 (15:46 -0400)]
* lisp/info.el (Info-default-directory-list): Don't check /share,info.

No-one puts info pages there.  If /share does exist, it's likely to
contain remote file systems where access could be slow.

; Ref eg https://bugs.debian.org/786707

7 years ago; Merge from origin/emacs-25
Paul Eggert [Thu, 26 May 2016 19:41:39 +0000 (12:41 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

a35826d Bump version to 25.0.94

7 years agoMerge from origin/emacs-25
Paul Eggert [Thu, 26 May 2016 19:41:38 +0000 (12:41 -0700)]
Merge from origin/emacs-25

2d76405 etc/AUTHORS: Update the AUTHORS file

7 years ago; Merge from origin/emacs-25
Paul Eggert [Thu, 26 May 2016 19:41:38 +0000 (12:41 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

a8a2384 ; Auto-commit of loaddefs files.

7 years agoMerge from origin/emacs-25
Paul Eggert [Thu, 26 May 2016 19:41:38 +0000 (12:41 -0700)]
Merge from origin/emacs-25

06cb28f Fix bug#23462: Crash when iconifying frame on OS X.

7 years ago; Merge from origin/emacs-25
Paul Eggert [Thu, 26 May 2016 19:41:38 +0000 (12:41 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

9ca5dbf Avoid shrinking windows with Gtk+ 3.20.3

7 years agoMerge from origin/emacs-25
Paul Eggert [Thu, 26 May 2016 19:41:37 +0000 (12:41 -0700)]
Merge from origin/emacs-25

939eb75 Fix bug in default setting of 'ps-paper-type'

7 years ago* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
Glenn Morris [Thu, 26 May 2016 18:57:29 +0000 (14:57 -0400)]
* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
(w32-get-valid-locale-ids): Improve declarations.

7 years ago* lisp/info.el (Info-default-directory-list): Remove obsolete suffixes.
Glenn Morris [Thu, 26 May 2016 18:48:17 +0000 (14:48 -0400)]
* lisp/info.el (Info-default-directory-list): Remove obsolete suffixes.

; * etc/NEWS: Mention this.

7 years agoFix Bug#23614.
Michael Albinus [Thu, 26 May 2016 17:57:13 +0000 (19:57 +0200)]
Fix Bug#23614.

* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
Let-bind `process-coding-system-alist' in order to suppress
the value for "cmdproxy".

* lisp/net/tramp.el (tramp-encoding-shell):
`w32-shell-name' is a function.
(tramp-encoding-command-switch)
(tramp-encoding-command-interactive): Use `w32-shell-dos-semantics'.

* test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
Suppress some tests on MS Windows.  (Bug#23614)

7 years agohl-line.el: Fix flickering of highlighted line (bug#23510)
Stephen Berman [Thu, 26 May 2016 09:30:29 +0000 (11:30 +0200)]
hl-line.el: Fix flickering of highlighted line (bug#23510)

* lisp/hl-line.el (hl-line-maybe-unhighlight)
(global-hl-line-highlight-all)
(global-hl-line-maybe-unhighlight): New functions.
(hl-line-overlay-buffer): New variable.
(hl-line-mode): Use it.  Replace hl-line-unhighlight on
pre-command-hook by hl-line-maybe-unhighlight on
post-command-hook, to prevent hl-line from flickering.
Adjust document string.
(global-hl-line-mode): Use global-hl-line-highlight-all to
simultaneously highlight the current line in all live windows.
Replace global-hl-line-unhighlight on pre-command-hook by
global-hl-line-maybe-unhighlight on post-command-hook, to
prevent global-hl-line from flickering.  Remove
global-hl-line-unhighlight from change-major-mode-hook on
disabling the mode.  Adjust document string.

7 years agoCorrect old cell name unbinding when renaming cell.
Vincent Belaïche [Thu, 26 May 2016 09:03:21 +0000 (11:03 +0200)]
Correct old cell name unbinding when renaming cell.

Bug is to unbind old cell names when renaming a cell with
'makunbound'. when the old cell name is of A1 type, then
'kill-local-variable' must be used instead, so that only the current
spreadsheet is affected. When the old cell name is a renamed cell,
then 'ses--unbind-cell-name' must be used in order to remove the old
name from the name hashmap.

* ses.el (ses-rename-cell): check consistency of cell symbol from
text-property and from array object. Instead of 'makunbound', use
either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
whether the cell old name is a named cell or an A1 type cell

7 years agoMake autoloads populate a new definition-prefixes table
Stefan Monnier [Thu, 26 May 2016 02:58:18 +0000 (22:58 -0400)]
Make autoloads populate a new definition-prefixes table

* lisp/subr.el (definition-prefixes): New hash table.
(register-definition-prefixes): New function.

* lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): New var.
(autoload--split-prefixes-1, autoload--split-prefixes)
(autoload--make-defs-autoload): New functions.
(autoload-defs-autoload-max-size, autoload-popular-prefixes): New vars.
(autoload-generate-file-autoloads): Obey autoload-compute-prefixes.
(update-directory-autoloads): Don't touch loaddefs.el if the set of
autoloads hasn't changed (i.e. if only the timestamp would change).

* lisp/loadup.el: Purify definition-prefixes.

* lisp/w32-fns.el: Keep name space clean.
(w32-set-default-process-coding-system): Rename from
set-default-process-coding-system.
(w32-set-system-coding-system): Rename from set-w32-system-coding-system.

7 years agoMerge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
Vincent Belaïche [Wed, 25 May 2016 21:44:18 +0000 (23:44 +0200)]
Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25

7 years agoDocument problem: slow screen refresh on missing font.
Vincent Belaïche [Wed, 25 May 2016 21:42:54 +0000 (23:42 +0200)]
Document problem: slow screen refresh on missing font.

See discussion of bug#22519 for more on this.

7 years ago* admin/admin.el (add-release-logs): Basic check of existing ChangeLog.
Glenn Morris [Wed, 25 May 2016 18:45:05 +0000 (14:45 -0400)]
* admin/admin.el (add-release-logs): Basic check of existing ChangeLog.

7 years ago* build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.
Glenn Morris [Wed, 25 May 2016 18:35:44 +0000 (14:35 -0400)]
* build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.

This is relevant for M-x add-release-logs right after M-x authors.

7 years ago* admin/admin.el (add-release-logs): Generate ChangeLog if needed.
Glenn Morris [Wed, 25 May 2016 18:17:25 +0000 (14:17 -0400)]
* admin/admin.el (add-release-logs): Generate ChangeLog if needed.

7 years ago* doc/misc/texinfo.tex: Revert previous change (Bug#23611).
Paul Eggert [Wed, 25 May 2016 17:39:14 +0000 (10:39 -0700)]
* doc/misc/texinfo.tex: Revert previous change (Bug#23611).

7 years ago* admin/authors.el (authors): First update the ChangeLog.
Glenn Morris [Wed, 25 May 2016 16:47:13 +0000 (12:47 -0400)]
* admin/authors.el (authors): First update the ChangeLog.

* admin/make-tarball.txt: Related updates.

7 years ago; 'Changes from the pre-25.1 API' copyedits
Dmitry Gutov [Wed, 25 May 2016 01:01:12 +0000 (04:01 +0300)]
; 'Changes from the pre-25.1 API' copyedits

7 years agoRename vc-stay-local back to vc-cvs-stay-local
Dmitry Gutov [Wed, 25 May 2016 00:49:35 +0000 (03:49 +0300)]
Rename vc-stay-local back to vc-cvs-stay-local

* lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
vc-stay-local (bug#19548).  Improve the docstring.
(vc-cvs-stay-local-p): Update accordingly.

7 years agoAllow network-stream-tests to work for out-of-tree builds
Ken Brown [Tue, 24 May 2016 20:12:03 +0000 (16:12 -0400)]
Allow network-stream-tests to work for out-of-tree builds

* test/lisp/net/network-stream-tests.el
(network-stream-tests--datadir): New defconst.
(make-tls-server): Use it.

7 years agoFix failing echo-server-nowait test
Ken Brown [Tue, 24 May 2016 19:52:41 +0000 (15:52 -0400)]
Fix failing echo-server-nowait test

* test/lisp/net/network-stream-tests.el (echo-server-nowait):
Specify IPv4 for the client, to match the family of the server.
(Bug#23606)

7 years ago* doc/emacs/files.texi (Comparing Files):
Glenn Morris [Tue, 24 May 2016 18:58:27 +0000 (14:58 -0400)]
* doc/emacs/files.texi (Comparing Files):
* doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.

7 years ago* doc/misc/eww.texi (Advanced): Fix xref.
Glenn Morris [Tue, 24 May 2016 18:37:54 +0000 (14:37 -0400)]
* doc/misc/eww.texi (Advanced): Fix xref.

7 years agoFix cross-references between manuals
Eli Zaretskii [Tue, 24 May 2016 18:24:45 +0000 (21:24 +0300)]
Fix cross-references between manuals

* doc/misc/viper.texi (Viper Specials):
* doc/misc/url.texi (Tramp):
* doc/misc/sem-user.texi (Smart Jump):
* doc/lispintro/emacs-lisp-intro.texi (Finding More):
* doc/misc/efaq.texi (Replacing text across multiple files): Fix
cross-references between manuals.  (Bug#23612)
* doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
longer relevant to Emacs Lisp programming.

7 years ago* doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".
Glenn Morris [Tue, 24 May 2016 17:26:04 +0000 (13:26 -0400)]
* doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".

7 years ago; * admin/release-process: Move etc/HISTORY from here...
Glenn Morris [Tue, 24 May 2016 17:00:57 +0000 (13:00 -0400)]
; * admin/release-process: Move etc/HISTORY from here...
; * admin/make-tarball.txt: ... to here.

7 years ago* admin/admin.el (add-release-logs): Also update etc/HISTORY.
Glenn Morris [Tue, 24 May 2016 16:51:00 +0000 (12:51 -0400)]
* admin/admin.el (add-release-logs): Also update etc/HISTORY.

7 years ago; * CONTRIBUTE: Fix a typo.
Eli Zaretskii [Tue, 24 May 2016 16:06:20 +0000 (19:06 +0300)]
; * CONTRIBUTE: Fix a typo.

7 years agoAvoid aborting due to errors in arguments of 'set-face-attribute'
Eli Zaretskii [Tue, 24 May 2016 16:04:16 +0000 (19:04 +0300)]
Avoid aborting due to errors in arguments of 'set-face-attribute'

* src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
FRAME argument before using it.  This avoids gratuitous aborts in
Emacs built with --enable-checking when the luser was unlucky
enough to get the argument list in wrong order.

7 years ago; * admin/release-process: Copyedits.
Glenn Morris [Tue, 24 May 2016 15:59:09 +0000 (08:59 -0700)]
; * admin/release-process: Copyedits.

7 years agoAllow shr-tests to work for out-of-tree builds
Ken Brown [Tue, 24 May 2016 15:33:24 +0000 (11:33 -0400)]
Allow shr-tests to work for out-of-tree builds

* test/lisp/net/shr-tests.el (shr-tests--datadir): New defconst.
(shr-test, rendering): Use it.

7 years agoUpdate allowable arguments for open-network-stream
Ken Brown [Tue, 24 May 2016 15:05:09 +0000 (11:05 -0400)]
Update allowable arguments for open-network-stream

* src/coding.c (Ffind_operation_coding_system): Allow t as a
target for open-network-stream.  (Bug #23540)

7 years agoMake js-mode's syntax highlighting work again
Dmitry Gutov [Tue, 24 May 2016 10:09:32 +0000 (13:09 +0300)]
Make js-mode's syntax highlighting work again

* lisp/progmodes/js.el (js-mode): Fix the assigned
font-lock-defaults value (bug#23603).

7 years ago* lisp/progmodes/cc-mode.el: Add minor comments
Stefan Monnier [Tue, 24 May 2016 00:25:28 +0000 (20:25 -0400)]
* lisp/progmodes/cc-mode.el: Add minor comments

(c-change-expand-fl-region): Mark args as unused.

7 years ago* lisp/url/url-http.el: Use lexical-binding
Stefan Monnier [Tue, 24 May 2016 00:09:33 +0000 (20:09 -0400)]
* lisp/url/url-http.el: Use lexical-binding

(url-http-simple-after-change-function): Use buffer-size rather than `nd'.
(url-http-wait-for-headers-change-function): Remove unused var
`content-length'.
(url-http): Remove unused vars `host' and `port'.

7 years ago* lisp/widget.el (define-widget): Use `declare' (which does work now).
Stefan Monnier [Mon, 23 May 2016 23:57:46 +0000 (19:57 -0400)]
* lisp/widget.el (define-widget): Use `declare' (which does work now).

(widget-plist-member): Mark as obsolete.

7 years ago* lisp/image.el: Use lexical-binding
Stefan Monnier [Mon, 23 May 2016 19:12:24 +0000 (15:12 -0400)]
* lisp/image.el: Use lexical-binding

(image-scaling-factor, imagemagick-types-inhibit)
(imagemagick-enabled-types): Remove redundant :group.
(image--get-image): Apply de-Morgan and use car-safe.
(image-compute-scaling-factor): Use the argument.

7 years ago* lisp/image.el (image--get-image): Remove nonsensical code.
Glenn Morris [Mon, 23 May 2016 16:51:44 +0000 (12:51 -0400)]
* lisp/image.el (image--get-image): Remove nonsensical code.

; 1) put-image does not add a display property to its overlay
; 2) it does add a display text property
; 3) an overlay is not a cons whose car is 'image

7 years ago* lisp/image.el (image--get-image): Avoid requiring a library for
Glenn Morris [Mon, 23 May 2016 16:48:19 +0000 (12:48 -0400)]
* lisp/image.el (image--get-image): Avoid requiring a library for
one trivial operation.

7 years ago; * test/automated/data-tests.el: Standardize license notice.
Phillip Lord [Mon, 23 May 2016 15:59:24 +0000 (16:59 +0100)]
; * test/automated/data-tests.el: Standardize license notice.

7 years agoDon’t use only last protocol from getaddrinfo
Paul Eggert [Mon, 23 May 2016 15:56:42 +0000 (08:56 -0700)]
Don’t use only last protocol from getaddrinfo

Problem reported by Ken Brown in:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00483.html
* src/process.c (conv_addrinfo_to_lisp): New function.
(connect_network_socket): Arg is now a list of addrinfos, not
merely IP addresses.  All uses changed.  Use protocol from
each addrinfo.
(Fmake_network_process): Accumulate protocols into addrinfos
rather than just using the last one found.
(check_for_dns): Accumulate protocols here, too.
* src/process.h (struct Lisp_Process): Remove ai_protocol;
no longer needed.

7 years ago; * test/automated/viper-tests.el: Standardize license notice.
Glenn Morris [Mon, 23 May 2016 15:43:26 +0000 (08:43 -0700)]
; * test/automated/viper-tests.el: Standardize license notice.

7 years agoFix seq requirement that broke bootstrap
Paul Eggert [Mon, 23 May 2016 15:13:03 +0000 (08:13 -0700)]
Fix seq requirement that broke bootstrap

* lisp/image.el (image--get-image): Require seq here, not at the
top level, to avoid ‘(require seq) while preparing to dump’ while
bootstrapping.  Suggested by Tino Calancha in:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00477.html

7 years agoAdd automated test for viper-tests.el
Phillip Lord [Mon, 23 May 2016 09:39:26 +0000 (10:39 +0100)]
Add automated test for viper-tests.el

7 years agoFix viper undo breakage from undo-boundary changes
Phillip Lord [Sat, 21 May 2016 09:06:12 +0000 (10:06 +0100)]
Fix viper undo breakage from undo-boundary changes

* lisp/simple.el (undo-auto-disable-boundaries): New variable
* lisp/emulation/viper-init.el (viper-undo-in-complex-command,
  viper-undo-needs-adjustment): Rename
  variable to reflect new purpose,
  (viper-buffer-undo-list-mark): Remove
* lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
  Add undo using `undo-boundary', disable default undo-boundary
  addition.
* lisp/emulation/viper-cmd.el
  (viper-complete-complex-command-for-undo,viper-adjust-undo):
  Change function name, remove old undo list manipulation.
* lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
  viper-change-state-to-vi,viper-change-state):
  Update for function name change.

Addresses Bug #22295

7 years agoFix reference to obsolete fn ps-eval-switch
Kaushal Modi [Mon, 23 May 2016 00:48:33 +0000 (17:48 -0700)]
Fix reference to obsolete fn ps-eval-switch

lpr-eval-switch is functionally the same as ps-eval-switch,
which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.
So use that instead (Bug#19717).
* lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
ps-eval-switch.

7 years agoDo not trash symlinks to init file
Paul Eggert [Mon, 23 May 2016 00:29:58 +0000 (17:29 -0700)]
Do not trash symlinks to init file

If the user’s init file is a symbolic link, do not break the link
when initializing the package system.  Problem reported by Jackson
Hamilton (Bug#23050).
* lisp/emacs-lisp/package.el (package--ensure-init-file):
Bind find-file-visit-truename when visiting the init file, and
save and restore the buffer name the way cus-edit does in a
similar situation (Bug#454).

7 years ago; * test/lisp/mouse-tests.el: Standardize license notice.
Glenn Morris [Mon, 23 May 2016 00:20:48 +0000 (17:20 -0700)]
; * test/lisp/mouse-tests.el: Standardize license notice.

7 years agoDon't print the "decomposition" line for control chars in what-cursor-position
Alan Mackenzie [Sun, 22 May 2016 21:02:34 +0000 (21:02 +0000)]
Don't print the "decomposition" line for control chars in what-cursor-position

This is a temporary workaround for bug #23594, where the decomposition line
for linefeed corrupted the display on a Linux virtual terminal.

* lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
character code properties printed for control characters.

7 years agoBring back xterm pasting with middle mouse
Paul Eggert [Sun, 22 May 2016 20:38:53 +0000 (13:38 -0700)]
Bring back xterm pasting with middle mouse

Problem reported by Jan Synáček.
Solution suggested by Stefan Monnier (Bug#23519).
* lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
(xterm--pasted-text): New decl.
(isearch-xterm-paste): New function.
* lisp/term/xterm.el (xterm--pasted-text): New function,
taken from xterm-paste internals.
(xterm-paste): Use it.

7 years agoAdd missing dependencies to seq.el
Nicolas Petton [Sun, 22 May 2016 19:51:11 +0000 (21:51 +0200)]
Add missing dependencies to seq.el

* lisp/emacs-lisp/find-func.el:
* lisp/ibuffer.el:
* lisp/image.el: Require seq.

7 years ago* src/process.c (SOCK_NONBLOCK): Fix typo.
Alp Aker [Sun, 22 May 2016 18:14:19 +0000 (14:14 -0400)]
* src/process.c (SOCK_NONBLOCK): Fix typo.

7 years agoProvide workaround for xftfont rendering problem
Eli Zaretskii [Sun, 22 May 2016 16:20:28 +0000 (19:20 +0300)]
Provide workaround for xftfont rendering problem

* src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
New variable.
(xftfont_open): Use it to work around problems with rendering some
fonts.  (Bug#23360)

7 years agoAdd completion of colors in CSS mode
Etienne Prud’homme [Fri, 20 May 2016 18:10:46 +0000 (14:10 -0400)]
Add completion of colors in CSS mode

* lisp/textmodes/css-mode.el (css-value-class-alist): Add CSS colors
from "CSS Color Module Level 3".

* test/lisp/textmodes/css-mode-tests.el (css-test-property-values):
Update test.

7 years agoPrefer SOCK_NONBLOCK to O_NONBLOCK
Paul Eggert [Sun, 22 May 2016 00:04:44 +0000 (17:04 -0700)]
Prefer SOCK_NONBLOCK to O_NONBLOCK

* src/process.c (SOCK_NONBLOCK): Define to 0 if not already defined.
(connect_network_socket): Create the socket with SOCK_NONBLOCK, to
avoid an fcntl with O_NONBLOCK if SOCK_NONBLOCK works.  Put the
SOCK_DGRAM check a bit later, to keep the logic cleaner, as
the order does not matter here.

7 years ago* lisp/desktop.el: Disable restore frameset if in non-graphic display.
Jun Hao [Sat, 21 May 2016 19:34:20 +0000 (12:34 -0700)]
* lisp/desktop.el: Disable restore frameset if in non-graphic display.

Fixes: debbugs:17693
7 years agoFix bug#16856, cursor leaves garbage in fringe on OS X.
Alan Third [Sat, 21 May 2016 19:04:39 +0000 (21:04 +0200)]
Fix bug#16856, cursor leaves garbage in fringe on OS X.

* src/nsterm.m (ns_draw_window_cursor): Prevent the cursor from
being drawn outside the text area.

7 years agoFix compiler warnings in the MinGW build
Eli Zaretskii [Sat, 21 May 2016 17:06:33 +0000 (20:06 +0300)]
Fix compiler warnings in the MinGW build

* configure.ac [mingw32]: Don't add -Wpointer-sign, and add
-Wno-pointer-sign, to keep the noise level down.

* nt/mingw-cfg.site (gl_cv_warn_c__Wredundant_decls): Disable
-Wredundant-decls, as that produces a lot of noise due to
redeclaration of time-related functions by gnulib.
* nt/runemacs.c (set_user_model_id): Fix argument type of
'SetCurrentProcessExplicitAppUserModelID'.

* src/image.c (x_create_bitmap_from_file) [HAVE_NTGUI]: Don't
declare 'dpyinfo', as it is unused.
(xpm_load): Fix warnings about pointer signedness.
* src/w32proc.c (IsValidLocale, init_winsock): Remove redundant
prototypes.
(sys_spawnve): Avoid warnings about discarding 'const' qualifier.
(sys_select): Provide prototype.
(g_b_init_compare_string_w): Move declaration to file scope.
* src/w32heap.c (dumped_data_commit): Now static.
(FREEABLE_P): Avoid warnings about pointer comparison with integer.
(mmap_realloc): Cast to 'char *' for arithmetics on void pointers.
* src/w32console.c (ctrl_c_handler, sys_tputs, sys_tgetstr)
(evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear):
Provide prototypes.
* src/w32.c (globals_of_w32, conv_sockaddr_to_lisp): Remove
redundant prototypes.
(w32_get_internal_run_time, map_w32_filename): Provide prototype.
(init_environment, sys_ctime): Avoid warnings about discarding
'const' qualifier.
Include utimens.h.
(sys_ctime, sys_chdir, sys_creat, sys_fopen, sys_mkdir)
(sys_open, sys_rename, sys_rmdir, is_slow_fs, term_winsock)
(sys_close, sys_dup2, sys_read, sys_write, sys_localtime): Provide
prototypes.
(sys_rename_replace): Use %d to avoid compiler warnings.
(_wsa_errlist): Make the message text 'const char *', to avoid
compilation warnings.
(dynlib_reset_last_error): Move prototype to file scope.
(w32_get_resource): First argument is now 'const char *'.
* src/w32uniscribe.c (syms_of_w32uniscribe): Provide prototype.
(otf_features): Second argument is no 'const char *'.
* src/w32term.c (free_frame_menubar, x_wm_set_size_hint)
(x_set_window_size): Remove redundant prototypes.
(XChangeGC, XGetGCValues, w32_draw_underwave)
(w32_draw_rectangle, w32_shift_glyphs_for_insert, x_mouse_leave)
(x_calc_absolute_position, x_destroy_window): Now static.
(menubar_selection_callback): Move prototype to file scope.
* src/w32font.c (g_b_init_get_glyph_outline_w): Remove redundant
declaration.
(w32_to_x_charset): Fix warnings about discarding 'const' qualifier.
(w32font_full_name): Fix warnings about implicit conversion of
'float' to 'double'.
* src/w32reg.c (w32_get_rdb_resource): Fix warnings about
discarding 'const' qualifier.
* src/w32menu.c (syms_of_w32menu, globals_of_w32menu)
(set_frame_menubar): Remove redundant prototypes.
(menubar_selection_callback, w32_menu_display_help): Provide
prototypes.
(simple_dialog_show): Avoid warnings about discarding 'const'
qualifier.
* src/w32fns.c (syms_of_w32fns, globals_of_w32fns)
(free_frame_menubar, w32_strerror, x_set_menu_bar_lines)
(x_set_tool_bar_lines, x_set_internal_border_width): Remove
redundant prototypes.
(current_popup_menu): Remove redundant declaration.
(colormap_t): Member 'name' is now 'const char *'.
(add_system_logical_colors_to_map): Fix signed/unsigned warnings.
(x_decode_color, x_set_border_pixel)
(x_clear_under_internal_border, x_set_name, hook_w32_key)
(reset_w32_kbdhook_state, deliver_wm_chars, w32_backtrace): Now
static.
(w32_load_cursor, w32_key_to_modifier, map_keypad_keys)
(w32_msg_worker, w32_last_error): Provide prototypes.
(funhook, lookup_vk_code): Avoid warnings about missing
parentheses.
(x_default_font_parameter, Fw32_notification_notify): Avoid
warnings about discarding 'const' qualifier.
(Fx_create_frame): Avoid warnings about empty body of 'else'.
(x_screen_planes): Ifdef away unused function.
(Fx_show_tip): Remove unused variables.
(Fw32_battery_status): Avoid warnings about implicit promotion
from float to double.
(Fw32_notification_notify): Initialize 'timeout'.
* src/profiler.c (profiler_cpu_running) [HAVE_ITIMERSPEC]: Only
define the TIMER_SETTIME_RUNNING value if it will be used.
* src/w32notify.c (send_notifications): Ifdef away an empty if
clause.  Remove unused variable.
(watch_end, watch_completion): Provide prototypes.
* src/sound.c (sound_warning) [WINDOWSNT]: Don't define: unused.
* src/callproc.c (child_setup, getenv_internal_1) [WINDOWSNT]: Fix
warning with pointer signedness.
* src/gnutls.c (gnutls_x509_crt_get_signature)
(gnutls_alert_send_appropriate) [WINDOWSNT]: Don't define, and
don't load them from the GnuTLS library, as they are no longer
used.
* src/process.c (DATAGRAM_CHAN_P) [!DATAGRAM_SOCKETS]: Don't
define, as it's unused.
* src/unexw32.c (open_input_file, open_output_file)
(close_file_data): Remove redundant prototypes.
(_start): provide prototype.
(mainCRTStartup): Move prototype to file level.
(find_section): Use type-cast to shut up compiler warnings.
(offset_to_section, relocate_offset): Now static.
(find_section): First argument is now a 'const char *'.
(offset_to_section): Ifdef away, as it's unused.
* src/w32heap.h (find_section): Adjust prototype.
* src/dynlib.c (dynlib_reset_last_error): Provide prototype.
* src/dired.c (directory_files_internal_w32_unwind): Avoid
warnings about missing prototypes.
(is_slow_fs) [WINDOWSNT]: Provide prototype at file level.
(directory_files_internal) [WINDOWSNT]: Fix warnings about pointer
signedness.
* src/fileio.c (Ffile_writable_p, Ffile_regular_p) [WINDOWSNT]:
Fix warnings about pointer signedness.
* src/filelock.c (WTMP_FILE) [WINDOWSNT]: Don't define, it's
unused.
* src/sysdep.c (_getpid): Remove redundant prototype.
(sys_subshell) [DOS_NT]: Don't define 'status', it's unused.
[!MSDOS]: Don't define 'st', it's unused.
(init_sys_modes) [DOS_NT]: Don't define 'terminal', it's unused.
(str_collate) [WINDOWSNT]: Avoid warnings about pointer signedness.
* src/keyboard.c (tty_read_avail_input) [WINDOWSNT]: Don't define
n_to_read, as it is not used.
(MAX_ENCODED_BYTES) [WINDOWSNT]: Don't define, as it's unused.
* src/w32font.h (syms_of_w32font): Remove redundant prototype.
* src/xfaces.c (x_display_info) [HAVE_NTGUI]: Remove unused macro.
* src/term.c (init_tty) [DOS_NT]: Ifdef away variables that are
not used by DOS_NT builds, to avoid compiler warnings.
* src/menu.c (current_popup_menu) [HAVE_NTGUI]: Remove redundant
declaration.
* src/dispnew.c (init_display) [WINDOWSNT]: Use type-cast to shut
up compiler warnings.
* src/w32term.h (x_set_window_size, x_get_focus_frame)
(x_make_frame_visible, x_make_frame_invisible, x_iconify_frame)
(x_set_frame_alpha, x_activate_menubar, x_bitmap_icon)
(x_free_frame_resources, x_real_positions)
(display_x_get_resource): Remove redundant prototypes.

* lib-src/ntlib.c (sys_ctime, sys_fopen, sys_chdir, mkostemp)
(sys_rename, gettimeofday): Provide prototypes.
* lib-src/ntlib.h (getuid, geteuid, mkostemp): Remove redundant
declarations.
* lib-src/emacsclient.c (w32_getenv): Argument is now 'const char *'.
(xstrdup, w32_get_resource, w32_window_app, w32_execvp, ttyname)
(close_winsock, initialize_sockets, w32_set_user_model_id)
(w32_find_emacs_process, w32_give_focus) [WINDOWSNT]: Add
prototypes.
(w32_get_resource) [WINDOWSNT]: Fix a warning about signedness
difference.
(w32_set_user_model_id): Update prototype of
SetCurrentProcessExplicitAppUserModelID to avoid compiler
warnings.
(start_daemon_and_retry_set_socket) [WINDOWSNT]: Use type-cast to
shut up compiler warnings.
* lib-src/etags.c (MAXPATHLEN) [WINDOWSNT]: Remove unused macro.

7 years agoFix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode'
Eli Zaretskii [Sat, 21 May 2016 09:35:08 +0000 (12:35 +0300)]
Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode'

* src/xdisp.c (move_it_in_display_line_to): Don't assume we can
wrap on a whitespace character if it's followed by another
whitespace character.  When returning under WORD_WRAP for a screen
line that is continued, restore to wrap point when atpos/atx
position would be displayed on the next screen line due to
line-wrap.  (Bug#23570)

7 years agoMention GTK+ problems in etc/PROBLEMS
Eli Zaretskii [Sat, 21 May 2016 07:19:32 +0000 (10:19 +0300)]
Mention GTK+ problems in etc/PROBLEMS

* etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
problems this could create and the workaround.  (Bug#23587)

7 years ago* lisp/svg.el (svg-create): Fix a typo: xmlsn -> xmlns. (Bug#23589)
Puneeth Chaganti [Sat, 21 May 2016 07:02:46 +0000 (10:02 +0300)]
* lisp/svg.el (svg-create): Fix a typo: xmlsn -> xmlns.  (Bug#23589)

7 years agoAdded tests for dos unibyte decoding.
Andrew Hyatt [Sat, 21 May 2016 04:08:27 +0000 (00:08 -0400)]
Added tests for dos unibyte decoding.

The underlying bug was previously fixed by Eli Zaretskii in commit
c8109d9c4057d8cac79e2c139758cadd410e7446.

7 years ago* lisp/emacs-lisp/package.el (package-refresh-contents):
Artur Malabarba [Wed, 18 May 2016 19:31:07 +0000 (16:31 -0300)]
* lisp/emacs-lisp/package.el (package-refresh-contents):

Don't change the value of `package-check-signature'.
(package-check-signature): Use `epg-find-configuration'
instead of `executable-find'.

7 years agoFix handling of ‘mouse-on-link-p’.
Philipp Stephani [Tue, 10 May 2016 21:23:26 +0000 (23:23 +0200)]
Fix handling of ‘mouse-on-link-p’.

If ‘mouse-on-link-p’ returns a string or vector, the first element
is to be used as new event.  Translation to ‘mouse-2’ should only
happen if the return value is not a string or vector.  See
docstring of ‘mouse-on-link-p’ and Bug#23288.

* lisp/mouse.el (mouse--down-1-maybe-follows-link): Process return
value of ‘mouse-on-link-p’ according to documentation.

* test/lisp/mouse-tests.el (bug23288-use-return-value)
(bug23288-translate-to-mouse-2): Tests for Bug#23288.

7 years agoRevert "epg: Add a way to detect gpg1 executable for tests"
Daiki Ueno [Fri, 20 May 2016 10:34:06 +0000 (19:34 +0900)]
Revert "epg: Add a way to detect gpg1 executable for tests"

This reverts commit d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.

7 years agoepg: Add a way to detect gpg1 executable for tests
Daiki Ueno [Thu, 19 May 2016 09:05:19 +0000 (18:05 +0900)]
epg: Add a way to detect gpg1 executable for tests

Fixes bug#23561.

* test/automated/epg-tests.el
(epg-tests-program-alist-for-passphrase-callback): New
constant.
(epg-tests-find-usable-gpg-configuration): New function,
renamed from `epg-tests-gpg-usable'.  All callers changed.
(epg-tests-gpg-usable): Remove.

* lisp/epg-config.el (epg-config--program-alist): Factor out
constructor element to...
(epg-config--configuration-constructor-alist): ...here.
(epg-find-configuration): Rename FORCE argument to NO-CACHE,
and add PROGRAM-ALIST argument.

7 years agoPut point at beginning of display-time-world buffer.
Mark Oteiza [Thu, 19 May 2016 23:01:08 +0000 (19:01 -0400)]
Put point at beginning of display-time-world buffer.

If display-time-world decides to popup vertically from the bottom of the
frame and scroll-margin is nonzero, the top of the buffer contents are
hidden due to scroll.
* lisp/time.el (display-time-world-display): Move point to point-min
after inserting contents.

7 years agoAvoid errors with Czech and Slovak input methods
Eli Zaretskii [Thu, 19 May 2016 19:57:53 +0000 (22:57 +0300)]
Avoid errors with Czech and Slovak input methods

* lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
(slovak-prog-3): Remove the kp-* key bindings, they are not needed
and cause errors in "C-u C-x =".
* lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
(czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
(Bug#23559)

7 years agoAllow null entries in face and image cache
Paul Eggert [Thu, 19 May 2016 15:38:55 +0000 (08:38 -0700)]
Allow null entries in face and image cache

Problem reported by Tino Calancha (Bug#23580).
* src/dispextern.h (FACE_FROM_ID, IMAGE_FROM_ID):
Don’t assume that the result is non-null.
* src/xdisp.c (fill_image_glyph_string):
Restore check that image pointer is non-null.

7 years agoFix flyspell highlighting
Paul Eggert [Thu, 19 May 2016 15:02:13 +0000 (08:02 -0700)]
Fix flyspell highlighting

Problem reported by Jim Meyering (Bug#23575).
* src/xdisp.c (extend_face_to_end_of_line):
Fix typo in previous change.

7 years agoepg: Add a way to detect gpg1 executable for tests
Daiki Ueno [Thu, 19 May 2016 09:05:19 +0000 (18:05 +0900)]
epg: Add a way to detect gpg1 executable for tests

Fixes bug#23561.

* test/automated/epg-tests.el
(epg-tests-program-alist-for-passphrase-callback): New
constant.
(epg-tests-find-usable-gpg-configuration): New function,
renamed from `epg-tests-gpg-usable'.  All callers changed.
(epg-tests-gpg-usable): Remove.

* lisp/epg-config.el (epg-config--program-alist): Factor out
constructor element to...
(epg-config--configuration-constructor-alist): ...here.
(epg-find-configuration): Rename FORCE argument to NO-CACHE,
and add PROGRAM-ALIST argument.

7 years ago* lisp/emacs-lisp/package.el: Fix free variable warnings.
Artur Malabarba [Wed, 18 May 2016 23:09:24 +0000 (20:09 -0300)]
* lisp/emacs-lisp/package.el: Fix free variable warnings.

(package--with-response-buffer): Replace two usages of
`macroexp-let2*' with `let'.

7 years ago* lisp/emacs-lisp/package.el (package--with-response-buffer):
Artur Malabarba [Wed, 18 May 2016 20:58:56 +0000 (17:58 -0300)]
* lisp/emacs-lisp/package.el (package--with-response-buffer):

Fix some macro locals leaking into body.  (Bug#22440)

* test/automated/package-test.el (package-test-signed):
Manually check all possible values of `package-check-signature'.

7 years agoImprove documentation of 'server-name'
Eli Zaretskii [Wed, 18 May 2016 19:50:45 +0000 (22:50 +0300)]
Improve documentation of 'server-name'

* doc/emacs/misc.texi (Emacs Server): Fix example of setting
'server-name'.  Mention how to do that with daemon sessions.
(Bug#23576)

7 years ago* lisp/server.el (server-name): Add autoload cookie. (Bug#23576)
Eli Zaretskii [Wed, 18 May 2016 19:46:32 +0000 (22:46 +0300)]
* lisp/server.el (server-name): Add autoload cookie.  (Bug#23576)

7 years agopython-describe-at-point: add and bind
Sam Steingold [Wed, 18 May 2016 13:56:17 +0000 (09:56 -0400)]
python-describe-at-point: add and bind