Skip to content

send region as command, when sending without context#6

Open
lewang wants to merge 2 commits into
cpoile:mainfrom
lewang:main
Open

send region as command, when sending without context#6
lewang wants to merge 2 commits into
cpoile:mainfrom
lewang:main

Conversation

@lewang

@lewang lewang commented Jun 28, 2025

Copy link
Copy Markdown

I updated one command with an example of how to handle region idiomatically through the interactive form.

I needed the send request without context to use region if given.

Le Wang and others added 2 commits June 28, 2025 09:04
The function now uses the interactive form to capture region boundaries
at invocation time, preventing issues where the region might be
deactivated before the function logic runs.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- claudemacs-execute-request: use region text as request if available
- claudemacs-ask-without-context: add region handling through interactive form
- Updated docstrings to document region behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@lewang lewang changed the title send region as command send region as command, when sending without context Jun 28, 2025
@cpoile cpoile self-requested a review July 5, 2025 00:34
@cpoile cpoile self-assigned this Jul 5, 2025
@cpoile

cpoile commented Jul 5, 2025

Copy link
Copy Markdown
Owner

Hi @lewang Awesome, thanks for the contribution! I'll take a look this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants