Skip to content

Commit 489215d

Browse files
author
Yuuki Harano
committed
Merge branch 'master' of https://github.com/emacs-mirror/emacs into pgtk
2 parents a722c86 + 7e0a4b7 commit 489215d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1735
-2388
lines changed

ChangeLog.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@
14271427

14281428
* lisp/startup.el (command-line): Allow XDG-style as well as old
14291429
style paths.
1430-
* doc/startup.texi: Document the above change.
1430+
* doc/emacs/custom.texi: Document the above change.
14311431

14321432
2019-04-11 Eli Zaretskii <[email protected]>
14331433

INSTALL

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -215,43 +215,6 @@ eg 'emacs25'). On Red Hat-based systems, the corresponding command is
215215
'dnf builddep emacs' (on older systems, use 'yum-builddep' instead).
216216

217217

218-
DEBUGGING AN INSTALLED EMACS
219-
220-
* Installed Emacs source code
221-
222-
Emacs typically installs a compressed copy of much of its source code,
223-
to make it easy for users to read Emacs source code via commands like
224-
M-x describe-function (C-h f) to display the definition of a function.
225-
This compressed copy ordinarily includes both the Elisp source code
226-
that Emacs is mostly written in, as well as the C source code for the
227-
core Emacs executable.
228-
229-
* GNU/Linux source and debug packages
230-
231-
Many GNU/Linux systems provide separate packages containing the
232-
sources and debug symbols of Emacs. They can help you debug the
233-
installed Emacs on the C level. The procedures for installing these
234-
packages depend on the GNU/Linux system that you use.
235-
236-
Emacs debugging symbols are distributed by a debug package if one
237-
exists for your system. On Debian-based systems, you can
238-
install a debug package of Emacs with a command like 'apt-get install
239-
emacs-dbg' (on older systems, replace 'emacs' with e.g. 'emacs25').
240-
On Red Hat-based systems, the corresponding command is 'dnf
241-
debuginfo-install emacs'; this may require adding the *-debuginfo
242-
repositories first, via 'dnf config-manager --set-enabled
243-
fedora-debuginfo updates-debuginfo'.
244-
245-
Some systems also have an Emacs source package that is also helpful
246-
when debugging the installed Emacs. To unpack an Emacs source package
247-
into the current directory on Debian-based systems, you can use a
248-
command like 'apt-get source emacs' (on older systems, replace 'emacs'
249-
with e.g. 'emacs25'); you may first need to add the appropriate
250-
'source' URIs to your sources.list. On Red Hat-based systems,
251-
installing the debugging symbols automatically installs the
252-
corresponding source package in the appropriate location.
253-
254-
255218
DETAILED BUILDING AND INSTALLATION:
256219

