Stefan Kangas
11702a6dd7
Use current face foreground for SVG icons in customize
...
* etc/images/down.svg:
* etc/images/left.svg:
* etc/images/right.svg:
* etc/images/up.svg: Don't define foreground; this means they will use
the foreground of the currently defined face instead. (Bug#51556)
2021-11-02 20:14:13 +01:00
Eli Zaretskii
f2b8f29920
Merge from origin/emacs-28
...
bc58bea
* lisp/progmodes/prog-mode.el (prog-context-menu): Use text-m...
2021-11-02 19:06:05 +02:00
Eli Zaretskii
49e61878e2
; Merge from origin/emacs-28
...
The following commit was skipped:
e4e1a95
; Auto-commit of loaddefs files.
2021-11-02 19:06:03 +02:00
Eli Zaretskii
cd311e2246
; * doc/lispref/modes.texi (Tabulated List Mode): Fix markup.
2021-11-02 18:51:35 +02:00
Stefan Kangas
2612488c36
Support inserting images in tabulated-list-mode columns
...
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-col):
Support using an image descriptor to insert an image in a column.
(tabulated-list-entries):
* doc/lispref/modes.texi (Tabulated List Mode): Update documentation
to reflect above change.
2021-11-02 17:44:57 +01:00
Lars Ingebrigtsen
093234f845
Revert overlay-related changes in `C-h b'
...
* lisp/help.el (describe-bindings): Revert overlay-related changes
-- these are already output (normally) by `describe-buffer-bindings'.
2021-11-02 17:34:47 +01:00
Lars Ingebrigtsen
cd73ec72a6
Make lambdas/closures/byte code in `C-h b' clickable
...
* lisp/help.el (help--describe-command): Add links for
lambdas/closures/byte code (bug#24235).
* lisp/emacs-lisp/pp.el (pp-display-expression): Autoload.
2021-11-02 16:20:19 +01:00
Eli Zaretskii
4f851c2357
; Improve documentation of a recent change
...
* lisp/files.el (file-has-changed-p): TAG must be a symbol.
* doc/lispref/files.texi (File Attributes): Fix typos.
2021-11-02 17:09:05 +02:00
Gregory Heytings
53a9a2de45
Improve file-has-changed-p
...
* doc/lispref/files.texi: Update the documentation.
* lisp/net/mailcap.el: Add a second argument to the call to
file-has-changed-p (bug#51523).
2021-11-02 15:50:31 +01:00
dickmao
ff5327d72a
Update keymap-tests after recent changes
...
* test/src/keymap-tests.el
(help--describe-vector/bug-9293-one-shadowed-in-range): Update tests
for d530f3f9ff
.
(help--describe-vector/bug-9293-same-command-does-not-shadow): Update
(bug#51567).
2021-11-02 15:28:52 +01:00
Stefan Monnier
33263b610e
* lisp/outline.el: Fix compilation of outline--make-button
2021-11-02 08:29:32 -04:00
Lars Ingebrigtsen
ec60aededd
Fix mouse-1 on `C-h b' buttons
...
* lisp/outline.el (outline--make-button-overlay): Make mouse-1
work on the buttons.
2021-11-02 03:50:36 +01:00
Lars Ingebrigtsen
8cb514f4a2
Make `C-h b' also describe overlay keymaps
...
* lisp/help.el (describe-bindings): Also describe overlay key
bindings.
2021-11-02 03:35:10 +01:00
Lars Ingebrigtsen
ee3e4d0ca2
Add a better test for emojis
...
* lisp/outline.el (outline--valid-char-p)
(outline--valid-emoji-p): New predicates.
(outline--make-button, outline-minor-mode-buttons): Use them.
2021-11-02 02:52:29 +01:00
Lars Ingebrigtsen
d530f3f9ff
Make `C-h b' indentation more regular (and avoid continuation lines)
...
* lisp/help.el (help--describe-command): Don't do any indentation.
(describe-map): Store data about each section.
(describe-map--align-section): New function to do indentation on a
per-block basis.
(describe-map--fill-columns): Helper function.
2021-11-02 02:36:49 +01:00
Lars Ingebrigtsen
8b74649407
Fix rendering of key translations
...
* lisp/help.el (help--describe-translation): Make obsolete.
(help--describe-command): Take an optional parameter to output key
translations.
(describe-map): Make optional parameters optional.
2021-11-02 01:07:44 +01:00
Juri Linkov
bc58bea371
* lisp/progmodes/prog-mode.el (prog-context-menu): Use text-mode-context-menu.
2021-11-01 22:08:36 +02:00
Eli Zaretskii
dfc89318ce
Improve documentation of 'file-has-changed-p'
...
* etc/NEWS:
* doc/lispref/files.texi (File Attributes): Improve wording of the
documentation of 'file-has-changed-p'.
2021-11-01 17:09:52 +02:00
Lars Ingebrigtsen
a5d79fcfe8
Don't output prefix keys in `C-h b', and output more data on objects
...
* lisp/help.el (help--describe-command): Output
[closure/lambda/byte-code] for those types of objects.
(describe-map): Don't output prefix keys.
2021-11-01 16:06:21 +01:00
Michael Albinus
aa90de71a2
Exclude emacs-module-tests.el on emba
...
* test/infra/gitlab-ci.yml (test-native-comp-speed0):
Exclude emacs-module-tests.el.
2021-11-01 16:00:06 +01:00
Lars Ingebrigtsen
8c215fd4c9
Add buttons to definition in help--describe-command
...
* lisp/help-mode.el (help-make-xrefs): Don't add buttons to
keymaps, because they're pre-buttonized.
* lisp/help.el (help--describe-command): Make buttons out of the
definitions.
2021-11-01 15:42:30 +01:00
Lars Ingebrigtsen
81f12bb777
Tag up last NEWS change
2021-11-01 14:53:35 +01:00
Gregory Heytings
daea9b3b44
Read mailcaps again only when necessary
...
* doc/lispref/files.texi (File Attributes): Document it.
* lisp/files.el (file-has-changed-p): New function.
(file-has-changed-p--hash-table): Internal variable used by the
new function (bug#51523).
* lisp/emacs-lisp/shortdoc.el (file): Mention it.
* lisp/net/mailcap.el (mailcap-parse-mailcaps): Read mailcaps again
only when at least one of the mailcap files has changed. Fixes
bug#51523.
2021-11-01 14:51:57 +01:00
Glenn Morris
453d104602
; Auto-commit of loaddefs files.
2021-11-01 06:30:19 -07:00
Glenn Morris
e4e1a95421
; Auto-commit of loaddefs files.
2021-11-01 06:17:37 -07:00
Eli Zaretskii
1b30b4dbc0
; * lisp/faces.el (help-key-binding): Comment on recent change.
2021-11-01 15:04:53 +02:00
Michael Albinus
ffc2411a97
Merge from origin/emacs-28
...
84cd95e04c
Fix bug#51369
2021-11-01 13:23:33 +01:00
Michael Albinus
84cd95e04c
Fix bug#51369
...
* test/lisp/net/dbus-tests.el (dbus-test04-register-method): Skip on hydra.
2021-11-01 13:22:28 +01:00
Michael Albinus
8b861b07cf
Merge from origin/emacs-28
...
ba4daf2214
Adapt arguments of `tramp-make-tramp-file-name'
a34466731b
Fix typo in describe-map-tree doc string
2021-11-01 12:32:06 +01:00
Michael Albinus
ba4daf2214
Adapt arguments of `tramp-make-tramp-file-name'
...
* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted):
* lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp):
Use `make-tramp-file-name'.
* lisp/obsolete/rcompile.el (remote-compile): Pacify byte-compiler.
2021-11-01 12:29:22 +01:00
Lars Ingebrigtsen
567fa8d7c0
Further xref fix-ups after keymap help changes
...
* lisp/help-mode.el (help-make-xrefs): Get continuation lines right.
2021-11-01 04:16:51 +01:00
Lars Ingebrigtsen
eeb09ff41b
Fix infloop in help-make-xrefs in certain keymaps
...
* lisp/help-mode.el (help-make-xrefs): Adjust xref symbol finding
after changes to how keymaps are output.
2021-11-01 04:02:16 +01:00
Lars Ingebrigtsen
7a46461950
Make xref symbol marking work again after describe-keymap changes
...
* lisp/help-mode.el (help-make-xrefs): Adjust xref symbol finding
after changes to how keymaps are output.
2021-11-01 03:57:37 +01:00
Aaron Jensen
6265e9349f
* lisp/icomplete.el (icomplete-exhibit): Remove workaround
2021-10-31 22:33:28 -04:00
Lars Ingebrigtsen
5e03dbd335
Fix failing help-fns tests after layout changes in `C-h b'
2021-11-01 03:29:07 +01:00
Lars Ingebrigtsen
0882e98bec
Say "Key/Binding" instead of "key/binding" in `C-h b'
...
* lisp/help.el (describe-map-tree): Capitalize the heading.
2021-11-01 03:26:26 +01:00
Lars Ingebrigtsen
1200ecba27
Don't print empty keymaps in `C-h b'
...
* lisp/help.el (describe-map-tree): Don't print the heading if the
keymap is empty (bug#22334). Tweak the look to compress it more
vertically.
2021-11-01 03:18:02 +01:00
Lars Ingebrigtsen
a34466731b
Fix typo in describe-map-tree doc string
...
* lisp/help.el (describe-map-tree): Fix typo in doc string.
2021-11-01 02:43:36 +01:00
Lars Ingebrigtsen
686d85c767
Include the major mode name in the `C-h b' output
...
* lisp/calc/calc-help.el (calc-describe-bindings): Don't add the
name since it's there now.
* src/keymap.c (Fdescribe_buffer_bindings): Include the major mode
name for symmetry with the minor modes (and because it's easy to
forget).
2021-11-01 01:44:01 +01:00
Lars Ingebrigtsen
c825c82525
Don't make key binding face wider than the norm
...
* lisp/faces.el (help-key-binding): Don't make the chars wider
than normally, because that makes `C-h b' lining-up logic fail.
2021-11-01 01:35:06 +01:00
Ken Brown
c86a3029ec
Merge from origin/emacs-28
...
6ba4e3b78c
Drop support for native compilation on 32-bit Cygwin
7e15ee5bc9
; * doc/emacs/help.texi (Help Mode): Improve indexing.
2021-10-31 19:36:04 -04:00
Ken Brown
6ba4e3b78c
Drop support for native compilation on 32-bit Cygwin
...
* configure.ac (cygwin32-native-compilation): New option.
[i686-pc-cygwin]: Don't allow native compilation unless that
option is specified. (Bug#50666)
2021-10-31 19:30:25 -04:00
Lars Ingebrigtsen
96ac51427f
Re-fix the new mouse event logic in outline
...
* lisp/outline.el (outline-show-subtree, outline-hide-subtree):
Really fix the mouse logic.
2021-11-01 00:05:10 +01:00
Lars Ingebrigtsen
940b414cfe
Make TAB work on the outline buttons
...
* lisp/outline.el (outline--insert-close-button)
(outline--insert-open-button): Make TAB work to toggle on the
buttons, too.
2021-10-31 23:56:07 +01:00
Lars Ingebrigtsen
f29ea4418f
Clarify describe-bindings code slightly
...
* lisp/help.el (describe-bindings): Clarify code slightly.
2021-10-31 23:25:12 +01:00
Lars Ingebrigtsen
a21697651e
Fix new mouse handling in outline
...
* lisp/outline.el (outline-show-subtree, outline-hide-subtree):
Don't set point if we have no event.
2021-10-31 23:24:46 +01:00
Lars Ingebrigtsen
57030b90d5
Add buttons to outlining and tweak `C-h b' buffer
...
* lisp/help.el (describe-bindings-outline): Change default to t.
(describe-bindings): Tweak the look and remove the explanation.
* lisp/outline.el (outline-minor-mode-use-buttons):
(outline-minor-mode-buttons): New user options.
(outline-hide-subtree): Update buttons.
(outline--make-button, outline--make-button-overlay)
(outline--insert-open-button, outline--insert-close-button)
(outline--fix-up-all-buttons): New functions.
2021-10-31 23:13:58 +01:00
Eli Zaretskii
744acbd384
Improve the "Help Mode" section of the Emacs manual
...
* doc/emacs/help.texi (Help Mode): Reorganize and improve wording
of the recent change. Add index entries.
2021-10-31 21:39:17 +02:00
Eli Zaretskii
7e15ee5bc9
; * doc/emacs/help.texi (Help Mode): Improve indexing.
2021-10-31 21:23:34 +02:00
Stefan Kangas
56d3bf6a53
; * nextstep/templates/Info.plist.in: Prefer HTTPS.
2021-10-31 20:22:20 +01:00