Commit graph

136944 commits

Author SHA1 Message Date
Glenn Morris
9d702b4cd8 Don't hard-code the fill-column for display-warning
* lisp/emacs-lisp/warnings.el (warning-fill-column): New variable.
(display-warning): Use warning-fill-column.
* doc/lispref/display.texi (Warning Variables):
Mention warning-fill-column.
2019-06-16 17:37:21 -07:00
Stefan Monnier
309743b465 * lisp/emacs-lisp/cl-generic.el (gv-setter): Move declaration.
Move it to those places where we know gv has been loaded.
2019-06-16 18:35:35 -04:00
Lars Ingebrigtsen
fd9cff0279 Fix up the --no-print-directory changes in src/Makefile.in
* src/Makefile.in (AM_V_NO_PD): New macro written by Andreas
Schwab that can be either --no-print-directory or "".
(%.elc): Use it instead if the if statement.
2019-06-17 00:33:59 +02:00
Glenn Morris
b33cdf726c ; Update admin notes re web pages 2019-06-16 15:25:19 -07:00
Juanma Barranquero
4156dd384a Bump up max_specpdl_size to 1500. (Bug#36216)
* src/eval.c (init_eval_once): Set max_specpdl_size to 1500.
* doc/lispref/variables.texi (Local Variables): Document it.
2019-06-16 23:14:51 +02:00
Lars Ingebrigtsen
2f97200bb9 Add comment to eieio-opt about why we're requiring cl-extra
* lisp/emacs-lisp/eieio-opt.el (cl-extra): Add comment about why
we're not requiring cl-lib.
2019-06-16 22:26:40 +02:00
Alan Third
beb572a7dd Revert "Simplify image transforms"
This reverts commit cf3081d208.

; Pushed in error.
2019-06-16 20:46:42 +01:00
Alan Third
cf3081d208 Simplify image transforms
* src/image.c: (image_set_rotation, image_set_size,
image_set_transform): Combine into image_set_transform.
(image_set_crop): Remove function.
(lookup_image): Remove calls to removed functions and remove
transform_matrix.
* test/manual/image-transforms-tests.el (test-cropping): Remove
function.
(test-transforms): Remove reference to test-cropping.
2019-06-16 20:24:53 +01:00
Alan Third
11b0e33462 Document image transforms
* doc/lispref/display.texi (Image Descriptors): Document :crop and
update :rotation.
* src/image.c: Describe the image transform matrix layout.
* test/manual/image-transforms-tests.el: New file.
2019-06-16 20:24:53 +01:00
Lars Ingebrigtsen
a1508e8d2d Fix compilation warning about gv-setter in cl-generic
* lisp/emacs-lisp/cl-generic.el (gv-setter): Declare to avoid a
compilation warning.
2019-06-16 17:58:35 +02:00
Alan Mackenzie
e6fb9a443f CC Mode: Remedy recent loss in performance
* lisp/progmodes/cc-engine.el (c-back-over-member-initializers): call
c-parse-state outside of the narrowing operation.

* lisp/progmodes/cc-fonts.el (c-get-fontification-context)
(c-font-lock-cut-off-declarators): Replace calls to c-determine-limit with
crude position calculations for speed.
2019-06-16 15:46:12 +00:00
Lars Ingebrigtsen
98ba1c6b52 Fix compilation warning i eieio-base
* lisp/emacs-lisp/eieio-base.el (clone): Use eieio-object-class
instead of obsolete function class-of.
2019-06-16 16:48:34 +02:00
Lars Ingebrigtsen
6697cbf8f8 Fix compilation warning in ede.el
* lisp/cedet/ede/auto.el (ede-project-autoload): Inherit from
eieio-named, because we want to set the object name...

* lisp/cedet/ede.el (ede-new): ... which we do here, and fix the
compilation warning about the obsolete
eieio-object-set-name-string function.
2019-06-16 16:39:28 +02:00
Lars Ingebrigtsen
56eb4f7f11 Revert "Fix compilation warning in ede.el"
This reverts commit 7bbb56bc43.

The commit led to a bootstrap error.
2019-06-16 16:29:52 +02:00
Lars Ingebrigtsen
7bbb56bc43 Fix compilation warning in ede.el
* lisp/cedet/ede.el (ede-new): ... which we do here, and fix the
compilation warning about the obsolete
eieio-object-set-name-string function.

* lisp/cedet/ede/auto.el (ede-project-autoload): Inherit from
eieio-named, because we want to set the object name...
2019-06-16 16:23:25 +02:00
Lars Ingebrigtsen
df937c2080 Remove obsolete name arg from two constructors
* lisp/cedet/semantic/grammar.el
(semantic-analyze-current-context): Remove obsolete name arg.

* lisp/cedet/srecode/insert.el (srecode--insert-into-buffer): Ditto.
2019-06-16 16:06:34 +02:00
Lars Ingebrigtsen
bf8c80be7d Compilation fix for previous change to eieio-opt
* lisp/emacs-lisp/eieio-opt.el (cl-extra): Require for
cl--describe-class.
2019-06-16 16:04:51 +02:00
Lars Ingebrigtsen
303637930c Fix compilation warning in eieio-opt
* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Don't
use obsolete function eieio-help-class.
2019-06-16 16:02:42 +02:00
Lars Ingebrigtsen
0c2b747d26 Avoid "unknown slot" compilation warning in eieio-custom
* lisp/emacs-lisp/eieio-custom.el
(eieio-read-customization-group): Slot `name' may not exist in all
classes, so protect against that (and avoid a compilation warning
about it).
2019-06-16 15:53:03 +02:00
Lars Ingebrigtsen
5982192620 Avoid a compilation warning in srt-mode.el
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help): Add hack to
avoid compilation warning about slot that has to exist at this
point.
2019-06-16 15:42:30 +02:00
Lars Ingebrigtsen
4f2f950497 Fix one of the tags/xref warnings in viper-ex.el
* lisp/emulation/viper-ex.el (ex-tag): Avoid a compilation warning
about find-tag-other-window.
2019-06-16 15:21:18 +02:00
Lars Ingebrigtsen
e6404927e3 Declare function in esh-mode before #'-ing it
* lisp/eshell/esh-mode.el (ansi-color-apply-text-property-face):
Declare to avoid a compilation warning.
2019-06-16 15:21:18 +02:00
Lars Ingebrigtsen
bba5cc96aa Avoid obsolete function in reftex-global.el
* lisp/textmodes/reftex-global.el (reftex-query-replace-document):
Rewrite to use fileloop directly to avoid the obsolete function
tags-query-replace.
2019-06-16 15:21:18 +02:00
Lars Ingebrigtsen
e25d6cb038 Use fileloop directly in vc-dir to avoid obsolete function
* lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): Rewrite to use
fileloop directly to avoid the obsolete function
tags-query-replace.
2019-06-16 15:21:17 +02:00
Alan Mackenzie
f0bf0d0779 Maintain c-syntax-table-hwm when changing syntax-table text properties
* lisp/progmodes/cc-defs.el: (c-syntax-table-hwm): Move the defvar to here
from cc-mode.el, since the variable is needed at compile time in
c-emacs-features.
(c-min-property-position): New macro.
(c-put-char-property, c-clear-char-property, c-clear-char-properties)
(c-clear-char-property-with-value-function)
(c-clear-char-property-with-value-on-char-function)
(c-put-char-properties-on-char): Adjust c-syntax-table-hwm appropriately when
syntax-table text properties are changed.

* lisp/progmodes/cc-engine.el (c-truncate-lit-pos-cache): Remove the now
unneeded setting of c-syntax-table-hwm, and the unneeded declaration of
c-syntax-table-hwm.
2019-06-16 11:52:01 +00:00
Michael Albinus
b2fb3dc58c Say how Tramp is packaged with Emacs
* doc/misc/tramp.texi (Obtaining Tramp):
Mention `customize-package-emacs-version-alist'.
2019-06-16 10:32:46 +02:00
Dmitry Gutov
83095a89f6 Fix regressions in xref-find-definitions and ...-other-window
* lisp/progmodes/xref.el:
(xref--display-buffer-in-other-window)
(xref--display-buffer-in-window): New functions.
(xref--show-pos-in-buf): Use them (bug#33870)
2019-06-16 03:50:54 +03:00
Stefan Kangas
cdd8cb3a9e Add MESSAGE string to bookmark-errors (bug#23408)
* lisp/bookmark.el (bookmark-errors): Add MESSAGE parameter string.
2019-06-15 17:08:58 -04:00
Noam Postavsky
caff1e2abe Always try to display tree-widget with images (Bug#36147)
Checking the result of display-images-p doesn't make sense if the
display capabilities when loading the file are different from the
display used to actually look at the widget (which is easily possible
now that Emacs supports both tty and graphic frames in the same
instance).
* lisp/tree-widget.el (tree-widget-image-enable): Default to t,
always.  This still shows text on displays that can't show images.
2019-06-15 17:06:31 -04:00
Noam Postavsky
a1b230b58a Allow trailing whitespace in --eval argument (Bug#36219)
* lisp/startup.el (command-line-1): Don't complain about trailing
garbage if it's only space, tab, or newline characters.
2019-06-15 17:05:56 -04:00
Michael Albinus
f8b9765463 * lisp/net/trampver.el (customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 26.3.
2019-06-15 21:47:41 +02:00
Philipp Stephani
7e53f4f2da * src/xfaces.c (dump_realized_face): Fix incorrect format string. 2019-06-15 19:02:25 +02:00
Philipp Stephani
d67a7987c0 * src/xfaces.c (dump_realized_face): Fix format specifier. 2019-06-15 18:59:54 +02:00
Philipp Stephani
9f0af50538 * src/nsterm.m (ns_row_rect): Remove unused variable ‘f.’ 2019-06-15 18:59:54 +02:00
Glenn Morris
402113d4af ; Merge from origin/emacs-26
The following commit was skipped:

200f63c (origin/emacs-26) tramp-test42-auto-load: Add expected-result.
2019-06-15 09:50:33 -07:00
Glenn Morris
30e3e58c1b Merge from origin/emacs-26
7a8f22b * test/lisp/url/url-file-tests.el (url-file): Use file:///, n...
0c5f6c6 Fix doc of srecompile-compile-split-code (Bug#36200)
2019-06-15 09:50:33 -07:00
Glenn Morris
64366826c7 ; Merge from origin/emacs-26
The following commits were skipped:

e587338 Make sure Gnus imap group names are decoded before searching
746d42f Remove failing test erroneously added in backport
2019-06-15 09:50:33 -07:00
Glenn Morris
f6a47c822b Merge from origin/emacs-26
6242324 * lisp/net/sieve-manage.el (sieve-manage-parse-capability): D...
2019-06-15 09:50:33 -07:00
Glenn Morris
cd406b9fdd ; Merge from origin/emacs-26
The following commits were skipped:

9473231 (tag: emacs-26.2.90) ; * lisp/ldefs-boot.el: Update.
fb1c966 Bump Emacs version to 26.2.90
2b705cd * etc/AUTHORS: Update.
2019-06-15 09:50:32 -07:00
Glenn Morris
689e7c0070 Merge from origin/emacs-26
f53ce87 ; ChangeLog.3 update
eca2677 Fix description of 'display-buffer-in-previous-window' again ...
7be50cd Consistently use @minus{} for negative arguments

# Conflicts:
#	ChangeLog.3
2019-06-15 09:50:32 -07:00
Eli Zaretskii
ca0b4edf13 Update hash value in pdumper.c
* src/pdumper.c (dump_fwd_buffer_obj) [CHECK_STRUCTS]: Update
the hash in HASH_Lisp_Buffer_Objfwd.  (Bug#36225)
2019-06-15 19:46:45 +03:00
Eli Zaretskii
34f01bf8f7 Improve error message when dmpstruct.h needs to be updated
* src/pdumper.c (dump_cons, dump_interval_tree, dump_string)
(dump_marker, dump_overlay, dump_finalizer)
(dump_bignum, dump_float, dump_fwd_int, dump_fwd_bool)
(dump_fwd_obj, dump_fwd_buffer_obj, dump_fwd_kboard_obj)
(dump_fwd, dump_blv, dump_symbol, dump_vectorlike_generic)
(dump_hash_table, dump_buffer, dump_bool_vector, dump_subr)
(dump_vectorlike, dump_object, dump_charset) [CHECK_STRUCTS]:
Make the error message more specific where to find the comment
to CHECK_STRUCTS.
2019-06-15 19:28:51 +03:00
Lars Ingebrigtsen
64a14444b5 Probably fix the `helper' argument in feedmail.el
* lisp/mail/feedmail.el (feedmail-queue-send-edit-prompt-inner):
Return the helper function (instead of the symbol `helper') so
that the caller can actually call it.
2019-06-15 17:46:23 +02:00
Lars Ingebrigtsen
b7b4dd9990 Fix compilation warning in esh-cmd.el
* lisp/eshell/esh-cmd.el (pcomplete--here): Declare function to
avoid byte compilation warning, which is what erc-notify.el also
does in a similar situation.
2019-06-15 17:42:09 +02:00
Lars Ingebrigtsen
c9afa2eed5 Fix build warning in srecode/srt-mode
* lisp/cedet/srecode/srt-mode.el (srecode-inserter-prin-example):
Declare and require before use.
2019-06-15 17:34:48 +02:00
Lars Ingebrigtsen
4058102c7c Silence warnings about obsolete functions in obsolete/vip.el
* lisp/obsolete/vip.el (ex-tag): Silence warnings about obsolete
functions because this is an obsolete file.
2019-06-15 17:13:38 +02:00
Lars Ingebrigtsen
fab7b863ef Suppress compilation warnings in obsolete/otodo-mode.el
* lisp/obsolete/otodo-mode.el (lexical): Suppress warnings about
non-prefixed variables because this file is obsolete.
2019-06-15 17:12:10 +02:00
Lars Ingebrigtsen
a43a0fc797 Silence warning in obsolete/complete.el
* lisp/obsolete/complete.el (PC-do-completion): Suppress warning
about obsolete variable in obsolete function.
2019-06-15 17:10:53 +02:00
Lars Ingebrigtsen
3f4c2f813a Make obsolete function zip-lists work again
* lisp/obsolete/cl-compat.el (zip-lists): Use cl-mapcan instead of
mapcan; mapcan now takes only two parameters.
2019-06-15 17:09:08 +02:00
Lars Ingebrigtsen
4d2b3bcd03 Suppress compilation warning in supercite.el
* lisp/mail/supercite.el (curline): Suppress warning about
non-prefixed variable used by forms in the `sc-mail-glom-frame'
variable.
2019-06-15 16:59:21 +02:00