-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Janitorial Changes to agda-mode (#6536)
* agda-mode: Add a basic .dir-locals.el file for agda2-mode * agda-mode: Remove hanging parentheses * agda-mode: Set the input method just for the current agda2-mode buffer * agda-mode: Use dolist in agda2-goal-overlay * agda-mode: Have agda2-char-quote return strings * agda-mode: Use sharp-quotes where applicable * agda2-mode.el (agda2-infer-type-maybe-toplevel): Sharp-quote 'agda2-infer-type'. (agda2-solveAll-action): Sharp-quite 'agda2-solve-action'. (agda2-compute-normalised-maybe-toplevel): Sharp quote 'agda2-compute-normalised' and 'agda2-compute-normalised-toplevel'. Sharp-quoting functions indicates that a symbol should have a bound function slot, and that the byte compiler should check if this is the case, otherwise emit a warning. * agda-mode: Fix checkdoc and byte-compiler issues * agda-mode: Drop the 'agda2-let' macro * agda-mode: Add .agdai files to 'completion-ignored-extensions' * agda-mode: Remove compatibility code for versions older than GNU Emacs 25.1 * agda-mode: Replace 'agda2--case' with 'pcase' * agda-mode: Fix minor stylistic issues * agda-mode: Prefer 'defvar-local' over 'make-variable-buffer-local' * agda-mode: Prefer 'setq-local' over 'make-local-variable' * agda-mode: Flatten 'agda2-get-agda-program-versions' * agda-mode: Use 'cl-remove-if-not' instead of 'cl-mapcan' * agda-mode: Prefer member functions over (or (eq...) ...) * agda-mode: Avoid using 'equal' where unnecessary 'Equal' is used for structural equality, which is not necessary for atomic objects like symbol or numbers. In that case referential equality, 'eq' or a specialised procedure like 'zerop' or 'null' is preferred. * agda-mode: Add a custom setter to 'agda2-mode-abbrevs-use-defaults' * agda-mode: Replace 'agda2-command-table' with regular maps * agda-mode: Replace agda2-queue with a regular buffer * agda-mode: Use more consistent outlines in agda2-mode.el * agda-mode: Use more consistent outlines in agda2-highlight.el * agda-mode: Use more consistent outlines in agda2-input.el * agda-mode: Use 'with-silent-modifications' * agda-mode: Only use exec-path as a function if fboundp * agda-mode: Modify 'file-coding-system-alist' directly * agda-mode: Move add-to-list autoloads to agda2.el to avoid duplication * agda-mode: Use a "hidden name" for the Agda process buffer * agda-mode: Use 'apply' instead of 'eval' It is not necessary to use 'eval' to invoke a function with an argument list of unknown length. * agda-mode: Add a "Code" header to agda2.el * agda-mode: Do not disable cl-function warnings * agda-mode: Enable debug-on-error for agda-mode when compiling * agda-mode: Use 'barf-if-buffer-read-only' instead of checking manually * agda-mode: Avoid usage of deprecated 'window-system' variable * agda-mode: Do not control evaluation using buffer-local values * agda-mode: Further simplify process filter This change builds on c7492c0, dropping the need for any queue (of string or a buffer), by inserting the process output directly into the process buffer and operating on thereon. We avoid the overhead of consing lists and strings, while simplifying the logic by relying more on Lisp primitives.
- Loading branch information
Showing
9 changed files
with
515 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
;;; Directory Local Variables -*- no-byte-compile: t; -*- | ||
;;; For more information see (info "(emacs) Directory Variables") | ||
|
||
((emacs-lisp-mode | ||
(show-trailing-whitespace . t) | ||
(indent-tabs-mode . nil))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.