1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00
Commit Graph

150502 Commits

Author SHA1 Message Date
Juri Linkov
a20e013d56 ; * lisp/help.el (help--analyze-key): Add comment. 2021-09-30 10:05:00 +03:00
Lars Ingebrigtsen
ad27c4c663 Fix previous `newline' patch
* lisp/simple.el (newline): Signal an error earlier to avoid
peculiar behaviour after getting a backtrace (bug#50900).
2021-09-30 09:04:11 +02:00
Lars Ingebrigtsen
d1aacceae9 Make `newline' check the argument earlier
* lisp/simple.el (newline): Signal an error earlier to avoid
peculiar behaviour after getting a backtrace (bug#50900).
2021-09-30 09:03:18 +02:00
akater
c42af5aee7 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 38037e04cb
(bug#9622).  Also add cl-macrolet cl-flet* cl-symbol-macrolet.
2021-09-30 08:33:14 +02:00
dickmao
d94ab4949c Fix bootstrap after recent undo-redo change
* lisp/bindings.el (global-map): Don't use `kbd' here -- it breaks
bootstrap (bug#50911).
2021-09-30 06:59:10 +02:00
Amin Bandali
dc94ca7b2b
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.
2021-09-29 23:11:49 -04:00
Amin Bandali
9fc1fdcbf3
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.
2021-09-29 22:17:18 -04:00
Stefan Kangas
758753431a 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".
2021-09-30 01:17:53 +02:00
Stefan Kangas
49c748e336 * lisp/linum.el: Recommend `display-line-numbers-mode'. 2021-09-29 23:50:01 +02:00
Dmitry Gutov
6fecf6ef25 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.
2021-09-29 22:45:07 +03:00
Juri Linkov
fd244c9e46 * lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab. 2021-09-29 22:40:20 +03:00
Adam Porter
ab1e11fe79 * 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
2021-09-29 22:37:38 +03:00
Lars Ingebrigtsen
b0f7a27a91 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.
2021-09-29 20:48:41 +02:00
Lars Ingebrigtsen
923b89248c 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'.
2021-09-29 19:10:00 +02:00
Lars Ingebrigtsen
78649d7198 Do some NEWS taggin 2021-09-29 19:07:14 +02:00
Stefan Kangas
aa3a1cee65 * etc/TODO: Delete ImageMagick items. (Bug#50891) 2021-09-29 19:00:04 +02:00
Lars Ingebrigtsen
6788d7b015 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.
2021-09-29 18:45:15 +02:00
Stefan Kangas
e72a8c6426 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.
2021-09-29 18:23:32 +02:00
Lars Ingebrigtsen
1aaeed903a 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).
2021-09-29 17:43:16 +02:00
Lars Ingebrigtsen
dab846e04f Add a comment about bug#50877 for gnus-set-difference 2021-09-29 17:28:02 +02:00
Lars Ingebrigtsen
b4b4cc98ac Revert "Obsolete local set difference functions in favor of seq-difference"
This reverts commit 20f7fa691b.

gnus-set-difference is orders of magnitude faster than seq-difference
(on these sets), and using seq-difference makes nnimap too
slow.
2021-09-29 17:28:02 +02:00
Michael Albinus
e457cff3f4 * test/Makefile.in (WRITE_LOG): Add emacs-module-tests as problematic. 2021-09-29 14:51:39 +02:00
Protesilaos Stavrou
7c79eea51d 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/>.
2021-09-29 12:55:46 +02:00
Philip Kaludercic
1a0f4b3f23 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
2021-09-29 12:18:54 +02:00
Stefan Kangas
f11f358213 ; * etc/NEWS: Re-arrange slightly and fix formatting. 2021-09-29 11:28:02 +02:00
Stefan Kangas
902f31d32b 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.
2021-09-29 11:28:02 +02:00
Martin Rudalics
dcabf95275 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).
2021-09-29 10:43:29 +02:00
Michael Albinus
0d72beec9b 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.
2021-09-29 09:48:01 +02:00
Juri Linkov
afee49fa08 * lisp/net/dictionary.el (context-menu-dictionary): Add autoload cookie.
(context-menu-functions): Remove context-menu-dictionary from hook (bug#50552)
2021-09-29 10:19:22 +03:00
Lars Ingebrigtsen
c4866ad1ac 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).
2021-09-29 08:25:14 +02:00
Lars Ingebrigtsen
3efa45849a Improve the max-specpdl-size doc string
* src/eval.c (syms_of_eval): Mention what "specpdl" means.
2021-09-29 07:53:15 +02:00
Amin Bandali
081eb52e4d
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.
2021-09-29 01:01:21 -04:00
Stefan Kangas
fcfcb35791 * lisp/mpc.el (mpc-format): Fix printing after last format spec. 2021-09-29 06:57:28 +02:00
Amin Bandali
cbb0b5d8d5
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.
2021-09-28 23:54:42 -04:00
Stefan Kangas
b9fa57e5b0 * etc/NEWS: Announce Eshell bookmarks. 2021-09-29 03:53:07 +02:00
Stefan Kangas
da89bdde2e 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.
2021-09-29 03:53:07 +02:00
Dmitry Gutov
ee856b76ff 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.
2021-09-29 03:48:27 +03:00
Stefan Kangas
568b8b977f * lisp/net/eww.el (eww-mode): Show keybindings in docstring. 2021-09-29 01:37:35 +02:00
Juri Linkov
2d1564103e * 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).
2021-09-28 22:00:41 +03:00
Stefan Kangas
7cc6e1dda7 Add shortdoc for text properties
* lisp/emacs-lisp/shortdoc.el (text-properties): New shortdoc.

e for your changes. Lines starting
2021-09-28 20:45:08 +02:00
Stefan Kangas
ccb35fb8fb Mention describe-symbol in cl-defstruct docstring
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Mention 'describe-symbol'
in docstring.
2021-09-28 18:38:10 +02:00
Stefan Kangas
b9611e9c7e Mention cl-describe-type in cl-defstruct docstring
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Mention
'cl-describe-type' in docstring.
2021-09-28 18:09:36 +02:00
Mattias Engdegård
2902257128 ; * test/lisp/electric-tests.el: Reduce python-mode log spam. 2021-09-28 17:01:09 +02:00
Stefan Monnier
fa92b040c6 * lisp/emacs-lisp/map.el: Restore compatibility with Emacs-26
Don't use the new `eql` syntax.
2021-09-28 10:29:27 -04:00
Michael Albinus
2c3c4446cf Adapt tramp-tests.el for macOS
* test/lisp/net/tramp-tests.el (tramp-test29-start-file-process)
(tramp-test30-make-process): Adapt for macOS.
2021-09-28 15:47:01 +02:00
Stefan Kangas
c847899081 * doc/man/emacs.1.in: Add --no-x-resources. (Bug#50855) 2021-09-28 15:45:27 +02:00
Stefan Kangas
9a5a35c5a6 ; * doc/lispref/tips.texi (Programming Tips): Fix markup. 2021-09-28 15:33:39 +02:00
Stefan Kangas
e9c7ef3348 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)
2021-09-28 14:56:07 +02:00
Stefan Kangas
a5b8140d4e Improve docstrings of ert-resource-{directory,file}
* lisp/emacs-lisp/ert-x.el (ert-resource-directory)
(ert-resource-file): Improve docstrings.
2021-09-28 14:32:06 +02:00
Stefan Kangas
b27a8f1554 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'.
2021-09-28 14:15:00 +02:00