]> git.eshelyaron.com Git - emacs.git/log
emacs.git
3 years agoorg-element: use correct function
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.

3 years ago; * test/lisp/emacs-lisp/bytecomp-tests.el: remove ineffective \
Mattias Engdegård [Thu, 30 Sep 2021 15:08:46 +0000 (17:08 +0200)]
; * test/lisp/emacs-lisp/bytecomp-tests.el: remove ineffective \

3 years agoRevert "Indent bodies of local function definitions properly in elisp-mode"
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.

3 years agoRevert "Fix regressions in cl-flet indentation"
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.

3 years agoAdd rcirc-omit-unless-requested option
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

3 years ago* lisp/org/ob-julia.el: Use lexical-binding
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.

3 years ago* lisp/org/ox-koma-letter.el: Use lexical-binding
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.

3 years agoFix a recent change of 'undo-redo' binding
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)

3 years agoMerge Org 9.5 from branch 'origin/scratch/org-sync'.
Eli Zaretskii [Thu, 30 Sep 2021 10:26:50 +0000 (13:26 +0300)]
Merge Org 9.5 from branch 'origin/scratch/org-sync'.

3 years ago; * src/nsterm.h: Use objc-mode.
Mattias Engdegård [Thu, 30 Sep 2021 08:56:26 +0000 (10:56 +0200)]
; * src/nsterm.h: Use objc-mode.

3 years ago; * lisp/help.el (help--analyze-key): Add comment.
Juri Linkov [Thu, 30 Sep 2021 07:04:20 +0000 (10:04 +0300)]
; * lisp/help.el (help--analyze-key): Add comment.

3 years agoFix previous `newline' patch
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).

3 years agoMake `newline' check the argument earlier
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).

3 years agoFix regressions in cl-flet indentation
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.

3 years agoFix bootstrap after recent undo-redo change
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).

3 years ago* etc/NEWS: Announce Org update.
Kyle Meyer [Thu, 30 Sep 2021 00:42:46 +0000 (20:42 -0400)]
* etc/NEWS: Announce Org update.

3 years agoUpdate to Org 9.5
Kyle Meyer [Wed, 29 Sep 2021 22:48:59 +0000 (18:48 -0400)]
Update to Org 9.5

3 years agoAdd new '/wii' convenience ERC command
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.

3 years agoRestore the previous order of ERC's '/whois' arguments
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.

3 years agoNew command mpc-goto-playing-song
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".

3 years ago* lisp/linum.el: Recommend `display-line-numbers-mode'.
Stefan Kangas [Wed, 29 Sep 2021 18:33:45 +0000 (20:33 +0200)]
* lisp/linum.el: Recommend `display-line-numbers-mode'.

3 years agoAdd bindings for 'undo-redo'
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.

3 years ago* lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab.
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.

3 years ago* lisp/tab-bar.el: (tab-bar-detach-tab) New command
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

3 years agoTweak previous message-newline-and-reformat change
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.

3 years agoCross reference `dired-do-revert-buffer'
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'.

3 years agoDo some NEWS taggin
Lars Ingebrigtsen [Wed, 29 Sep 2021 17:07:08 +0000 (19:07 +0200)]
Do some NEWS taggin

3 years ago* etc/TODO: Delete ImageMagick items. (Bug#50891)
Stefan Kangas [Wed, 29 Sep 2021 16:59:28 +0000 (18:59 +0200)]
* etc/TODO: Delete ImageMagick items.  (Bug#50891)

3 years agoMake `M-q' in message-mode work better
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.

3 years agoForce volume to an integer divisible by mpc-volume-step
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.

3 years agoSignal an error in `search-forward-help-for-help'
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).

3 years agoAdd a comment about bug#50877 for gnus-set-difference
Lars Ingebrigtsen [Wed, 29 Sep 2021 15:27:20 +0000 (17:27 +0200)]
Add a comment about bug#50877 for gnus-set-difference

3 years agoRevert "Obsolete local set difference functions in favor of seq-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.

3 years ago* test/Makefile.in (WRITE_LOG): Add emacs-module-tests as problematic.
Michael Albinus [Wed, 29 Sep 2021 12:51:39 +0000 (14:51 +0200)]
* test/Makefile.in (WRITE_LOG): Add emacs-module-tests as problematic.

3 years agoUpdate modus-themes to version 1.6.0
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/>.

3 years agoRemove rcirc-omit-responses-after-join option
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

3 years ago; * etc/NEWS: Re-arrange slightly and fix formatting.
Stefan Kangas [Wed, 29 Sep 2021 05:04:07 +0000 (07:04 +0200)]
; * etc/NEWS: Re-arrange slightly and fix formatting.

3 years agoNew user option mpc-cover-image-re
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.

3 years agoFix 'window-toggle-side-windows' (Bug#50867)
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).

3 years agoSome inmprovements in emba CI files
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.

3 years ago* lisp/net/dictionary.el (context-menu-dictionary): Add autoload cookie.
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)

3 years agoTweak the whitespace before "This is a generic function"
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).

3 years agoImprove the max-specpdl-size doc string
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.

3 years agoSwitch the order of ERC's '/whois' arguments sent to the server
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.

3 years ago* lisp/mpc.el (mpc-format): Fix printing after last format spec.
Stefan Kangas [Wed, 29 Sep 2021 04:54:52 +0000 (06:54 +0200)]
* lisp/mpc.el (mpc-format): Fix printing after last format spec.

3 years agoUnobsolete erc-compat.el
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.

3 years ago* etc/NEWS: Announce Eshell bookmarks.
Stefan Kangas [Wed, 29 Sep 2021 01:48:35 +0000 (03:48 +0200)]
* etc/NEWS: Announce Eshell bookmarks.

3 years agoAdd bookmark.el support to eww
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.

3 years agoEnable show-paren-mode by default
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.

3 years ago* lisp/net/eww.el (eww-mode): Show keybindings in docstring.
Stefan Kangas [Tue, 28 Sep 2021 23:37:26 +0000 (01:37 +0200)]
* lisp/net/eww.el (eww-mode): Show keybindings in docstring.

3 years ago* lisp/mouse.el (context-menu-map): Fix when menu is a command (bug#50851)
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).

3 years agoAdd shortdoc for text properties
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

3 years agoMention describe-symbol in cl-defstruct docstring
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.

3 years agoMention cl-describe-type in cl-defstruct 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.

3 years ago; * test/lisp/electric-tests.el: Reduce python-mode log spam.
Mattias Engdegård [Tue, 28 Sep 2021 15:00:11 +0000 (17:00 +0200)]
; * test/lisp/electric-tests.el: Reduce python-mode log spam.

3 years ago* lisp/emacs-lisp/map.el: Restore compatibility with Emacs-26
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.

3 years agoAdapt tramp-tests.el for macOS
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.

3 years ago* doc/man/emacs.1.in: Add --no-x-resources. (Bug#50855)
Stefan Kangas [Tue, 28 Sep 2021 13:45:27 +0000 (15:45 +0200)]
* doc/man/emacs.1.in: Add --no-x-resources.  (Bug#50855)

3 years ago; * doc/lispref/tips.texi (Programming Tips): Fix markup.
Stefan Kangas [Tue, 28 Sep 2021 13:33:39 +0000 (15:33 +0200)]
; * doc/lispref/tips.texi (Programming Tips): Fix markup.

3 years agoImprove coding conventions for error messages
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)

3 years agoImprove docstrings of ert-resource-{directory,file}
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.

3 years agoSignal error on newline in internal--format-docstring-line
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'.

3 years ago; * lisp/emacs-lisp/comp.el (batch-native-compile): Don't use non-ASCII.
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.

3 years agoMake the build of source tarball produce *.eln files
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.

3 years ago; * lisp/emacs-lisp/comp.el (batch-native-compile): Doc fix.
Eli Zaretskii [Tue, 28 Sep 2021 08:18:17 +0000 (11:18 +0300)]
; * lisp/emacs-lisp/comp.el (batch-native-compile): Doc fix.

3 years ago; * src/lisp.h (enum char_bits): Update the comment.
Eli Zaretskii [Tue, 28 Sep 2021 08:15:43 +0000 (11:15 +0300)]
; * src/lisp.h (enum char_bits): Update the comment.

3 years agoAdjust ispell-look-command type
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.

3 years agoFix search of the look program
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.

3 years agoUse ert-resource-file in the shorthand tests
Lars Ingebrigtsen [Tue, 28 Sep 2021 04:49:03 +0000 (06:49 +0200)]
Use ert-resource-file in the shorthand tests

Also move to the standard directory naming.

3 years agocheckdoc: Allow Lisp symbols to start a message
Stefan Kangas [Sat, 25 Sep 2021 23:20:55 +0000 (01:20 +0200)]
checkdoc: Allow Lisp symbols to start a message

* lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine): Allow
Lisp symbols to start a message.
(checkdoc--error-bad-format-p): New helper function.

* test/lisp/emacs-lisp/checkdoc-tests.el
(checkdoc-test-error-format-is-good)
(checkdoc-test-error-format-is-bad): New helper functions.
(checkdoc-tests-error-message-bad-format-p)
(checkdoc-tests-error-message-bad-format-p/defined-symbols)
(checkdoc-tests-error-message-bad-format-p/not-capitalized):
New tests.

3 years agoMake .eln files executable on Cygwin
Ken Brown [Mon, 27 Sep 2021 18:46:41 +0000 (14:46 -0400)]
Make .eln files executable on Cygwin

* Makefile.in (INSTALL_ELN): New variable, equal to $(INSTALL) on
Cygwin and $(INSTALL_DATA) on other platforms.
(install-eln): Use INSTALL_ELN instead of INSTALL_DATA.
(Bug#50818)

3 years ago; Still more instrumentation on autorevert-tests.el
Michael Albinus [Mon, 27 Sep 2021 18:36:12 +0000 (20:36 +0200)]
; Still more instrumentation on autorevert-tests.el

3 years agoSimplify `file-notify--rm-descriptor'
Michael Albinus [Mon, 27 Sep 2021 18:35:31 +0000 (20:35 +0200)]
Simplify `file-notify--rm-descriptor'

* lisp/filenotify.el (file-notify--rm-descriptor):
Use `file-notify-handle-event'.

3 years ago; * etc/NEWS: fix errors in previous changes
Robert Pluim [Mon, 27 Sep 2021 16:28:11 +0000 (18:28 +0200)]
; * etc/NEWS: fix errors in previous changes

3 years ago* lisp/mouse.el (context-menu-region): Check for nil for char-after at eobp.
Juri Linkov [Mon, 27 Sep 2021 15:41:34 +0000 (18:41 +0300)]
* lisp/mouse.el (context-menu-region): Check for nil for char-after at eobp.

3 years ago* lisp/progmodes/flymake.el (flymake-menu): Don't use obsolete name.
Mattias Engdegård [Mon, 27 Sep 2021 14:00:32 +0000 (16:00 +0200)]
* lisp/progmodes/flymake.el (flymake-menu): Don't use obsolete name.

3 years agoFix GNUstep build failure
Alan Third [Mon, 27 Sep 2021 13:23:02 +0000 (14:23 +0100)]
Fix GNUstep build failure

* src/nsfns.m (Fns_hide_emacs): NSRunningApplication is only available
in GNUstep 0.27 and above.

3 years agoDocument 'glyphless-char-display-control' changes
Robert Pluim [Mon, 27 Sep 2021 12:42:18 +0000 (14:42 +0200)]
Document 'glyphless-char-display-control' changes

* etc/NEWS: Document 'glyphless-char-display-control' changes for
Variation Selectors.

3 years agoTry to be consistent about user options in NEWS
Robert Pluim [Mon, 27 Sep 2021 12:37:28 +0000 (14:37 +0200)]
Try to be consistent about user options in NEWS

* etc/NEWS: Try to be consistent about calling 'user options' that
instead of 'variables'.

3 years agoFix resizing glitches in NS port (bug#50413)
Alan Third [Mon, 27 Sep 2021 12:33:49 +0000 (13:33 +0100)]
Fix resizing glitches in NS port (bug#50413)

* src/nsterm.m ([EmacsView resizeWithOldSuperviewSize:]): Use the
superview's size instead of trusting the view's size.

3 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Mon, 27 Sep 2021 12:28:50 +0000 (14:28 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

3 years ago; More instrumentation in autorevert-tests.el
Michael Albinus [Mon, 27 Sep 2021 12:28:32 +0000 (14:28 +0200)]
; More instrumentation in autorevert-tests.el

* test/lisp/autorevert-tests.el
(auto-revert-test--instrument-kill-buffer-hook): New defun.
(auto-revert-test05-global-notify): More instrumentation.

3 years ago; Update some links to HTTPS and note some broken links
Stefan Kangas [Mon, 27 Sep 2021 10:40:04 +0000 (12:40 +0200)]
; Update some links to HTTPS and note some broken links

3 years agoAttempt to debug a graphical glitch on macOS
Alan Third [Mon, 27 Sep 2021 09:50:02 +0000 (10:50 +0100)]
Attempt to debug a graphical glitch on macOS

* src/nsterm.m (ns_scroll_run):
(ns_shift_glyphs_for_insert): Switch to using NSPoint for destination.
([EmacsView copyRect:to:]): Use NSPoint for the destination, always
use the view's layer, and log any questionable copy requests.

3 years agoFix NS toolbar again (bug#50534)
Alan Third [Sun, 26 Sep 2021 10:12:48 +0000 (11:12 +0100)]
Fix NS toolbar again (bug#50534)

* src/nsmenu.m (free_frame_tool_bar): Remove toolbar.
(update_frame_tool_bar_1): New function.
(update_frame_tool_bar): Move most of the functionality to
update_frame_tool_bar_1.
* src/nsterm.h: Definitions of functions and methods.
* src/nsterm.m (ns_update_begin):
([EmacsView windowDidEnterFullScreen]):
([EmacsView windowDidExitFullScreen]): We no longer need to reset the
toolbar visibility as that's done when we create the new fullscreen
window.
([EmacsWindow initWithEmacsFrame:fullscreen:screen:]): Move the check
for undecorated frames into createToolbar:.
([EmacsWindow createToolbar:]): Check whether a toolbar should be
created, and run the toolbar update immediately.

3 years agoFix automatic filling of docstring in cl-defstruct
Stefan Kangas [Mon, 27 Sep 2021 09:26:31 +0000 (11:26 +0200)]
Fix automatic filling of docstring in cl-defstruct

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix bug where a paragraph
was filled as if it were a single line, which led to garbled
output in the docstring.  (Bug#50839)

* test/lisp/subr-tests.el
(subr-test-internal--format-docstring-line): New test.

3 years agoMinor fix in 'w32-find-non-USB-fonts'
Eli Zaretskii [Mon, 27 Sep 2021 09:28:54 +0000 (12:28 +0300)]
Minor fix in 'w32-find-non-USB-fonts'

* lisp/term/w32-win.el (w32--filter-USB-scripts): Handle
representative characters given as a vector, not a list.

3 years ago; Fix compilation of doc/lispref/symbols.texi.
Basil L. Contovounesios [Mon, 27 Sep 2021 09:20:54 +0000 (10:20 +0100)]
; Fix compilation of doc/lispref/symbols.texi.

3 years ago* etc/NEWS (Shorthands for Lisp symbols): Reword.
João Távora [Mon, 27 Sep 2021 09:19:35 +0000 (10:19 +0100)]
* etc/NEWS (Shorthands for Lisp symbols): Reword.

3 years agoEnhance font_range to check for emoji composition triggers
Robert Pluim [Sun, 26 Sep 2021 15:26:22 +0000 (17:26 +0200)]
Enhance font_range to check for emoji composition triggers

If the codepoint that triggered composition is from the emoji script,
use the emoji font to check the string being composed, rather than the
font of the first character of the string.  This makes e.g.

"emoji codepoint with Emoji_Presentation = No followed by VS-16 (FE0F)"

display the emoji version of the glyph for that codepoint.

* admin/unidata/blocks.awk: Add VS-1 through VS-16 to the emoji
script.
* src/composite.c (autocmp_chars): Accept additional argument CH for
the codepoint that triggered composition, pass it to font_range.
(composition_reseat_it, find_automatic_composition): Pass codepoint
that triggered composition to autocmp_chars.
* src/font.c (font_range): Accept additional argument CH for the
triggering codepoint.  If the codepoint is from the 'emoji' script,
use Vscript_representative_chars to find the font to use for the
composition attempt.
(syms_of_font): Add Qemoji symbol.
* src/font.h: Update font_range prototype for argument CH.
* etc/NEWS: Announce change.

3 years agoFix checkdoc-related test failure
Lars Ingebrigtsen [Mon, 27 Sep 2021 07:33:56 +0000 (09:33 +0200)]
Fix checkdoc-related test failure

3 years agoFix two doc-related test failures
Lars Ingebrigtsen [Mon, 27 Sep 2021 07:28:34 +0000 (09:28 +0200)]
Fix two doc-related test failures

3 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Mon, 27 Sep 2021 07:22:10 +0000 (09:22 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

3 years agoOptimize emba builds
Michael Albinus [Mon, 27 Sep 2021 07:21:53 +0000 (09:21 +0200)]
Optimize emba builds

* test/infra/Dockerfile.emba (emacs-base): Install also
libdbus-1-dev and libacl1-dev.

* test/infra/gitlab-ci.yml (prep-image-base): Comment out.  This
stage is activated by default in Dockerfile.emba.

3 years agoMinor stylistic fixes of shorthand code in C
Eli Zaretskii [Mon, 27 Sep 2021 07:20:54 +0000 (10:20 +0300)]
Minor stylistic fixes of shorthand code in C

* src/lread.c (oblookup_considering_shorthand): Now static.  Move
prototype to where it belongs.
(read1, Fintern, Fintern_soft, Funintern)
(oblookup_considering_shorthand, syms_of_lread): Fix style of
braces and indentation, comments, and doc strings.

3 years agoMinor fixes of Lisp doc strings for shorthands feature
Eli Zaretskii [Mon, 27 Sep 2021 06:49:28 +0000 (09:49 +0300)]
Minor fixes of Lisp doc strings for shorthands feature

* lisp/progmodes/elisp-mode.el (obarray-cache)
(elisp--completion-local-symbols):
* lisp/international/mule.el (hack-elisp-shorthands)
(load-with-shorthands-and-code-conversion): Doc string fixes.

3 years agoMinor fixes in documentation of shorthands
Eli Zaretskii [Mon, 27 Sep 2021 06:37:33 +0000 (09:37 +0300)]
Minor fixes in documentation of shorthands

* etc/NEWS:
* doc/lispref/symbols.texi (Symbol Components, Creating Symbols)
(Shorthands): Improve wording, fix indexing and typos.

3 years agoMake comint understand the ccrypt password phrases
Lars Ingebrigtsen [Mon, 27 Sep 2021 06:15:24 +0000 (08:15 +0200)]
Make comint understand the ccrypt password phrases

* lisp/comint.el (comint-password-prompt-regexp): Add the ccrypt
confirmation phrase (bug#50837).

* lisp/international/mule-conf.el (password-word-equivalents): Add
the ccrypt phrases.

3 years agoAdd "passwd" (change password) prompt to comint
Lars Ingebrigtsen [Mon, 27 Sep 2021 05:55:37 +0000 (07:55 +0200)]
Add "passwd" (change password) prompt to comint

* lisp/comint.el (comint-password-prompt-regexp): Add "passwd" (to
change the password) first promp in Debian bullseye.

3 years agoNote that the Packaging sub-nodes are mostly for maintainers
Lars Ingebrigtsen [Mon, 27 Sep 2021 04:12:53 +0000 (06:12 +0200)]
Note that the Packaging sub-nodes are mostly for maintainers

* doc/lispref/package.texi (Packaging): Note that the information
is mostly for ELPA maintainers (bug#50825).