MatthewZMD/aidermacs

Adding a file when I've alrady typed some text

Open

#154 ouverte le 3 juil. 2025

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Emacs Lisp (73 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (905 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

Describe the bug The command in the transient menu to /add some-file adds that text to the chat and executes it.

However, if I'm in the middle of typing someting already, the /add is just put at the end of the existing text and then my incomplete instruction is executed.

It would make sense to temporarily remove the current text, run the /add some-file command and then restore the text.

To Reproduce Steps to reproduce the behavior:

  • Start session
  • Enter some half finished instructions
  • Go to another file, and use the transient menu to add it
  • The half finished and now incomplete instructions are executed

Guide contributeur