[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/aidermacs 6eca54cb2f 009/466: refactor: remove aider-drop-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/aidermacs 6eca54cb2f 009/466: refactor: remove aider-drop-current-file function and its references |
Date: |
Sat, 15 Mar 2025 19:10:05 -0400 (EDT) |
branch: elpa/aidermacs
commit 6eca54cb2f298db73e58ac8e98a73960a0e30544
Author: Kang Tu (aider) <kang_tu@apple.com>
Commit: Kang Tu (aider) <kang_tu@apple.com>
refactor: remove aider-drop-current-file function and its references
---
aider.el | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/aider.el b/aider.el
index 43698b47aa..0fcefc17c5 100644
--- a/aider.el
+++ b/aider.el
@@ -29,7 +29,6 @@
(define-key map (kbd "a") 'aider-run-aider)
(define-key map (kbd "z") 'aider-switch-to-buffer)
(define-key map (kbd "s") 'aider-add-current-file)
- (define-key map (kbd "p") 'aider-drop-current-file)
(define-key map (kbd "c") 'aider-send-command)
(define-key map (kbd "d") 'aider-code-command)
(define-key map (kbd "q") 'aider-ask-question)
@@ -52,7 +51,6 @@
("a" "Run Aider" aider-run-aider)
("s" "Add Current File" aider-add-current-file)
("z" "Switch to Aider Buffer" aider-switch-to-buffer)
- ("p" "Drop Current File" aider-drop-current-file)
]
["Code change"
("d" "Code Change" aider-code-command)
@@ -143,19 +141,6 @@ COMMAND should be a string representing the command to
send."
;; Use the shared helper function to send the command
(aider--send-command command)))))
-;; New function to send "/drop <current buffer file full path>" to *aider*
buffer
-(defun aider-drop-current-file ()
- "Send the command \"/drop <current buffer file full path>\" to the *aider*
comint buffer."
- (interactive)
- ;; Ensure the current buffer is associated with a file
- (if (not buffer-file-name)
- (message "Current buffer is not associated with a file.")
- (let ((file-path (expand-file-name buffer-file-name)))
- ;; Construct the command
- (let ((command (format "/drop %s" file-path)))
- ;; Use the shared helper function to send the command
- (aider--send-command command)))))
-
;; Function to send a custom command to *aider* buffer
(defun aider-send-command (command)
"Prompt the user to input COMMAND and send it to the *aider* comint buffer.
- [nongnu] elpa/aidermacs 380d1fe3c0 050/466: give up multiple line input, (continued)
- [nongnu] elpa/aidermacs 380d1fe3c0 050/466: give up multiple line input, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 1ed5ec220e 052/466: feat: update prompts for code command and debug command to reflect new functionality, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 917a254054 057/466: feat: replace new-line characters with spaces in user input while preserving the final new-line in aider-read-string function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs ffb8126d52 056/466: refactor: simplify aider-read-string function by removing unnecessary string processing, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 005f93e1d0 062/466: feat: Add aider-clear function and menu item above aider-reset, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e364f7122d 065/466: feat: Add test_aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 516270aab0 069/466: update test, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 3805e94b2d 072/466: fix: require needed packages, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 2fad218234 077/466: not necessarily switching to aider buffer for each command, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs bb8e7bd6ac 087/466: Merge pull request #6 from tninja/feat_ask2__and__batch_add, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 6eca54cb2f 009/466: refactor: remove aider-drop-current-file function and its references,
ELPA Syncer <=
- [nongnu] elpa/aidermacs 2e0dcea1c4 010/466: rename the function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs c58098cd07 020/466: couple of refactoring, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 3bebfd6dcc 029/466: add other tool, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 1d39e5720d 034/466: tiny tweak text, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 9392a0810b 035/466: Merge branch 'main' of github.com:tninja/aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 71fabfacef 037/466: docs: proofread and improve the English in the README file, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e2f68dee26 039/466: fix: improve error handling, variable scoping, and command prefixing in aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 60ef810dbd 042/466: improve text, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e1c6f16dd1 045/466: docs: clarify that `use-package` only loads the `aider.el` file, not all `.el` files in the repository, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs f6e9801431 046/466: Revert "docs: clarify that `use-package` only loads the `aider.el` file, not all `.el` files in the repository", ELPA Syncer, 2025/03/15