Commit graph

84313 commits

Author SHA1 Message Date
Lars Ingebrigtsen
10c48b7080 Fix button-buffer-map binding error
* lisp/button.el (button-buffer-map): Fix error in map rewriting
in previous commit.
2022-04-16 19:32:26 +02:00
Lars Ingebrigtsen
4916c827ec Add new commands to go to headings/sections in the NEWS file
* lisp/textmodes/emacs-news-mode.el (emacs-news-find-heading)
(emacs-news-goto-section): New commands.
2022-04-16 19:14:42 +02:00
Lars Ingebrigtsen
9b0940420e Add emacs-news-previous-untagged-entry command
* lisp/textmodes/emacs-news-mode.el
(emacs-news-next-untagged-entry): Allow searching backward.
(emacs-news-previous-untagged-entry): New command and keystroke.
2022-04-16 18:35:20 +02:00
Eli Zaretskii
1083dc4600 ; * lisp/language/indian.el ("Brahmi"): Enhance composition rules. 2022-04-16 19:27:25 +03:00
Lars Ingebrigtsen
52de048389 Improve exif-field discoverability
* lisp/image/exif.el (exif-parse-file, exif-parse-buffer): Link to
`exif-field'.
2022-04-16 17:35:44 +02:00
Lars Ingebrigtsen
d5b9b1a913 Document project-kill-buffers-display-buffer-list
* doc/emacs/maintaining.texi (Project Buffer Commands): Mention
project-kill-buffers-display-buffer-list.

* lisp/progmodes/project.el (project-kill-buffers): Link to
project-kill-buffers-display-buffer-list.
2022-04-16 17:30:32 +02:00
Lars Ingebrigtsen
db1bfcd909 Mention completion-wrap-movement in relevant commands
* lisp/simple.el (previous-completion, next-completion): Mention
`completion-wrap-movement'.
2022-04-16 17:17:05 +02:00
Lars Ingebrigtsen
37b11e5f16 Further IDNA/proxy url fixes
* lisp/url/url-http.el (url-http-create-request): Puny-encode
domains (bug#54921).
2022-04-16 17:02:01 +02:00
Lars Ingebrigtsen
51013d328c Crosslink some buttonize function doc strings
* lisp/button.el (buttonize-region, buttonize): Crosslink doc
strings for discoverability.
2022-04-16 16:59:41 +02:00
Lars Ingebrigtsen
d1bc95b3a4 Improve completion in `C-h R'
* lisp/info.el (info-display-manual): Use it (bug#54961).
(info--filter-manual-names): Filter away duplicates and irrelevant
files.
2022-04-16 16:35:57 +02:00
Lars Ingebrigtsen
4f1612188b Make emacs-news-next-untagged-entry push the mark
* lisp/textmodes/emacs-news-mode.el
(emacs-news-next-untagged-entry): Push the mark for easier
navigation back to where we were.
2022-04-16 16:11:45 +02:00
Lars Ingebrigtsen
5752a839e5 Fix NEWS tag commands
* lisp/textmodes/emacs-news-mode.el
(emacs-news-next-untagged-entry): Fix logic.
(emacs-news-count-untagged-entries): Add new command and keystroke.
2022-04-16 16:07:25 +02:00
Lars Ingebrigtsen
db416ae049 Clean up emacs-news--buttonize
* lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize):
Remove unnecessary check left over from previous version.
2022-04-16 15:58:20 +02:00
Lars Ingebrigtsen
b381929c91 Bind TAB and <backtab> on buttons
* lisp/button.el (button-map): Inherit from 'button-buffer-map'.
2022-04-16 15:57:33 +02:00
Lars Ingebrigtsen
dcbef9045f Regenerated ldefs-boot.el 2022-04-16 15:42:10 +02:00
Lars Ingebrigtsen
5a59059b24 Add a new mode for editing and viewing the Emacs NEWS file
* etc/NEWS (mode): Use emacs-news-mode.
* lisp/help.el (view-emacs-news): Use emacs-news-mode.

* lisp/textmodes/emacs-news-mode.el: New mode for editing and
viewing the Emacs NEWS file.
2022-04-16 15:42:10 +02:00
Lars Ingebrigtsen
d71ee07852 Add new function buttonize-region
* lisp/button.el (buttonize-region): New function.
(button--properties): Factored out.
(buttonize): Use it.
2022-04-16 15:42:10 +02:00
Eli Zaretskii
16ccca6dc3 Improve support for the Brahmi script
* lisp/language/indian.el ("Brahmi"): New language environment.
Add composition rules for Brahmi.
* lisp/international/fontset.el (script-representative-chars)
(setup-default-fontset): Support Brahmi.  (Bug#54914)

* etc/NEWS: Announce the new language environment.
2022-04-16 13:18:47 +03:00
Lars Ingebrigtsen
b3ff490538 Fix ODF file detection in doc-view-mode
* lisp/doc-view.el (doc-view-set-doc-type): Fix ODF file detection
(bug#54947).
2022-04-16 11:21:33 +02:00
Eli Zaretskii
09f905c80b ; * lisp/window.el (display-buffer-assq-regexp): Doc fix. 2022-04-16 11:41:48 +03:00
Philip Kaludercic
c3ab8f188e Improve buffer-match-p documentation
* doc/lispref/windows.texi (Choosing Window): Document that
buffer-match-p is used by display-buffer-alist.
* etc/NEWS: Mention buffer-match-p and match-buffers.
* lisp/window.el (display-buffer-alist): Update documentation as for
display-buffer-assq-regexp.
(display-buffer-assq-regexp): Rename buffer-name to buffer-or-name.
(display-buffer): Pass the buffer directly to
display-buffer-assq-regexp,.
2022-04-15 21:12:56 +02:00
Philip Kaludercic
fdd8b5913b Add rcirc-cycle-completion-flag
* doc/misc/rcirc.texi: Document new option.
* lisp/net/rcirc.el (rcirc-cycle-completion-flag): Add new option.
(rcirc-mode): Respect new option.
2022-04-15 17:10:45 +02:00
Lars Ingebrigtsen
2d4c5f0b85 Enable dragging resizing final column in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-line): Insert the
divider after the final column, too, so that the size can be
dragged.
2022-04-15 14:06:33 +02:00
Lars Ingebrigtsen
68e6430959 Add some mouse-face bits to vtable
* lisp/emacs-lisp/vtable.el (make-vtable)
(vtable--insert-header-line): Put mouse-face on draggable bits.
2022-04-15 13:58:41 +02:00
Lars Ingebrigtsen
4bc36f09b9 Tweak sorting indicator placement in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Tweak
sorting indicator position.
2022-04-15 13:45:00 +02:00
Lars Ingebrigtsen
c4768cda7f Make the sorting indicator prettier in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Place
the sorting indicator flush right in the heading.
2022-04-15 13:37:13 +02:00
Lars Ingebrigtsen
f36ff9da17 Allow using faces for colors in vtable
* doc/misc/vtable.texi (Making A Table): Adjust color documentation.
* lisp/emacs-lisp/vtable.el (make-vtable): Mix more.
(vtable--compute-colors): Mix both foreground and background colors.
(vtable--make-color-face, vtable--face-blend): New functions.
(vtable--insert-line): Adjust usage.
2022-04-15 12:09:07 +02:00
Lars Ingebrigtsen
cc2a1b2780 Allow dragging the divider in vtable
* lisp/emacs-lisp/vtable.el (vtable): Add a keymap cache.
(make-vtable): Allow dragging the divider.
(vtable-insert): Don't put the table keymap over the entire line
-- avoid the divider, which has its own keymap.
(vtable--drag-resize-column): Adjust to the in-buffer divider
dragging.
2022-04-15 11:10:05 +02:00
Lars Ingebrigtsen
e95c545180 Fix off-by-one error in text-property-search-backward
* lisp/emacs-lisp/text-property-search.el
(text-property-search-backward): Fix off-by-one error -- this
would result in not finding the previous (non-)match when at the
first character in a field.
2022-04-15 11:06:44 +02:00
Philip Kaludercic
1a3bad431d Update project-kill-buffer-conditions to match buffer-match-p
* project.el (project-kill-buffer-conditions): Document the
deprecation of the use of derived-mode
(project--buffer-check): Have `major-mode' behave like `derived-mode'
did previously, and issue a warning of `derived-mode' is used.
2022-04-15 10:06:36 +02:00
Philip Kaludercic
59ecf25fc8 * window.el (display-buffer-assq-regexp): Use buffer-match 2022-04-15 10:06:36 +02:00
Philip Kaludercic
ea54062fdf Generalise buffer matching from project.el
* subr.el (buffer-match): Add function to check if a buffer satisfies
a condition.
(match-buffers): Returns all buffers that satisfy a condition.
2022-04-15 10:06:36 +02:00
Lars Ingebrigtsen
807682de1e Allow dragging dividers in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Allow
dragging dividers.
(vtable--drag-resize-column): Adjust function.
2022-04-14 19:48:59 +02:00
Lars Ingebrigtsen
be54c25dbb Allow resizing vtable columns by dragging
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Allow
resizing by dragging headers.
(vtable--drag-resize-column): New function.
(vtable-narrow-current-column): Refactor out common bits.
(vtable--alter-column-width): To here.
(vtable-widen-current-column): Rewrite to use
vtable-narrow-current-column.
2022-04-14 19:39:01 +02:00
Stefan Monnier
eab0105696 * lisp/gnus/gnus.el (toplevel autoloads): Fix file name
`score-mode` does not define `gnus-score-edit-all-score`, it's defined
in `gnus-score` instead.
2022-04-14 12:55:23 -04:00
Philip Kaludercic
bd67ffa179 Have submit-emacs-patch prompt for patch file before subject
* emacsbug.el (submit-emacs-patch): Prompt for patch file and use that
  to guess the subject.
2022-04-14 18:39:35 +02:00
Lars Ingebrigtsen
346749f67d Handle non-ASCII domains correctly in url-https-proxy-connect
* lisp/url/url-http.el (url-https-proxy-connect)
(url-https-proxy-after-change-function): Handle IDNA domains
correctly.
2022-04-14 18:08:00 +02:00
Lars Ingebrigtsen
f498d055a4 Make vtable remember user-altered column widths
* lisp/emacs-lisp/vtable.el (vtable-narrow-current-column)
(vtable-widen-current-column): Store the size to that it's
respected on `g'.
2022-04-14 18:03:58 +02:00
Lars Ingebrigtsen
e7f7930a61 Ensure that commands like { work on all frames in vtable
* lisp/emacs-lisp/vtable.el (vtable--recompute-cache)
(vtable--ensure-cache): New functions.
(vtable-insert): Use it.
(vtable--widths): Ditto.
2022-04-14 16:25:41 +02:00
Filipp Gunbin
831314b08b ldap-search-internal cleanup
* lisp/net/ldap.el (ldap-ldapsearch-args): Change -LL to -LLL to
suppress ldif version output.
(ldap-search-internal): Remove skipping of version output.  Remove
redundand ws skipping.
2022-04-14 16:52:01 +03:00
Filipp Gunbin
2a2f5530fa Fix eudc-get-attribute-list
* lisp/net/eudc-vars.el (eudc-ldap-no-wildcard-attributes): New
defcustom.
* doc/misc/eudc.texi (LDAP Configuration): Mention it.
* lisp/net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558): Use it.
(eudc-ldap-get-field-list): Set scope and sizelimit, instead of
overriding the whole ldap-host-parameters-alist.
* lisp/net/ldap.el (ldap-search-internal): Allow "size limit exceeded"
exit code.  Allow empty attribute values.
2022-04-14 16:52:01 +03:00
Nobuyoshi Nakada
36da6ceb92 Fix electric-help-map problem when help-char has meta-prefix
* lisp/ehelp.el (electric-help-map): Fix problem when help-char
has meta-prefix (bug#54932).
2022-04-14 15:51:04 +02:00
Lars Ingebrigtsen
2ea3e7b246 Fix describe-mode--minor-modes formatting issue
* lisp/help-fns.el (describe-mode--minor-modes): Fix multi-line
local-minor paragraph.
2022-04-14 03:08:32 +02:00
Lars Ingebrigtsen
c3b6cfda36 Make vtable narrow/widen functions take a prefix
* lisp/emacs-lisp/vtable.el (vtable-narrow-current-column)
(vtable-widen-current-column): Allow using the prefix to say how
much to narrow/widen the columns.
2022-04-14 02:47:23 +02:00
Lars Ingebrigtsen
ffb7612d2c Copy edit make-vtable code
* lisp/emacs-lisp/vtable.el (make-vtable): Clean up code slightly.
2022-04-14 02:41:27 +02:00
Lars Ingebrigtsen
8969836cb8 Edit some vtable doc strings
* lisp/emacs-lisp/vtable.el (make-vtable, vtable): Improve doc
strings.
2022-04-14 02:37:44 +02:00
Lars Ingebrigtsen
5a9e4f2230 Further divider fixes for vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Don't
insert the divider at the end.
(vtable-narrow-current-column, vtable-widen-current-column): Don't
error out when being called on the divider.
2022-04-14 02:18:01 +02:00
Lars Ingebrigtsen
574ae74caa Fix dividers in vtable header lines
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Put the
divider in the correct place in the header line.
2022-04-14 01:56:15 +02:00
Lars Ingebrigtsen
a96679b742 Allow having dividers between columns in vtable
* doc/misc/vtable.texi (Making A Table): Document it.
* lisp/emacs-lisp/vtable.el (vtable): Add a divider slot.
(make-vtable): Accept :divider and :divider-width arguments.
(vtable--insert-line, vtable--insert-header-line): Display the
divider.
2022-04-14 01:36:36 +02:00
Lars Ingebrigtsen
800998808a Allow putting alternating colors on vtable rows
* doc/misc/vtable.texi (Making A Table): Document it.
* lisp/emacs-lisp/vtable.el (vtable): Add :row-colors.
(make-vtable): Ditto.
(vtable--compute-colors, vtable--color-blend): New functions.
(vtable--insert-line): Take a line number argument and adjust
callers.
2022-04-14 01:00:44 +02:00