]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years ago* src/pdumper.c (MAP_ANONYMOUS): Fix build on older than macOS 10.11
Charles A. Roelli [Fri, 28 Sep 2018 20:31:55 +0000 (16:31 -0400)]
* src/pdumper.c (MAP_ANONYMOUS): Fix build on older than macOS 10.11

6 years agoCopy pdmp file to Emacs.app
Alan Third [Sat, 31 Mar 2018 09:49:59 +0000 (10:49 +0100)]
Copy pdmp file to Emacs.app

* nextstep/Makefile.in: Handle emacs.pdmp file.

6 years agoMerge remote-tracking branch 'origin/master' into pdumper
Daniel Colascione [Sun, 4 Mar 2018 00:55:26 +0000 (16:55 -0800)]
Merge remote-tracking branch 'origin/master' into pdumper

6 years agoAdd missing findex entries for recently removed kindex entries
Bill Wohler [Sat, 3 Mar 2018 23:57:43 +0000 (15:57 -0800)]
Add missing findex entries for recently removed kindex entries

* doc/misc/mh-e.texi:

6 years ago* lisp/isearch.el (search-exit-option): Add options ‘shift-move’ and ‘move’.
Juri Linkov [Sat, 3 Mar 2018 22:33:30 +0000 (00:33 +0200)]
* lisp/isearch.el (search-exit-option): Add options ‘shift-move’ and ‘move’.

Change type from ‘boolean’ to ‘choice’.  Extend docstring.
(isearch-pre-move-point): New variable.
(isearch-pre-command-hook, isearch-post-command-hook):
Handle search-exit-option for values ‘move’ and ‘shift-move’.

* doc/emacs/search.texi (Not Exiting Isearch): Document new
values ‘shift-move’ and ‘move’ of search-exit-option.

https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00013.html

6 years agoQuieten gud.el and gdb-mi.el compilation
Glenn Morris [Sat, 3 Mar 2018 18:36:48 +0000 (10:36 -0800)]
Quieten gud.el and gdb-mi.el compilation

* lisp/progmodes/gud.el (gud-gdb):
* lisp/progmodes/gdb-mi.el (gdb):
Suppress "unused lexical argument" warning.

6 years agoImprove commentary in simple,el
Eli Zaretskii [Sat, 3 Mar 2018 12:54:15 +0000 (14:54 +0200)]
Improve commentary in simple,el

