Stefan Kangas [Sat, 2 Oct 2021 15:25:29 +0000 (17:25 +0200)]
Revert "; * etc/TODO: Move elpa.gnu.org items to the end."
This reverts commit
d73f0e96a7026808c01861f7525a2909279fc00d.
These items are a priority for the project and should be before other,
less prioritized items, according to a private discussion with project
co-maintainer Eli Zaretskii <eliz@gnu.org>.
Stefan Kangas [Sat, 2 Oct 2021 15:25:24 +0000 (17:25 +0200)]
Revert "* etc/TODO: Rearrange to start with "Simple tasks"."
This reverts commit
879ef5b19ab1dd90284aef829ef306d56b4e5adb.
Some of these items are a priority for the project and should be
before other, less prioritized items, according to a private
discussion with project co-maintainer Eli Zaretskii <eliz@gnu.org>.
Eli Zaretskii [Sat, 2 Oct 2021 14:38:55 +0000 (17:38 +0300)]
Fix selection of fonts for Arabic on Posix platforms
* lisp/international/fontset.el (script-representative-chars): Add
U+06C1 to representative-characters for Arabic. (Bug#50951)
Eli Zaretskii [Sat, 2 Oct 2021 12:57:51 +0000 (15:57 +0300)]
; Fix a typo in a doc string
* lisp/files.el (hack-local-variables--find-variables): Fix typo
in the doc string.
Lars Ingebrigtsen [Sat, 2 Oct 2021 08:37:48 +0000 (10:37 +0200)]
Fix ox-koma-letter compilation warnings
* lisp/org/ox-koma-letter.el (org-koma-letter-export-block)
(org-koma-letter-export-snippet): Fix warning about two unused
parameter.
Eli Zaretskii [Sat, 2 Oct 2021 08:06:18 +0000 (11:06 +0300)]
Preload paren.el
* lisp/Makefile.in (COMPILE_FIRST): Add the dependencies of
comp.el, so that they are natively-compiled in advance.
* lisp/loadup.el ("paren"): Preload paren.el. (Bug#50934)
Eli Zaretskii [Sat, 2 Oct 2021 06:40:44 +0000 (09:40 +0300)]
Improve documentation of 'shift-select-mode'
* doc/emacs/mark.texi (Shift Selection): Document the 'permanent'
value of 'shift-select-mode'. Add index entry for that variable.
(Bug#50954)
* etc/NEWS: Update the entry for 'shift-select-mode'.
Glenn Morris [Sat, 2 Oct 2021 01:07:45 +0000 (18:07 -0700)]
; Standardize some license headers
João Távora [Fri, 1 Oct 2021 23:49:48 +0000 (00:49 +0100)]
Simplify shorthand injection (bug#50946)
* lisp/loadup.el: Load "shorthands" relatively late. Set
load-source-file-function to load-with-shorthands-and-code-conversion
* lisp/international/mule.el (hack-elisp-shorthands)
(load-with-shorthands-and-code-conversion): Move to
lisp/shorthands.el
* lisp/shorthands.el: New file.
Glenn Morris [Fri, 1 Oct 2021 16:31:40 +0000 (09:31 -0700)]
; * admin/release-branch.txt: Tweak previous.
Glenn Morris [Fri, 1 Oct 2021 16:27:09 +0000 (09:27 -0700)]
* doc/lispref/control.texi (pcase Macro): Fix cross-reference.
Stephen Gildea [Fri, 1 Oct 2021 15:54:10 +0000 (08:54 -0700)]
; * lisp/time-stamp.el: Fix wording in some documentation strings.
Glenn Morris [Fri, 1 Oct 2021 15:46:09 +0000 (08:46 -0700)]
; * admin/release-branch.txt: Small edits.
Glenn Morris [Fri, 1 Oct 2021 15:33:32 +0000 (08:33 -0700)]
Fix some custom types
* lisp/mpc.el (mpc-cover-image-re):
* lisp/org/oc-csl.el (org-cite-csl-locales-dir)
(org-cite-csl-styles-dir):
* lisp/org/org-plot.el (org-plot/preset-plot-types): Fix :type.
Michael Albinus [Fri, 1 Oct 2021 14:42:52 +0000 (16:42 +0200)]
; Fix oddities in etc/NEWS
Glenn Morris [Fri, 1 Oct 2021 13:18:35 +0000 (06:18 -0700)]
; Auto-commit of loaddefs files.
Stefan Kangas [Fri, 1 Oct 2021 13:09:31 +0000 (15:09 +0200)]
* etc/TODO: Add interactive mode tagging.
Stefan Kangas [Fri, 1 Oct 2021 13:00:29 +0000 (15:00 +0200)]
* etc/TODO: Rearrange to start with "Simple tasks".
Stefan Kangas [Fri, 1 Oct 2021 12:04:04 +0000 (14:04 +0200)]
; * etc/TODO: Move elpa.gnu.org items to the end.
It makes no sense to have them before "easy" items intended for
beginners, especially since we miss some things to make this happen.
Stefan Kangas [Fri, 1 Oct 2021 11:57:06 +0000 (13:57 +0200)]
; * etc/TODO: Mention a relevant bug report.
Stefan Kangas [Fri, 1 Oct 2021 11:07:31 +0000 (13:07 +0200)]
* etc/TODO: Remove outdated item. (Bug#50904)
Amin Bandali [Fri, 1 Oct 2021 05:31:29 +0000 (01:31 -0400)]
; Oops, fix up last commit
Stefan Kangas [Fri, 1 Oct 2021 05:21:08 +0000 (01:21 -0400)]
Rename arguments of ERC's '/whois' and simplify doc string
* lisp/erc/erc.el (erc-cmd-WHOIS): Rename arguments and reword the doc
string to further clarify and simplify.
Dmitry Gutov [Fri, 1 Oct 2021 00:05:56 +0000 (03:05 +0300)]
; s/class/type
Dmitry Gutov [Thu, 30 Sep 2021 21:02:21 +0000 (00:02 +0300)]
Migrate Xref off EIEIO
To improve performance and flexibility (bug#50777).
* lisp/progmodes/xref.el (xref-location): Remove.
(xref-file-location): Change to cl-struct.
(xref-buffer-location, xref-bogus-location): Ditto.
(xref-item, xref-match-item): Same.
And update all method definitions accordingly.
(xref--insert-xrefs): Don't use 'oref', use 'xref-item-location'.
(xref--insert-xrefs, xref-show-definitions-completing-read):
Insetad of 'with-slots', use 'xref-item-summary' and
'xref-item-location'.
* lisp/progmodes/etags.el (xref-etags-location):
Change from EIEIO class into a cl-struct.
(xref-etags-apropos-location): Ditto.
Update all method definitions.
* test/lisp/progmodes/elisp-mode-tests.el (xref-elisp-test-run):
Avoid using 'oref'.
Eli Zaretskii [Thu, 30 Sep 2021 19:19:14 +0000 (22:19 +0300)]
* admin/release-branch.txt: New file.
Eli Zaretskii [Thu, 30 Sep 2021 19:16:23 +0000 (22:16 +0300)]
* lisp/dired.el (dired-omit-mode): Declare, to avoid compiler warning.
Eli Zaretskii [Thu, 30 Sep 2021 17:05:09 +0000 (20:05 +0300)]
Cut the emacs-28 release branch
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 28.0.60.
* lisp/cus-edit.el (customize-changed-options-previous-release):
Update the last released version of Emacs.
Michael Albinus [Thu, 30 Sep 2021 16:28:31 +0000 (18:28 +0200)]
; Still working on emba CI
* test/infra/Dockerfile.emba (emacs-base): Install also acl.
* test/infra/gitlab-ci.yml (.test-template): Move 'allow_failure'
clause level up.
Nikolay Kudryavtsev [Wed, 29 Sep 2021 19:33:49 +0000 (22:33 +0300)]
Make checkdoc's docstring substitution consistent with other docs
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
In error text, say "mapvar" instead of "keymap", and "command"
instead of "function", to be consistent with the ELisp manual.
(Bug#50903)
Mattias Engdegård [Thu, 30 Sep 2021 15:22:29 +0000 (17:22 +0200)]
; Mark cl-flet indentation test as failing (bug#9622)
Mattias Engdegård [Thu, 30 Sep 2021 15:13:12 +0000 (17:13 +0200)]
Fix regexp snags in org
* lisp/org/org-element.el (org-element-citation-key-re):
* lisp/org/ox-org.el (org-org-identity):
Remove repeated chars in alternatives.
* lisp/org/ob-java.el (org-babel-execute:java):
Remove superfluous backslash.
* lisp/org/ob-java.el (org-babel-java--main-re)
(org-babel-java--any-method-re): Remove (0+ space) expressions
subsumed by adjacent expressions.
Mattias Engdegård [Thu, 30 Sep 2021 15:10:41 +0000 (17:10 +0200)]
org-element: use correct function
* lisp/org/org-element.el (org-element-headline-parser):
Pretty sure this one should be `skip-chars-backward`, not
`skip-syntax-backward`, since \t isn't a valid syntax code.
Mattias Engdegård [Thu, 30 Sep 2021 15:08:46 +0000 (17:08 +0200)]
; * test/lisp/emacs-lisp/bytecomp-tests.el: remove ineffective \
Mattias Engdegård [Thu, 30 Sep 2021 13:14:05 +0000 (15:14 +0200)]
Revert "Indent bodies of local function definitions properly in elisp-mode"
This reverts commit
38037e04cb05cb1f2b604f0b1602d36b0bcf6985.
Mattias Engdegård [Thu, 30 Sep 2021 13:13:52 +0000 (15:13 +0200)]
Revert "Fix regressions in cl-flet indentation"
This reverts commit
c42af5aee74f310bdcd63aac96b1c02ec07a1c50.
Philip Kaludercic [Thu, 30 Sep 2021 14:25:48 +0000 (16:25 +0200)]
Add rcirc-omit-unless-requested option
* doc/misc/rcirc.texi (Notices): Update documentation
* lisp/net/rcirc.el (rcirc-pending-requests): Add local variable
(rcirc-omit-unless-requested): Add user option
(rcirc-print): Respect rcirc-omit-unless-requested
(rcirc-define-command): Update rcirc-pending-requests
Stefan Monnier [Thu, 30 Sep 2021 14:02:29 +0000 (10:02 -0400)]
* lisp/org/ob-julia.el: Use lexical-binding
(ess-eval-visibly-p): Declare.
(org-babel-julia-assign-elisp): Remove unused vars `header` and
`row-names` and corespondingly remove now unused args `colnames-p` and
`rownames-p`.
(org-babel-variable-assignments:julia): Adjust call to
`org-babel-julia-assign-elisp` accordingly.
(org-babel-julia-initiate-session): Use `bound-and-true-p`.
(org-babel-julia-evaluate-external-process)
(org-babel-julia-evaluate-session, org-babel-julia-evaluate):
Remove unused arg `row-names-p`.
(org-babel-execute:julia): Adjust call to
`org-babel-julia-evaluate` accordingly.
Stefan Monnier [Thu, 30 Sep 2021 13:58:04 +0000 (09:58 -0400)]
* lisp/org/ox-koma-letter.el: Use lexical-binding
And remove redundant `:group` args.
Eli Zaretskii [Thu, 30 Sep 2021 11:32:58 +0000 (14:32 +0300)]
Fix a recent change of 'undo-redo' binding
* lisp/bindings.el (global-map): Fix the binding of 'undo-redo'.
(Bug#50911)
Eli Zaretskii [Thu, 30 Sep 2021 10:26:50 +0000 (13:26 +0300)]
Merge Org 9.5 from branch 'origin/scratch/org-sync'.
Mattias Engdegård [Thu, 30 Sep 2021 08:56:26 +0000 (10:56 +0200)]
; * src/nsterm.h: Use objc-mode.
Juri Linkov [Thu, 30 Sep 2021 07:04:20 +0000 (10:04 +0300)]
; * lisp/help.el (help--analyze-key): Add comment.
Lars Ingebrigtsen [Thu, 30 Sep 2021 07:04:11 +0000 (09:04 +0200)]
Fix previous `newline' patch
* lisp/simple.el (newline): Signal an error earlier to avoid
peculiar behaviour after getting a backtrace (bug#50900).
Lars Ingebrigtsen [Thu, 30 Sep 2021 07:03:18 +0000 (09:03 +0200)]
Make `newline' check the argument earlier
* lisp/simple.el (newline): Signal an error earlier to avoid
peculiar behaviour after getting a backtrace (bug#50900).
akater [Thu, 30 Sep 2021 06:33:14 +0000 (08:33 +0200)]
Fix regressions in cl-flet indentation
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p):
Rename (from -p-less form) and fix indentation regression
introduced by
38037e04cb05cb1f2b604f0b1602d36b0bcf6985
(bug#9622). Also add cl-macrolet cl-flet* cl-symbol-macrolet.
dickmao [Thu, 30 Sep 2021 04:59:10 +0000 (06:59 +0200)]
Fix bootstrap after recent undo-redo change
* lisp/bindings.el (global-map): Don't use `kbd' here -- it breaks
bootstrap (bug#50911).
Kyle Meyer [Thu, 30 Sep 2021 00:42:46 +0000 (20:42 -0400)]
* etc/NEWS: Announce Org update.
Kyle Meyer [Wed, 29 Sep 2021 22:48:59 +0000 (18:48 -0400)]
Update to Org 9.5
Amin Bandali [Thu, 30 Sep 2021 03:11:49 +0000 (23:11 -0400)]
Add new '/wii' convenience ERC command
* etc/NEWS: Announce the addition of the command.
* lisp/erc/erc.el (erc-cmd-WII): Add '/wii' convenience command which
calls the '/whois' command with the given nick as both arguments,
which is useful for displaying the whois information for the nick
along with idle time, even if the nick is on a different server than
the one we are currently connected to.
Amin Bandali [Thu, 30 Sep 2021 02:15:07 +0000 (22:15 -0400)]
Restore the previous order of ERC's '/whois' arguments
* etc/NEWS: Remove unneeded entry.
* lisp/erc/erc.el (erc-cmd-WHOIS): Restore the previous order of
arguments sent to the server, so that there's no change in the
function's behavior. Instead, rename the arguments to be more
accurate, and expand upon them in the doc string.
Stefan Kangas [Wed, 29 Sep 2021 23:17:24 +0000 (01:17 +0200)]
New command mpc-goto-playing-song
* lisp/mpc.el (mpc-goto-playing-song): New command to go to the
currently playing song.
(mpc-mode-map): Bind it to "o".
Stefan Kangas [Wed, 29 Sep 2021 18:33:45 +0000 (20:33 +0200)]
* lisp/linum.el: Recommend `display-line-numbers-mode'.
Dmitry Gutov [Wed, 29 Sep 2021 19:44:40 +0000 (22:44 +0300)]
Add bindings for 'undo-redo'
* etc/NEWS: Describe the change.
* lisp/bindings.el (global-map): Add bindings for 'undo-redo'.
* lisp/simple.el (undo-no-redo): Turn into a user option.
Juri Linkov [Wed, 29 Sep 2021 19:40:20 +0000 (22:40 +0300)]
* lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab.
Adam Porter [Wed, 29 Sep 2021 19:37:38 +0000 (22:37 +0300)]
* lisp/tab-bar.el: (tab-bar-detach-tab) New command
(tab-bar-detach-tab): New command.
(tab-bar-mouse-context-menu): Add menu entry.
With thanks to Matt Beshara <m@mfa.pw> for his feedback.
https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg02141.html
Lars Ingebrigtsen [Wed, 29 Sep 2021 18:48:41 +0000 (20:48 +0200)]
Tweak previous message-newline-and-reformat change
* lisp/gnus/message.el (message-newline-and-reformat): Only search
for previous/next cited lines that have space, because it's the
space we're trying to find.
Lars Ingebrigtsen [Wed, 29 Sep 2021 17:10:00 +0000 (19:10 +0200)]
Cross reference `dired-do-revert-buffer'
* lisp/dired-aux.el (dired-do-copy):
(dired-do-symlink):
(dired-do-hardlink):
(dired-do-rename): Mention `dired-do-revert-buffer'.
Lars Ingebrigtsen [Wed, 29 Sep 2021 17:07:08 +0000 (19:07 +0200)]
Do some NEWS taggin
Stefan Kangas [Wed, 29 Sep 2021 16:59:28 +0000 (18:59 +0200)]
* etc/TODO: Delete ImageMagick items. (Bug#50891)
Lars Ingebrigtsen [Wed, 29 Sep 2021 16:44:41 +0000 (18:44 +0200)]
Make `M-q' in message-mode work better
* lisp/gnus/message.el (message-newline-and-reformat): Fix
bug#43299 differently.
(message-newline-and-reformat): Revert change for bug#43299. This
fixes bug#50842.
Stefan Kangas [Wed, 29 Sep 2021 16:22:43 +0000 (18:22 +0200)]
Force volume to an integer divisible by mpc-volume-step
* lisp/mpc.el (mpc-volume-mouse-set): Force volume to an integer
divisible by 'mpc-volume-step'.
(mpc-volume-step): Add docstring.
Lars Ingebrigtsen [Wed, 29 Sep 2021 15:43:16 +0000 (17:43 +0200)]
Signal an error in `search-forward-help-for-help'
* lisp/help.el (search-forward-help-for-help): Error out instead
of showing an empty buffer (bug#50881).
Lars Ingebrigtsen [Wed, 29 Sep 2021 15:27:20 +0000 (17:27 +0200)]
Add a comment about bug#50877 for gnus-set-difference
Lars Ingebrigtsen [Wed, 29 Sep 2021 15:25:01 +0000 (17:25 +0200)]
Revert "Obsolete local set difference functions in favor of seq-difference"
This reverts commit
20f7fa691b7c2859b96550d9ccb326bf394e160d.
gnus-set-difference is orders of magnitude faster than seq-difference
(on these sets), and using seq-difference makes nnimap too
slow.
Michael Albinus [Wed, 29 Sep 2021 12:51:39 +0000 (14:51 +0200)]
* test/Makefile.in (WRITE_LOG): Add emacs-module-tests as problematic.
Protesilaos Stavrou [Wed, 29 Sep 2021 08:40:32 +0000 (11:40 +0300)]
Update modus-themes to version 1.6.0
* doc/misc/modus-themes.org (Customization Options): Document new user
options in code sample.
(Option for inhibiting theme reload): Remove trailing space.
(Option for mode line presentation): Include new possible value.
(Option for Org agenda constructs): Include new symbols for the
'modus-themes-org-agenda' alist.
(Control the scale of headings): Document 'modus-themes-scale-small'.
(Override color saturation (DIY)): Fix markup for proper texi output.
(Custom Org user faces (DIY)): Update code samples.
(Full support for packages or face groups): Note names of newly
supported packages or face groups.
(Indirectly covered packages): Document indirectly supported packages.
(Note on highlight-parentheses.el): Provide detailed instructions on
how to use 'highlight-parentheses' with the Modus themes.
(Note on prism.el): Refine code samples.
(What is the best setup for legibility?): Minor rewording.
(Sources of the themes): Mention only Emacs28 without explaining that
it is the development target---in preparation of the emacs-28 branch
cut.
(Acknowledgements): Name new contributors to code/ideas. Stephen
Gildea's patch was a couple lines long. The others have assigned
copyright to the FSF.
(Meta): Include another link to the development notes of the themes
about 'modus-themes-org-agenda'.
* etc/themes/modus-operandi-theme.el,
etc/themes/modus-vivendi-theme.el: Bump file version.
* etc/themes/modus-themes.el (modus-themes-operandi-colors)
(modus-themes-vivendi-colors): Recalibrate some colour values and add
a few new ones.
(modus-themes-slanted-constructs): Remove obsolete user option.
Superseded by the alias 'modus-themes-italic-constructs'.
(modus-themes-org-agenda, modus-themes-mode-line): Update user option.
(modus-themes-scale-headings, modus-themes-scale-4): Update doc
string.
(modus-themes-scale-5): Remove obsolete user option. Superseded by
the alias 'modus-themes-scale-title'.
(modus-themes-scale-small, modus-themes-tabs-accented): Add new user
option.
(modus-themes--agenda-date, modus-themes--mode-line-attrs)
(modus-themes--tab): Update internal functions.
(modus-themes-faces): Update variousface attributes.
Detailed change log here:
<https://protesilaos.com/codelog/2021-09-29-modus-themes-1-6-0/>.
Philip Kaludercic [Wed, 29 Sep 2021 10:15:18 +0000 (12:15 +0200)]
Remove rcirc-omit-responses-after-join option
The implementation does not work as expected and behaves
unpredictably.
* rcirc.el (rcirc-omit-responses-after-join): Remove option
(rcirc-joined): Remove variable
(rcirc-reconnect): Remove rcirc-joined code
(rcirc-get-buffer-create): Remove rcirc-joined code
(rcirc-print): Remove rcirc-omit-responses-after-join check
* doc/misc/rcirc.texi (Notices): Remove documentation
* etc/NEWS: Remove mention
Stefan Kangas [Wed, 29 Sep 2021 05:04:07 +0000 (07:04 +0200)]
; * etc/NEWS: Re-arrange slightly and fix formatting.
Stefan Kangas [Wed, 29 Sep 2021 05:12:37 +0000 (07:12 +0200)]
New user option mpc-cover-image-re
* lisp/mpc.el (mpc-cover-image-re): New user option.
(mpc-format): Find cover image based on regexp given by above new user
option. Treat "folder.png" as a valid cover image name.
Martin Rudalics [Wed, 29 Sep 2021 08:43:29 +0000 (10:43 +0200)]
Fix 'window-toggle-side-windows' (Bug#50867)
* lisp/window.el (window-toggle-side-windows): Bind
'window-combination-resize' to t around 'window-state-put'
calls (Bug#50867).
Michael Albinus [Wed, 29 Sep 2021 07:48:01 +0000 (09:48 +0200)]
Some inmprovements in emba CI files
* test/infra/Dockerfile.emba: Remove superfluous "make -j4".
* test/infra/gitlab-ci.yml (.test-template): Add 'allow_failure' clause.
(test-all-inotify): Add 'needs' clause.
Juri Linkov [Wed, 29 Sep 2021 07:19:22 +0000 (10:19 +0300)]
* lisp/net/dictionary.el (context-menu-dictionary): Add autoload cookie.
(context-menu-functions): Remove context-menu-dictionary from hook (bug#50552)
Lars Ingebrigtsen [Wed, 29 Sep 2021 06:25:14 +0000 (08:25 +0200)]
Tweak the whitespace before "This is a generic function"
* lisp/emacs-lisp/cl-generic.el (cl--generic-describe): Make the
number of blank lines before this section consistent (whether
there's an indented section before it or not).
Lars Ingebrigtsen [Wed, 29 Sep 2021 05:53:10 +0000 (07:53 +0200)]
Improve the max-specpdl-size doc string
* src/eval.c (syms_of_eval): Mention what "specpdl" means.
Amin Bandali [Wed, 29 Sep 2021 04:44:43 +0000 (00:44 -0400)]
Switch the order of ERC's '/whois' arguments sent to the server
* lisp/erc/erc.el (erc-cmd-WHOIS): Switch the order of 'server' and
'user' arguments sent to the server. Per RFC 1459 and RFC 2812, the
optional 'server' argument command comes before the 'user' argument,
not after. While at it, update the doc string to explain why one may
want to specify the 'server' argument.
* etc/NEWS: Announce the change.
Stefan Kangas [Wed, 29 Sep 2021 04:54:52 +0000 (06:54 +0200)]
* lisp/mpc.el (mpc-format): Fix printing after last format spec.
Amin Bandali [Wed, 29 Sep 2021 03:44:48 +0000 (23:44 -0400)]
Unobsolete erc-compat.el
* lisp/obsolete/erc-compat.el: Move from here...
* lisp/erc/erc-compat.el: ...back to here. ERC will soon be added to
GNU ELPA, and erc-compat.el will be used to provide compatibility
functions and/or variables for using ERC on older Emacsen.
* etc/NEWS: Remove the previously added obsoletion news item.
Stefan Kangas [Wed, 29 Sep 2021 01:48:35 +0000 (03:48 +0200)]
* etc/NEWS: Announce Eshell bookmarks.
Stefan Kangas [Wed, 29 Sep 2021 01:24:10 +0000 (03:24 +0200)]
Add bookmark.el support to eww
* lisp/net/eww.el (eww-bookmark-name, eww-bookmark-make-record)
(eww-bookmark-jump): New defuns.
(eww-mode): Set up bookmark handler.
Dmitry Gutov [Wed, 29 Sep 2021 00:48:27 +0000 (03:48 +0300)]
Enable show-paren-mode by default
* etc/NEWS (https): Mention the change.
* lisp/paren.el (show-paren-mode):
Enable by default, as discussed on emacs-devel.
Stefan Kangas [Tue, 28 Sep 2021 23:37:26 +0000 (01:37 +0200)]
* lisp/net/eww.el (eww-mode): Show keybindings in docstring.
Juri Linkov [Tue, 28 Sep 2021 19:00:41 +0000 (22:00 +0300)]
* lisp/mouse.el (context-menu-map): Fix when menu is a command (bug#50851)
* lisp/help.el (help--analyze-key): Get information at the position
of mouse click such as 'C-h k' on a context menu item (bug#50067).
Stefan Kangas [Tue, 28 Sep 2021 18:45:08 +0000 (20:45 +0200)]
Add shortdoc for text properties
* lisp/emacs-lisp/shortdoc.el (text-properties): New shortdoc.
e for your changes. Lines starting
Stefan Kangas [Tue, 28 Sep 2021 16:38:10 +0000 (18:38 +0200)]
Mention describe-symbol in cl-defstruct docstring
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Mention 'describe-symbol'
in docstring.
Stefan Kangas [Tue, 28 Sep 2021 16:08:47 +0000 (18:08 +0200)]
Mention cl-describe-type in cl-defstruct docstring
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Mention
'cl-describe-type' in docstring.
Mattias Engdegård [Tue, 28 Sep 2021 15:00:11 +0000 (17:00 +0200)]
; * test/lisp/electric-tests.el: Reduce python-mode log spam.
Stefan Monnier [Tue, 28 Sep 2021 14:29:27 +0000 (10:29 -0400)]
* lisp/emacs-lisp/map.el: Restore compatibility with Emacs-26
Don't use the new `eql` syntax.
Michael Albinus [Tue, 28 Sep 2021 13:47:01 +0000 (15:47 +0200)]
Adapt tramp-tests.el for macOS
* test/lisp/net/tramp-tests.el (tramp-test29-start-file-process)
(tramp-test30-make-process): Adapt for macOS.
Stefan Kangas [Tue, 28 Sep 2021 13:45:27 +0000 (15:45 +0200)]
* doc/man/emacs.1.in: Add --no-x-resources. (Bug#50855)
Stefan Kangas [Tue, 28 Sep 2021 13:33:39 +0000 (15:33 +0200)]
; * doc/lispref/tips.texi (Programming Tips): Fix markup.
Stefan Kangas [Tue, 28 Sep 2021 12:56:07 +0000 (14:56 +0200)]
Improve coding conventions for error messages
* doc/lispref/tips.texi (Programming Tips): Clarify coding
conventions for error messages to say that an error message can
start with a Lisp symbol. (Bug#50658)
Stefan Kangas [Tue, 28 Sep 2021 12:32:06 +0000 (14:32 +0200)]
Improve docstrings of ert-resource-{directory,file}
* lisp/emacs-lisp/ert-x.el (ert-resource-directory)
(ert-resource-file): Improve docstrings.
Stefan Kangas [Tue, 28 Sep 2021 11:30:02 +0000 (13:30 +0200)]
Signal error on newline in internal--format-docstring-line
* lisp/subr.el (internal--format-docstring-line): Signal error
when trying to fill a line containing a newline.
* lisp/cedet/semantic/decorate/mode.el
(define-semantic-decoration-style):
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Don't pass newlines to 'internal--format-docstring-line'.
Eli Zaretskii [Tue, 28 Sep 2021 12:03:38 +0000 (15:03 +0300)]
; * lisp/emacs-lisp/comp.el (batch-native-compile): Don't use non-ASCII.
Eli Zaretskii [Tue, 28 Sep 2021 12:00:50 +0000 (15:00 +0300)]
Make the build of source tarball produce *.eln files
* lisp/emacs-lisp/comp.el (batch-native-compile): Accept an
optional argument; if non-nil, place the .eln file as appropriate
for building a source tarball.
* doc/lispref/compile.texi (Native-Compilation Functions):
Document the new optional argument of 'batch-native-compile'.
* lisp/Makefile.in (.PHONY, $(THEFILE)n) [HAVE_NATIVE_COMP]: New
targets.
* src/Makefile.in (%.eln) [HAVE_NATIVE_COMP]: New recipe.
(all) [HAVE_NATIVE_COMP]: Add ../native-lisp to prerequisites.
(elnlisp) [HAVE_NATIVE_COMP]: New list of *.eln files.
(../native-lisp) [HAVE_NATIVE_COMP]: New recipe.
* src/verbose.mk.in (AM_V_ELN): New macro.
Eli Zaretskii [Tue, 28 Sep 2021 08:18:17 +0000 (11:18 +0300)]
; * lisp/emacs-lisp/comp.el (batch-native-compile): Doc fix.
Eli Zaretskii [Tue, 28 Sep 2021 08:15:43 +0000 (11:15 +0300)]
; * src/lisp.h (enum char_bits): Update the comment.
Lars Ingebrigtsen [Tue, 28 Sep 2021 06:06:31 +0000 (08:06 +0200)]
Adjust ispell-look-command type
* lisp/textmodes/ispell.el (ispell-look-command): Adjust :type
after previous change.
André A. Gomes [Tue, 28 Sep 2021 05:51:14 +0000 (07:51 +0200)]
Fix search of the look program
* lisp/textmodes/ispell.el (ispell-look-command): Fix logic
concerning the existence of the look program (bug#50852) -- search
through the executable path.
(ispell-look-p): Adjust logic.