aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow using faces for colors in vtableLars Ingebrigtsen2022-04-151-14/+45
| | | | | | | | * 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.
* Allow dragging the divider in vtableLars Ingebrigtsen2022-04-151-16/+36
| | | | | | | | | * 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.
* Fix off-by-one error in text-property-search-backwardLars Ingebrigtsen2022-04-151-1/+0
| | | | | | | * 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.
* Update project-kill-buffer-conditions to match buffer-match-pPhilip Kaludercic2022-04-151-16/+24
| | | | | | | * 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.
* * window.el (display-buffer-assq-regexp): Use buffer-matchPhilip Kaludercic2022-04-151-11/+4
|
* Generalise buffer matching from project.elPhilip Kaludercic2022-04-151-0/+59
| | | | | | * subr.el (buffer-match): Add function to check if a buffer satisfies a condition. (match-buffers): Returns all buffers that satisfy a condition.
* Allow dragging dividers in vtableLars Ingebrigtsen2022-04-141-10/+19
| | | | | | * lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Allow dragging dividers. (vtable--drag-resize-column): Adjust function.
* Allow resizing vtable columns by draggingLars Ingebrigtsen2022-04-141-16/+31
| | | | | | | | | | * 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.
* * lisp/gnus/gnus.el (toplevel autoloads): Fix file nameStefan Monnier2022-04-141-1/+2
| | | | | `score-mode` does not define `gnus-score-edit-all-score`, it's defined in `gnus-score` instead.
* Have submit-emacs-patch prompt for patch file before subjectPhilip Kaludercic2022-04-141-1/+8
| | | | | * emacsbug.el (submit-emacs-patch): Prompt for patch file and use that to guess the subject.
* Handle non-ASCII domains correctly in url-https-proxy-connectLars Ingebrigtsen2022-04-141-4/+4
| | | | | | * lisp/url/url-http.el (url-https-proxy-connect) (url-https-proxy-after-change-function): Handle IDNA domains correctly.
* Make vtable remember user-altered column widthsLars Ingebrigtsen2022-04-141-0/+6
| | | | | | * lisp/emacs-lisp/vtable.el (vtable-narrow-current-column) (vtable-widen-current-column): Store the size to that it's respected on `g'.
* Ensure that commands like { work on all frames in vtableLars Ingebrigtsen2022-04-141-13/+16
| | | | | | | * lisp/emacs-lisp/vtable.el (vtable--recompute-cache) (vtable--ensure-cache): New functions. (vtable-insert): Use it. (vtable--widths): Ditto.
* ldap-search-internal cleanupFilipp Gunbin2022-04-141-4/+2
| | | | | | | * 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.
* Fix eudc-get-attribute-listFilipp Gunbin2022-04-143-18/+36
| | | | | | | | | | | * 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.
* Fix electric-help-map problem when help-char has meta-prefixNobuyoshi Nakada2022-04-141-1/+4
| | | | | * lisp/ehelp.el (electric-help-map): Fix problem when help-char has meta-prefix (bug#54932).
* Fix describe-mode--minor-modes formatting issueLars Ingebrigtsen2022-04-141-1/+1
| | | | | * lisp/help-fns.el (describe-mode--minor-modes): Fix multi-line local-minor paragraph.
* Make vtable narrow/widen functions take a prefixLars Ingebrigtsen2022-04-141-8/+16
| | | | | | * 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.
* Copy edit make-vtable codeLars Ingebrigtsen2022-04-141-6/+4
| | | | * lisp/emacs-lisp/vtable.el (make-vtable): Clean up code slightly.
* Edit some vtable doc stringsLars Ingebrigtsen2022-04-141-2/+4
| | | | | * lisp/emacs-lisp/vtable.el (make-vtable, vtable): Improve doc strings.
* Further divider fixes for vtableLars Ingebrigtsen2022-04-141-3/+9
| | | | | | | * 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.
* Fix dividers in vtable header linesLars Ingebrigtsen2022-04-141-2/+2
| | | | | * lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Put the divider in the correct place in the header line.
* Allow having dividers between columns in vtableLars Ingebrigtsen2022-04-141-32/+57
| | | | | | | | * 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.
* Allow putting alternating colors on vtable rowsLars Ingebrigtsen2022-04-141-11/+50
| | | | | | | | | * 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.
* Make `C-h m' actually output the documentation for the major modeLars Ingebrigtsen2022-04-131-1/+1
| | | | | * lisp/help-fns.el (describe-mode): Get the documentation for the correct major mode.
* Add a new `vtable' faceLars Ingebrigtsen2022-04-131-1/+7
| | | | | | * doc/misc/vtable.texi (Introduction): Document it. * lisp/emacs-lisp/vtable.el (vtable): Add a new face.
* * lisp/comint.el (comint-dynamic-list-input-ring): Keep replaced text props.Juri Linkov2022-04-132-4/+3
| | | | * lisp/minibuffer.el (completions-header-format): Remove unused text prop.
* Regenerated ldefs-boot.elLars Ingebrigtsen2022-04-131-1362/+1430
|
* Add support for column background colors in vtableLars Ingebrigtsen2022-04-131-3/+12
| | | | | | | | * doc/misc/vtable.texi (Making A Table): Document it. * lisp/emacs-lisp/vtable.el (vtable): Add a column color element. (make-vtable): Use it. (vtable--insert-line): Insert the colors here.
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2022-04-131-9/+12
|\
| * Fix format-seconds error in previous changeLars Ingebrigtsen2022-04-131-9/+12
| | | | | | | | | | * lisp/calendar/time-date.el (format-seconds): Fix zero elision when using fractional seconds.
* | Merge from origin/emacs-28Eli Zaretskii2022-04-132-25/+40
|\ \ | |/ |/| | | | | | | | | # Conflicts: # etc/NEWS # lisp/desktop.el # lisp/dired.el
| * ; * lisp/font-lock.el (font-lock-keywords): Doc fix.Eli Zaretskii2022-04-021-5/+5
| |
| * dired: implement feature from 7b50ed553f differentlyTassilo Horn2022-03-301-20/+34
| | | | | | | | | | | | | | * lisp/dired.el (dired-buffers-for-dir): Restore to emacs-27 version. (dired-buffers-for-dir-or-subdir): New function. (dired-clean-up-after-deletion): Use dired-buffers-for-dir-or-subdir instead dired-buffers-for-dir.
| * Fix regression in 'dired-buffers-for-dir'Eli Zaretskii2022-03-301-1/+1
| | | | | | | | | | * lisp/dired.el (dired-buffers-for-dir): Fix inadvertently swapped arguments. (Bug#54636)
| * * lisp/desktop.el (desktop-read): Clarify warning text.Eli Zaretskii2022-03-271-2/+4
| |
* | Make list-times not include zero elementsLars Ingebrigtsen2022-04-132-17/+41
| | | | | | | | | | | | | | | | | | * doc/lispref/os.texi (Time Parsing): Mention %x. * lisp/calendar/time-date.el (format-seconds): Accept a new %x spec that removes trailing zeros (bug#54904). * lisp/emacs-lisp/timer-list.el (list-timers): Don't display trailing zero bits.
* | Fix marking upgrades for packages from ELPA or NonGNU ELPAPo Lu2022-04-131-1/+1
| | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu--find-upgrades): Look inside ``external'' packages as well when searching for upgrades. (bug#54117)
* | Tweak how `M-q' in emacs-lisp-mode worksLars Ingebrigtsen2022-04-131-21/+41
| | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Only fill as strings inside strings (bug#31656). (lisp--fill-line-simple): New function to do simple sexp-based filling.
* | Redo `C-h m' outputLars Ingebrigtsen2022-04-131-100/+85
| | | | | | | | | | | | | | | | * lisp/help-fns.el (describe-mode--minor-modes): New function (bug#2473). (describe-mode): Rewritten to include local minor mode links first, then the major mode, and then global minor mode links, and then all the minor modes.
* | Make `describe-mode' include a link to the major mode functionLars Ingebrigtsen2022-04-131-6/+10
| | | | | | | | | | | | * lisp/help-fns.el (describe-mode): Add a link to the mode function so that the user can go to the manual more easily (bug#575).
* | Provide a useful default to smime-CA-fileLars Ingebrigtsen2022-04-131-5/+6
| | | | | | | | | | | | * lisp/gnus/smime.el (smime-CA-file): Use `gnutls-trustfiles' to provide a default so that this will work automatically on many systems (bug#20960).
* | Fix eager macroexpansion cycle in cl-once-onlySean Whitton2022-04-121-2/+2
| | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-once-only): Use different cl-loop syntax, with no functional change, but such that the loop does not expand into cl-psetq.
* | Fix clicking on files in Dired when drag is enabledPo Lu2022-04-121-31/+44
| | | | | | | | | | * lisp/dired.el (dired-mouse-drag): Don't drag if the mouse didn't move far enough.
* | Add biblatex alias entry types for compability with bibtexOlaf Trygve Berglihn2022-04-121-0/+23
| | | | | | | | | | | | | | * lisp/textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add biblatex alias entry types for compability with bibtex (bug#54877). Copyright-paperwork-exempt: yes
* | Adapt macOS defaults in Tramp's process-attributes implementationMichael Albinus2022-04-121-21/+14
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote processes): Mention tramp-connection-local-darwin-ps-* constants. * lisp/net/tramp-integration.el (tramp-connection-local-darwin-ps-variables): Fix docstring. (top): Simplify setting local profiles. * test/lisp/net/tramp-tests.el (tramp-test31-list-system-processes) (tramp-test31-process-attributes): New tests.
* | process-attributes-ps-args / process-attributes-ps-format for DarwinFilipp Gunbin2022-04-121-0/+94
| | | | | | | | | | | | | | | | | | * lisp/net/tramp-integration.el (tramp-darwin-process-attributes-ps-args) (tramp-darwin-process-attributes-ps-format) (tramp-connection-local-darwin-ps-variables): New defconsts. Add them to connection-local variables. Preset default "ps" profile for Darwin.
* | Add two classic Common Lisp macro-writing macrosSean Whitton2022-04-111-0/+51
| | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-with-gensyms, cl-once-only): New macros.
* | * lisp/emacs-lisp/macroexp.el (macroexp-let2*): Allow common shorthandStefan Monnier2022-04-111-3/+11
| |
* | Use preferred chars among duplicates as per UTR#25 ยง25.Paul Eggert2022-04-113-9/+9
| |