[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/aidermacs 0c5f64d7b2 021/466: refactor: rename Aider comma
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/aidermacs 0c5f64d7b2 021/466: refactor: rename Aider command functions for consistency and clarity |
Date: |
Sat, 15 Mar 2025 19:10:20 -0400 (EDT) |
branch: elpa/aidermacs
commit 0c5f64d7b28136f7098214cbba40d378cfc64750
Author: Kang Tu <kang_tu@apple.com>
Commit: Kang Tu (aider) <kang_tu@apple.com>
refactor: rename Aider command functions for consistency and clarity
---
aider.el | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/aider.el b/aider.el
index bce86b7309..e408c559e7 100644
--- a/aider.el
+++ b/aider.el
@@ -18,8 +18,7 @@
:prefix "aider-"
:group 'convenience)
-(defcustom aider-args '("--model" "gpt-4o-mini"
- "--no-attribute-author")
+(defcustom aider-args '("--model" "gpt-4o-mini")
"Arguments to pass to the Aider command."
:type '(repeat string)
:group 'aider)
@@ -34,16 +33,16 @@
("z" "Switch to Aider Buffer" aider-switch-to-buffer)
]
["Code change"
- ("c" "Code Change" aider-code-command)
- ("r" "Region Code Refactor" aider-region-refactor-command)
+ ("c" "Code Change" aider-code-change)
+ ("r" "Region Code Refactor" aider-region-refactor)
("u" "Undo Last Change" aider-undo-last-change) ;; Menu item for undo last
change
]
["Discussion"
("q" "Ask Question" aider-ask-question)
- ("t" "Architect Discussion" aider-architect-command)
+ ("t" "Architect Discussion" aider-architect-discussion)
]
["Other"
- ("s" "Reset Aider" aider-reset-command) ;; Menu item for reset command
+ ("s" "Reset Aider" aider-reset) ;; Menu item for reset command
("g" "General Command" aider-general-command)
("h" "Help Command" aider-help) ;; Menu item for help command
]
@@ -86,7 +85,7 @@
(message "Aider buffer '%s' does not exist." (aider-buffer-name)))))
;; Function to reset the Aider buffer
-(defun aider-reset-command ()
+(defun aider-reset ()
"Send the command \"/reset\" to the Aider buffer."
(interactive)
(aider--send-command "/reset"))
@@ -135,7 +134,7 @@ COMMAND should be a string representing the command to
send."
(aider--send-command command)))
;; New function to get command from user and send it prefixed with "/code "
-(defun aider-code-command ()
+(defun aider-code-change ()
"Prompt the user for a command and send it to the *aider* comint buffer
prefixed with \"/code \"."
(interactive)
(let ((command (read-string "Enter code command: ")))
@@ -158,7 +157,7 @@ COMMAND should be a string representing the command to
send."
(aider--send-command (concat "/help " command))))
;; New function to get command from user and send it prefixed with "/architect
"
-(defun aider-architect-command ()
+(defun aider-architect-discussion ()
"Prompt the user for a command and send it to the *aider* comint buffer
prefixed with \"/architect \"."
(interactive)
(let ((command (read-string "Enter architect command: ")))
@@ -171,7 +170,7 @@ COMMAND should be a string representing the command to
send."
(interactive)
(aider--send-command "/undo"))
-(defun aider-region-refactor-command ()
+(defun aider-region-refactor ()
"Get a command from the user and send it to the *aider* comint buffer based
on the selected region.
The command will be formatted as \"/code \" followed by the user command and
the text from the selected region."
(interactive)
- [nongnu] elpa/aidermacs f2173e5e5d 118/466: feat: Add function to show last commit message using Magit, (continued)
- [nongnu] elpa/aidermacs f2173e5e5d 118/466: feat: Add function to show last commit message using Magit, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs da508bcc37 125/466: Doom integration (#15), ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 56e83fd851 130/466: feat: Refactor aider-helm.el to make it more generic and reusable, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e18d7f8053 131/466: change aider prefix for DOOM emacs from l to A, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs d33f0671c0 174/466: fix(command): handle file paths containing spaces, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 302a10f03c 175/466: docs: add sample test file in tests/test dir, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs bc320a1085 178/466: Fix: error happens during sending large multi-line region (#54), ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 9e00fea947 176/466: Merge pull request #48 from tninja/kang_bug_fix, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 43abae7b2d 006/466: refactor: rename run-aider to aider-run-aider and update related references, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs d6abefea75 014/466: feat: add new argument to aider-args and update prompt message in aider-ask-question function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 0c5f64d7b2 021/466: refactor: rename Aider command functions for consistency and clarity,
ELPA Syncer <=
- [nongnu] elpa/aidermacs d353defee3 025/466: update README, put reset command to first sub-menu, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 65734fc1b0 038/466: improve text, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 03e063c3d1 049/466: feat: automatically remove newline characters from input in aider-helm-read-string function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs cf3056fa7e 058/466: add aider-plain-read-string, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 2039bd9a0c 059/466: feat: add fuzzy matching support to aider-helm-read-string function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs abed222ebb 061/466: no need to add current file during start, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 99fbe5a37c 064/466: refactor: extract buffer name logic to `aider-buffer-name-from-git-repo-path`, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 4b462a20cd 060/466: fuzzy match support, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 84dcfe827d 073/466: chore: remove unused local variables, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 673011c9c9 074/466: doc: fix quote usage in docstring, ELPA Syncer, 2025/03/15