1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
Commit graph

136834 commits

Author SHA1 Message Date
Lars Ingebrigtsen
d64d36de8e Fix typo in object-print cleanup
* lisp/cedet/srecode/insert.el
(srecode-insert-variable-secondname-handler): Fix typo in
object-print cleanup.
2019-06-13 17:42:26 +02:00
Lars Ingebrigtsen
a6191e060b Remove outdated FIXME
* lisp/emacs-lisp/eieio-core.el (eieio--slot-name-index): Remove
comment about issuing a byte compilation warning about accessing
slots via :initarg -- it was implemented a few months later.
2019-06-13 17:19:32 +02:00
Lars Ingebrigtsen
7bee5072f9 semantic/senator.el byte compilation fix
* lisp/cedet/semantic/senator.el (semantic/analyze): Require to
avoid compilation warnings about unknown slots, and remove
declare-function.
2019-06-13 16:58:58 +02:00
Lars Ingebrigtsen
37d827152f semantic/idle.el compilation warning fix
* lisp/cedet/semantic/idle.el (semantic/analyze): Require to
avoid compilation warnings about unknown slots, and remove
declare-function.
2019-06-13 16:57:50 +02:00
Lars Ingebrigtsen
5b8fa27279 semantic/grammar byte compilation fixes
* lisp/cedet/semantic/grammar.el (semantic/analyze): Require to
avoid compilation warnings about unknown slots, and remove
declare-function.
2019-06-13 16:56:01 +02:00
Lars Ingebrigtsen
1cd77d2021 semantic/chart.el compilation warning fixes
* lisp/cedet/semantic/chart.el (semantic/db-typecache)
(semantic/scope): Require to avoid byte compilation warnings about
undefined slots.  Remove declare-functions from these packages.
2019-06-13 16:53:10 +02:00
Lars Ingebrigtsen
126702a979 Fix some cedet compilation warnings pertaining to semantic/db
* lisp/cedet/ede/config.el (semantic/db)
(ede-preprocessor-map): Ditto.

* lisp/cedet/ede/cpp-root.el (semantic/db): Ditto.

* lisp/cedet/ede/emacs.el (semantic/db): Ditto.

* lisp/cedet/ede/linux.el (semantic/db): Require to avoid warnings
about unknown slot lexical-table, and remove declare-functions
from the now-required semantic/db.
2019-06-13 16:33:06 +02:00
Lars Ingebrigtsen
69d3d69d4c project.el compilation warning fix
* lisp/progmodes/project.el (xref--regexp-to-extended)
(xref--convert-hits): Declare more xref functions to avoid
compilation warnings.
2019-06-13 16:16:57 +02:00
Alan Mackenzie
6b5388794b Depessimize bits of CC Mode for long C macros.
* lisp/progmodes/cc-engine.el (c-end-of-macro): Check for being in a
degenerate zero length "macro", when setting the macro cache.
(c-determine-+ve-limit): Add in a missing goto-char form for when start-pos is
non-nil.
(c-back-over-member-initializers): Add a search limit parameter.

* lisp/progmodes/cc-fonts.el (c-get-fontification-context): Add a search limit
to c-go-up-list-backward.
(c-font-lock-cut-off-declarators): Add a search limit to
c-back-over-member-initializers.

* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Don't
set c-new-END to the end of logical line (which might be a long macro).
(c-after-change-mark-abnormal-strings): Calculate end-hwm in place of the
setting of c-new-END (above).  Use this as a search limit rather than
c-new-END.
2019-06-13 14:10:02 +00:00
Stefan Kangas
38d8db1bf2 ; * etc/NEWS: Small cleanup.
* etc/NEWS: Merge two bookmark items in NEWS (bug#36188).
2019-06-13 16:04:40 +02:00
Stefan Kangas
4ec926dc03 Remove XEmacs support from bookmark.el
* lisp/bookmark.el (bookmark-store): Remove XEmacs compat code
(bug#36189).
2019-06-13 16:02:39 +02:00
Lars Ingebrigtsen
e6e4a05087 Use cl-print-object instead of object-print throughout cedet
* lisp/cedet/semantic/db-find.el (semanticdb-find-log-activity):
Ditto.

* lisp/cedet/semantic/analyze/debug.el
(semantic-analyzer-debug-insert-include-summary): Ditto.

* lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment)
(semantic-c-describe-environment)
(semantic-c-describe-environment): Ditto.

* lisp/cedet/semantic/decorate/include.el
(semantic-decoration-fileless-include-describe): Ditto.
(semantic-decoration-all-include-summary): Ditto.

* lisp/cedet/srecode/insert.el
(srecode-insert-variable-secondname-handler): Use cl-print-object
instead of object-print.
2019-06-13 15:58:32 +02:00
Lars Ingebrigtsen
67b261d2da erc-dcc.el minor clean-ups
* lisp/erc/erc-dcc.el: Remove outdated comments.
(erc-dcc-get-file): Remove XEmacs compat code.
2019-06-13 14:37:25 +02:00
Lars Ingebrigtsen
390c8805c2 Fix erc-dcc server-close code and fix compilation warning
* lisp/erc/erc-dcc.el (erc-dcc-get-filter): We receive unibyte
data, so no need to convert to unibyte.
(erc-dcc-send-filter): Kill the process before killing the buffer
so that we're not queried about killing the process.
2019-06-13 14:35:30 +02:00
Lars Ingebrigtsen
bc7e771f9b Make erc-dcc-server work again by making synchronous
* lisp/erc/erc-dcc.el (erc-dcc-server): :server and :nowait can't
be mixed, so remove the :nowait.
2019-06-13 14:26:18 +02:00
Pip Cet
bfec493efe Escape newlines when printing functions in timer list
* timer-list.el (list-timers): Bind `print-escape-newlines' to avoid
newlines in printed representation (bug#36187).
2019-06-13 14:11:39 +02:00
Lars Ingebrigtsen
f660616f82 Compilation fix for previous change 2019-06-13 13:56:16 +02:00
Lars Ingebrigtsen
bb5641d3cc Compilation warning fix for disass.el
* lisp/emacs-lisp/disass.el (disassemble-1): Remove a
string-as-unibyte that probably doesn't do anything, because the
string in question should be unibyte anyway.  If the assert fails,
revert the patch.
2019-06-13 13:54:53 +02:00
Alan Mackenzie
25b1376516 CC Mode: replace an erroneous re-search-forward with search-forward
Move two declarations to a more suitable point in the cc-engine.el.

* lisp/progmodes/cc-engine.el (c-after-change-unmark-raw-strings): Change an
re-search-forward to search-forward.
(c-semi-lit-near-cache, c-semi-near-cache-limit): Move the declarations.
2019-06-13 10:06:33 +00:00
Eli Zaretskii
2f4b4c8571 Fix display of Hebrew text with precomposed characters
* lisp/language/hebrew.el (base): Include precomposed
Hebrew characters from the Alphabetic Presentation Forms in
the composition patterns.  (Bug#36171)
2019-06-13 12:41:37 +03:00
Eli Zaretskii
52305bcb51 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2019-06-13 11:53:18 +03:00
Eli Zaretskii
769e9fa5ae Fix text shaping of precomposed characters with HarfBuzz
* src/hbfont.c (hbfont_shape): Fix setting TO of lglyph for
the case when Lisp shape-gstring function performed some
compositions by itself.  This happens with hebrew.el.  See
https://lists.freedesktop.org/archives/harfbuzz/2019-June/007396.html
for the details of the problem this solves.
2019-06-13 11:49:30 +03:00
Alan Mackenzie
95c400a508 Move declaration of c-syntax-table-hwm to avoid compiler warnings.
This variable was declared after an invocation of a defsubst which used it,
the defsubst being in another file.

* lisp/progmodes/cc-mode (c-syntax-table-hwm): Move the declaration to earlier
in the file.
2019-06-13 08:46:30 +00:00
Glenn Morris
4c3e78a9f4 Allow for line breaks in a bytecomp test
* test/lisp/emacs-lisp/bytecomp-tests.el (test-suppression):
Warnings from the byte compiler may be filled.
2019-06-12 19:31:00 -07:00
Lars Ingebrigtsen
4752de8349 Avoid string-make-multibyte in ps-mode.el
* lisp/progmodes/ps-mode.el (ps-mode-octal-region): Avoid usage of
string-make-multibyte, but work in both unibyte and multibyte buffers.
2019-06-13 03:12:03 +02:00
Lars Ingebrigtsen
c25e3754ed Add more ps-mode octal tests
* test/lisp/progmodes/ps-mode-tests.el
(ps-mode-test-octal-region-multibyte): New test.
2019-06-13 03:03:26 +02:00
Lars Ingebrigtsen
986e333eaa Revert previous ps-mode.el change
* lisp/progmodes/ps-mode.el (ps-mode-octal-region): Revert
previous change because the `string-make-unibyte' insertion was
the previous single change (in 2013) to this file, so it must have
some subtle meaning or other.
2019-06-13 02:54:24 +02:00
Lars Ingebrigtsen
5b7ec43c61 Add ps-mode-tests.el and remove a compilation warning
* lisp/progmodes/ps-mode.el (ps-mode-octal-region): Remove a
string-make-unibyte that apparently had no effect here.
* test/lisp/progmodes/ps-mode-tests.el: New file.
2019-06-13 02:48:41 +02:00
Lars Ingebrigtsen
b334124a23 Suppress warnings in tildify.el
* lisp/textmodes/tildify.el (tildify--deprecated-ignore-evironments):
(tildify-tildify, tildify-mode): Suppress warnings about obsolete
internal function `tildify--pick-alist-entry'.  Apparently these
semi-deprecated functions rely on each other.
2019-06-13 02:29:57 +02:00
Lars Ingebrigtsen
db2bd19c45 Add comment to clarify the use of `str' 2019-06-13 02:29:57 +02:00
Glenn Morris
fb69593f60 Revert "Compilation warning fix for byte-run.el"
* lisp/emacs-lisp/byte-run.el (macro-declaration-function):
Revert change that causes a bootstrap failure.

; Ref eg https://hydra.nixos.org/build/94678649
2019-06-12 17:20:50 -07:00
Lars Ingebrigtsen
c717a5bf53 Fix compilation warnings in rfc2104
* lisp/net/rfc2104.el (rfc2104-hash): Remove superflous calls to
string-make-unibyte and avoid two compilation warnings.
2019-06-13 01:53:58 +02:00
Lars Ingebrigtsen
73ab8f4b8c New file rfc2104-tests.el
* test/lisp/net/rfc2104-tests.el: New file to test rfc2104 hashes.
2019-06-13 01:53:58 +02:00
Glenn Morris
e2e63dc3f0 Give more information in a bytecomp test failure
* test/lisp/emacs-lisp/bytecomp-tests.el (test-suppression):
More informative failure messages.
2019-06-12 16:49:06 -07:00
Lars Ingebrigtsen
d16b73fb4a Fix compilation warning in qp.el
* lisp/mail/qp.el (quoted-printable-encode-region): No need to
convert the regexp to multibyte before searching.
2019-06-13 01:43:58 +02:00
Lars Ingebrigtsen
982af7f516 Fix warning about obsolete func calling obsolete func in etags.el
* lisp/progmodes/etags.el (find-tag-other-frame): Don't give a
warning about an obsolete function calling another obsolete function.
2019-06-13 01:33:27 +02:00
Lars Ingebrigtsen
9645b5752a Compilation warning fix in feedmail.el
* lisp/mail/feedmail.el (feedmail-scroll-buffer): Remove XEmacs
compat code (that gave a compilation warning).
2019-06-13 01:29:27 +02:00
Lars Ingebrigtsen
1743da11d0 Remove XEmacs compat code from mml.el that gave a compilation warning
* lisp/gnus/mml.el (mml-mode): Remove XEmacs compat code
2019-06-13 01:27:36 +02:00
Lars Ingebrigtsen
7556772ac2 message.el byte compilation warning fix
* lisp/gnus/message.el (message-inhibit-body-encoding): Move
earlier to avoid compilation warning.
2019-06-13 01:24:47 +02:00
Lars Ingebrigtsen
e4636297c6 Compilation warning fix for byte-run.el
* lisp/emacs-lisp/byte-run.el (macro-declaration-function):
Suppress warning about obsolete function used by obsolete variable.
2019-06-13 01:14:47 +02:00
Lars Ingebrigtsen
afa47a6dd0 todo-mode.el compilation warning fix
* lisp/calendar/todo-mode.el (hl-line-highlight): Declare to avoid
compilation warning.
2019-06-13 01:12:23 +02:00
Lars Ingebrigtsen
6d63f68f33 Touch ups to the XEmacs deletion patch for idlw-shell.el
* lisp/progmodes/idlw-shell.el (idlwave-xemacs-hack-mouse-track):
Fix up previous obsoletion.
2019-06-13 00:16:17 +02:00
Lars Ingebrigtsen
1f03c52173 Remove XEmacs support from idlw-shell.el
* lisp/progmodes/idlw-shell.el (idlwave-shell-make-temp-file)
(idlwave-shell-mouse-examine)
(idlwave-xemacs-hack-mouse-track, idlwave-display-buffer)
(idlwave-shell-debug-line-map)
(idlwave-shell-make-new-bp-overlay, idlwave-shell-mode-map):
Remove XEmacs support.
2019-06-13 00:08:57 +02:00
Lars Ingebrigtsen
2c139c9a09 Remove XEmacs support from ido.el
* lisp/ido.el (ido-active, ido-completion-help)
(ido-minibuffer-setup): Remove XEmacs support.
2019-06-12 23:38:55 +02:00
Lars Ingebrigtsen
2034bfdf63 Remove compat code for XEmacs and pre-Emacs 20 Emacs in pcomplete.el
* lisp/pcomplete.el (pcomplete-event-matches-key-specifier-p)
(pcomplete-read-event, pcomplete-show-completions): Remove XEmacs
support and mark now-trivial defaliases as obsolete.
2019-06-12 23:26:56 +02:00
Lars Ingebrigtsen
6317c2563c Remove XEmacs support from dig.el
* lisp/net/dig.el (dig-mode): Remove XEmacs support.
2019-06-12 23:26:56 +02:00
Lars Ingebrigtsen
dee0ed52c0 Remove XEmacs support from goto-addr.el
* lisp/net/goto-addr.el (goto-address-highlight-keymap): Remove
XEmacs support.
2019-06-12 23:26:56 +02:00
Lars Ingebrigtsen
9fb448e00c Remove XEmacs support from dns.el
* lisp/net/dns.el (dns-read-string-name, dns-write, dns-read)
(dns-make-network-process, dns-query): Remove XEmacs support.
2019-06-12 23:26:56 +02:00
Lars Ingebrigtsen
6fbfd36bf4 Remove XEmacs compat code from tempo.el
* lisp/tempo.el (tempo-insert-template): Remove XEmacs compat code.
2019-06-12 23:26:56 +02:00
Alan Mackenzie
468517c8b8 CC Mode: Add a workaround for syntax-ppss ignoring syntax-table prop changes
* lisp/progmodes/cc-engine.el (c-truncate-lit-pos-cache): Maintain the new
variable c-syntax-table-hwm after buffer changes.

* lisp/progmodes/cc-mode.el (c-syntax-table-hwm): New variable.
(c-before-change): Set c-syntax-table-hwm to "infinity".
(c-after-change): Call syntax-ppss-flush-cache, just before a font locking is
due to take place.
2019-06-12 19:17:22 +00:00