Skip to content

Fix CI failures #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ commands:
command: eldev -dtT compile --warnings-as-errors

jobs:
test-ubuntu-emacs-27:
docker:
- image: silex/emacs:27-ci
entrypoint: bash
steps:
- setup
- test

test-ubuntu-emacs-28:
docker:
- image: silex/emacs:28-ci
Expand Down Expand Up @@ -119,7 +111,6 @@ workflows:
version: 2
ci-test-matrix:
jobs:
- test-ubuntu-emacs-27
- test-ubuntu-emacs-28
- test-ubuntu-emacs-29
- test-ubuntu-emacs-30
Expand Down
18 changes: 11 additions & 7 deletions inf-clojure.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
;; URL: http://github.com/clojure-emacs/inf-clojure
;; Keywords: processes, comint, clojure
;; Version: 3.3.0-snapshot
;; Package-Requires: ((emacs "27.1") (clojure-mode "5.11"))
;; Package-Requires: ((emacs "28.1") (clojure-mode "5.11"))

;; This file is not part of GNU Emacs.

Expand Down Expand Up @@ -1004,12 +1004,16 @@ of forms."
(while (not (eobp))
(while (looking-at "\n")
(delete-char 1))
;; NOTE: There is no special API for that in
;; `clojure-ts-mode', so probably for now lets keep this
;; `clojure-mode' function.
(unless (eobp)
;; NOTE: There is no special API for that in
;; `clojure-ts-mode', so probably for now lets keep this
;; `clojure-mode' function.
(clojure-forward-logical-sexp)
(forward-char)))
(clojure-forward-logical-sexp))
(unless (eobp)
(forward-char)
;; Remove an empty line at the end of the buffer.
(when (eobp)
(delete-char -1))))
(buffer-substring-no-properties (point-min) (point-max))))
(scan-error str)))

Expand Down Expand Up @@ -1503,7 +1507,7 @@ evaluating \\[inf-clojure-completion-form] at the REPL."
(funcall inf-clojure-completions-fn
(inf-clojure--process-response completion-expr proc "(" ")"))))))

(defconst inf-clojure-clojure-expr-break-chars "^[] \"'`><,;|&{()[@\\^]"
(defconst inf-clojure-clojure-expr-break-chars "^][ \"'`><,;|&{()@\\^"
"Regexp are hard.

This regex has been built in order to match the first of the
Expand Down
5 changes: 2 additions & 3 deletions test/inf-clojure-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@
(ict-with-assess-buffers
((a (insert "@")))
(with-current-buffer a
(expect
(ict-bounds-string (inf-clojure-completion-bounds-of-expr-at-point))
:not :to-be nil))))
(expect (inf-clojure-completion-bounds-of-expr-at-point)
:to-be nil))))

(it "computes bounds for [symbol"
(ict-with-assess-buffers
Expand Down