* lisp/simple.el (next-error-last-buffer): Improve commentary.
(Bug#20489)

6 years agoFix font-lock in perl-mode
Evgeni Kolev [Sat, 3 Mar 2018 11:07:26 +0000 (13:07 +0200)]
Fix font-lock in perl-mode

* lisp/progmodes/perl-mode.el (perl-font-lock-keywords-1): Prevent
the regexp from matching keywords if they start with a Perl sigil.
(Bug#30549)

6 years agoQuieten eshell compilation
Glenn Morris [Sat, 3 Mar 2018 03:33:24 +0000 (19:33 -0800)]
Quieten eshell compilation

* lisp/eshell/em-dirs.el (eshell-dirs-initialize, eshell/pwd):
* lisp/eshell/em-script.el (eshell-script-initialize):
* lisp/eshell/em-unix.el (eshell/whoami):
* lisp/eshell/esh-proc.el (eshell/jobs): Mark unused arguments.

6 years ago* lisp/gnus/gnus.el (image-load-path): Declare for without-x builds.
Glenn Morris [Fri, 2 Mar 2018 21:06:32 +0000 (16:06 -0500)]
* lisp/gnus/gnus.el (image-load-path): Declare for without-x builds.

6 years agoMerge from origin/emacs-26
Glenn Morris [Fri, 2 Mar 2018 19:59:46 +0000 (11:59 -0800)]
Merge from origin/emacs-26

0213c8b (origin/emacs-26) mwheel minor consistency fix
82f12b2 * src/window.c (Frecenter): Improve commentary.
04da8f4 Fix downloading non-text files in EWW
832b9ec ; Spelling fixes
dd88499 ; Spelling fixes
3968f72 Rename some mwheel options, for consistency
d6e78de * lisp/vc/add-log.el (add-change-log-entry): Replace obsolete...
5fe0387 Improve the Emacs manual
56ab8e3 * lisp/dired-aux.el (dired-do-create-files): Doc fix.  (Bug#3...

Conflicts:
etc/NEWS
lisp/mwheel.el

6 years ago; Merge from origin/emacs-26
Glenn Morris [Fri, 2 Mar 2018 19:54:10 +0000 (11:54 -0800)]
; Merge from origin/emacs-26

The following commit was skipped:

dde91a3 ; Auto-commit of loaddefs files.

6 years agoMerge from origin/emacs-26
Glenn Morris [Fri, 2 Mar 2018 19:54:10 +0000 (11:54 -0800)]
Merge from origin/emacs-26

304278c Further improvements on manuals

6 years ago; Merge from origin/emacs-26
Glenn Morris [Fri, 2 Mar 2018 19:54:10 +0000 (11:54 -0800)]
; Merge from origin/emacs-26

The following commit was skipped:

ca8afa7 Require a larger stack size for threads on macOS (bug#30364)

6 years agomwheel minor consistency fix
Glenn Morris [Fri, 2 Mar 2018 19:53:06 +0000 (14:53 -0500)]
mwheel minor consistency fix

* lisp/mwheel.el (mwheel-scroll-left-function)
(mwheel-scroll-right-function):
Change from defcustom to defvar, for consistency with pre-existing.

6 years ago* src/window.c (Frecenter): Improve commentary.
Eli Zaretskii [Fri, 2 Mar 2018 09:24:24 +0000 (11:24 +0200)]
* src/window.c (Frecenter): Improve commentary.

6 years agoFix downloading non-text files in EWW
Eli Zaretskii [Fri, 2 Mar 2018 08:44:44 +0000 (10:44 +0200)]
Fix downloading non-text files in EWW

* lisp/net/eww.el (eww-download-callback): Bind
coding-system-for-read to 'no-conversion', to avoid any code- or
EOL-conversions in downloaded files.  (Bug#30664)

6 years ago; lisp/emacs-lisp/eieio.el (eieio-object-set-name-string): Fix quote.
Noam Postavsky [Fri, 2 Mar 2018 03:04:57 +0000 (22:04 -0500)]
; lisp/emacs-lisp/eieio.el (eieio-object-set-name-string): Fix quote.

6 years agoFix issues turned up by previous python.el change
Noam Postavsky [Fri, 2 Mar 2018 02:52:27 +0000 (21:52 -0500)]
Fix issues turned up by previous python.el change

See [1] for more discussion.
* lisp/progmodes/python.el (python--prettify-symbols-alist): Define
the obsolete alias before the variable proper, so that we correctly
get the user's settings regardless of which name they set.
(python-nav-end-of-statement): Add missing backslash.
(python-shell-send-file): Call `expand-file-name' before
`file-local-name', the expansion of "~" could be different on remote
filenames.
(python-mode): Declare prettify-symbols-alist instead of checking if
it's bound.  Use the non-obsolete python-prettify-symbols-alist name,
rather than checking if the obsolete name is bound (it always is too,
but the Emacs 24 byte compiler doesn't recognize that
define-obsolete-variable-alias defines a variable).

[1]: https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00826.html

6 years ago; Spelling fixes
Paul Eggert [Fri, 2 Mar 2018 02:43:07 +0000 (18:43 -0800)]
; Spelling fixes

6 years ago; Spelling fixes
Paul Eggert [Fri, 2 Mar 2018 02:34:17 +0000 (18:34 -0800)]
; Spelling fixes

6 years ago* admin/automerge: Quieten initial reset.
Glenn Morris [Fri, 2 Mar 2018 02:19:12 +0000 (21:19 -0500)]
* admin/automerge: Quieten initial reset.

6 years agoArrange for loaddefs files to be greppable
Paul Eggert [Fri, 2 Mar 2018 01:58:26 +0000 (17:58 -0800)]
Arrange for loaddefs files to be greppable

Without this change, ldefs-boot.el contains a couple of stray NUL
bytes, which cause it to be considered to be a non-text file by
tools like GNU grep.
* lisp/emacs-lisp/autoload.el (autoload-print-form):
Set print-escape-control-characters to t.

6 years agoImprove octal-escape output in bool vectors and strings
Paul Eggert [Fri, 2 Mar 2018 01:58:26 +0000 (17:58 -0800)]
Improve octal-escape output in bool vectors and strings

* src/print.c (octalout): New function.
(print_vectorlike): When printing bool vectors, use
octal escapes for control characters when
print-escape-control-characters is non-nil, so that
the printed representation avoids encoding issues.
Rename locals to avoid byte-vs-char confusion.
(print_object): Don't output unnecessary zeros when
printing octal escapes.  Simplify by using octalout.

6 years agoRename some mwheel options, for consistency
Tak Kunihiro [Fri, 2 Mar 2018 01:44:22 +0000 (20:44 -0500)]
Rename some mwheel options, for consistency

* lisp/mwheel.el (mouse-wheel-tilt-scroll)
(mouse-wheel-flip-direction): Rename from mwheel-tilt-scroll-p,
mwheel-flip-direction.
(mwheel-scroll): Update for option renaming.
* doc/emacs/frames.texi (Mouse Commands):
Update for option renaming.

6 years agoQuieten nnir.el compilation
Glenn Morris [Fri, 2 Mar 2018 01:32:22 +0000 (20:32 -0500)]
Quieten nnir.el compilation

* lisp/gnus/nnir.el (gnus-inhibit-demon, gnus-article-decode-hook):
Declare dynamic variables.
(nnir-request-group, nnir-retrieve-headers)
(nnir-request-move-article, nnir-request-update-mark)
(nnir-run-swish++, nnir-run-swish-e, nnir-run-namazu)
(nnir-run-notmuch, nnir-registry-action)
(nnir-request-create-group, nnir-request-delete-group)
(nnir-request-list, nnir-request-scan): Mark unused arguments.
(nnir-warp-to-article, nnir-run-imap, nnir-run-gmane)
(nnir-get-active): Remove unused local variables.

6 years ago* lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler.
Glenn Morris [Fri, 2 Mar 2018 01:29:23 +0000 (20:29 -0500)]
* lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler.

6 years agoQuieten url-auth.el compilation
Glenn Morris [Fri, 2 Mar 2018 01:28:34 +0000 (20:28 -0500)]
Quieten url-auth.el compilation

* lisp/url/url-auth.el (url-digest-auth-nonce-count):
Mark unused argument.

6 years agoQuieten ses.el compilation
Glenn Morris [Fri, 2 Mar 2018 01:28:03 +0000 (20:28 -0500)]
Quieten ses.el compilation

* lisp/ses.el (ses--edit-cell-completion-at-point-function)
(ses--read-printer-completion-at-point-function):
Mark unused arguments.

6 years agomake-docfile: minor fixes and cleanups
Paul Eggert [Fri, 2 Mar 2018 00:24:41 +0000 (16:24 -0800)]
make-docfile: minor fixes and cleanups

* lib-src/make-docfile.c: Include c-ctype.h.
(read_c_string_or_comment, write_c_args, scan_c_stream, skip_white)
(read_lisp_symbol, scan_lisp_file):
Prefer c_isspace etc. to listing characters by hand.
(read_c_string_or_comment): Simplify.
(scan_c_stream, read_lisp_symbol): Use true for boolean 1.
(scan_c_stream): Fix typo (c >= 'Z' && c <= 'Z').
Minor rewrites to avoid duplicate code.
(scan_c_stream, read_lisp_symbol, scan_lisp_file):
Avoid infloop if at EOF.
(skip_white, read_lisp_symbol): Don’t stuff getc result into
‘char’, as this mishandles EOF.

6 years ago* lisp/vc/add-log.el (add-change-log-entry): Replace obsolete alias.
Glenn Morris [Thu, 1 Mar 2018 22:48:21 +0000 (17:48 -0500)]
* lisp/vc/add-log.el (add-change-log-entry): Replace obsolete alias.

6 years ago* lisp/emulation/viper-ex.el (ex-cmd-read-exit): Silence compiler.
Glenn Morris [Thu, 1 Mar 2018 22:37:10 +0000 (17:37 -0500)]
* lisp/emulation/viper-ex.el (ex-cmd-read-exit): Silence compiler.

6 years agoQuieten defun-mh compilation
Glenn Morris [Thu, 1 Mar 2018 18:11:29 +0000 (13:11 -0500)]
Quieten defun-mh compilation

* lisp/mh-e/mh-acros.el (defun-mh):
Rewrite so the compiler can see it always defines target function.

6 years agoQuieten mh-compat compilation
Glenn Morris [Thu, 1 Mar 2018 18:10:37 +0000 (13:10 -0500)]
Quieten mh-compat compilation

* lisp/mh-e/mh-compat.el (mh-assoc-string)
(mh-replace-regexp-in-string): Silence compiler warnings.

6 years agoSimplify mh-thread-set-tables
Glenn Morris [Thu, 1 Mar 2018 18:08:47 +0000 (13:08 -0500)]
Simplify mh-thread-set-tables

* lisp/mh-e/mh-thread.el (mh-thread-set-tables):
Rewrite to simplify and remove compiler warning.

6 years agoUse select-message-coding-system in mh-comp
Glenn Morris [Thu, 1 Mar 2018 18:07:42 +0000 (13:07 -0500)]
Use select-message-coding-system in mh-comp

* lisp/mh-e/mh-comp.el (mh-send-letter):
Use select-message-coding-system.  (Bug#30060)

6 years agoImprove the Emacs manual
Eli Zaretskii [Thu, 1 Mar 2018 15:51:25 +0000 (17:51 +0200)]
Improve the Emacs manual

* doc/emacs/xresources.texi (Table of Resources): Mention that
some resources are ignored by toolkit builds.
* doc/emacs/custom.texi (Key Bindings): Improve indexing.
(Bug#30530)

6 years ago* lisp/dired-aux.el (dired-do-create-files): Doc fix. (Bug#30634)
Eli Zaretskii [Thu, 1 Mar 2018 15:31:21 +0000 (17:31 +0200)]
* lisp/dired-aux.el (dired-do-create-files): Doc fix.  (Bug#30634)

6 years agoRemove redundant test in fns.c
Eli Zaretskii [Thu, 1 Mar 2018 15:20:32 +0000 (17:20 +0200)]
Remove redundant test in fns.c

* src/fns.c (extract_data_from_object): Remove redundant
CHECK_BUFFER test.

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Mar 2018 12:29:26 +0000 (07:29 -0500)]
; Auto-commit of loaddefs files.

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Mar 2018 11:26:08 +0000 (06:26 -0500)]
; Auto-commit of loaddefs files.

6 years agoFurther improvements on manuals
Michael Albinus [Thu, 1 Mar 2018 08:25:55 +0000 (09:25 +0100)]
Further improvements on manuals

* doc/emacs/xresources.texi:
* doc/lispref/display.texi:
* doc/lispref/keymaps.texi:
* doc/misc/dbus.texi:
* doc/misc/efaq-w32.texi: Use "GTK+" where applicable.

* doc/emacs/xresources.texi (Resources): Mention several use
of "-xrm".
(Table of Resources) [verticalScrollBars]: Add reference to Scroll Bars.

6 years agoRequire a larger stack size for threads on macOS (bug#30364)
Paul Eggert [Thu, 1 Mar 2018 00:27:06 +0000 (16:27 -0800)]
Require a larger stack size for threads on macOS (bug#30364)

* src/systhread.c (sys_thread_create)
[THREADS_ENABLED && HAVE_PTHREAD && DARWIN_OS]:
Require at least 8MB stack size for x64 and 4MB for x86 on macOS.
Do not merge to master.

6 years agoQuieten without-x org compilation
Glenn Morris [Wed, 28 Feb 2018 21:55:41 +0000 (16:55 -0500)]
Quieten without-x org compilation

* lisp/org/org.el (image-refresh):
* lisp/org/ox-odt.el (clear-image-cache, image-size): Declare.

6 years agoQuieten compilation of octave.el
Glenn Morris [Wed, 28 Feb 2018 20:50:37 +0000 (15:50 -0500)]
Quieten compilation of octave.el

* lisp/progmodes/octave.el (compilation-forget-errors): Re-declare.

6 years ago* configure.ac (with_gconf): Respect --without-all.
Glenn Morris [Wed, 28 Feb 2018 20:20:42 +0000 (15:20 -0500)]
* configure.ac (with_gconf): Respect --without-all.

6 years agoQuieten eshell compilation
Glenn Morris [Wed, 28 Feb 2018 19:35:56 +0000 (14:35 -0500)]
Quieten eshell compilation

* lisp/eshell/em-tramp.el: Require esh-cmd.
* lisp/eshell/esh-ext.el: Requie esh-io at runtime too.

6 years ago* lisp/url/url-handlers.el (mm-charset-to-coding-system): Declare.
Glenn Morris [Wed, 28 Feb 2018 19:35:47 +0000 (14:35 -0500)]
* lisp/url/url-handlers.el (mm-charset-to-coding-system): Declare.

6 years ago; Remove debug code left in previous by mistake
Glenn Morris [Wed, 28 Feb 2018 18:55:53 +0000 (13:55 -0500)]
; Remove debug code left in previous by mistake

6 years agoFix header comment in generated bovine grammar file
Glenn Morris [Wed, 28 Feb 2018 18:44:12 +0000 (13:44 -0500)]
Fix header comment in generated bovine grammar file

* lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
Fix header comment in generated scm-by.el.

6 years agoQuieten cedet "might not be defined at runtime" compile warnings
Glenn Morris [Wed, 28 Feb 2018 18:39:52 +0000 (13:39 -0500)]
Quieten cedet "might not be defined at runtime" compile warnings

* admin/grammars/scheme.by (semantic-parse-region):
* lisp/cedet/ede.el (ede--project-inode):
* lisp/cedet/semantic/texi.el (semantic-analyze-context):
Declare.

6 years agoMerge from origin/emacs-26
Glenn Morris [Wed, 28 Feb 2018 17:40:40 +0000 (09:40 -0800)]
Merge from origin/emacs-26

fd50238 (origin/emacs-26) * doc/lispref/streams.texi (Output Variable...
769ea57 Use "GTK+" where applicable in the manual
5e69219 Document print-escape-control-characters
c00fea9 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
a2ab0d0 * doc/emacs/killing.texi (Rectangles): Don't use @key for cha...
6288c3d * lisp/emulation/viper.el: Unbreak it.
bf3535e More fixes in the Emacs manual
c87d04e Avoid aborts in 'md5'
9743f48 Mark keys consistently in manuals
ce557a9 Remove @key{} markups from @kindex entries in manuals
71243f0 * doc/emacs/display.texi (Standard Faces): Fix markup of inde...
7a069f3 Fix @kindex entries in manuals
6218933 Fix @cindex entries in manuals
57c9f12 Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into...
e415309 Fix @cindex entries in org.texi
560a23e Document reserved keys
105d085 * doc/misc/ebrowse.texi: Use @key{} for keys.

Conflicts:
doc/misc/tramp.texi
etc/NEWS

6 years ago* doc/lispref/streams.texi (Output Variables): Fix previous.
Glenn Morris [Wed, 28 Feb 2018 17:35:44 +0000 (12:35 -0500)]
* doc/lispref/streams.texi (Output Variables): Fix previous.

6 years agoUse "GTK+" where applicable in the manual
Michael Albinus [Wed, 28 Feb 2018 15:28:11 +0000 (16:28 +0100)]
Use "GTK+" where applicable in the manual

* doc/emacs/display.texi (Standard Faces, Standard Faces):
* doc/emacs/emacs.texi (Top):
* doc/emacs/files.texi (Visiting):
* doc/emacs/frames.texi (Scroll Bars):
* doc/emacs/xresources.texi: Use "GTK+" where applicable.

6 years agoSome minor Tramp tweaks
Michael Albinus [Wed, 28 Feb 2018 14:10:11 +0000 (15:10 +0100)]
Some minor Tramp tweaks

* lisp/net/tramp-adb.el (tramp-adb-get-ls-command): Fix docstring.

* lisp/net/tramp-sh.el (tramp-vc-registered-read-file-names):
Quote file.

* lisp/net/tramp.el (tramp-handle-substitute-in-file-name):
Make it more robust.

6 years agoSupport PREDICATE in ido-read-buffer
Dmitry Gutov [Wed, 28 Feb 2018 13:43:40 +0000 (15:43 +0200)]
Support PREDICATE in ido-read-buffer

* lisp/ido.el (ido-predicate): New variable.
(ido-read-buffer): Bind it.
(ido-make-buffer-list): Use it.

6 years agoDocument print-escape-control-characters
Paul Eggert [Wed, 28 Feb 2018 04:13:00 +0000 (20:13 -0800)]
Document print-escape-control-characters

* doc/lispref/streams.texi, etc/NEWS: Add doc.

6 years agoxref--next-error-function: Move xref's window point
Dmitry Gutov [Wed, 28 Feb 2018 02:03:16 +0000 (04:03 +0200)]
xref--next-error-function: Move xref's window point

* lisp/progmodes/xref.el (xref--next-error-function): Move
xref's window point if it's visible.  When we don't do that,
navigation can start looping after a while.

6 years agoFix xref--next-error-function behavior WRT current buffer
Dmitry Gutov [Wed, 28 Feb 2018 01:38:37 +0000 (03:38 +0200)]
Fix xref--next-error-function behavior WRT current buffer

* lisp/progmodes/xref.el (xref--show-location): Make sure to
make the target window selected at the end, and its buffer
current (bug#20489).

6 years ago* lisp/gnus/mm-decode.el: Use lexical-binding and use cl-lib
Stefan Monnier [Wed, 28 Feb 2018 01:47:23 +0000 (20:47 -0500)]
* lisp/gnus/mm-decode.el: Use lexical-binding and use cl-lib

(mm-display-parts): Remove unused arg 'no-default'.  Use 'cond'.
(mm-display-external): Use closures rather than `(lambda ...).
Don't bother with 'lexical-let'.
(mm-insert-part): No need for string-to-multibyte now that
'insert' will do that for us now (it used to behave more like
string-make-multibyte).
(mm-pipe-part): Remove unused var 'name'.
(shr-width, shr-content-function, shr-inhibit-images): Declare.
(mm-shr): Use a closure rather than `(lambda ...).

6 years ago* lisp/gnus/mm-extern.el: Use lexical-binding
Stefan Monnier [Wed, 28 Feb 2018 01:39:06 +0000 (20:39 -0500)]
* lisp/gnus/mm-extern.el: Use lexical-binding

Don't require 'cl'.
(mm-extern-anon-ftp): Remove unused var 'mode'.

6 years agoFix python.el for Emacs 24, bump ELPA version to 0.26.1 (Bug#30633)
Noam Postavsky [Wed, 28 Feb 2018 00:44:35 +0000 (19:44 -0500)]
Fix python.el for Emacs 24, bump ELPA version to 0.26.1 (Bug#30633)

Since python.el is distributed via GNU ELPA, it should be functional
in earlier Emacs versions.  Also fix some compile warnings.
* lisp/progmodes/python.el: Bump version to 0.26.1.  Define
`prog-first-column' and `file-local-name' also at compile time, as
needed.
(inferior-python-mode-hook): Declare for the benefit of Emacs 24.3.
(python-nav-end-of-statement): Fix format string for assertion error.
(python-shell-tramp-refresh-process-environment): Don't `function'
quote a symbol which might not be fbound.
(python-mode): Only use prettify-symbols settings if they're bound.

6 years ago* lisp/nxml/nxml-mode.el (nxml-mode): Remove warning due to #'.
Glenn Morris [Tue, 27 Feb 2018 23:44:35 +0000 (18:44 -0500)]
* lisp/nxml/nxml-mode.el (nxml-mode): Remove warning due to #'.

6 years agoQuieten without-x gnus compilation
Glenn Morris [Tue, 27 Feb 2018 23:43:23 +0000 (18:43 -0500)]
Quieten without-x gnus compilation

* lisp/gnus/gnus-group.el (image-load-path-for-library):
* lisp/gnus/gnus-sum.el (image-load-path-for-library):
* lisp/gnus/message.el (image-load-path-for-library): Declare.
* lisp/gnus/gnus-cloud.el (gnus-group-refresh-group):
* lisp/gnus/mml.el (image-property): Autoload.

6 years ago* lisp/simple.el (next-error-find-buffer-function): Set default to #'ignore.
Juri Linkov [Tue, 27 Feb 2018 21:38:04 +0000 (23:38 +0200)]
* lisp/simple.el (next-error-find-buffer-function): Set default to #'ignore.

(next-error-find-buffer): Don't check next-error-find-buffer-function
for nil.  (Bug#20489)

6 years ago* lisp/dired.el (dired-get-filename): Don't string-to-multibyte
Stefan Monnier [Tue, 27 Feb 2018 21:18:30 +0000 (16:18 -0500)]
* lisp/dired.el (dired-get-filename): Don't string-to-multibyte

We don't need to convert manually to multibyte now that Emacs doesn't silently
convert (uni)bytes into latin-N chars depending on locale any more.

6 years agoRemove last vestiges of obsolete font-lock-face-attributes
Glenn Morris [Tue, 27 Feb 2018 20:38:47 +0000 (15:38 -0500)]
Remove last vestiges of obsolete font-lock-face-attributes

* lisp/ps-print.el (ps-font-lock-face-attributes): Remove function.
(ps-build-reference-face-lists):
No longer call ps-font-lock-face-attributes.
* lisp/font-lock.el (font-lock-face-attributes):
Remove stale declaration.

6 years agoRemove free variable warning when compiling viper using .el files
Glenn Morris [Tue, 27 Feb 2018 18:02:02 +0000 (13:02 -0500)]
Remove free variable warning when compiling viper using .el files

* lisp/emulation/viper-cmd.el (viper-saved-mark): Move definition...
* lisp/emulation/viper-util.el (viper-saved-mark): ... to here.

6 years agoMerge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Eli Zaretskii [Tue, 27 Feb 2018 17:59:19 +0000 (19:59 +0200)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26

6 years ago* doc/emacs/killing.texi (Rectangles): Don't use @key for characters.
Eli Zaretskii [Tue, 27 Feb 2018 17:58:33 +0000 (19:58 +0200)]
* doc/emacs/killing.texi (Rectangles): Don't use @key for characters.

6 years ago* lisp/emulation/viper.el: Unbreak it.
Glenn Morris [Tue, 27 Feb 2018 17:55:04 +0000 (12:55 -0500)]
* lisp/emulation/viper.el: Unbreak it.

Since 2017-03-19, M-x viper failed with function void cl-member-if.
Perhaps it isn't used much.

6 years agoMore fixes in the Emacs manual
Eli Zaretskii [Tue, 27 Feb 2018 17:46:06 +0000 (19:46 +0200)]
More fixes in the Emacs manual

* doc/emacs/xresources.texi (Table of Resources, Lucid Resources):
Sort the resources.
(Lucid Resources): Add cross-references.
(GTK Resource Basics): Fix wording.
(GTK styles): Add empty lines in a @table.  Suggested by Michael
Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.

6 years agoRequire a larger stack size for threads (bug#30364)
Aaron Jensen [Tue, 27 Feb 2018 17:15:40 +0000 (09:15 -0800)]
Require a larger stack size for threads (bug#30364)

* src/systhread.c (sys_thread_create) [THREADS_ENABLED && HAVE_PTHREAD]:
Require at least 8MB stack size for x64 and 4MB for x86.

6 years agoUpdate from gnulib
Paul Eggert [Tue, 27 Feb 2018 17:09:33 +0000 (09:09 -0800)]
Update from gnulib

This includes:
2018-02-27 environ: fix link error on 32-bit Cygwin
* doc/misc/texinfo.tex, lib/unistd.in.h: Copy from gnulib.

6 years agoAvoid aborts in 'md5'
Eli Zaretskii [Tue, 27 Feb 2018 16:44:15 +0000 (18:44 +0200)]
Avoid aborts in 'md5'

* src/fns.c (extract_data_from_object): Don't crash if called with
an invalid object.  (Bug#30627)

6 years ago* lisp/gnus/mm-util.el: Use lexical-binding and use cl-lib
Stefan Monnier [Tue, 27 Feb 2018 15:12:36 +0000 (10:12 -0500)]
* lisp/gnus/mm-util.el: Use lexical-binding and use cl-lib

(mm-iso-8859-x-to-15-region): Remove unused var 'charset'.
(mm-with-unibyte-buffer, mm-with-multibyte-buffer): Use 'declare'.
(mm-with-unibyte-current-buffer): Remove.

6 years agoAdd ".msu" to Tramp file archives
Michael Albinus [Tue, 27 Feb 2018 14:26:09 +0000 (15:26 +0100)]
Add ".msu" to Tramp file archives

* doc/misc/tramp.texi (Archive file names):
* lisp/net/tramp-archive.el (tramp-archive-suffixes):  Add ".msu".

6 years ago* lisp/dired-aux.el (dired-create-destination-dirs): Doc fix.
Glenn Morris [Tue, 27 Feb 2018 07:40:13 +0000 (23:40 -0800)]
* lisp/dired-aux.el (dired-create-destination-dirs): Doc fix.

6 years agoAdd coreutils 'ls' support for tramp adb
Mathieu Othacehe [Mon, 26 Feb 2018 15:43:46 +0000 (16:43 +0100)]
Add coreutils 'ls' support for tramp adb

* lisp/net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): Allow '.'
character in file permissions. It indicates an SELinux security
context.
(tramp-adb-get-ls-command): Detect Coreutils version of 'ls'.
Use 'ls -1' instead of passing COLUMNS=1 env variable. This is
isofunctional.  (Bug#30594)

Copyright-paperwork-exempt: yes

6 years agoFix problem in tramp-handle-substitute-in-file-name
Michael Albinus [Mon, 26 Feb 2018 15:23:21 +0000 (16:23 +0100)]
Fix problem in tramp-handle-substitute-in-file-name

* lisp/net/tramp.el (tramp-handle-substitute-in-file-name): Concat "/"
only for local file "~".

6 years agoRemove leading * from two defcustom doc strings
Glenn Morris [Tue, 27 Feb 2018 07:11:20 +0000 (23:11 -0800)]
Remove leading * from two defcustom doc strings

* lisp/gnus/mm-util.el (mm-extra-numeric-entities):
* lisp/progmodes/cperl-mode.el (cperl-indent-subs-specially):
Remove obsolete leading * from defcustom doc string.

6 years agoQuieten without-x, without-xml2 builds
Glenn Morris [Tue, 27 Feb 2018 06:47:27 +0000 (22:47 -0800)]
Quieten without-x, without-xml2 builds

* lisp/help.el (x-display-pixel-height, x-display-pixel-width):
* lisp/image.el (image-flush, image-size):
* lisp/textmodes/sgml-mode.el (libxml-parse-html-region):
Declare for compiler.

6 years agoQuieten without-x mwheel.el compilation
Glenn Morris [Mon, 26 Feb 2018 22:05:04 +0000 (17:05 -0500)]
Quieten without-x mwheel.el compilation

* lisp/mwheel.el (mwheel-tilt-scroll-p, mwheel-flip-direction)
(mwheel-scroll-left-function, mwheel-scroll-right-function)
(mouse-wheel-left-event, mouse-wheel-right-event):
Move definitions before use.

6 years ago* lisp/net/zeroconf.el (dbus-debug): Declare for builds without dbus.
Glenn Morris [Mon, 26 Feb 2018 22:00:41 +0000 (17:00 -0500)]
* lisp/net/zeroconf.el (dbus-debug): Declare for builds without dbus.

6 years agoQuieten without-x lisp compilation
Glenn Morris [Mon, 26 Feb 2018 21:59:42 +0000 (16:59 -0500)]
Quieten without-x lisp compilation

* lisp/international/fontset.el (fontset-alias-alist):
* lisp/term/ns-win.el (mouse-wheel-scroll-amount)
(mouse-wheel-progressive-speed): Declare for without-x builds.

6 years ago* lisp/net/rcirc.el (rcirc-prompt-start-marker): Define before using.
Glenn Morris [Mon, 26 Feb 2018 20:41:02 +0000 (15:41 -0500)]
* lisp/net/rcirc.el (rcirc-prompt-start-marker): Define before using.

6 years ago* lisp/term/ns-win.el (ns-version-string): Declare for non-ns builds.
Glenn Morris [Mon, 26 Feb 2018 20:40:02 +0000 (15:40 -0500)]
* lisp/term/ns-win.el (ns-version-string): Declare for non-ns builds.

6 years agoSplit pdmp-file make rules from executables
Daniel Colascione [Mon, 26 Feb 2018 19:30:41 +0000 (11:30 -0800)]
Split pdmp-file make rules from executables

6 years agoRemove compiler warnings due to #'
Glenn Morris [Mon, 26 Feb 2018 18:51:01 +0000 (13:51 -0500)]
Remove compiler warnings due to #'

* lisp/gnus/mm-decode.el (mm-convert-shr-links):
* lisp/ps-print.el (ps-print-region-function):
Remove compiler warnings due to #'.

6 years agoUpdate some lisp function declarations
Glenn Morris [Mon, 26 Feb 2018 18:35:30 +0000 (13:35 -0500)]
Update some lisp function declarations

6 years agoMove pdumper stuff below all target in src Makefile
Daniel Colascione [Mon, 26 Feb 2018 17:29:20 +0000 (09:29 -0800)]
Move pdumper stuff below all target in src Makefile

6 years agoMerge remote-tracking branch 'origin/master' into pdumper
Daniel Colascione [Mon, 26 Feb 2018 17:19:58 +0000 (09:19 -0800)]
Merge remote-tracking branch 'origin/master' into pdumper

6 years agoMake bare "make" in src actually build emacs again
Daniel Colascione [Mon, 26 Feb 2018 17:18:02 +0000 (09:18 -0800)]
Make bare "make" in src actually build emacs again

* src/Makefile.in (all): Move target ahead of dep-file inclusion.

6 years agoUpdate from gnulib
Paul Eggert [Mon, 26 Feb 2018 16:57:44 +0000 (08:57 -0800)]
Update from gnulib

* build-aux/config.guess, build-aux/config.sub: Copy from gnulib.

6 years agoFix MS-Windows build
Daniel Colascione [Mon, 26 Feb 2018 16:57:01 +0000 (08:57 -0800)]
Fix MS-Windows build

6 years agoMark keys consistently in manuals
Michael Albinus [Mon, 26 Feb 2018 12:53:37 +0000 (13:53 +0100)]
Mark keys consistently in manuals

* doc/emacs/killing.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/misc/calc.texi:
* doc/misc/cc-mode.texi:
* doc/misc/dired-x.texi:
* doc/misc/ede.texi:
* doc/misc/edt.texi:
* doc/misc/efaq.texi:
* doc/misc/erc.texi:
* doc/misc/eshell.texi:
* doc/misc/gnus-faq.texi:
* doc/misc/gnus-news.texi:
* doc/misc/idlwave.texi:
* doc/misc/ido.texi:
* doc/misc/mairix-el.texi:
* doc/misc/message.texi:
* doc/misc/mh-e.texi:
* doc/misc/newsticker.texi:
* doc/misc/org.texi:
* doc/misc/pcl-cvs.texi:
* doc/misc/ses.texi:
* doc/misc/sieve.texi:
* doc/misc/smtpmail.texi:
* doc/misc/speedbar.texi:
* doc/misc/srecode.texi:
* doc/misc/vhdl-mode.texi:
* doc/misc/vip.texi:
* doc/misc/viper.texi: Mark keys consistently.

6 years agoRemove @key{} markups from @kindex entries in manuals
Michael Albinus [Mon, 26 Feb 2018 08:24:39 +0000 (09:24 +0100)]
Remove @key{} markups from @kindex entries in manuals

* doc/emacs/basic.texi:
* doc/emacs/buffers.texi:
* doc/emacs/building.texi:
* doc/emacs/calendar.texi:
* doc/emacs/custom.texi:
* doc/emacs/dired.texi:
* doc/emacs/display.texi:
* doc/emacs/files.texi:
* doc/emacs/frames.texi:
* doc/emacs/help.texi:
* doc/emacs/indent.texi:
* doc/emacs/killing.texi:
* doc/emacs/kmacro.texi:
* doc/emacs/mark.texi:
* doc/emacs/mini.texi:
* doc/emacs/misc.texi:
* doc/emacs/modes.texi:
* doc/emacs/msdos-xtra.texi:
* doc/emacs/msdos.texi:
* doc/emacs/mule.texi:
* doc/emacs/picture-xtra.texi:
* doc/emacs/programs.texi:
* doc/emacs/regs.texi:
* doc/emacs/rmail.texi:
* doc/emacs/screen.texi:
* doc/emacs/search.texi:
* doc/emacs/sending.texi:
* doc/emacs/text.texi:
* doc/emacs/trouble.texi:
* doc/misc/calc.texi:
* doc/misc/cc-mode.texi:
* doc/misc/ediff.texi:
* doc/misc/ert.texi:
* doc/misc/eww.texi:
* doc/misc/forms.texi:
* doc/misc/gnus.texi:
* doc/misc/idlwave.texi:
* doc/misc/info.texi:
* doc/misc/message.texi:
* doc/misc/mh-e.texi:
* doc/misc/newsticker.texi:
* doc/misc/org.texi:
* doc/misc/pcl-cvs.texi:
* doc/misc/rcirc.texi:
* doc/misc/reftex.texi:
* doc/misc/sc.texi:
* doc/misc/sieve.texi:
* doc/misc/vhdl-mode.texi:
* doc/misc/vip.texi:
* doc/misc/viper.texi:
* doc/misc/woman.texi: Remove @key{} markups from @kindex entries.

6 years agoImprove error message when attempting to load failed dump file
Daniel Colascione [Mon, 26 Feb 2018 06:22:40 +0000 (22:22 -0800)]
Improve error message when attempting to load failed dump file

6 years agoStop spamming stderr with pdumper load info; move to pdumper-stats
Daniel Colascione [Mon, 26 Feb 2018 06:15:06 +0000 (22:15 -0800)]
Stop spamming stderr with pdumper load info; move to pdumper-stats

6 years agoInitialize the default frame faces in batch mode under pdumper
Daniel Colascione [Mon, 26 Feb 2018 05:32:50 +0000 (21:32 -0800)]
Initialize the default frame faces in batch mode under pdumper