1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

141796 Commits

Author SHA1 Message Date
Paul Eggert
88b4516cf8 Port to Oracle Studio 12.6 (sparc)
* src/alloc.c (__builtin_unwind_init) [!HAVE___BUILTIN_UNWIND_INIT]:
Move from here ...
* src/lisp.h: ... to here, since flush_stack_call_func uses it.
* src/pdumper.c (dump_off_from_lisp): Avoid ‘return n;;’ to pacify
Oracle Studio.
2020-07-30 09:23:51 -07:00
Eli Zaretskii
35564bea4d Fix face extension past EOL in overlay strings
* src/xdisp.c (face_at_pos): Pass ATTR_FILTER to
face_for_overlay_string.
* src/xfaces.c (face_for_overlay_string): Accept an additional
argument ATTR_INDEX and pass it to merge_face_ref for merging the
face at POS.  This ensures a face from buffer text will not be
merged unless it specifies the :extend attribute.  (Bug#42552)
* src/dispextern.h (face_for_overlay_string): Adjust prototype.
2020-07-30 16:56:36 +03:00
Michael Albinus
50ea5b871d Fix Tramp bug#42538
* lisp/net/tramp-sh.el (tramp-set-remote-path): Send the command
in several chunks if it is too large.  (Bug#42538)
2020-07-30 13:46:22 +02:00
Lars Ingebrigtsen
a0b18d3cc2 Make libravatar lookups asynchronous
* lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): Fix check for
repeated gravatars, which is now easier to trigger now that things
are more asynchronous.

* lisp/image/gravatar.el (gravatar--service-libravatar): Fetch the
data asynchronously (bug#40676).
(gravatar-service-alist): Adjust all providers so they are
asynchronous.
(gravatar-build-url): Adjust caller to be asynchronous.
(gravatar-retrieve): Ditto.
(gravatar-retrieve-synchronously): Ditto.
2020-07-30 05:32:16 +02:00
Lars Ingebrigtsen
ef7f569cbd Add the new function dns-query-asynchronous
* lisp/net/dns.el (dns-query-asynchronous): New function.
(dns--lookup, dns--filter): New internal functions.
(dns-query): Reimplement on top of dns-query-asynchronous.
2020-07-30 05:32:16 +02:00
Lars Ingebrigtsen
789197049c Use lexical binding in dns.el
* lisp/net/dns.el: Use lexical-binding.
(dns-write-bytes, dns-read): Adjust for lexical-binding.
2020-07-30 05:32:16 +02:00
Lars Ingebrigtsen
18a5e52eed Small dns.el code cleanup
* lisp/net/dns.el (dns-query): Clean up code slightly by removing
a macro and moving the code into the function itself.
2020-07-30 05:32:16 +02:00
Glenn Morris
55806ee46b * admin/gitmerge.el (gitmerge-resolve): Discard AUTHORS conflicts. 2020-07-29 15:15:15 -07:00
Glenn Morris
653a81bf8c Update a gravatar test
* test/lisp/image/gravatar-tests.el (gravatar-build-url):
Update for recent change in default gravatar-service.
2020-07-29 08:52:42 -07:00
Mattias Engdegård
c48bb7deb8 Preserve match data in 'kbd'
* lisp/subr.el (kbd): Preserve match data since this function is
declared pure (see discussion in bug#42147).
2020-07-29 17:48:53 +02:00
Glenn Morris
3b0cb1c4f5 Merge from origin/emacs-27
d024fc141b (origin/emacs-27) * doc/lispref/symbols.texi (Definitions)...
d78e0f3cd5 ; lisp/ldefs-boot.el: Update.
27877e7bcf (tag: emacs-27.1-rc1) * etc/HISTORY: Add Emacs 27.1 releas...
2020-07-29 08:39:28 -07:00
Glenn Morris
b8c8e93f06 ; Merge from origin/emacs-27
The following commit was skipped:

44888c95b0 Bump Emacs version to 27.1
2020-07-29 08:39:28 -07:00
Glenn Morris
8f46e67ffd Merge from origin/emacs-27
1fc742b63e ; Update ChangeLog.3
4c7f6217da * etc/AUTHORS: Update.
24391f517a Update authors.el
56f958807c * etc/NEWS: Remove temporary markup.
73a2f51043 Add another test for global module references

# Conflicts:
#	etc/AUTHORS
#	etc/NEWS
2020-07-29 08:39:28 -07:00
Glenn Morris
64a1b42456 ; Merge from origin/emacs-27
The following commits were skipped:

3838aeb739 Backport: add another test case for module assertions.
bde5f5f897 Backport: Add module test for edge case.
2020-07-29 08:38:51 -07:00
Glenn Morris
775a3e19d2 Merge from origin/emacs-27
4b3085a7fe Fix last change
efdd4632c9 Fix Arabic shaping when column-number-mode is in effect
d5acc50941 Fix description of kmacro-* commands in the user manual
2020-07-29 08:38:51 -07:00
Glenn Morris
50237759b0 ; Merge from origin/emacs-27
The following commit was skipped:

96a3b473fa Fix viewing of encrypted S/MIME messages
2020-07-29 08:38:51 -07:00
Michael Albinus
9d011397ab * etc/NEWS: Fix typos. 2020-07-29 16:41:30 +02:00
Michael Albinus
4a07d3c7d4 Tramp doc edit
* doc/misc/tramp.texi: Use it.

* doc/misc/trampver.texi: Declare @trampurl.
2020-07-29 16:41:18 +02:00
Stefan Kangas
d024fc141b * doc/lispref/symbols.texi (Definitions): Fix typo. 2020-07-29 12:35:19 +02:00
Lars Ingebrigtsen
28bf56b871 Don't default to librgravatar, since there are security implications
* lisp/image/gravatar.el (gravatar-service): Change the default
from libravatar, since that has privacy concerns (bug#40676).
2020-07-29 08:47:29 +02:00
Lars Ingebrigtsen
db1b1f09b8 Use a new method to determine when to auto-stop image animations
* lisp/image.el (image-animate-timeout): Make the animation
auto-stop use a decaying average to determine when to stop
(bug#40685).  The default stop condition will probably require
some tweaking -- the current default may be too aggressive.
2020-07-29 08:38:52 +02:00
Lars Ingebrigtsen
76f71e39f5 Make eww use the XDG download directory
* lisp/net/eww.el (erc--download-directory): New function (bug#41030).
(eww-download-directory): Use it.
(eww-download): Use it.
(eww-download-callback): Adjust parameters.
2020-07-29 07:13:56 +02:00
Philip K
bcf486c604 Make the erc-header-line default to header-line
* lisp/erc/erc.el (erc-header-line): Inherit from header-line (the
old values were very similar in light mode, but very different
in dark mode) (bug#41095).
2020-07-29 06:54:05 +02:00
Juri Linkov
eb9e065c00 * lisp/vc/vc-git.el (vc-git-log-view-mode): Font-lock AuthorDate (bug#40248)
Highlight "AuthorDate" in log-view-font-lock-keywords
when [format] pretty = fuller.
2020-07-29 03:47:29 +03:00
Philip K
2ab66c9f9b Replace project-kill-buffers-ignores with project-kill-buffer-conditions
* lisp/progmodes/project.el (project-kill-buffer-conditions):
Replace the project-kill-buffers-ignores user option.
(project--kill-buffer-check): New function.
(project--buffers-to-kill): New function.
(project-kill-buffers): Use them.  Add the NO-CONFIRM argument.
2020-07-29 01:21:56 +03:00
Nicolas Petton
d78e0f3cd5
; lisp/ldefs-boot.el: Update. 2020-07-28 23:04:11 +02:00
Nicolas Petton
27877e7bcf
* etc/HISTORY: Add Emacs 27.1 release date. 2020-07-28 22:30:24 +02:00
Nicolas Petton
44888c95b0
Bump Emacs version to 27.1
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version.
2020-07-28 22:27:07 +02:00
Nicolas Petton
1fc742b63e
; Update ChangeLog.3 2020-07-28 22:26:42 +02:00
Nicolas Petton
4c7f6217da
* etc/AUTHORS: Update. 2020-07-28 22:25:32 +02:00
Nicolas Petton
24391f517a
Update authors.el
* admin/authors.el (authors-aliases): Add author aliases.
2020-07-28 22:22:53 +02:00
Nicolas Petton
56f958807c
* etc/NEWS: Remove temporary markup. 2020-07-28 22:03:00 +02:00
Nicolas Petton
bc486d1e20
Revert "* etc/NEWS.27: Remove temporary markup."
This reverts commit c270104e50.
2020-07-28 21:58:50 +02:00
Nicolas Petton
c270104e50
* etc/NEWS.27: Remove temporary markup. 2020-07-28 21:45:39 +02:00
Nicolas Petton
f9daa69547
* etc/AUTHORS: Update. 2020-07-28 19:06:54 +02:00
Nicolas Petton
6c23b1a154
Update authors.el
* admin/authors.el (authors-aliases): Add author aliases.
(authors-ignored-files):
(authors-valid-file-names):
(authors-renamed-files-alist): Update file lists.
2020-07-28 19:06:53 +02:00
Mattias Engdegård
e5889c704f Simplify and streamline optimizer clauses
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
Remove clause for 'with-output-to-temp-buffer', since it is a
macro and will have been expanded before reaching this point.
Move clauses for 'lambda' and 'closure' to avoid splitting
a cond jump table.
2020-07-28 15:48:38 +02:00
Basil L. Contovounesios
33ee326628 Fix uses of deprecated SELinux security_context_t
SELinux has used 'char *' in place of its typedef
'security_context_t' since 2014 (v2.3) because the latter was
inconvenient to use when paired with the 'const' qualifier.  The
typedef has been kept around for compatibility with legacy callers,
but it is deprecated in SELinux v3.1.  See the following URL for the
relevant announcement:
https://lore.kernel.org/selinux/20200710162034.GC1768200@localhost.localdomain/

* src/fileio.c (Fcopy_file, Ffile_selinux_context)
(Fset_file_selinux_context) [HAVE_LIBSELINUX]: Replace deprecated
'security_context_t' typedef with the equivalent 'char *'.
2020-07-28 14:14:25 +03:00
Michael Albinus
1b2fed81e1 Apply simpler fix for Tramp bug#39399
* lisp/net/tramp-sh.el (tramp-open-shell): Remove "~/.editrc" editing.
(tramp-open-connection-setup-interactive-shell): Move up "set +o
vi +o emacs" command.   (Bug#39399)
2020-07-28 09:21:01 +02:00
Lars Ingebrigtsen
b2bb1135d8 Fix thinko in previous nnmail.el patch
* lisp/gnus/nnmail.el (nnmail-check-duplication): Fix thinko in
previous patch -- group-art is a list of pairs, not a pair.
2020-07-28 00:51:29 +02:00
Lars Ingebrigtsen
3bd748ebba Fix problem with new-mail-mark in Gnus with non-unique names
* lisp/gnus/gnus-group.el (gnus-group-new-mail): Call with Gnus
group name.
(gnus-group-catchup): Ditto.

* lisp/gnus/gnus-sum.el (gnus-summary-exit): Ditto.

* lisp/gnus/nnimap.el (nnimap-update-info): Store Gnus group name.

* lisp/gnus/nnmail.el (nnmail-check-duplication): Store unique
Gnus names in the history instead of backend-specific (possibly
duplicated) group names (bug#41842).
2020-07-28 00:46:37 +02:00
Eric Abrahamsen
9903b39148 * doc/misc/gnus.texi: Add introductory section to Gnus manual
"Don't Panic: Your first 20 minutes with Gnus."
2020-07-27 15:37:40 -07:00
João Távora
9d751aa822 Make newer ElDoc versions are compatible with Emacs < 28
Fixes: bug#42563

For some time, Eldoc has has some Elisp-specific code that shouldn't
live there, but in elisp-mode.el.  This can be fixed in Emacs master,
but since ElDoc is distributed in GNU Elpa and is meant to work with
Emacs 26 and 27, this means that that elisp-specific code must still
be distributed with eldoc.el and kept up to date.

* lisp/emacs-lisp/eldoc.el (eldoc--eval-expression-setup): Ensure
implementation is compatible with Emacs < 28.
(Version): Bump to 1.8
2020-07-27 22:18:57 +01:00
João Távora
688c03f412 Bring back ElDoc's eldoc-display-message-p, but obsolete it
Like others, this is an implementation detail that third parties could
be relying on.  Better not remove it outright just now, since its
implementation is very simple anyway.

* lisp/emacs-lisp/eldoc.el (Version): Bump to 1.7.0
(eldoc-display-message-p): Bring back, but obsolete.
2020-07-27 16:26:33 +01:00
Dmitry Gutov
4d195bb7d0 Fix argument reference
* lisp/progmodes/project.el
(project-display-buffer-other-frame): Fix argument reference.
2020-07-27 03:05:16 +03:00
Dmitry Gutov
33667e02e6 Move project--value-in-dir to a different section
* lisp/progmodes/project.el (project--value-in-dir):
Move closer to its uses.
2020-07-27 03:04:09 +03:00
Dmitry Gutov
7551aff22c Bind switch-to-buffer-obey-display-actions to t
* lisp/progmodes/project.el (project--other-place-command):
Bind switch-to-buffer-obey-display-actions to t, so that
project-other-window-command and friends can affect
project-switch-to-buffer.
2020-07-27 02:57:06 +03:00
Sean Whitton
b63c5a7efc Add project other place commands
* lisp/progmodes/project.el (project-other-window-map,
project-other-frame-map, project--other-place-command,
project-other-window-command, project-other-frame-command,
project-other-tab-command): Add these functions and maps.
* lisp/progmodes/project.el: Bind project-other-window-command to C-x
4 p, project-other-frame-command to C-x 5 p and
project-other-tab-command to C-x t p (bug#42210).
2020-07-27 02:56:50 +03:00
Sean Whitton
e3614fcc62 Add project-display-buffer and project-display-buffer-other-frame
* lisp/progmodes/project.el (project-display-buffer,
project-display-buffer-other-frame): Add commands.
2020-07-27 02:52:10 +03:00
Sean Whitton
7479c11b4e Factor out project--read-project-buffer from project-switch-buffer
* lisp/progmodes/project.el (project--read-project-buffer): New
function extracted from project-switch-buffer.
* lisp/progmodes/project.el (project-switch-buffer): Instead of
unconditionally reading a project buffer from the user, add
buffer-or-name argument, and populate it using
project--read-project-buffer when called interactively.  Update
docstring.
2020-07-27 02:52:10 +03:00