branch: elpa/aidermacs commit 3f49d59402e5a7ba5d715ab1734bee8a6af90012 Author: Mingde (Matthew) Zeng <matthew...@posteo.net> Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>
Bump to 1.0.0 --- aidermacs-backend-comint.el | 2 +- aidermacs-backend-vterm.el | 4 ++-- aidermacs-backends.el | 2 +- aidermacs-models.el | 2 +- aidermacs.el | 8 +++++--- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/aidermacs-backend-comint.el b/aidermacs-backend-comint.el index e548a3a32c..3e38f6cba1 100644 --- a/aidermacs-backend-comint.el +++ b/aidermacs-backend-comint.el @@ -1,6 +1,6 @@ ;;; aidermacs-backend-comint.el --- Comint backend for aidermacs.el -*- lexical-binding: t; -*- ;; Author: Mingde (Matthew) Zeng <matthew...@posteo.net> -;; Version: 0.9.0 +;; Version: 1.0.0 ;; Keywords: ai emacs agents llm aider ai-pair-programming, convenience, tools ;; URL: https://github.com/MatthewZMD/aidermacs ;; Originally forked from: Kang Tu <tni...@gmail.com> Aider.el diff --git a/aidermacs-backend-vterm.el b/aidermacs-backend-vterm.el index b42745c7ac..f7a56f71d9 100644 --- a/aidermacs-backend-vterm.el +++ b/aidermacs-backend-vterm.el @@ -1,6 +1,6 @@ ;;; aidermacs-backend-vterm.el --- VTerm backend for aidermacs.el -*- lexical-binding: t; -*- ;; Author: Mingde (Matthew) Zeng <matthew...@posteo.net> -;; Version: 0.9.0 +;; Version: 1.0.0 ;; Keywords: ai emacs agents llm aider ai-pair-programming, convenience, tools ;; URL: https://github.com/MatthewZMD/aidermacs ;; Originally forked from: Kang Tu <tni...@gmail.com> Aider.el @@ -53,7 +53,7 @@ "Store the last position checked in the vterm buffer.") -(defvar-local aidermacs-vterm-check-interval 0.2 +(defvar-local aidermacs-vterm-check-interval 0.5 "Interval in seconds between checks for command completion in vterm.") diff --git a/aidermacs-backends.el b/aidermacs-backends.el index 9f803acd83..57c59a16b4 100644 --- a/aidermacs-backends.el +++ b/aidermacs-backends.el @@ -1,6 +1,6 @@ ;;; aidermacs-backends.el --- Backend implementations for aidermacs.el -*- lexical-binding: t; -*- ;; Author: Mingde (Matthew) Zeng <matthew...@posteo.net> -;; Version: 0.9.0 +;; Version: 1.0.0 ;; Keywords: ai emacs agents llm aider ai-pair-programming, convenience, tools ;; URL: https://github.com/MatthewZMD/aidermacs ;; Originally forked from: Kang Tu <tni...@gmail.com> Aider.el diff --git a/aidermacs-models.el b/aidermacs-models.el index 0f981d4cba..932598bacc 100644 --- a/aidermacs-models.el +++ b/aidermacs-models.el @@ -1,6 +1,6 @@ ;;; aidermacs-models.el --- Model selection for aidermacs.el -*- lexical-binding: t; -*- ;; Author: Mingde (Matthew) Zeng <matthew...@posteo.net> -;; Version: 0.9.0 +;; Version: 1.0.0 ;; Keywords: ai emacs agents llm aider ai-pair-programming, convenience, tools ;; URL: https://github.com/MatthewZMD/aidermacs ;; Originally forked from: Kang Tu <tni...@gmail.com> Aider.el diff --git a/aidermacs.el b/aidermacs.el index f3c64b7f40..3adbcea32b 100644 --- a/aidermacs.el +++ b/aidermacs.el @@ -1,6 +1,6 @@ ;;; aidermacs.el --- Aidermacs package for interactive conversation with aider -*- lexical-binding: t; -*- ;; Author: Mingde (Matthew) Zeng <matthew...@posteo.net> -;; Version: 0.9.0 +;; Version: 1.0.0 ;; Package-Requires: ((emacs "28.1")) ;; Keywords: ai emacs agents llm aider ai-pair-programming, convenience, tools ;; URL: https://github.com/MatthewZMD/aidermacs @@ -345,6 +345,9 @@ This is called when all ediff sessions are complete." files)) ;; Remove nil entries from the list (where capture failed or was skipped) (setq aidermacs--pre-edit-files (delq nil aidermacs--pre-edit-files)) + ;; Run again if it's nil + (unless aidermacs--pre-edit-files + (aidermacs--prepare-for-code-edit)) (message "Updated Temp Files: %s" aidermacs--pre-edit-files)))) (defun aidermacs--ediff-quit-handler () @@ -426,13 +429,13 @@ This function is called when an ediff session is quit and performs two tasks: (find-file-noselect full-path)))) (with-current-buffer current-buffer (revert-buffer t t t)) + (delete-other-windows (get-buffer-window (switch-to-buffer current-buffer))) ;; Store buffer for cleanup (unless (boundp 'aidermacs--pre-edit-buffers) (setq-local aidermacs--pre-edit-buffers nil)) (push (cons full-path pre-edit-buffer) aidermacs--pre-edit-buffers) ;; Debug info (message "Comparing %s with %s" temp-file full-path) - ;; Give Emacs a moment to finish buffer setup ;; Start ediff session (ediff-buffers pre-edit-buffer current-buffer))) ;; If no pre-edit temp file found, continue with next file @@ -503,7 +506,6 @@ If the current buffer is already the aidermacs buffer, do nothing." (defun aidermacs-clear-chat-history () "Send the command \"/clear\" to the aidermacs buffer." (interactive) - (setq aidermacs--tracked-files nil) (aidermacs--send-command "/clear")) ;;;###autoload