aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjave2015-01-04 09:09:36 +0100
committerjave2015-01-04 09:09:36 +0100
commita7e2c92ddf6c27b2cfcc9782fd71f15d36162cce (patch)
tree7e092998b7e6956f311a169e0d87254ef87703e3
parentdb4613576d3115aa320f0293d081ce98baa06acd (diff)
parentfec9b792f543c35b1a635b3a3326d496e3ca9012 (diff)
downloademacs-a7e2c92ddf6c27b2cfcc9782fd71f15d36162cce.tar.gz
emacs-a7e2c92ddf6c27b2cfcc9782fd71f15d36162cce.zip
merge master
-rw-r--r--ChangeLog44
-rw-r--r--Makefile.in18
-rw-r--r--admin/ChangeLog14
-rw-r--r--admin/grammars/Makefile.in37
-rw-r--r--admin/unidata/unidata-gen.el4
-rw-r--r--doc/lispref/ChangeLog9
-rw-r--r--doc/lispref/files.texi5
-rw-r--r--doc/misc/ChangeLog10
-rw-r--r--etc/ChangeLog5
-rw-r--r--etc/NEWS3
-rw-r--r--leim/ChangeLog9
-rw-r--r--leim/Makefile.in26
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/Makefile.in4
-rw-r--r--lisp/ChangeLog54
-rw-r--r--lisp/Makefile.in27
-rw-r--r--lisp/button.el2
-rw-r--r--lisp/emacs-lisp/autoload.el5
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
-rw-r--r--lisp/files.el4
-rw-r--r--lisp/gnus/ChangeLog7
-rw-r--r--lisp/international/quail.el4
-rw-r--r--lisp/menu-bar.el1
-rw-r--r--lisp/org/ChangeLog4
-rw-r--r--lisp/progmodes/xref.el42
-rw-r--r--lwlib/ChangeLog7
-rw-r--r--lwlib/Makefile.in16
-rw-r--r--oldXMenu/ChangeLog7
-rw-r--r--oldXMenu/Makefile.in16
-rw-r--r--src/ChangeLog44
-rw-r--r--src/Makefile.in2
-rw-r--r--src/fileio.c6
-rw-r--r--src/frame.c2
-rw-r--r--src/term.c2
-rw-r--r--src/xterm.c2
35 files changed, 330 insertions, 119 deletions
diff --git a/ChangeLog b/ChangeLog
index 3182c6c8ff0..68d1391b96a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Clarify 'make info'
4 * Makefile.in (info): Use GNU make conditional rather than
5 an '@' rule with a shell conditional, so that the builder can
6 see the submake.
7
8 Less 'make' chatter for VCSWITNESS
9 * Makefile.in (dirstate, VCSWITNESS): New macros.
10 (src): Use them to lessen 'make' chatter.
11
12015-01-01 Paul Eggert <eggert@cs.ucla.edu> 122015-01-01 Paul Eggert <eggert@cs.ucla.edu>
2 13
3 Fix copyright years by hand 14 Fix copyright years by hand
@@ -28,39 +39,6 @@
28 Be less chatty when not verbose. 39 Be less chatty when not verbose.
29 ($(srcdir)/src/stamp-h.in): Simplify with '$@'. 40 ($(srcdir)/src/stamp-h.in): Simplify with '$@'.
30 41
312014-12-29 Paul Eggert <eggert@cs.ucla.edu>
32
33 system-name's returned value can vary
34 Also, the system-name variable is now obsolete.
35 Fixes Bug#19438.
36 * doc/lispref/os.texi (System Environment):
37 * etc/NEWS: Document this.
38 * doc/misc/efaq.texi:
39 (Displaying the current file name in the titlebar):
40 * lisp/desktop.el (desktop-save-frameset):
41 * lisp/dnd.el (dnd-get-local-file-uri):
42 * lisp/gnus/message.el (message-make-fqdn):
43 * lisp/gnus/nnvirtual.el (nnvirtual-retrieve-headers)
44 (nnvirtual-update-xref-header):
45 * lisp/nxml/rng-uri.el (rng-uri-file-name-1):
46 * lisp/org/org-clock.el (org-clock-save):
47 * src/filelock.c (current_lock_owner):
48 * src/xrdb.c (get_environ_db):
49 * src/xterm.c (same_x_server):
50 * src/xterm.c (x_term_init):
51 Prefer (system-name) to system-name, and avoid naming
52 locals 'system-name'.
53 * doc/misc/smtpmail.texi (Server workarounds): Fix grammar.
54 * lisp/startup.el (system-name): Now an obsolete variable.
55 * src/editfns.c (cached_system_name): New static var.
56 (init_and_cache_system_name): New function.
57 (init_editfns, Fsystem_name): Use it.
58 (syms_of_editfns): Initialize it and Vsystem_name to the same value.
59 * src/sysdep.c [HAVE_SOCKETS]: Don't include <sys/socket.h>, <netdb.h>.
60 (h_errno) [TRY_AGAIN && !HAVE_H_ERRNO]: Remove decl.
61 (init_system_name) [HAVE_SOCKETS]: Don't canonicalize the name.
62 Don't create a new string if the current value is already correct.
63
642014-12-28 Paul Eggert <eggert@cs.ucla.edu> 422014-12-28 Paul Eggert <eggert@cs.ucla.edu>
65 43
66 * build-aux/git-hooks/commit-msg: Allow tabs. 44 * build-aux/git-hooks/commit-msg: Allow tabs.
diff --git a/Makefile.in b/Makefile.in
index b8d914b3bd7..4cdd293ebd4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -389,15 +389,13 @@ lib lib-src lisp nt: Makefile
389# repository pull. In git there is no single file that guarantees 389# repository pull. In git there is no single file that guarantees
390# this, but the local log for the current head should be close enough. 390# this, but the local log for the current head should be close enough.
391# 391#
392# Note the use of single quotes in the value of vcswitness. 392# Pass an unexpanded $srcdir to src's Makefile, which then
393# This passes an unexpanded $srcdir to src's Makefile, which then
394# expands it using its own value of srcdir (which points to the 393# expands it using its own value of srcdir (which points to the
395# source directory of src/). 394# source directory of src/).
395dirstate = .git/logs/HEAD
396VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate))
396src: Makefile 397src: Makefile
397 dirstate='.git/logs/HEAD'; \ 398 $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' all
398 vcswitness='$$(srcdir)/../'$$dirstate; \
399 [ -r "$(srcdir)/$$dirstate" ] || vcswitness=''; \
400 $(MAKE) -C $@ all VCSWITNESS="$$vcswitness"
401 399
402blessmail: Makefile src 400blessmail: Makefile src
403 $(MAKE) -C lib-src maybe-blessmail 401 $(MAKE) -C lib-src maybe-blessmail
@@ -1045,11 +1043,9 @@ uninstall-ps: $(UNINSTALL_PS)
1045# and it's not worth it. This case is only relevant if you download a 1043# and it's not worth it. This case is only relevant if you download a
1046# release, then change the .texi files. 1044# release, then change the .texi files.
1047info: 1045info:
1048 @if test "$(HAVE_MAKEINFO)" = "no"; then \ 1046 ifneq ($(HAVE_MAKEINFO),no)
1049 echo "Configured --without-makeinfo, not building manuals" ; \ 1047 $(MAKE) info-real info-dir
1050 else \ 1048 endif
1051 $(MAKE) info-real info-dir; \
1052 fi
1053 1049
1054## build-aux/make-info-dir expects only certain dircategories. 1050## build-aux/make-info-dir expects only certain dircategories.
1055check-info: info 1051check-info: info
diff --git a/admin/ChangeLog b/admin/ChangeLog
index d7025657e78..83386061180 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,17 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for admin/grammars
4 * grammars/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN)
5 (am__v_GEN_, am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_)
6 (am__v_at_0, am__v_at_1): New macros, from src/Makefile.in.
7 (${bovinedir}/%-by.el, ${bovinedir}/scm-by.el)
8 (${cedetdir}/semantic/%-wy.el, ${wisentdir}/%-wy.el)
9 (${wisentdir}/javat-wy.el, ${cedetdir}/srecode/srt-wy.el): Use them.
10
11 Less chatter in batch mode
12 * unidata/unidata-gen.el (unidata-gen-files):
13 Don't output messages like "Generating ..." in batch mode.
14
12015-01-02 Paul Eggert <eggert@cs.ucla.edu> 152015-01-02 Paul Eggert <eggert@cs.ucla.edu>
2 16
3 Less 'make' chatter for unidata 17 Less 'make' chatter for unidata
diff --git a/admin/grammars/Makefile.in b/admin/grammars/Makefile.in
index b88521f4b47..6b54ecca237 100644
--- a/admin/grammars/Makefile.in
+++ b/admin/grammars/Makefile.in
@@ -28,6 +28,19 @@ srcdir = @srcdir@
28top_srcdir = @top_srcdir@ 28top_srcdir = @top_srcdir@
29top_builddir = @top_builddir@ 29top_builddir = @top_builddir@
30 30
31# 'make' verbosity.
32AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
33
34AM_V_GEN = $(am__v_GEN_@AM_V@)
35am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
36am__v_GEN_0 = @echo " GEN " $@;
37am__v_GEN_1 =
38
39AM_V_at = $(am__v_at_@AM_V@)
40am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
41am__v_at_0 = @
42am__v_at_1 =
43
31# Prevent any settings in the user environment causing problems. 44# Prevent any settings in the user environment causing problems.
32unexport EMACSDATA EMACSDOC EMACSPATH 45unexport EMACSDATA EMACSDOC EMACSPATH
33 46
@@ -68,30 +81,30 @@ wisent: ${WISENT}
68 81
69## c-by.el, make-by.el. 82## c-by.el, make-by.el.
70${bovinedir}/%-by.el: ${srcdir}/%.by 83${bovinedir}/%-by.el: ${srcdir}/%.by
71 [ ! -f "$@" ] || chmod +w "$@" 84 $(AM_V_GEN)[ ! -f "$@" ] || chmod +w "$@"
72 ${make_bovine} -o "$@" $< 85 $(AM_V_at)${make_bovine} -o "$@" $<
73 86
74${bovinedir}/scm-by.el: ${srcdir}/scheme.by 87${bovinedir}/scm-by.el: ${srcdir}/scheme.by
75 [ ! -f "$@" ] || chmod +w "$@" 88 $(AM_V_GEN)[ ! -f "$@" ] || chmod +w "$@"
76 ${make_bovine} -o "$@" $< 89 $(AM_V_at)${make_bovine} -o "$@" $<
77 90
78## grammar-wy.el 91## grammar-wy.el
79${cedetdir}/semantic/%-wy.el: ${srcdir}/%.wy 92${cedetdir}/semantic/%-wy.el: ${srcdir}/%.wy
80 [ ! -f "$@" ] || chmod +w "$@" 93 $(AM_V_GEN)[ ! -f "$@" ] || chmod +w "$@"
81 ${make_wisent} -o "$@" $< 94 $(AM_V_at)${make_wisent} -o "$@" $<
82 95
83## js-wy.el, python-wy.el 96## js-wy.el, python-wy.el
84${wisentdir}/%-wy.el: ${srcdir}/%.wy 97${wisentdir}/%-wy.el: ${srcdir}/%.wy
85 [ ! -f "$@" ] || chmod +w "$@" 98 $(AM_V_GEN)[ ! -f "$@" ] || chmod +w "$@"
86 ${make_wisent} -o "$@" $< 99 $(AM_V_at)${make_wisent} -o "$@" $<
87 100
88${wisentdir}/javat-wy.el: ${srcdir}/java-tags.wy 101${wisentdir}/javat-wy.el: ${srcdir}/java-tags.wy
89 [ ! -f "$@" ] || chmod +w "$@" 102 $(AM_V_GEN)[ ! -f "$@" ] || chmod +w "$@"
90 ${make_wisent} -o "$@" $< 103 $(AM_V_at)${make_wisent} -o "$@" $<
91 104
92${cedetdir}/srecode/srt-wy.el: ${srcdir}/srecode-template.wy 105${cedetdir}/srecode/srt-wy.el: ${srcdir}/srecode-template.wy
93 [ ! -f "$@" ] || chmod +w "$@" 106 $(AM_V_GEN)[ ! -f "$@" ] || chmod +w "$@"
94 ${make_wisent} -o "$@" $< 107 $(AM_V_at)${make_wisent} -o "$@" $<
95 108
96 109
97.PHONY: distclean bootstrap-clean maintainer-clean extraclean 110.PHONY: distclean bootstrap-clean maintainer-clean extraclean
diff --git a/admin/unidata/unidata-gen.el b/admin/unidata/unidata-gen.el
index ca3bae1070a..8af6fa0dd72 100644
--- a/admin/unidata/unidata-gen.el
+++ b/admin/unidata/unidata-gen.el
@@ -1329,7 +1329,7 @@ Property value is a symbol `o' (Open), `c' (Close), or `n' (None)."
1329 (insert (format "(define-char-code-property '%S %S\n %S)\n" 1329 (insert (format "(define-char-code-property '%S %S\n %S)\n"
1330 prop basename docstring)) 1330 prop basename docstring))
1331 (with-temp-buffer 1331 (with-temp-buffer
1332 (message "Generating %s..." file) 1332 (or noninteractive (message "Generating %s..." file))
1333 (when (file-exists-p file) 1333 (when (file-exists-p file)
1334 (insert-file-contents file) 1334 (insert-file-contents file)
1335 (goto-char (point-max)) 1335 (goto-char (point-max))
@@ -1356,7 +1356,7 @@ Property value is a symbol `o' (Open), `c' (Close), or `n' (None)."
1356 ";; End:\n\n" 1356 ";; End:\n\n"
1357 (format ";; %s ends here\n" basename))) 1357 (format ";; %s ends here\n" basename)))
1358 (write-file file) 1358 (write-file file)
1359 (message "Generating %s...done" file)))) 1359 (or noninteractive (message "Generating %s...done" file)))))
1360 (message "Writing %s..." charprop-file) 1360 (message "Writing %s..." charprop-file)
1361 (insert ";; Local Variables:\n" 1361 (insert ";; Local Variables:\n"
1362 ";; coding: utf-8\n" 1362 ";; coding: utf-8\n"
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index ce97b4d1e9b..941be3cf582 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 batch write-region no longer says "Wrote FOO"
4 * files.texi (Writing to Files): Document this.
5
12014-12-31 Paul Eggert <eggert@cs.ucla.edu> 62014-12-31 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Less 'make' chatter for Emacs doc 8 Less 'make' chatter for Emacs doc
@@ -14,6 +19,10 @@
14 `temp-buffer-resize-mode', `temp-buffer-max-height' and 19 `temp-buffer-resize-mode', `temp-buffer-max-height' and
15 `temp-buffer-max-width'. 20 `temp-buffer-max-width'.
16 21
222014-12-29 Paul Eggert <eggert@cs.ucla.edu>
23
24 * os.texi (System Environment): Update for system-name changes.
25
172014-12-27 Glenn Morris <rgm@gnu.org> 262014-12-27 Glenn Morris <rgm@gnu.org>
18 27
19 * control.texi (Pattern matching case statement): 28 * control.texi (Pattern matching case statement):
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 51d13692fe5..c8500d2f412 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -653,8 +653,9 @@ and also calls the functions in the list
653@xref{Format Conversion}. 653@xref{Format Conversion}.
654 654
655Normally, @code{write-region} displays the message @samp{Wrote 655Normally, @code{write-region} displays the message @samp{Wrote
656@var{filename}} in the echo area. If @var{visit} is neither @code{t} 656@var{filename}} in the echo area. This message is inhibited if
657nor @code{nil} nor a string, then this message is inhibited. This 657@var{visit} is neither @code{t} nor @code{nil} nor a string, or if
658Emacs is operating in batch mode (@pxref{Batch mode}). This
658feature is useful for programs that use files for internal purposes, 659feature is useful for programs that use files for internal purposes,
659files that the user does not need to know about. 660files that the user does not need to know about.
660@end deffn 661@end deffn
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 70c68f0ba0c..5057fb91f0b 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -12,6 +12,16 @@
12 (${buildinfodir}/efaq%.info, efaq%.html): 12 (${buildinfodir}/efaq%.info, efaq%.html):
13 Use them. 13 Use them.
14 14
152014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
16
17 * info.texi (Create Info buffer): Mention info-display-manual prefix.
18
192014-12-29 Paul Eggert <eggert@cs.ucla.edu>
20
21 * efaq.texi (Displaying the current file name in the titlebar):
22 Prefer (system-name) to system-name.
23 * smtpmail.texi (Server workarounds): Fix grammar.
24
152014-12-18 Eric Abrahamsen <eric@ericabrahamsen.net> 252014-12-18 Eric Abrahamsen <eric@ericabrahamsen.net>
16 26
17 * gnus.texi (Gnus Registry Setup): Explain pruning changes. Mention 27 * gnus.texi (Gnus Registry Setup): Explain pruning changes. Mention
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 28160449ee6..c72c560ec9c 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 batch write-region no longer says "Wrote FOO"
4 * NEWS: Document this.
5
12014-12-30 Paul Eggert <eggert@cs.ucla.edu> 62014-12-30 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * PROBLEMS: Omit obsolete mention of FQDNs. 8 * PROBLEMS: Omit obsolete mention of FQDNs.
diff --git a/etc/NEWS b/etc/NEWS
index ca63ff17b44..ac42a9ff6dc 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -551,6 +551,9 @@ system's name has changed or if the Emacs process has changed systems,
551and to avoid long waits it no longer consults DNS to canonicalize the 551and to avoid long waits it no longer consults DNS to canonicalize the
552name. The variable `system-name' is now obsolete. 552name. The variable `system-name' is now obsolete.
553 553
554+++
555** Function `write-region' no longer outputs "Wrote FILE" in batch mode.
556
554--- 557---
555** New utilities in subr-x.el: 558** New utilities in subr-x.el:
556*** New macros `if-let' and `when-let' allow defining bindings and to 559*** New macros `if-let' and `when-let' allow defining bindings and to
diff --git a/leim/ChangeLog b/leim/ChangeLog
index c8586224ab0..4bda9a64335 100644
--- a/leim/ChangeLog
+++ b/leim/ChangeLog
@@ -1,3 +1,12 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for leim
4 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
5 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
6 (am__v_at_1): New macros, from src/Makefile.in.
7 (${leimdir}/quail/%.el, misc_convert, ${leimdir}/leim-list.el)
8 (${leimdir}/ja-dic/ja-dic.el): Use them.
9
12014-12-14 Paul Eggert <eggert@cs.ucla.edu> 102014-12-14 Paul Eggert <eggert@cs.ucla.edu>
2 11
3 * SKK-DIC/SKK-JISYO.L: Update to version 1.1216. 12 * SKK-DIC/SKK-JISYO.L: Update to version 1.1216.
diff --git a/leim/Makefile.in b/leim/Makefile.in
index 721565ea5bd..573acf7678c 100644
--- a/leim/Makefile.in
+++ b/leim/Makefile.in
@@ -29,6 +29,19 @@ srcdir=@srcdir@
29# Where the generated files go. 29# Where the generated files go.
30leimdir = ${srcdir}/../lisp/leim 30leimdir = ${srcdir}/../lisp/leim
31 31
32# 'make' verbosity.
33AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
34
35AM_V_GEN = $(am__v_GEN_@AM_V@)
36am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
37am__v_GEN_0 = @echo " GEN " $@;
38am__v_GEN_1 =
39
40AM_V_at = $(am__v_at_@AM_V@)
41am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
42am__v_at_0 = @
43am__v_at_1 =
44
32# Prevent any settings in the user environment causing problems. 45# Prevent any settings in the user environment causing problems.
33unexport EMACSDATA EMACSDOC EMACSPATH 46unexport EMACSDATA EMACSDOC EMACSPATH
34 47
@@ -88,11 +101,12 @@ ${leimdir}/quail ${leimdir}/ja-dic:
88 101
89## All of TIT_GB and TIT_BIG5. 102## All of TIT_GB and TIT_BIG5.
90${leimdir}/quail/%.el: ${srcdir}/CXTERM-DIC/%.tit 103${leimdir}/quail/%.el: ${srcdir}/CXTERM-DIC/%.tit
91 ${RUN_EMACS} -l titdic-cnv \ 104 $(AM_V_GEN)${RUN_EMACS} -l titdic-cnv \
92 -f batch-titdic-convert -dir ${leimdir}/quail $< 105 -f batch-titdic-convert -dir ${leimdir}/quail $<
93 106
94 107
95misc_convert = ${RUN_EMACS} -l titdic-cnv -f batch-miscdic-convert -dir ${leimdir}/quail 108misc_convert = $(AM_V_GEN)${RUN_EMACS} \
109 -l titdic-cnv -f batch-miscdic-convert -dir ${leimdir}/quail
96 110
97## CTLau.el, CTLau-b5.el. 111## CTLau.el, CTLau-b5.el.
98${leimdir}/quail/CT%.el: ${srcdir}/MISC-DIC/CT%.html 112${leimdir}/quail/CT%.el: ${srcdir}/MISC-DIC/CT%.html
@@ -114,16 +128,16 @@ ${leimdir}/quail/tsang-%.el ${leimdir}/quail/quick-%.el: ${srcdir}/MISC-DIC/cang
114leim-list.el: ${leimdir}/leim-list.el 128leim-list.el: ${leimdir}/leim-list.el
115 129
116${leimdir}/leim-list.el: ${srcdir}/leim-ext.el ${TIT_MISC} 130${leimdir}/leim-list.el: ${srcdir}/leim-ext.el ${TIT_MISC}
117 rm -f $@ 131 $(AM_V_GEN)rm -f $@
118 ${RUN_EMACS} -l international/quail \ 132 $(AM_V_at)${RUN_EMACS} -l international/quail \
119 --eval "(update-leim-list-file (unmsys--file-name \"${leimdir}\"))" 133 --eval "(update-leim-list-file (unmsys--file-name \"${leimdir}\"))"
120 sed -n -e '/^[^;]/p' -e 's/^;\(;*\)inc /;\1 /p' < $< >> $@ 134 $(AM_V_at)sed -n -e '/^[^;]/p' -e 's/^;\(;*\)inc /;\1 /p' < $< >> $@
121 135
122 136
123${leimdir}/ja-dic/ja-dic.el: | $(leimdir)/ja-dic 137${leimdir}/ja-dic/ja-dic.el: | $(leimdir)/ja-dic
124 138
125${leimdir}/ja-dic/ja-dic.el: $(srcdir)/SKK-DIC/SKK-JISYO.L 139${leimdir}/ja-dic/ja-dic.el: $(srcdir)/SKK-DIC/SKK-JISYO.L
126 $(RUN_EMACS) -batch -l ja-dic-cnv \ 140 $(AM_V_GEN)$(RUN_EMACS) -batch -l ja-dic-cnv \
127 -f batch-skkdic-convert -dir "$(leimdir)/ja-dic" "$<" 141 -f batch-skkdic-convert -dir "$(leimdir)/ja-dic" "$<"
128 142
129 143
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index eb2b1f3a94c..1795f021027 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for lib-src
4 * Makefile.in (blessmail): Less 'make' chatter here.
5
12014-12-27 Eli Zaretskii <eliz@gnu.org> 62014-12-27 Eli Zaretskii <eliz@gnu.org>
2 7
3 * Makefile.in (etags_libs, ebrowse${EXEEXT}, profile${EXEEXT}) 8 * Makefile.in (etags_libs, ebrowse${EXEEXT}, profile${EXEEXT})
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 485e2d2eacc..22a5ecad8d8 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -223,8 +223,8 @@ $(EXE_FILES): ../lib/libgnu.a
223## Only used if we need blessmail, but no harm in always defining. 223## Only used if we need blessmail, but no harm in always defining.
224## This makes the actual blessmail executable. 224## This makes the actual blessmail executable.
225blessmail: $(srcdir)/../lisp/mail/blessmail.el 225blessmail: $(srcdir)/../lisp/mail/blessmail.el
226 $(EMACS) $(EMACSOPT) -l $< 226 $(AM_V_GEN)$(EMACS) $(EMACSOPT) -l $<
227 chmod +x $@ 227 $(AM_V_at)chmod +x $@
228 228
229## This checks if we need to run blessmail. 229## This checks if we need to run blessmail.
230## Do not charge ahead and do it! Let the installer decide. 230## Do not charge ahead and do it! Let the installer decide.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9d5416c5cea..aa79a8d4b2e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,51 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for lisp dir
4 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
5 to make it clearer that the caller must specify it.
6 (compile-onefile): Remove, replacing by ...
7 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
8 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
9 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11 Use AM_V_GEN to lessen 'make' chatter.
12 (.el.elc): Omit duplicate comment.
13
14 Less 'make' chatter in batch mode
15 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16 * emacs-lisp/bytecomp.el (byte-compile-file):
17 * files.el (save-buffer, basic-save-buffer):
18 * international/quail.el (quail-update-leim-list-file):
19 Don't output messages like "Generating ..." in batch mode.
20
212015-01-04 Dmitry Gutov <dgutov@yandex.ru>
22
23 Unbreak `mouse-action' property in text buttons.
24
25 * button.el (push-button): Fix regression from 2012-12-06.
26
272015-01-03 Dmitry Gutov <dgutov@yandex.ru>
28
29 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
30
31 * menu-bar.el (menu-bar-goto-menu): Use it.
32
332015-01-03 Dmitry Gutov <dgutov@yandex.ru>
34
35 * progmodes/xref.el (xref--window-configuration): New variable.
36 (xref-show-location-at-point): New command.
37 (xref--restore-window-configuration): New function.
38 (xref-next-line, xref-prev-line): Delegate to
39 `xref-show-location-at-point'.
40 (xref--location-at-point): Don't signal the error.
41 (xref-goto-xref): Do that here instead.
42 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
43 to `pre-command-hook'.
44 (xref--xref-buffer-mode-map): Don't remap `next-line' and
45 `previous-line'. Additionally bind `xref-next-line' and
46 `xref-prev-line' to `n' and `p' respectively. Bind
47 `xref-show-location-at-point' to `C-o'.
48
12015-01-01 Eli Zaretskii <eliz@gnu.org> 492015-01-01 Eli Zaretskii <eliz@gnu.org>
2 50
3 * tool-bar.el (tool-bar-local-item) 51 * tool-bar.el (tool-bar-local-item)
@@ -59,6 +107,12 @@
59 107
60 * obsolete/pc-select.el (pc-selection-mode): Use system-type. 108 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
61 This is instead of system-name, which is both wrong here and obsolete. 109 This is instead of system-name, which is both wrong here and obsolete.
110 * desktop.el (desktop-save-frameset):
111 * dnd.el (dnd-get-local-file-uri):
112 * nxml/rng-uri.el (rng-uri-file-name-1):
113 Prefer (system-name) to system-name, and avoid naming
114 locals 'system-name'.
115 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
62 116
632014-12-29 Dmitry Gutov <dgutov@yandex.ru> 1172014-12-29 Dmitry Gutov <dgutov@yandex.ru>
64 118
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 67855baf9f3..565ca77de3b 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -257,12 +257,10 @@ TAGS: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
257# src/Makefile.in to rebuild a particular Lisp file, no questions asked. 257# src/Makefile.in to rebuild a particular Lisp file, no questions asked.
258# Use byte-compile-refresh-preloaded to try and work around some of 258# Use byte-compile-refresh-preloaded to try and work around some of
259# the most common problems of not bootstrapping from a clean state. 259# the most common problems of not bootstrapping from a clean state.
260.PHONY: compile-onefile 260THEFILE = no-such-file
261compile-onefile: 261.PHONY: $(THEFILE)c
262 @echo Compiling $(THEFILE) 262$(THEFILE)c:
263 @# Use byte-compile-refresh-preloaded to try and work around some of 263 $(AM_V_GEN)$(emacs) $(BYTE_COMPILE_FLAGS) \
264 @# the most common bootstrapping problems.
265 @$(emacs) $(BYTE_COMPILE_FLAGS) \
266 -l bytecomp -f byte-compile-refresh-preloaded \ 264 -l bytecomp -f byte-compile-refresh-preloaded \
267 -f batch-byte-compile $(THEFILE) 265 -f batch-byte-compile $(THEFILE)
268 266
@@ -278,12 +276,7 @@ compile-onefile:
278# An old-fashioned suffix rule, which, according to the GNU Make manual, 276# An old-fashioned suffix rule, which, according to the GNU Make manual,
279# cannot have prerequisites. 277# cannot have prerequisites.
280.el.elc: 278.el.elc:
281 @echo Compiling $< 279 $(AM_V_GEN)$(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile $<
282 @# The BIG_STACK_OPTS are only needed to byte-compile the byte-compiler
283 @# files, which is normally done in compile-first, but may also be
284 @# recompiled via this rule.
285 @$(emacs) $(BYTE_COMPILE_FLAGS) \
286 -f batch-byte-compile $<
287 280
288.PHONY: compile-first compile-main compile compile-always 281.PHONY: compile-first compile-main compile compile-always
289 282
@@ -404,7 +397,7 @@ MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el \
404.PHONY: mh-autoloads 397.PHONY: mh-autoloads
405mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el 398mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
406$(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC) 399$(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
407 $(emacs) -l autoload \ 400 $(AM_V_GEN)$(emacs) -l autoload \
408 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ 401 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
409 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \ 402 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
410 -f batch-update-autoloads $(MH_E_DIR) 403 -f batch-update-autoloads $(MH_E_DIR)
@@ -421,7 +414,7 @@ TRAMP_SRC = $(TRAMP_DIR)/tramp.el $(TRAMP_DIR)/tramp-adb.el \
421 $(TRAMP_DIR)/tramp-uu.el $(TRAMP_DIR)/trampver.el 414 $(TRAMP_DIR)/tramp-uu.el $(TRAMP_DIR)/trampver.el
422 415
423$(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC) 416$(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC)
424 $(emacs) -l autoload \ 417 $(AM_V_GEN)$(emacs) -l autoload \
425 --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \ 418 --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \
426 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \ 419 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
427 -f batch-update-autoloads $(TRAMP_DIR) 420 -f batch-update-autoloads $(TRAMP_DIR)
@@ -442,19 +435,19 @@ CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el \
442 $(CAL_DIR)/solar.el 435 $(CAL_DIR)/solar.el
443 436
444$(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC) 437$(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
445 $(emacs) -l autoload \ 438 $(AM_V_GEN)$(emacs) -l autoload \
446 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ 439 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
447 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \ 440 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
448 -f batch-update-autoloads $(CAL_DIR) 441 -f batch-update-autoloads $(CAL_DIR)
449 442
450$(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/cal-loaddefs.el 443$(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/cal-loaddefs.el
451 $(emacs) -l autoload \ 444 $(AM_V_GEN)$(emacs) -l autoload \
452 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ 445 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
453 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \ 446 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
454 -f batch-update-autoloads $(CAL_DIR) 447 -f batch-update-autoloads $(CAL_DIR)
455 448
456$(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/diary-loaddefs.el 449$(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/diary-loaddefs.el
457 $(emacs) -l autoload \ 450 $(AM_V_GEN)$(emacs) -l autoload \
458 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ 451 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
459 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \ 452 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
460 -f batch-update-autoloads $(CAL_DIR) 453 -f batch-update-autoloads $(CAL_DIR)
diff --git a/lisp/button.el b/lisp/button.el
index 2836b89020a..189a1c23a4d 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -449,7 +449,7 @@ return t."
449 (if (posn-string posn) 449 (if (posn-string posn)
450 ;; mode-line, header-line, or display string event. 450 ;; mode-line, header-line, or display string event.
451 (button-activate (posn-string posn) t) 451 (button-activate (posn-string posn) t)
452 (push-button (posn-point posn)) t))) 452 (push-button (posn-point posn) t))))
453 ;; POS is just normal position 453 ;; POS is just normal position
454 (let ((button (button-at (or pos (point))))) 454 (let ((button (button-at (or pos (point)))))
455 (when button 455 (when button
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index e9d13b86c29..073d923a178 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -539,7 +539,7 @@ Return non-nil if and only if FILE adds no autoloads to OUTFILE
539 (autoload-find-file file)) 539 (autoload-find-file file))
540 ;; Obey the no-update-autoloads file local variable. 540 ;; Obey the no-update-autoloads file local variable.
541 (unless no-update-autoloads 541 (unless no-update-autoloads
542 (message "Generating autoloads for %s..." file) 542 (or noninteractive (message "Generating autoloads for %s..." file))
543 (setq load-name 543 (setq load-name
544 (if (stringp generated-autoload-load-name) 544 (if (stringp generated-autoload-load-name)
545 generated-autoload-load-name 545 generated-autoload-load-name
@@ -623,7 +623,8 @@ Return non-nil if and only if FILE adds no autoloads to OUTFILE
623 (nth 5 (file-attributes relfile)))) 623 (nth 5 (file-attributes relfile))))
624 (insert ";;; Generated autoloads from " relfile "\n"))) 624 (insert ";;; Generated autoloads from " relfile "\n")))
625 (insert generate-autoload-section-trailer)))) 625 (insert generate-autoload-section-trailer))))
626 (message "Generating autoloads for %s...done" file)) 626 (or noninteractive
627 (message "Generating autoloads for %s...done" file)))
627 (or visited 628 (or visited
628 ;; We created this buffer, so we should kill it. 629 ;; We created this buffer, so we should kill it.
629 (kill-buffer (current-buffer)))) 630 (kill-buffer (current-buffer))))
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 4c694adfa23..1acd4fe76b2 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1858,7 +1858,7 @@ The value is non-nil if there were no errors, nil if errors."
1858 ;; recompiled). Previously this was accomplished by 1858 ;; recompiled). Previously this was accomplished by
1859 ;; deleting target-file before writing it. 1859 ;; deleting target-file before writing it.
1860 (rename-file tempfile target-file t) 1860 (rename-file tempfile target-file t)
1861 (message "Wrote %s" target-file)) 1861 (or noninteractive (message "Wrote %s" target-file)))
1862 ;; This is just to give a better error message than write-region 1862 ;; This is just to give a better error message than write-region
1863 (signal 'file-error 1863 (signal 'file-error
1864 (list "Opening output file" 1864 (list "Opening output file"
diff --git a/lisp/files.el b/lisp/files.el
index 22362ca13ca..80b538c3267 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4663,7 +4663,7 @@ See the subroutine `basic-save-buffer' for more information."
4663 ;; then Rmail-mbox never displays it due to buffer swapping. If 4663 ;; then Rmail-mbox never displays it due to buffer swapping. If
4664 ;; the test is ever re-introduced, be sure to handle saving of 4664 ;; the test is ever re-introduced, be sure to handle saving of
4665 ;; Rmail files. 4665 ;; Rmail files.
4666 (if (and modp (buffer-file-name)) 4666 (if (and modp (buffer-file-name) (not noninteractive))
4667 (message "Saving file %s..." (buffer-file-name))) 4667 (message "Saving file %s..." (buffer-file-name)))
4668 (basic-save-buffer) 4668 (basic-save-buffer)
4669 (and modp (memq arg '(4 64)) (setq buffer-backed-up nil)))) 4669 (and modp (memq arg '(4 64)) (setq buffer-backed-up nil))))
@@ -4805,7 +4805,7 @@ Before and after saving the buffer, this function runs
4805 ;; Support VC `implicit' locking. 4805 ;; Support VC `implicit' locking.
4806 (vc-after-save) 4806 (vc-after-save)
4807 (run-hooks 'after-save-hook)) 4807 (run-hooks 'after-save-hook))
4808 (message "(No changes need to be saved)")))) 4808 (or noninteractive (message "(No changes need to be saved)")))))
4809 4809
4810;; This does the "real job" of writing a buffer into its visited file 4810;; This does the "real job" of writing a buffer into its visited file
4811;; and making a backup file. This is what is normally done 4811;; and making a backup file. This is what is normally done
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 73fe41f01f2..73a0de76a1f 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,10 @@
12014-12-29 Paul Eggert <eggert@cs.ucla.edu>
2
3 * message.el (message-make-fqdn):
4 * nnvirtual.el (nnvirtual-retrieve-headers)
5 (nnvirtual-update-xref-header): Prefer (system-name) to system-name,
6 and avoid naming locals 'system-name'.
7
12014-12-29 Lars Ingebrigtsen <larsi@gnus.org> 82014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2 9
3 * mm-decode.el (mm-shr): Bind `shr-width' to `fill-column' so that 10 * mm-decode.el (mm-shr): Bind `shr-width' to `fill-column' so that
diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index f194b93526e..2755fd68bef 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -2985,7 +2985,7 @@ of each directory."
2985 quail-dirs list-buf pkg-list pos) 2985 quail-dirs list-buf pkg-list pos)
2986 (if (not (file-writable-p leim-list)) 2986 (if (not (file-writable-p leim-list))
2987 (error "Can't write to file \"%s\"" leim-list)) 2987 (error "Can't write to file \"%s\"" leim-list))
2988 (message "Updating %s ..." leim-list) 2988 (or noninteractive (message "Updating %s ..." leim-list))
2989 (setq list-buf (find-file-noselect leim-list)) 2989 (setq list-buf (find-file-noselect leim-list))
2990 2990
2991 ;; At first, clean up the file. 2991 ;; At first, clean up the file.
@@ -3077,7 +3077,7 @@ of each directory."
3077 (let ((coding-system-for-write 'utf-8)) 3077 (let ((coding-system-for-write 'utf-8))
3078 (save-buffer 0))) 3078 (save-buffer 0)))
3079 (kill-buffer list-buf) 3079 (kill-buffer list-buf)
3080 (message "Updating %s ... done" leim-list))) 3080 (or noninteractive (message "Updating %s ... done" leim-list))))
3081 3081
3082(defun quail-advice (args) 3082(defun quail-advice (args)
3083 "Advise users about the characters input by the current Quail package. 3083 "Advise users about the characters input by the current Quail package.
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 7d7e4660fb5..67cb3273d23 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -381,6 +381,7 @@
381 381
382 (bindings--define-key menu [xref-pop] 382 (bindings--define-key menu [xref-pop]
383 '(menu-item "Back" xref-pop-marker-stack 383 '(menu-item "Back" xref-pop-marker-stack
384 :visible (not (xref-marker-stack-empty-p))
384 :help "Back to the position of the last search")) 385 :help "Back to the position of the last search"))
385 386
386 (bindings--define-key menu [xref-apropos] 387 (bindings--define-key menu [xref-apropos]
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index 7b87933935c..081da5db73b 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,7 @@
12014-12-29 Paul Eggert <eggert@cs.ucla.edu>
2
3 * org-clock.el (org-clock-save): Prefer (system-name) to system-name.
4
12014-10-29 Paul Eggert <eggert@cs.ucla.edu> 52014-10-29 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Simplify use of current-time and friends. 7 Simplify use of current-time and friends.
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index a5ff5ee55ad..7bc6500a8de 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -301,6 +301,10 @@ backward."
301 (let ((marker (ring-remove ring))) 301 (let ((marker (ring-remove ring)))
302 (set-marker marker nil nil))))) 302 (set-marker marker nil nil)))))
303 303
304(defun xref-marker-stack-empty-p ()
305 "Return t if the marker stack is empty; nil otherwise."
306 (ring-empty-p xref--marker-ring))
307
304 308
305(defun xref--goto-location (location) 309(defun xref--goto-location (location)
306 "Set buffer and point according to xref-location LOCATION." 310 "Set buffer and point according to xref-location LOCATION."
@@ -328,6 +332,8 @@ WINDOW controls how the buffer is displayed:
328 332
329;; The xref buffer is used to display a set of xrefs. 333;; The xref buffer is used to display a set of xrefs.
330 334
335(defvar-local xref--window-configuration nil)
336
331(defun xref--display-position (pos other-window recenter-arg) 337(defun xref--display-position (pos other-window recenter-arg)
332 ;; show the location, but don't hijack focus. 338 ;; show the location, but don't hijack focus.
333 (with-selected-window (display-buffer (current-buffer) other-window) 339 (with-selected-window (display-buffer (current-buffer) other-window)
@@ -341,46 +347,56 @@ WINDOW controls how the buffer is displayed:
341 (xref--display-position (point) t 1)) 347 (xref--display-position (point) t 1))
342 (user-error (message (error-message-string err))))) 348 (user-error (message (error-message-string err)))))
343 349
344(defun xref--next-line (backward) 350(defun xref-show-location-at-point ()
345 (let ((loc (xref--search-property 'xref-location backward))) 351 "Display the source of xref at point in the other window, if any."
352 (interactive)
353 (let ((loc (xref--location-at-point)))
346 (when loc 354 (when loc
347 (save-window-excursion 355 (setq xref--window-configuration (current-window-configuration))
348 (xref--show-location loc) 356 (xref--show-location loc))))
349 (sit-for most-positive-fixnum))))) 357
358(defun xref--restore-window-configuration ()
359 (when xref--window-configuration
360 (set-window-configuration xref--window-configuration)
361 (setq xref--window-configuration nil)))
350 362
351(defun xref-next-line () 363(defun xref-next-line ()
352 "Move to the next xref and display its source in the other window." 364 "Move to the next xref and display its source in the other window."
353 (interactive) 365 (interactive)
354 (xref--next-line nil)) 366 (xref--search-property 'xref-location)
367 (xref-show-location-at-point))
355 368
356(defun xref-prev-line () 369(defun xref-prev-line ()
357 "Move to the previous xref and display its source in the other window." 370 "Move to the previous xref and display its source in the other window."
358 (interactive) 371 (interactive)
359 (xref--next-line t)) 372 (xref--search-property 'xref-location t)
373 (xref-show-location-at-point))
360 374
361(defun xref--location-at-point () 375(defun xref--location-at-point ()
362 (or (get-text-property (point) 'xref-location) 376 (get-text-property (point) 'xref-location))
363 (error "No reference at point")))
364 377
365(defvar-local xref--window nil) 378(defvar-local xref--window nil)
366 379
367(defun xref-goto-xref () 380(defun xref-goto-xref ()
368 "Jump to the xref at point and bury the xref buffer." 381 "Jump to the xref at point and bury the xref buffer."
369 (interactive) 382 (interactive)
370 (let ((loc (xref--location-at-point)) 383 (let ((loc (or (xref--location-at-point)
384 (error "No reference at point")))
371 (window xref--window)) 385 (window xref--window))
372 (quit-window) 386 (quit-window)
373 (xref--pop-to-location loc window))) 387 (xref--pop-to-location loc window)))
374 388
375(define-derived-mode xref--xref-buffer-mode fundamental-mode "XREF" 389(define-derived-mode xref--xref-buffer-mode fundamental-mode "XREF"
376 "Mode for displaying cross-references." 390 "Mode for displaying cross-references."
377 (setq buffer-read-only t)) 391 (setq buffer-read-only t)
392 (add-hook 'pre-command-hook #'xref--restore-window-configuration nil t))
378 393
379(let ((map xref--xref-buffer-mode-map)) 394(let ((map xref--xref-buffer-mode-map))
380 (define-key map (kbd "q") #'quit-window) 395 (define-key map (kbd "q") #'quit-window)
381 (define-key map [remap next-line] #'xref-next-line) 396 (define-key map (kbd "n") #'xref-next-line)
382 (define-key map [remap previous-line] #'xref-prev-line) 397 (define-key map (kbd "p") #'xref-prev-line)
383 (define-key map (kbd "RET") #'xref-goto-xref) 398 (define-key map (kbd "RET") #'xref-goto-xref)
399 (define-key map (kbd "C-o") #'xref-show-location-at-point)
384 400
385 ;; suggested by Johan Claesson "to further reduce finger movement": 401 ;; suggested by Johan Claesson "to further reduce finger movement":
386 (define-key map (kbd ".") #'xref-next-line) 402 (define-key map (kbd ".") #'xref-next-line)
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index 12b3a0599cf..023804cdfe5 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -1,3 +1,10 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for lwlib
4 * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
5 (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros.
6 (liblw.a): Use them.
7
12014-10-20 Glenn Morris <rgm@gnu.org> 82014-10-20 Glenn Morris <rgm@gnu.org>
2 9
3 * Merge in all changes up to 24.4 release. 10 * Merge in all changes up to 24.4 release.
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in
index 37ffd5521e9..1f332e92939 100644
--- a/lwlib/Makefile.in
+++ b/lwlib/Makefile.in
@@ -59,6 +59,16 @@ am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
59am__v_CC_0 = @echo " CC " $@; 59am__v_CC_0 = @echo " CC " $@;
60am__v_CC_1 = 60am__v_CC_1 =
61 61
62AM_V_GEN = $(am__v_GEN_@AM_V@)
63am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
64am__v_GEN_0 = @echo " GEN " $@;
65am__v_GEN_1 =
66
67AM_V_at = $(am__v_at_@AM_V@)
68am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
69am__v_at_0 = @
70am__v_at_1 =
71
62DEPDIR = deps 72DEPDIR = deps
63## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty. 73## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
64DEPFLAGS = @DEPFLAGS@ 74DEPFLAGS = @DEPFLAGS@
@@ -84,9 +94,9 @@ all: liblw.a
84 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< 94 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
85 95
86liblw.a: $(OBJS) 96liblw.a: $(OBJS)
87 rm -f $@ 97 $(AM_V_GEN)rm -f $@
88 $(AR) $(ARFLAGS) $@ $(OBJS) 98 $(AM_V_at)$(AR) $(ARFLAGS) $@ $(OBJS)
89 $(RANLIB) $@ 99 $(AM_V_at)$(RANLIB) $@
90 100
91globals_h = ../src/globals.h 101globals_h = ../src/globals.h
92$(globals_h): 102$(globals_h):
diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog
index d6a824ba467..52b873a65b0 100644
--- a/oldXMenu/ChangeLog
+++ b/oldXMenu/ChangeLog
@@ -1,3 +1,10 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for oldXMenu
4 * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
5 (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros.
6 (libXMenu11.a): Use them.
7
12014-10-20 Glenn Morris <rgm@gnu.org> 82014-10-20 Glenn Morris <rgm@gnu.org>
2 9
3 * Merge in all changes up to 24.4 release. 10 * Merge in all changes up to 24.4 release.
diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in
index cd1cb50655e..ef2a3600a6b 100644
--- a/oldXMenu/Makefile.in
+++ b/oldXMenu/Makefile.in
@@ -101,6 +101,16 @@ am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
101am__v_CC_0 = @echo " CC " $@; 101am__v_CC_0 = @echo " CC " $@;
102am__v_CC_1 = 102am__v_CC_1 =
103 103
104AM_V_GEN = $(am__v_GEN_@AM_V@)
105am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
106am__v_GEN_0 = @echo " GEN " $@;
107am__v_GEN_1 =
108
109AM_V_at = $(am__v_at_@AM_V@)
110am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
111am__v_at_0 = @
112am__v_at_1 =
113
104DEPDIR = deps 114DEPDIR = deps
105## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty. 115## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
106DEPFLAGS = @DEPFLAGS@ 116DEPFLAGS = @DEPFLAGS@
@@ -118,9 +128,9 @@ ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
118 $(AM_V_CC)$(CC) -c ${ALL_CFLAGS} $< 128 $(AM_V_CC)$(CC) -c ${ALL_CFLAGS} $<
119 129
120libXMenu11.a: $(OBJS) $(EXTRA) 130libXMenu11.a: $(OBJS) $(EXTRA)
121 $(RM) $@ 131 $(AM_V_GEN)$(RM) $@
122 $(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA) 132 $(AM_V_at)$(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA)
123 $(RANLIB) $@ 133 $(AM_V_at)$(RANLIB) $@
124 134
125## Insert either autodeps.mk (if AUTO_DEPEND), else deps.mk. 135## Insert either autodeps.mk (if AUTO_DEPEND), else deps.mk.
126@oldxmenu_deps_frag@ 136@oldxmenu_deps_frag@
diff --git a/src/ChangeLog b/src/ChangeLog
index 7b286ccb8bf..b503a40640f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,29 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for lisp dir
4 * Makefile.in (%.elc): Adjust to compile-onefile change in
5 ../lisp/Makefile.in.
6
7 batch write-region no longer says "Wrote FOO"
8 This cuts down on 'make' chatter a bit.
9 * fileio.c (Fwrite_region):
10 Don't output "Wrote /whatever/foo.elc" if noninteractive.
11
122015-01-03 Paul Eggert <eggert@cs.ucla.edu>
13
14 Revert previous change to produce_composite_glyph
15 * term.c (produce_composite_glyph): Revert previous change (Bug#19496).
16
17 Pacify gcc -Wparentheses
18 * frame.c (x_set_frame_parameters): Add parens (Bug#19428).
19
202015-01-03 Martin Rudalics <rudalics@gmx.at>
21
22 * frame.c (x_set_frame_parameters): Call Fset_frame_size only if
23 f->can_x_set_window_size is true.
24 * xterm.c (x_set_window_size_1): Call change_frame_size with
25 text sizes instead of pixel sizes (Bug#19428).
26
12015-01-01 Eli Zaretskii <eliz@gnu.org> 272015-01-01 Eli Zaretskii <eliz@gnu.org>
2 28
3 * xdisp.c (pos_visible_p): Fix up the X coordinate for 29 * xdisp.c (pos_visible_p): Fix up the X coordinate for
@@ -21,6 +47,24 @@
21 * sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this 47 * sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this
22 file doesn't compile on MS-Windows. 48 file doesn't compile on MS-Windows.
23 49
502014-12-29 Paul Eggert <eggert@cs.ucla.edu>
51
52 Allow return value of system-name to vary. (Bug#19438)
53 * filelock.c (current_lock_owner):
54 * xrdb.c (get_environ_db):
55 * xterm.c (same_x_server):
56 * xterm.c (x_term_init):
57 Prefer (system-name) to system-name, and avoid naming
58 locals 'system-name'.
59 * editfns.c (cached_system_name): New static var.
60 (init_and_cache_system_name): New function.
61 (init_editfns, Fsystem_name): Use it.
62 (syms_of_editfns): Initialize it and Vsystem_name to the same value.
63 * sysdep.c [HAVE_SOCKETS]: Don't include <sys/socket.h>, <netdb.h>.
64 (h_errno) [TRY_AGAIN && !HAVE_H_ERRNO]: Remove decl.
65 (init_system_name) [HAVE_SOCKETS]: Don't canonicalize the name.
66 Don't create a new string if the current value is already correct.
67
242014-12-28 Paul Eggert <eggert@cs.ucla.edu> 682014-12-28 Paul Eggert <eggert@cs.ucla.edu>
25 69
26 Fix produce_composite_width typo 70 Fix produce_composite_width typo
diff --git a/src/Makefile.in b/src/Makefile.in
index e73a4054191..9bd86d54793 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -646,7 +646,7 @@ tags: TAGS ../lisp/TAGS $(lwlibdir)/TAGS
646## bootstrap-emacs$(EXEEXT) as an order-only prerequisite. 646## bootstrap-emacs$(EXEEXT) as an order-only prerequisite.
647 647
648%.elc: %.el | bootstrap-emacs$(EXEEXT) 648%.elc: %.el | bootstrap-emacs$(EXEEXT)
649 @$(MAKE) -C ../lisp compile-onefile THEFILE=$< EMACS="$(bootstrap_exe)" 649 @$(MAKE) -C ../lisp EMACS="$(bootstrap_exe)" THEFILE=$< $<c
650 650
651## VCSWITNESS points to the file that holds info about the current checkout. 651## VCSWITNESS points to the file that holds info about the current checkout.
652## We use it as a heuristic to decide when to rebuild loaddefs.el. 652## We use it as a heuristic to decide when to rebuild loaddefs.el.
diff --git a/src/fileio.c b/src/fileio.c
index b04d99809a6..0f0fd1a5c8d 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4741,8 +4741,8 @@ Optional fifth argument VISIT, if t or a string, means
4741If VISIT is a string, it is a second file name; 4741If VISIT is a string, it is a second file name;
4742 the output goes to FILENAME, but the buffer is marked as visiting VISIT. 4742 the output goes to FILENAME, but the buffer is marked as visiting VISIT.
4743 VISIT is also the file name to lock and unlock for clash detection. 4743 VISIT is also the file name to lock and unlock for clash detection.
4744If VISIT is neither t nor nil nor a string, 4744If VISIT is neither t nor nil nor a string, or if Emacs is in batch mode,
4745 that means do not display the \"Wrote file\" message. 4745 do not display the \"Wrote file\" message.
4746The optional sixth arg LOCKNAME, if non-nil, specifies the name to 4746The optional sixth arg LOCKNAME, if non-nil, specifies the name to
4747 use for locking and unlocking, overriding FILENAME and VISIT. 4747 use for locking and unlocking, overriding FILENAME and VISIT.
4748The optional seventh arg MUSTBENEW, if non-nil, insists on a check 4748The optional seventh arg MUSTBENEW, if non-nil, insists on a check
@@ -5109,7 +5109,7 @@ write_region (Lisp_Object start, Lisp_Object end, Lisp_Object filename,
5109 return Qnil; 5109 return Qnil;
5110 } 5110 }
5111 5111
5112 if (!auto_saving) 5112 if (!auto_saving && !noninteractive)
5113 message_with_string ((NUMBERP (append) 5113 message_with_string ((NUMBERP (append)
5114 ? "Updated %s" 5114 ? "Updated %s"
5115 : ! NILP (append) 5115 : ! NILP (append)
diff --git a/src/frame.c b/src/frame.c
index 13b05c6b0fd..5a0d142afbb 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3219,7 +3219,7 @@ x_set_frame_parameters (struct frame *f, Lisp_Object alist)
3219 3219
3220 if ((width_change && width != FRAME_TEXT_WIDTH (f)) 3220 if ((width_change && width != FRAME_TEXT_WIDTH (f))
3221 || (height_change && height != FRAME_TEXT_HEIGHT (f)) 3221 || (height_change && height != FRAME_TEXT_HEIGHT (f))
3222 || f->new_height || f->new_width) 3222 || (f->can_x_set_window_size && (f->new_height || f->new_width)))
3223 { 3223 {
3224 /* If necessary provide default values for HEIGHT and WIDTH. Do 3224 /* If necessary provide default values for HEIGHT and WIDTH. Do
3225 that here since otherwise a size change implied by an 3225 that here since otherwise a size change implied by an
diff --git a/src/term.c b/src/term.c
index 74879ecc3f5..48447bce5fd 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1736,7 +1736,7 @@ produce_composite_glyph (struct it *it)
1736 { 1736 {
1737 struct composition *cmp = composition_table[it->cmp_it.id]; 1737 struct composition *cmp = composition_table[it->cmp_it.id];
1738 1738
1739 it->pixel_width = cmp->pixel_width; 1739 it->pixel_width = cmp->width;
1740 } 1740 }
1741 else 1741 else
1742 { 1742 {
diff --git a/src/xterm.c b/src/xterm.c
index 88962f640d5..14d04b8f671 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9557,7 +9557,7 @@ x_set_window_size_1 (struct frame *f, bool change_gravity,
9557 x_wait_for_event (f, ConfigureNotify); 9557 x_wait_for_event (f, ConfigureNotify);
9558 else 9558 else
9559 { 9559 {
9560 change_frame_size (f, pixelwidth, pixelheight, false, true, false, true); 9560 change_frame_size (f, width, height, false, true, false, true);
9561 x_sync (f); 9561 x_sync (f);
9562 } 9562 }
9563} 9563}