257220
(This is for a Unix or Unix-like system. For GNUstep and macOS,

Makefile.in

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,6 @@ etcdir=@etcdir@
269269
# once.
270270
archlibdir=@archlibdir@
271271

272-
# Where to install Emacs C source code, or empty if it is not installed.
273-
emacs_srcdir=@emacs_srcdir@
274-
275272
# Where to put the etc/DOC file.
276273
etcdocdir=@etcdocdir@
277274

@@ -384,7 +381,6 @@ epaths-force:
384381
-e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \
385382
-e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \
386383
-e 's;\(#.*PATH_GAME\).*$$;\1 $(PATH_GAME);' \
387-
-e 's;\(#.*PATH_EMACS_SOURCE\).*$$;\1 "${emacs_srcdir}";' \
388384
-e 's;\(#.*PATH_DOC\).*$$;\1 "${etcdocdir}";') && \
389385
${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h
390386

@@ -472,7 +468,7 @@ $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/m4/*.m4
472468
# ==================== Installation ====================
473469

474470
.PHONY: install install-arch-dep install-arch-indep install-etcdoc install-info
475-
.PHONY: install-man install-c-src install-etc install-strip install-$(NTDIR)
471+
.PHONY: install-man install-etc install-strip install-$(NTDIR)
476472
.PHONY: uninstall uninstall-$(NTDIR)
477473

478474
## If we let lib-src do its own installation, that means we
@@ -579,8 +575,7 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
579575
## work correctly, and therefore no idea when tar can be replaced.
580576
## See also these comments from 2004 about cp -r working fine:
581577
## https://lists.gnu.org/r/autoconf-patches/2004-11/msg00005.html
582-
install-arch-indep: lisp install-info install-man install-c-src \
583-
$(INSTALL_ARCH_INDEP_EXTRA)
578+
install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
584579
umask 022 && $(MKDIR_P) "$(DESTDIR)$(includedir)"
585580
$(INSTALL_DATA) src/emacs-module.h "$(DESTDIR)$(includedir)/emacs-module.h"
586581
-set ${COPYDESTS} ; \
@@ -712,28 +707,6 @@ install-man:
712707
${GZIP_PROG} -9n "$(DESTDIR)${man1dir}/$${dest}" || true; \
713708
done
714709

715-
install-c-src:
716-
ifneq (,$(emacs_srcdir))
717-
-unset CDPATH; \
718-
umask 022; $(MKDIR_P) "$(DESTDIR)$(emacs_srcdir)/src" && \
719-
exp_sourcesrcdir=`cd "$(DESTDIR)$(emacs_srcdir)/src" && /bin/pwd` && \
720-
[ "`cd $(srcdir)/src && /bin/pwd`" = "$$exp_sourcesrcdir" ] || { \
721-
$(set_installuser); \
722-
printf 'Copying compressed C sources to %s ...\n' \
723-
"$(DESTDIR)$(emacs_srcdir)/src"; \
724-
for file in `cd $(srcdir) && echo src/*.[cm]`; do \
725-
installed_file="$(DESTDIR)$(emacs_srcdir)/$$file" && \
726-
$(INSTALL_DATA) "$$file" "$$installed_file" && \
727-
[ -z "$(GZIP_PROG)" ] || { \
728-
rm -f "$$installed_file.gz" && \
729-
$(GZIP_PROG) -9n "$$installed_file" && \
730-
installed_file=$$installed_file.gz; \
731-
} || exit; \
732-
chown $$installuser "$$installed_file" || true; \
733-
done; \
734-
}
735-
endif
736-
737710
## Install those items from etc/ that need to end up elsewhere.
738711

739712
## If you prefer, choose "emacs22" at installation time.

admin/authors.el

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ files.")
206206
("Yoni Rabkin" "Yoni Rabkin Katzenell")
207207
("Yoshinori Koseki" "KOSEKI Yoshinori" "小関 吉則")
208208
("Yutaka NIIBE" "NIIBE Yutaka")
209+
(nil "stardiviner")
209210
)
210211
"Alist of author aliases.
211212
@@ -440,6 +441,24 @@ Changes to files matching one of the regexps in this list are not listed.")
440441
"nt/subdirs.el"
441442
"config.nt"
442443
"nextstep/WISHLIST"
444+
;; Removed, replaced by gitmerge.el
445+
"admin/bzrmerge.el"
446+
;; Removed in commit f5090b91299
447+
"lib/fdatasync.c"
448+
;; Removed as obsolete
449+
"nt/README-ftp-server"
450+
"admin/notes/font-backend"
451+
"gnus-overrides.texi"
452+
"CENSORSHIP"
453+
"GNU"
454+
"LINUX-GNU"
455+
"THE-GNU-PROJECT"
456+
"WHY-FREE"
457+
"MORE.STUFF"
458+
"notes/font-backend"
459+
;; ada-mode has been deleted, now in GNU ELPA
460+
"ada-mode.texi"
461+
"GNUS-NEWS"
443462
)
444463
"List of files and directories to ignore.
445464
Changes to files in this list are not listed.")
@@ -752,6 +771,9 @@ Changes to files in this list are not listed.")
752771
"org-mac-message.el" "org-mew.el" "org-w3m.el" "org-vm.el" "org-wl.el"
753772
"org-mks.el" "org-remember.el" "org-xoxo.el" "org-docbook.el"
754773
"org-freemind.el" "ox-jsinfo.el"
774+
"org-irc.el" "org-rmail.el" "org-docview.el" "org-keys.el" "org-mhe.el"
775+
"org-gnus.el" "org-bibtex.el" "org-bbdb.el" "org-info.el" "org-eshell.el"
776+
"ob-keys.el"
755777
"org-exp-blocks.el" ; maybe this is ob-exp now? dunno
756778
"org-lparse.el"
757779
"org-special-blocks.el" "org-taskjuggler.el"
@@ -1076,6 +1098,11 @@ in the repository.")
10761098
("src/module.c" . "src/emacs-module.c")
10771099
;; gnulib
10781100
("lib/strftime.c" . "lib/nstrftime.c")
1101+
("test/src/regex-tests.el" . "test/src/regex-emacs-tests.el")
1102+
("test/lisp/emacs-lisp/cl-tests.el" . "test/lisp/obsolete/cl-tests.el")
1103+
("lisp/net/starttls.el" . "lisp/obsolete/starttls.el")
1104+
("url-ns.el" . "lisp/obsolete/url-ns.el")
1105+
("gnus-news.texi" . "doc/misc/gnus.texi")
10791106
)
10801107
"Alist of files which have been renamed during their lifetime.
10811108
Elements are (OLDNAME . NEWNAME).")

configure.ac

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ locallisppath='${datadir}/emacs/${version}/site-lisp:'\
194194
lisppath='${locallisppath}:${standardlisppath}'
195195
etcdir='${datadir}/emacs/${version}/etc'
196196
archlibdir='${libexecdir}/emacs/${version}/${configuration}'
197-
emacs_srcdir='${datadir}/emacs/${version}'
198197
etcdocdir='${datadir}/emacs/${version}/etc'
199198
gamedir='${localstatedir}/games/emacs'
200199

@@ -462,7 +461,7 @@ OPTION_DEFAULT_ON([gsettings],[don't compile with GSettings support])
462461
OPTION_DEFAULT_ON([selinux],[don't compile with SELinux support])
463462
OPTION_DEFAULT_ON([gnutls],[don't use -lgnutls for SSL/TLS support])
464463
OPTION_DEFAULT_ON([zlib],[don't compile with zlib decompression support])
465-
OPTION_DEFAULT_ON([modules],[compile with dynamic modules support])
464+
OPTION_DEFAULT_ON([modules],[don't compile with dynamic modules support])
466465
OPTION_DEFAULT_ON([threads],[don't compile with elisp threading support])
467466

468467
AC_ARG_WITH([file-notification],[AS_HELP_STRING([--with-file-notification=LIB],
@@ -541,15 +540,6 @@ elif test "${enableval}" != "yes"; then
541540
locallisppath=${enableval} locallisppathset=yes
542541
fi)
543542

544-
AC_ARG_ENABLE([install-srcdir],
545-
[AS_HELP_STRING([--disable-install-srcdir],
546-
[do not install low-level Emacs source code useful for debugging.])],
547-
[case $enableval in
548-
yes) ;;
549-
no) emacs_srcdir=;;
550-
*) AC_MSG_ERROR([invalid install-srcdir]);;
551-
esac])
552-
553543
AC_ARG_ENABLE(checking,
554544
[AS_HELP_STRING([--enable-checking@<:@=LIST@:>@],
555545
[enable expensive checks. With LIST,
@@ -2060,9 +2050,6 @@ if test "${HAVE_NS}" = yes; then
20602050
dnl This one isn't really used, only archlibdir is.
20612051
libexecdir="\${ns_appbindir}/libexec"
20622052
archlibdir="\${ns_appbindir}/libexec"
2063-
case $emacs_srcdir in
2064-
?*) emacs_srcdir="\${ns_appresdir}";;
2065-
esac
20662053
etcdocdir="\${ns_appresdir}/etc"
20672054
etcdir="\${ns_appresdir}/etc"
20682055
dnl FIXME maybe set datarootdir instead.
@@ -5313,7 +5300,6 @@ AC_SUBST(lisppath)
53135300
AC_SUBST(x_default_search_path)
53145301
AC_SUBST(etcdir)
53155302
AC_SUBST(archlibdir)
5316-
AC_SUBST([emacs_srcdir])
53175303
AC_SUBST(etcdocdir)
53185304
AC_SUBST(bitmapdir)
53195305
AC_SUBST(gamedir)
@@ -5839,9 +5825,9 @@ case $opsys,$emacs_uname_r in
58395825
AC_MSG_WARN([[building Emacs on Cygwin 1.5 is not supported.]])
58405826
echo
58415827
;;
5842-
cygwin,3.0.[[0-7]]'('*)
5828+
cygwin,3.0.[[0-7]]'('* | cygwin,3.1.[[0-2]]'('*)
58435829
AC_DEFINE([HAVE_CYGWIN_O_PATH_BUG], 1,
5844-
[Define to 1 if opening a FIFO with O_PATH causes a hang.]);;
5830+
[Define to 1 if opening a FIFO, socket, or symlink with O_PATH is buggy.]);;
58455831
esac
58465832

58475833
# Remove any trailing slashes in these variables.

doc/emacs/help.texi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,11 @@ is @key{ESC}, because @kbd{@key{ESC} C-h} is actually @kbd{C-M-h},
601601
which marks a defun. However, @w{@kbd{@key{ESC} @key{F1}}} and
602602
@w{@kbd{@key{ESC} ?}} work fine.)
603603

604+
@findex describe-keymap
605+
Finally, @kbd{M-x describe-keymap} prompts for the name of a keymap,
606+
with completion, and displays a listing of all key bindings in that
607+
keymap.
608+
604609
@node Help Files
605610
@section Help Files
606611

doc/emacs/m-x.texi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ number, in which case Emacs will show the binding for that many
7272
seconds before removing it from display. The default behavior is to
7373
display the binding for 2 seconds.
7474

75+
Additionally, when @code{suggest-key-bindings} is non-@code{nil}, the
76+
completion list of @kbd{M-x} shows equivalent key bindings for all
77+
commands that have them.
78+
7579
@vindex extended-command-suggest-shorter
7680
Commands that don't have key bindings, can still be invoked after
7781
typing less than their full name at the @samp{M-x} prompt. Emacs

doc/emacs/package.texi

Lines changed: 42 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -151,27 +151,6 @@ Refresh the package list (@code{revert-buffer}). This fetches the
151151
list of available packages from the package archive again, and
152152
redisplays the package list.
153153

154-
@item / k
155-
@kindex / k @r{(Package Menu)}
156-
@findex package-menu-filter-by-keyword
157-
Filter the package list by keyword
158-
(@code{package-menu-filter-by-keyword}). This prompts for a keyword
159-
(e.g., @samp{games}), then shows only the packages that relate to that
160-
keyword.
161-
162-
@item / n
163-
@kindex / n @r{(Package Menu)}
164-
@findex package-menu-filter-by-name
165-
Filter the package list by name (@code{package-menu-filter-by-name}).
166-
This prompts for a string, then shows only the packages whose names
167-
match a regexp with that value.
168-
169-
@item / /
170-
@kindex / / @r{(Package Menu)}
171-
@findex package-menu-clear-filter
172-
Clear filter currently applied to the package list
173-
(@code{package-menu-clear-filter}).
174-
175154
@item H
176155
@kindex H @r{(Package Menu)}
177156
@findex package-menu-hide-package
@@ -183,6 +162,48 @@ Permanently hide packages that match a regexp
183162
@findex package-menu-toggle-hiding
184163
Toggle visibility of old versions of packages and also of versions
185164
from lower-priority archives (@code{package-menu-toggle-hiding}).
165+
166+
@item / a
167+
@kindex / a @r{(Package Menu)}
168+
@findex package-menu-filter-by-archive
169+
Filter package list by archive (@code{package-menu-filter-by-archive}).
170+
This prompts for a package archive (e.g., @samp{gnu}), then shows only
171+
packages from that archive.
172+
173+
@item / k
174+
@kindex / k @r{(Package Menu)}
175+
@findex package-menu-filter-by-keyword
176+
Filter package list by keyword (@code{package-menu-filter-by-keyword}).
177+
This prompts for a keyword (e.g., @samp{games}), then shows only
178+
packages with that keyword.
179+
180+
@item / n
181+
@kindex / n @r{(Package Menu)}
182+
@findex package-menu-filter-by-name
183+
Filter package list by name (@code{package-menu-filter-by-name}).
184+
This prompts for a regular expression, then shows only packages
185+
with names matching that regexp.
186+
187+
@item / s
188+
@kindex / s @r{(Package Menu)}
189+
@findex package-menu-filter-by-status
190+
Filter package list by status (@code{package-menu-filter-by-status}).
191+
This prompts for one or more statuses (e.g., @samp{available}), then
192+
shows only packages with matching status.
193+
194+
@item / v
195+
@kindex / v @r{(Package Menu)}
196+
@findex package-menu-filter-by-version
197+
Filter package list by version (@code{package-menu-filter-by-version}).
198+
This prompts first for one of the qualifiers @samp{<}, @samp{>} or
199+
@samp{=}, and then a package version, and shows packages that has a
200+
lower, equal or higher version than the one specified.
201+
202+
@item / /
203+
@kindex / / @r{(Package Menu)}
204+
@findex package-menu-filter-clear
205+
Clear filter currently applied to the package list
206+
(@code{package-menu-filter-clear}).
186207
@end table
187208

188209
@noindent

doc/lispref/keymaps.texi

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,11 @@ local map.
18461846
@cindex scanning keymaps
18471847
@cindex keymaps, scanning
18481848

1849-
This section describes functions used to scan all the current keymaps
1850-
for the sake of printing help information.
1849+
This section describes functions used to scan all the current
1850+
keymaps for the sake of printing help information. To display the
1851+
bindings in a particular keymap, you can use the
1852+
@code{describe-keymap} command (@pxref{Misc Help, , Other Help
1853+
Commands, emacs, The GNU Emacs Manual})
18511854

18521855
@defun accessible-keymaps keymap &optional prefix
18531856
This function returns a list of all the keymaps that can be reached (via

doc/lispref/numbers.texi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ numbers have a fixed amount of precision.
3939
Under the hood, though, there are two kinds of integers: smaller
4040
ones, called @dfn{fixnums}, and larger ones, called @dfn{bignums}.
4141
Some functions in Emacs accept only fixnums. Also, while fixnums can
42-
always be compared for numeric equality with @code{eq}, bignums
43-
require more-heavyweight equality predicates like @code{eql}.
42+
be compared for numeric equality with @code{eq}, bignums require
43+
more-heavyweight equality predicates like @code{eql} and @code{=}.
4444

4545
The range of values for bignums is limited by the amount of main
4646
memory, by machine characteristics such as the size of the word used

0 commit comments

Comments
 (0)