]>
git.eshelyaron.com Git - emacs.git/log
Glenn Morris [Mon, 17 Jun 2019 00:35:36 +0000 (17:35 -0700)]
Disable filling of warnings in a bytecomp test
* test/lisp/emacs-lisp/bytecomp-tests.el (test-suppression):
Disable filling rather than working around it.
Glenn Morris [Mon, 17 Jun 2019 00:34:27 +0000 (17:34 -0700)]
Tweak how byte-compile-print-syms fills
* lisp/emacs-lisp/bytecomp.el (byte-compile-print-syms):
Use fill-column from the compile log buffer.
Glenn Morris [Mon, 17 Jun 2019 00:31:49 +0000 (17:31 -0700)]
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.
Stefan Monnier [Sun, 16 Jun 2019 22:35:35 +0000 (18:35 -0400)]
* lisp/emacs-lisp/cl-generic.el (gv-setter): Move declaration.
Move it to those places where we know gv has been loaded.
Lars Ingebrigtsen [Sun, 16 Jun 2019 22:33:53 +0000 (00:33 +0200)]
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.
Glenn Morris [Sun, 16 Jun 2019 22:25:19 +0000 (15:25 -0700)]
; Update admin notes re web pages
Juanma Barranquero [Sun, 16 Jun 2019 21:14:51 +0000 (23:14 +0200)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 20:26:34 +0000 (22:26 +0200)]
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.
Alan Third [Sun, 16 Jun 2019 19:46:31 +0000 (20:46 +0100)]
Revert "Simplify image transforms"
This reverts commit
cf3081d208814ea02fce33aac645abfc24f880a6 .
; Pushed in error.
Alan Third [Sun, 16 Jun 2019 19:10:20 +0000 (20:10 +0100)]
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.
Alan Third [Tue, 11 Jun 2019 19:31:24 +0000 (20:31 +0100)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 15:58:31 +0000 (17:58 +0200)]
Fix compilation warning about gv-setter in cl-generic
* lisp/emacs-lisp/cl-generic.el (gv-setter): Declare to avoid a
compilation warning.
Alan Mackenzie [Sun, 16 Jun 2019 15:46:12 +0000 (15:46 +0000)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 14:48:34 +0000 (16:48 +0200)]
Fix compilation warning i eieio-base
* lisp/emacs-lisp/eieio-base.el (clone): Use eieio-object-class
instead of obsolete function class-of.
Lars Ingebrigtsen [Sun, 16 Jun 2019 14:39:28 +0000 (16:39 +0200)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 14:29:52 +0000 (16:29 +0200)]
Revert "Fix compilation warning in ede.el"
This reverts commit
7bbb56bc430465a6807a8129a322c704c89e3eba .
The commit led to a bootstrap error.
Lars Ingebrigtsen [Sun, 16 Jun 2019 14:23:25 +0000 (16:23 +0200)]
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...
Lars Ingebrigtsen [Sun, 16 Jun 2019 14:06:34 +0000 (16:06 +0200)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 14:04:51 +0000 (16:04 +0200)]
Compilation fix for previous change to eieio-opt
* lisp/emacs-lisp/eieio-opt.el (cl-extra): Require for
cl--describe-class.
Lars Ingebrigtsen [Sun, 16 Jun 2019 14:02:42 +0000 (16:02 +0200)]
Fix compilation warning in eieio-opt
* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Don't
use obsolete function eieio-help-class.
Lars Ingebrigtsen [Sun, 16 Jun 2019 13:53:03 +0000 (15:53 +0200)]
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).
Lars Ingebrigtsen [Sun, 16 Jun 2019 13:42:30 +0000 (15:42 +0200)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 13:21:10 +0000 (15:21 +0200)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 13:14:26 +0000 (15:14 +0200)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 13:09:52 +0000 (15:09 +0200)]
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.
Lars Ingebrigtsen [Sun, 16 Jun 2019 13:07:37 +0000 (15:07 +0200)]
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.
Alan Mackenzie [Sun, 16 Jun 2019 11:52:01 +0000 (11:52 +0000)]
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.
Michael Albinus [Sun, 16 Jun 2019 08:32:46 +0000 (10:32 +0200)]
Say how Tramp is packaged with Emacs
* doc/misc/tramp.texi (Obtaining Tramp):
Mention `customize-package-emacs-version-alist'.
Dmitry Gutov [Sun, 16 Jun 2019 00:49:46 +0000 (03:49 +0300)]
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)
Stefan Kangas [Wed, 12 Jun 2019 16:42:46 +0000 (18:42 +0200)]
Add MESSAGE string to bookmark-errors (bug#23408)
* lisp/bookmark.el (bookmark-errors): Add MESSAGE parameter string.
Noam Postavsky [Wed, 12 Jun 2019 11:31:23 +0000 (07:31 -0400)]
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.
Noam Postavsky [Sat, 15 Jun 2019 12:40:23 +0000 (08:40 -0400)]
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.
Michael Albinus [Sat, 15 Jun 2019 19:47:41 +0000 (21:47 +0200)]
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 26.3.
Philipp Stephani [Sat, 15 Jun 2019 17:02:25 +0000 (19:02 +0200)]
* src/xfaces.c (dump_realized_face): Fix incorrect format string.
Philipp Stephani [Sat, 15 Jun 2019 16:53:20 +0000 (18:53 +0200)]
* src/xfaces.c (dump_realized_face): Fix format specifier.
Philipp Stephani [Sat, 15 Jun 2019 16:50:50 +0000 (18:50 +0200)]
* src/nsterm.m (ns_row_rect): Remove unused variable ‘f.’
Glenn Morris [Sat, 15 Jun 2019 16:50:33 +0000 (09:50 -0700)]
; Merge from origin/emacs-26
The following commit was skipped:
200f63c (origin/emacs-26) tramp-test42-auto-load: Add expected-result.
Glenn Morris [Sat, 15 Jun 2019 16:50:33 +0000 (09:50 -0700)]
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)
Glenn Morris [Sat, 15 Jun 2019 16:50:33 +0000 (09:50 -0700)]
; 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
Glenn Morris [Sat, 15 Jun 2019 16:50:33 +0000 (09:50 -0700)]
Merge from origin/emacs-26
6242324 * lisp/net/sieve-manage.el (sieve-manage-parse-capability): D...
Glenn Morris [Sat, 15 Jun 2019 16:50:32 +0000 (09:50 -0700)]
; 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.
Glenn Morris [Sat, 15 Jun 2019 16:50:32 +0000 (09:50 -0700)]
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
Eli Zaretskii [Sat, 15 Jun 2019 16:45:29 +0000 (19:45 +0300)]
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)
Eli Zaretskii [Sat, 15 Jun 2019 16:28:51 +0000 (19:28 +0300)]
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.
Lars Ingebrigtsen [Sat, 15 Jun 2019 15:46:23 +0000 (17:46 +0200)]
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.
Lars Ingebrigtsen [Sat, 15 Jun 2019 15:42:09 +0000 (17:42 +0200)]
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.
Lars Ingebrigtsen [Sat, 15 Jun 2019 15:34:48 +0000 (17:34 +0200)]
Fix build warning in srecode/srt-mode
* lisp/cedet/srecode/srt-mode.el (srecode-inserter-prin-example):
Declare and require before use.
Lars Ingebrigtsen [Sat, 15 Jun 2019 15:13:38 +0000 (17:13 +0200)]
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.
Lars Ingebrigtsen [Sat, 15 Jun 2019 15:12:10 +0000 (17:12 +0200)]
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.
Lars Ingebrigtsen [Sat, 15 Jun 2019 15:10:53 +0000 (17:10 +0200)]
Silence warning in obsolete/complete.el
* lisp/obsolete/complete.el (PC-do-completion): Suppress warning
about obsolete variable in obsolete function.
Lars Ingebrigtsen [Sat, 15 Jun 2019 15:09:08 +0000 (17:09 +0200)]
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.
Lars Ingebrigtsen [Sat, 15 Jun 2019 14:59:21 +0000 (16:59 +0200)]
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.
Lars Ingebrigtsen [Sat, 15 Jun 2019 14:54:51 +0000 (16:54 +0200)]
Suppress warning in mailheader.el
* lisp/mail/mailheader.el (headers): Suppress warning about
non-prefixed variable part of the advertised interface.
Lars Ingebrigtsen [Sat, 15 Jun 2019 14:53:52 +0000 (16:53 +0200)]
Suppress warning about non-prefixed variable in mailalias.el
* lisp/mail/mailalias.el (patters): Suppress warning about
non-prefixed variable used by `mail-complete-alist'.
Lars Ingebrigtsen [Sat, 15 Jun 2019 14:33:05 +0000 (16:33 +0200)]
Fix byte compilation warning in bindat.el
* lisp/emacs-lisp/bindat.el (bindat--unpack-item): Avoid a byte
compilation warning by using unibyte-string instead of concat +
string-make-unibyte.
Lars Ingebrigtsen [Sat, 15 Jun 2019 14:29:23 +0000 (16:29 +0200)]
Avoid printing entering/leaving messages in second stage bootstrap
* src/Makefile.in (%.elc): Default to not printing the
entering/leaving lines when compiling .el files in the second
stage of bootstrapping Emacs. V=1 will output them.
Lars Ingebrigtsen [Sat, 15 Jun 2019 14:10:28 +0000 (16:10 +0200)]
Also test unpacking
Lars Ingebrigtsen [Sat, 15 Jun 2019 14:06:38 +0000 (16:06 +0200)]
Refactor for reuse
Lars Ingebrigtsen [Sat, 15 Jun 2019 13:57:01 +0000 (15:57 +0200)]
New file to test bindat functions
Lars Ingebrigtsen [Sat, 15 Jun 2019 12:30:50 +0000 (14:30 +0200)]
Suppress warning about `entry' in calendar
* lisp/calendar/cal-china.el (entry):
* lisp/calendar/cal-hebrew.el (entry): Suppress warning about
dynamically bound `entry', which has to be bound for
diary-chinese-anniversary and diary-hebrew-birthday to work.
These function can be used in the sexp part of users' diary files.
Lars Ingebrigtsen [Sat, 15 Jun 2019 12:22:38 +0000 (14:22 +0200)]
Suppress warning about prefixless date variable in calendar
* lisp/calendar/lunar.el (date):
* lisp/calendar/cal-persia.el (date):
* lisp/calendar/cal-mayan.el (date):
* lisp/calendar/cal-julian.el (date):
* lisp/calendar/cal-iso.el (date):
* lisp/calendar/cal-islam.el (date):
* lisp/calendar/cal-hebrew.el (date):
* lisp/calendar/cal-french.el (date):
* lisp/calendar/cal-coptic.el (date):
* lisp/calendar/cal-china.el (date):
* lisp/calendar/cal-bahai.el (date): Suppress warning about this
prefix-less dynamic variable, because it's part of the documented
calling convention used in the sexp part of users' diary files.
Wilson Snyder [Sat, 15 Jun 2019 12:16:05 +0000 (08:16 -0400)]
Clean up verilog-mode.el documentation examples to match behavior.
* verilog-mode.el (verilog-auto, verilog-auto-arg)
(verilog-auto-ascii-enum, verilog-auto-inout)
(verilog-auto-inout-comp, verilog-auto-inout-in)
(verilog-auto-inout-modport, verilog-auto-inout-module)
(verilog-auto-inout-param, verilog-auto-input)
(verilog-auto-insert-lisp, verilog-auto-inst)
(verilog-auto-inst-param, verilog-auto-inst-param-value)
(verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
(verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
(verilog-auto-tieoff, verilog-auto-undef, verilog-auto-unused)
(verilog-auto-wire, verilog-inject-auto, verilog-read-sub-decls):
Clean up documentation examples to match behavior.
Michael Albinus [Sat, 15 Jun 2019 10:19:01 +0000 (12:19 +0200)]
Make url-tramp more robust
* lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp)
(url-tramp-convert-tramp-to-url): Check, that obj is non-nil.
Eli Zaretskii [Sat, 15 Jun 2019 10:16:36 +0000 (13:16 +0300)]
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Stefan Kangas [Mon, 10 Jun 2019 01:42:27 +0000 (03:42 +0200)]
Remove another variable obsolete since Emacs 22
* lisp/progmodes/cc-langs.el: Remove obsolete variable
c-opt-op-identitier-prefix.
* etc/NEWS: Announce it. (Bug#36173)
Michael Albinus [Sat, 15 Jun 2019 09:46:04 +0000 (11:46 +0200)]
Let tramp-archive unmount clean
* lisp/net/tramp-archive.el (tramp-archive-cleanup-hash):
Don't check for a proper method.
Michael Albinus [Sat, 15 Jun 2019 09:38:13 +0000 (11:38 +0200)]
Make Tramp compatible to recent progress-reporter-update
* lisp/net/tramp-compat.el (tramp-compat-progress-reporter-update):
New defalias.
* lisp/net/tramp.el (tramp-progress-reporter-update): Add optional SUFFIX.
Michael Albinus [Sat, 15 Jun 2019 09:33:16 +0000 (11:33 +0200)]
Some changes in process output read of Tramp
* lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
Read pending output.
* test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process):
Use a timeout when reading process output.
Michael Albinus [Sat, 15 Jun 2019 09:08:05 +0000 (11:08 +0200)]
Tag remote autorevert tests as unstable
* test/lisp/autorevert-tests.el (auto-revert--timeout):
Derive value from `auto-revert-interval'.
(auto-revert--deftest-remote): Tag it as `:unstable'.
(auto-revert-test05-global-notify, auto-revert-test06-write-file):
Suppress final newline. Use `auto-revert--timeout'.
Stefan Kangas [Wed, 12 Jun 2019 08:36:10 +0000 (10:36 +0200)]
Remove Lucid Emacs support from bookmark.el
* lisp/bookmark.el: Remove Lucid Emacs support.
(Bug#36179)
Eli Zaretskii [Sat, 15 Jun 2019 08:16:49 +0000 (11:16 +0300)]
Improve documentation of hash-code functions
* src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal):
* doc/lispref/hash.texi (Defining Hash): Warn against assuming
that sxhash returns consistent results.
Juanma Barranquero [Sat, 15 Jun 2019 05:23:25 +0000 (07:23 +0200)]
tramp-test42-auto-load: Add expected-result.
* test/lisp/net/tramp-tests.el (tramp-test42-auto-load):
Expect a failed result if remote file access is not enabled,
as it happens while doing the test on Windows.
YAMAMOTO Mitsuharu [Sat, 15 Jun 2019 03:46:30 +0000 (12:46 +0900)]
* configure.ac: Lower required cairo version to 1.8.0.
YAMAMOTO Mitsuharu [Sat, 15 Jun 2019 03:44:56 +0000 (12:44 +0900)]
Remove non-Xdbe double-buffering code on cairo
* src/xterm.c (x_begin_cr_clip, x_update_end) [USE_CAIRO]: Don't do
handcrafted double-buffering with image surface.
YAMAMOTO Mitsuharu [Sat, 15 Jun 2019 03:36:26 +0000 (12:36 +0900)]
Rework x_scroll_run on cairo
* src/xterm.c (x_scroll_run) [USE_CAIRO]: Use FRAME_CR_CONTEXT or surface type
for conditions to call XCopyArea rather than FRAME_X_DOUBLE_BUFFERED_P.
Set compositing operator to CAIRO_OPERATOR_SOURCE when copying image.
Juanma Barranquero [Sat, 15 Jun 2019 03:29:03 +0000 (05:29 +0200)]
* test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.
Juanma Barranquero [Fri, 14 Jun 2019 23:37:27 +0000 (01:37 +0200)]
Fix doc of srecompile-compile-split-code (Bug#36200)
* lisp/cedet/srecode/compile.el (srecode-compile-split-code):
Remove leftover text from docstring.
Lars Ingebrigtsen [Fri, 14 Jun 2019 18:59:31 +0000 (20:59 +0200)]
Revert "Silence okuri-nasi count-up messaging during compilation"
This takes long enough on some systems that the messages are useful.
This reverts commit
1d2e4d22c922f94d6f4b75a5ead18cbc679c5dfe .
Michael Albinus [Fri, 14 Jun 2019 17:45:00 +0000 (19:45 +0200)]
Fix problem in remote file notification
* lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter)
(tramp-sh-gvfs-monitor-dir-process-filter)
(tramp-sh-inotifywait-process-filter): Do not kill the process.
Let `file-notify-rm-watch' do the job.
* test/lisp/filenotify-tests.el (file-notify-test03-events)
(file-notify-test05-file-validity)
(file-notify-test09-watched-file-in-watched-dir): Do not
special-case remote files.
Lars Ingebrigtsen [Fri, 14 Jun 2019 15:14:49 +0000 (17:14 +0200)]
Silence okuri-nasi count-up messaging during compilation
* lisp/international/ja-dic-cnv.el (skkdic-set-okuri-nasi): Remove
messaging while compilation to make compilation more regular.
Eric Abrahamsen [Thu, 13 Jun 2019 22:09:24 +0000 (15:09 -0700)]
Make sure Gnus imap group names are decoded before searching
do not merge (fix unnecessary in Emacs 27)
* lisp/gnus/nnir.el (nnir-run-imap): Ensure that non-ascii group names
have been fully decoded before passing them to imap search.
Lars Ingebrigtsen [Fri, 14 Jun 2019 15:03:59 +0000 (17:03 +0200)]
Revert "srecode/srt-mode compilation fix"
This led to a recursive require.
This reverts commit
9fac0e70e3f5b7d0b12b77cac50078e01f68ee70 .
Lars Ingebrigtsen [Fri, 14 Jun 2019 14:57:35 +0000 (16:57 +0200)]
Fix previous object-print/cl-print-object changes
* lisp/cedet/srecode/insert.el
(srecode-insert-variable-secondname-handler):
* lisp/cedet/semantic/decorate/include.el
(semantic-decoration-fileless-include-describe):
(semantic-decoration-all-include-summary):
* lisp/cedet/semantic/db-find.el (semanticdb-find-log-activity):
* lisp/cedet/semantic/bovine/c.el
(semantic-c-describe-environment):
* lisp/cedet/semantic/analyze/debug.el
(semantic-analyzer-debug-insert-include-summary): Fix previous
object-print/cl-print-object changes that were nonsensical.
Lars Ingebrigtsen [Fri, 14 Jun 2019 14:51:27 +0000 (16:51 +0200)]
Avoid using registerv-make in senator.el
* lisp/cedet/semantic/senator.el (senator-register): New class.
(register-val-jump-to, register-val-describe)
(register-val-insert): New methods.
(senator-copy-tag-to-register): Use this instead of the deprecated
registerv-make function.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:57:34 +0000 (15:57 +0200)]
analyze/debug compilation fix
* lisp/cedet/semantic/analyze/debug.el (pulse): Require to avoid
byte compilation warning.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:54:50 +0000 (15:54 +0200)]
semantic/lex-spp compilation fix
* lisp/cedet/semantic/lex-spp.el
(semantic-lex-spp-analyzer-push-tokens-for-symbol): Use new name
for `semantic-lex-spp-anlyzer-do-replace'.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:47:54 +0000 (15:47 +0200)]
Use cl-typep instead of obsolete predicate functions throughout cedet
* lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
(srecode-dictionary-add-entries):
(srecode-compound-toString):
(srecode-dump):
* lisp/cedet/srecode/compile.el (srecode-dump-code-list):
* lisp/cedet/semantic/util.el (semantic-something-to-tag-table):
* lisp/cedet/semantic/db-typecache.el (semanticdb-typecache-length):
* lisp/cedet/semantic/db-ref.el (semanticdb-check-references):
* lisp/cedet/semantic/db-find.el
(semanticdb-find-incomplete-cache-entries-p):
(semanticdb-find-translate-path-includes-default):
(semanticdb-find-results-p):
(semanticdb-find-result-with-nil-p):
* lisp/cedet/semantic/analyze/complete.el
(semantic-analyze-possible-completions): Use cl-typep instead of
functions like `srecode-dictionary-compound-value-child-p' etc.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:36:17 +0000 (15:36 +0200)]
srecode/srt-mode compilation fix
* lisp/cedet/srecode/srt-mode.el (srecode/insert): Require to
avoid compilation warning about unknown slot. Remove function
declarations that point to that file.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:34:00 +0000 (15:34 +0200)]
srecode/find compilation fix
* lisp/cedet/srecode/find.el (srecode/compile): Require to
avoid compilation warning about unknown slot. Remove function
declarations that point to that file.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:32:33 +0000 (15:32 +0200)]
srecode/dictionary compilation warning fix
* lisp/cedet/srecode/dictionary.el (srecode/fields): Require to
avoid compilation warning about unknown slot. Remove function
declarations that point to that file.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:31:03 +0000 (15:31 +0200)]
srecode/dictionary compilation fix
* lisp/cedet/srecode/ctxt.el (srecode/dictionary): Require to
avoid compilation warning about unknown slot. Remove function
declarations that point to that file.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:29:17 +0000 (15:29 +0200)]
srecode-inserter-prin-example compilation fix
* lisp/cedet/srecode/insert.el (srecode-inserter-prin-example):
Move prin1 example to file that defines the structure it prints.
Lars Ingebrigtsen [Fri, 14 Jun 2019 13:15:09 +0000 (15:15 +0200)]
Move functions from semantic.el to analyze.el to avoid warnings
* lisp/cedet/semantic.el (semantic-analyze-completion-at-point-function)
(semantic-analyze-notc-completion-at-point-function)
(semantic-analyze-nolongprefix-completion-at-point-function): Add
autoloads for the moved functions.
* lisp/cedet/semantic/analyze.el
(semantic-analyze-completion-at-point-function)
(semantic-analyze-notc-completion-at-point-function)
(semantic-analyze-nolongprefix-completion-at-point-function): Move
here from semantic.el to avoid getting compilation warnings about
unknown slot `bounds'.
Lars Ingebrigtsen [Fri, 14 Jun 2019 12:56:23 +0000 (14:56 +0200)]
Adjust erc functions after previous erc-pre-send-function change
Lars Ingebrigtsen [Fri, 14 Jun 2019 12:56:04 +0000 (14:56 +0200)]
Adjust erc functions after previous erc-pre-send-function change
* lisp/erc/erc-goodies.el (noncommands): Use
erc-pre-send-functions instead of the hook.
(erc-send-distinguish-noncommands): Adjust function to new interface.
* lisp/erc/erc-ring.el (ring): Ditto.
(erc-add-to-input-ring): Ditto.
* lisp/erc/erc.el (erc-send-this): Really make obsolete.
(erc-pre-send-functions): Change to a list of functions to allow
erc-goodies and erc-ring to work as before.
Lars Ingebrigtsen [Fri, 14 Jun 2019 12:37:29 +0000 (14:37 +0200)]
Unobsolete string-to-multibyte
* lisp/subr.el: Un-obsolete string-to-multibyte, because it's a
useful function. string-to-unibyte has already been un-obsoleted.
Lars Ingebrigtsen [Thu, 13 Jun 2019 16:01:42 +0000 (18:01 +0200)]
Use CLOS-style accessors in oref/oset
* lisp/cedet/srecode/texi.el (srecode-semantic-handle-:texitag):
* lisp/cedet/srecode/table.el (srecode-mode-table-new):
(srecode-dump):
* lisp/cedet/srecode/srt-mode.el (srecode-parse-this-macro):
(semantic-analyze-possible-completions):
* lisp/cedet/srecode/semantic.el (srecode-compound-toString):
(srecode-semantic-apply-tag-to-dict-default):
* lisp/cedet/srecode/mode.el (srecode-minor-mode-templates-menu):
(srecode-edit):
* lisp/cedet/srecode/insert.el (srecode-insert-method):
(srecode-inserter-apply-state):
(srecode-insert-ask-default):
(srecode-insert-method-ask):
(srecode-insert-method-field):
(srecode-insert-method-helper):
(srecode-parse-input):
(srecode-match-end):
(srecode-insert-include-lookup):
(srecode-insert-method):
* lisp/cedet/srecode/find.el (srecode-template-table-in-project-p):
(srecode-template-get-table):
(srecode-template-get-table-for-binding):
(srecode-all-template-hash):
* lisp/cedet/srecode/extract.el (srecode-inserter-extract):
(srecode-inserter-extract):
* lisp/cedet/srecode/el.el (srecode-semantic-apply-tag-to-dict):
* lisp/cedet/srecode/dictionary.el (initialize-instance):
(srecode-dictionary-add-template-table):
(srecode-compound-toString):
* lisp/cedet/srecode/cpp.el (srecode-semantic-apply-tag-to-dict):
* lisp/cedet/srecode/compile.el (srecode-compile-template-table):
(srecode-dump):
* lisp/cedet/srecode/args.el (srecode-semantic-handle-:project):
* lisp/cedet/semantic/texi.el (semantic-analyze-possible-completions):
* lisp/cedet/semantic/symref/list.el (semantic-symref-results-dump):
(semantic-symref-list-create-macro-on-open-hit):
(semantic-symref-list-rename-open-hits):
(semantic-symref-list-map-open-hits):
* lisp/cedet/semantic/symref/idutils.el
(semantic-symref-perform-search):
(semantic-symref-parse-tool-output-one-line):
* lisp/cedet/semantic/symref/global.el (semantic-symref-perform-search):
(semantic-symref-parse-tool-output-one-line):
* lisp/cedet/semantic/symref/cscope.el (semantic-symref-perform-search):
(semantic-symref-parse-tool-output-one-line):
* lisp/cedet/semantic/mru-bookmark.el
(semantic-mrub-ring-to-assoc-list):
* lisp/cedet/semantic/grammar.el
(semantic-analyze-possible-completions):
* lisp/cedet/semantic/decorate/include.el
(semantic-decoration-include-describe):
* lisp/cedet/semantic/debug.el (semantic-debug-highlight-lexical-token):
(semantic-debug-highlight-rule):
* lisp/cedet/semantic/db-typecache.el
(semanticdb-typecache-for-database):
* lisp/cedet/semantic/complete.el
(semantic-collector-calculate-completions-raw):
* lisp/cedet/semantic/bovine/make.el
(semantic-analyze-possible-completions):
* lisp/cedet/semantic/analyze/refs.el (semantic-analyze-refs-impl):
(semantic-analyze-refs-proto):
* lisp/cedet/semantic/analyze/debug.el
(semantic-analyzer-debug-describe-scope):
* lisp/cedet/semantic/analyze.el (semantic-analyze-interesting-tag):
(semantic-analyze-interesting-tag):
(semantic-analyze-pulse):
* lisp/cedet/ede/util.el (ede-update-version):
* lisp/cedet/ede/shell.el (ede-shell-run-something):
* lisp/cedet/ede/project-am.el (project-am-load-makefile):
(project-rescan):
(project-am-macro):
(ede-buffer-mine):
(project-compile-target-command):
(project-am-package-info):
* lisp/cedet/ede/files.el (ede--project-inode):
(ede-directory-get-open-project):
(ede-directory-get-toplevel-open-project):
(ede-find-subproject-for-directory):
(ede-toplevel-project):
* lisp/cedet/ede/cpp-root.el (initialize-instance):
(project-compile-project):
(project-compile-target):
* lisp/cedet/ede/config.el (ede-config-get-configuration):
(project-debug-target):
(project-run-target):
(project-compile-project):
(ede-preprocessor-map):
(ede-java-classpath):
* lisp/cedet/ede/base.el (ede-normalize-file/directory): Use
CLOS-style oref/oset accessors instead of eieio-style :colon
accessors. This avoids compilation warnings and is allegedly
faster.
Lars Ingebrigtsen [Fri, 14 Jun 2019 12:05:24 +0000 (14:05 +0200)]
Obsolete erc-send-pre-hook and add new erc-pre-send-function
* lisp/erc/erc.el (erc-send-pre-hook): Make obsolete.
(erc-send-input): Ditto.
(erc-pre-send-function): New function.
(erc-send-input): Use the new function, and silence byte
compilation warning about the dynamic variable `str' used by the
now-obsolete hook.
Lars Ingebrigtsen [Fri, 14 Jun 2019 11:30:13 +0000 (13:30 +0200)]
Fix compilation warning in rmailmm
* lisp/mail/rmailmm.el (rmail-mime-insert-bulk): Remove apparently
superfluous call to string-as-unibyte -- the buffer should be
unibyte already at this point.
Lars Ingebrigtsen [Fri, 14 Jun 2019 11:23:11 +0000 (13:23 +0200)]
Avoid compilation warning in byte-run
* lisp/emacs-lisp/byte-run.el (macro-declaration-function): Avoid
compilation warning by not using `symbol-function'.