[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/aidermacs c57f083466 097/466: feat: add interactive functi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/aidermacs c57f083466 097/466: feat: add interactive function to run find-name-dired from Git repository root |
Date: |
Sat, 15 Mar 2025 19:12:07 -0400 (EDT) |
branch: elpa/aidermacs
commit c57f083466364e247da84783ea60eea540dcb1c2
Author: Kang Tu <kang_tu@apple.com>
Commit: Kang Tu (aider) <kang_tu@apple.com>
feat: add interactive function to run find-name-dired from Git repository
root
---
aider.el | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/aider.el b/aider.el
index 3c809c5731..25b3037662 100644
--- a/aider.el
+++ b/aider.el
@@ -246,6 +246,16 @@ The command will be formatted as \"/architect \" followed
by the user command an
(let ((line (thing-at-point 'line t)))
(aider--send-command (concat "/ask " (string-trim line)))))
+;; New function to run `find-name-dired` from the Git repository root directory
+(defun aider-repo-find-name-dired (pattern)
+ "Run `find-name-dired` from the Git repository root directory with the given
PATTERN."
+ (interactive "sFind name (pattern): ")
+ (let* ((git-repo-path (shell-command-to-string "git rev-parse
--show-toplevel"))
+ (repo-path (string-trim git-repo-path)))
+ (if (string-match-p "fatal" repo-path)
+ (message "Not in a git repository")
+ (find-name-dired repo-path pattern))))
+
;;; functions for dired related
;; New function to add multiple Dired marked files to Aider buffer
- [nongnu] elpa/aidermacs 846f283f83 190/466: doc: Add hard mode for battleship game using o3-mini high model (#70), (continued)
- [nongnu] elpa/aidermacs 846f283f83 190/466: doc: Add hard mode for battleship game using o3-mini high model (#70), ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 5352b92df5 192/466: docs: improve feature development guide flow and clarity, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 526ef8be59 043/466: feat: extract read-string to aider-read-string function for user customization, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e7ed9570ed 055/466: feat: replace new-line characters with spaces in user input for aider-read-string function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 1dc7db6194 063/466: update menu shortcut, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs eec7180732 067/466: refactor: Pass home-path as argument to aider-buffer-name-from-git-repo-path, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 439a2c7d71 075/466: feat: custom option of aider program, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 77e33c72fc 076/466: enh: autoload entry commands, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 8a039d5137 082/466: Merge pull request #5 from AmaiKinono/custom-aider-program, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e0e77f3874 090/466: add aider-send-line-under-cursor, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs c57f083466 097/466: feat: add interactive function to run find-name-dired from Git repository root,
ELPA Syncer <=
- [nongnu] elpa/aidermacs 9fc3b04775 099/466: Feat: Git repo find / mark / add files, and buffer send command for .aider file (#7), ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs a181be69c6 102/466: update place to invoke aider--send-command. remove dup, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs dbcc393ba0 105/466: Feat: aider-minor-mode (#10), ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 0cb131bd9e 107/466: feat: Add function to add files in current window to Aider buffer, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs b3450f17b0 112/466: Merge branch 'main' of github.com:tninja/aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e391bbe222 113/466: Feat: Add function to explain code in selected region, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 134c626bc3 117/466: feat: Add option for Architect Discuss and Change in code change menu, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 3d4919292e 139/466: Feat: Basic support for Test Driven Development (TDD) (#29), ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 7f3601920b 140/466: Feat: Add two code reading helper functions (#30), ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs d60824add8 142/466: Refactor: combine function under cursor function and region based function as single one (#34), ELPA Syncer, 2025/03/15