branch: elpa/aidermacs commit d94148e88414fae47313a75b6da6c3588b50793f Author: Kang Tu <kang...@apple.com> Commit: Kang Tu <kang...@apple.com>
add scratch.aider, for batch / reproducible of aider command --- aider.el | 2 ++ scratch.aider | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/aider.el b/aider.el index df2966e644..3c2b03b701 100644 --- a/aider.el +++ b/aider.el @@ -256,6 +256,8 @@ 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))))) +;;; functions for .aider file + ;; New function to send "<line under cursor>" to the Aider buffer (defun aider-send-line-under-cursor () "Send the command \"ask <line under cursor>\" to the Aider buffer." diff --git a/scratch.aider b/scratch.aider new file mode 100644 index 0000000000..0750a347e8 --- /dev/null +++ b/scratch.aider @@ -0,0 +1,24 @@ + +/ask what this repo is about? + +# This repository appears to be focused on an Emacs package called "Aider," which +# provides an interactive interface for communicating with an AI tool (likely +# related to programming assistance). The package allows users to send commands +# and queries to the Aider program, which seems to facilitate AI pair programming +# or code assistance. + +# Key features of the repository include: + +# • Interactive Commands: Users can run commands like adding files, asking +# questions, and performing code changes through a transient menu. +# • Integration with Git: The package can generate buffer names based on the +# current Git repository, indicating that it is designed to work within a +# version-controlled environment. +# • Custom Commands: Users can send custom commands to the Aider buffer, allowing +# for flexible interaction with the AI. +# • File Type Association: The package defines a major mode (aider-mode) for +# files with the .aider extension, which includes specific key bindings and +# functionalities tailored for those files. + +# Overall, the repository is aimed at enhancing the coding experience by +# leveraging AI assistance within the Emacs text editor.