summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix issues related to 'package-vc-install-from-checkout'Philip Kaludercic2022-11-171-12/+12
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--main-file): Ensure the package name is a string. (package-vc--unpack-1): Use pkg-dir instead of the empty return value of 'package-lisp-dir'. (package-vc-install-from-checkout): Fix file name handling.
| * ; * lisp/emacs-lisp/package-vc.el: Update TODOPhilip Kaludercic2022-11-171-0/+3
| |
| * Allow the direct installation of package specificationsPhilip Kaludercic2022-11-171-17/+28
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install): Handle package specifications as an argument.
| * Only fetch elpa-packages.eld when necessaryPhilip Kaludercic2022-11-171-1/+0
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el: Remove hook from 'package-refresh-contents-hook'.
| * Remove duplicate package descriptions after updatingPhilip Kaludercic2022-11-171-0/+5
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--unpack-1): Ensure there is always just one instance of a package description in 'package-alist'.
| * Remove temporary .texi files if used to build documentationPhilip Kaludercic2022-11-171-3/+7
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Remember if a temporary file was generated and delete it afterwards.
| * Fix the behaviour of 'byte-compile-ignore-files'Philip Kaludercic2022-11-171-4/+3
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Negate the 'string-match-p' check. (Bug#59139)
| * Avoid destructive manipulation of 'package-vc--archive-spec-alist'Philip Kaludercic2022-11-171-1/+1
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--desc->spec): Replace 'mapcar' with 'apply'. This is done to avoid unintentional cycles.
| * Improve robustness of 'package-vc-update'Philip Kaludercic2022-11-171-17/+12
| | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update): Ensure that the command is only invoked with installed packages. that the hook is always removed and that 'vc-pull' is always called in the right directory.
| * * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call'Philip Kaludercic2022-11-171-3/+1
| |
| * Have 'vc-prepare-patch' handle prefix arguments.Philip Kaludercic2022-11-172-24/+42
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-prepare-patch): Use 'vc-prepare-patch-prompt-revisions'. * lisp/vc/vc.el (vc-prepare-patch-prompt-revisions): Extract common function and handle prefix arguments. (vc-prepare-patch): Pull logic out to 'vc-prepare-patch-prompt-revisions'.
| * Explain that 'package-vc-install' doesn't remove tarball packagesPhilip Kaludercic2022-11-171-1/+3
| | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install): Expand documentation.
| * Mention package name when package is lacking VC dataPhilip Kaludercic2022-11-171-2/+3
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install): Add package name. (package-vc-checkout): Add package name.
| * Add new command 'package-vc-update-all'Philip Kaludercic2022-11-171-0/+10
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update-all): Add command (package-vc-update): Add an assertion to verify this.
| * Raise 'wrong-type-argument' when installing package nilPhilip Kaludercic2022-11-171-0/+2
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install): Check if the package is nil.
| * Have 'package-vc-selected-packages' consider all installed packagesPhilip Kaludercic2022-11-171-4/+3
| | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install-selected-packages): Consider more than just one value in `package-alist', in case there are multiple installations.
| * Fix indefinite loading of asynchronous downloadsPhilip Kaludercic2022-11-171-1/+1
| | | | | | | | | | | | * lisp/emacs-lisp/package.el (package--download-one-archive): Only add the archive that is actually being downloaded to 'package--downloads-in-progress'.
| * Fix edebug spec for 'package--with-response-buffer'Philip Kaludercic2022-11-171-4/+1
| | | | | | | | | | * lisp/emacs-lisp/package.el (package--with-response-buffer): Add a spec that makes the macro debuggable.
| * Improve robustness of documentation generationPhilip Kaludercic2022-11-171-8/+14
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Log output and display error messages if anything goes wrong.
| * Remove unused variable in 'package-vc--unpack'Philip Kaludercic2022-11-171-1/+1
| | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--unpack): Remove 'url'.
| * Move package spec documentation to 'package-vc-selected-packages'Philip Kaludercic2022-11-171-29/+27
| | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Add documentation. (package-vc--archive-spec-alist): Remove documentation.
| * Fix type error in package-vc prompt functionPhilip Kaludercic2022-11-171-1/+1
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--read-package-name): Pass (not allow-url) as REQUIRE-MATCH, not as INITIAL-INPUT.
| * Rename 'package-vc-refresh' to 'package-vc-rebuild'Philip Kaludercic2022-11-171-4/+9
| | | | | | | | | | | | | | | | | | | | * doc/emacs/package.texi (Fetching Package Sources): Update documentation. * lisp/emacs-lisp/package-vc.el (package-vc-refresh): Rename from. (package-vc-rebuild): Rename to. This intends to clarify the intention and avoid confusion with 'package-refresh-contents'. Thanks to Rudolf Adamkovič for the suggestion.
| * Track 'default-directory' while updating source packagesPhilip Kaludercic2022-11-171-4/+7
| | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update): Add the source directory to the identifier list, in case the remaining 'vc-do-command' arguments are all read-time constants.
| * Respect :lisp-dir in package specs by loading a sub-directoryPhilip Kaludercic2022-11-172-44/+38
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-repository-store): Remove obsolete variable. (package-vc--unpack-1): Respect :lisp-dir. (package-vc--unpack): Add :lisp-dir to the package description if necessary. * lisp/emacs-lisp/package.el (package--delete-directory): Check if a directory is a symbolic link.
| * Fix generation of documentation for source packagesPhilip Kaludercic2022-11-171-2/+8
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Call "makeinfo" before "install-info"
| * Remove references to internal symbols from public docstringsPhilip Kaludercic2022-11-171-2/+2
| | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-repository-store): Unmention 'package-vc--unpack'. (package-vc-install): Unmention 'package-vc--guess-backend' in favour of 'package-vc-heuristic-alist'.
| * Expand 'package-vc--unpack-1' documentationPhilip Kaludercic2022-11-171-1/+5
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--unpack-1): Explain what the function does.
| * Clarify 'package-vc--build-documentation' docstringPhilip Kaludercic2022-11-171-1/+1
| | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Rewrite the first line. As suggested by Eli Zaretskii.
| * Fix the docstring for 'package-vc--version'Philip Kaludercic2022-11-171-1/+1
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--version): Replace docstring. It seems like this was just copied over from 'package-vc-commit', for no good reason.
| * Fix 'package-vc-selected-packages' documentationPhilip Kaludercic2022-11-171-2/+6
| | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Remove reference to non-existent function and add an explanation that the value won't override an existing source package installation.
| * Mark 'package-vc-update' as interactivePhilip Kaludercic2022-11-171-41/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--sourced-packages-list): Remove function in favour of 'package-vc--read-package-name'. (package-vc--read-package-name): Extract out common functionality. (package-vc--read-package-desc): Add auxiliary function based on 'package-vc--read-package-name'. (package-vc-update): Add interactive spec using 'package-vc--read-package-desc'. (package-vc-install): Use 'package-vc--read-package-desc'. (package-vc-checkout): Use 'package-vc--read-package-desc'. (package-vc--read-pkg): Remove in favour of 'package-vc--read-package-desc'. (package-vc-refresh): Use 'package-vc--read-package-desc'. (package-vc-prepare-patch): Use 'package-vc--read-package-desc'.
| * Autoload 'package-vc-install-selected-packages'Philip Kaludercic2022-11-171-0/+3
| | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Add an autoload cookie. (package-vc-selected-packages): Set :initialize to 'custom-initialize-default'.
| * Mark 'package-vc-install-selected-packages' as interactivePhilip Kaludercic2022-11-171-0/+1
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Add an interactive spec.
| * Rename '-ensure-packages' to -install-selected-packages'Philip Kaludercic2022-11-171-2/+2
| | | | | | | | | | | | | | * doc/emacs/package.texi (Fetching Package Sources): Rename instances. * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Rename to 'package-vc-install-selected-packages'. (package-vc-selected-packages): Call renamed function.
| * Handle strings as keys in 'package-vc-ensure-packages'Philip Kaludercic2022-11-171-2/+3
| | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Inter sting keys while processing 'package-vc-selected-packages'. As requested by Rudolf Adamkovič.
| * ; Fix interactive spec for 'package-vc-refresh'Philip Kaludercic2022-11-171-1/+1
| | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-refresh): Thanks to Rudolf Adamkovič for noticing the mistake.
| * Avoid raw control characters in two filesStefan Kangas2022-11-171-10/+10
| | | | | | | | | | | | | | | | * lisp/net/rcirc.el (rcirc-format, rcirc-unformat) (rcirc-format-bold, rcirc-format-italic, rcirc-format-underline) (rcirc-format-strike-trough, rcirc-format-fixed-width): * test/lisp/subr-tests.el (test-keymap-parse-macros): Don't use raw control characters.
| * * lisp/repeat.el (describe-repeat-maps): Use fill-region-as-paragraph.Juri Linkov2022-11-171-12/+27
| |
| * Use mapc instead of mapcar when walking rmail threadsRobert Pluim2022-11-171-4/+4
| | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary--walk-thread-message-recursively): Use `mapc' instead of `mapcar'; we don't care about the results.
| * ; Fix previous rmailsum changeRobert Pluim2022-11-171-1/+1
| |
| * New Rmail summary "by thread"Andrea Monaco2022-11-171-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary-subjects-hash-table) (rmail-summary-message-parents-vector) (rmail-summary-message-ids-hash-table): New variables. (rmail-summary-fill-message-ids-hash-table) (rmail-summary--split-header-field) (rmail-summary-fill-message-parents-vector) (rmail-summary-direct-descendants) (rmail-summary--walk-thread-message-recursively) (rmail-summary-by-thread): New functions. * etc/NEWS: Announce the new Rmail features.
| * Improve progressive summaries in RmailAndrea Monaco2022-11-171-57/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary-progressively-narrow): Renamed from 'rmail-summary-apply-filters-consecutively'. Doc fix. (rmail-summary-invert): Renamed from 'rmail-summary-negate'. Doc fix. (rmail-summary-currently-displayed-msgs): Doc fix. (rmail-summary--exists-1): New function. (rmail-summary-by-labels, rmail-summary-by-recipients) (rmail-summary-by-regexp, rmail-summary-by-topic) (rmail-summary-by-senders): Call 'rmail-summary-exists' to verify that the summary is usable.
| * CC Mode: Make implicit int types following specifiers fontify correctlyAlan Mackenzie2022-11-172-10/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #59267. It applies to C Mode only, and refers to constructs like "register count;" which are implicitly of int type. * lisp/progmodes/cc-engine.el (c-forward-type): Use the new regexp c-maybe-typeless-specifier-re in place of c-opt-type-modifier-prefix-key. Add an extra arm to the main cond form to handle the construct, and another to handle "extern "C" foo_t my_foo;". (c-forward-decl-or-cast-1): Adapt to handle the result no-id from c-forward-type. * lisp/progmodes/cc-langs.el (c-maybe-typeless-specifier-re): New lang const/var.
| * ; * lisp/progmodes/elisp-mode.el (eval-defun): Doc fix.Eli Zaretskii2022-11-171-5/+9
| |
| * Make VSIZE and RSS human-readable in Proced buffersLaurence Warne2022-11-171-2/+6
| | | | | | | | | | | | * lisp/proced.el (proced-format-memory): New function. (proced-grammar-alist): Use proced-format-memory to format VSIZE and RSS. (Bug#59272)
| * * lisp/progmodes/eglot.el (eglot-server-programs): Remove Intelephense.Eli Zaretskii2022-11-171-1/+0
| |
| * Add Eglot alternatives for PHP language serversUSAMI Kenta2022-11-171-2/+4
| | | | | | | | | | * lisp/progmodes/eglot.el (eglot-server-programs): Add alternatives for PHP.
| * ediff: Merges with ancestor: Fix computation of hunks and proposed mergeOlivier Certner2022-11-171-14/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hunks were not computed correctly because the diff3 command was invoked with arguments in an incorrect order. The correct order is the local file first, the base (or "ancestor") second and the other file third. This erroneous behavior had two consequences. First, the output of diff3 would change, since it tries to merge chunks according to maximal matches between the second and first files, and the second and third files. Second, ediff, more precisely, `ediff-do-merge', would consequently try to merge the reverse of the changes from the base to the other file. * lisp/vc/ediff-diff.el (ediff-setup-diff-regions3): In the arguments to `ediff-exec-process', swap the other file with the ancestor (only when merging with an ancestor). (ediff-extract-diffs3): Match the hunk data for the ancestor and the other file correctly. The local variable `three-way-comp' indicates this is a merge with ancestors when it is nil. (Bug#59182)
| * shell: Add repeat-map for shell-{forward,backward}-promptBrian Leung2022-11-171-0/+8
| | | | | | | | * lisp/shell.el (shell-repeat-map): New defvar. (Bug#59144)