[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/aidermacs 23c0c6ed70 084/466: feat: add function to send "
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/aidermacs 23c0c6ed70 084/466: feat: add function to send "ask <line under cursor>" to Aider buffer |
Date: |
Sat, 15 Mar 2025 19:11:43 -0400 (EDT) |
branch: elpa/aidermacs
commit 23c0c6ed70a520ed538436d03f5b831789dc0de9
Author: Kang Tu <kang_tu@apple.com>
Commit: Kang Tu (aider) <kang_tu@apple.com>
feat: add function to send "ask <line under cursor>" to Aider buffer
---
aider.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/aider.el b/aider.el
index f4511a610d..5444962a56 100644
--- a/aider.el
+++ b/aider.el
@@ -237,6 +237,13 @@ The command will be formatted as \"/architect \" followed
by the user command an
(aider-add-current-file)
(aider--send-command (concat prefix command)))
+;; New function to send "ask <line under cursor>" to the Aider buffer
+(defun aider-ask-question-under-cursor ()
+ "Send the command \"ask <line under cursor>\" to the Aider buffer."
+ (interactive)
+ (let ((line (thing-at-point 'line t)))
+ (aider--send-command (concat "/ask " (string-trim line)))))
+
(provide 'aider)
;;; aider.el ends here
- [nongnu] elpa/aidermacs 1d39e5720d 034/466: tiny tweak text, (continued)
- [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
- [nongnu] elpa/aidermacs e905f8f1c0 048/466: docs: add comment on how to copy candidate to mini-buffer in helm-aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs b8f2180176 053/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 c71f99eebc 070/466: extract sub function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 23c0c6ed70 084/466: feat: add function to send "ask <line under cursor>" to Aider buffer,
ELPA Syncer <=
- [nongnu] elpa/aidermacs 1389589e61 054/466: refactor: simplify aider-read-string function by removing unnecessary newline handling, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 2da2317c22 091/466: feat: add Aider mode with key binding for .aider files, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs cef5d7d59b 094/466: feat: add aider-send-paragraph function and key binding in aider-mode, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs a669e70300 012/466: feat: add aider-help function with shortcut and menu entries, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs cb28b37b8b 088/466: update README, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 357740076f 013/466: update menu, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 5012f26c81 018/466: refactor: remove redundant file addition before sending command in aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs c5c867dcee 098/466: update menu, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 5f0445e12e 080/466: Merge pull request #3 from AmaiKinono/unused-variable-cleanup, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs cfa330c742 116/466: move function to better place, ELPA Syncer, 2025/03/15