Skip to content

Add period-double-space package#215

Merged
smeech merged 5 commits into
espanso:mainfrom
yellowwinner:main
May 26, 2026
Merged

Add period-double-space package#215
smeech merged 5 commits into
espanso:mainfrom
yellowwinner:main

Conversation

@yellowwinner

Copy link
Copy Markdown

On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
new file: packages/period-double-space/0.1.0/README.md
new file: packages/period-double-space/0.1.0/_manifest.yml
new file: packages/period-double-space/0.1.0/package.yml

 On branch main
 Your branch is up to date with 'origin/main'.

 Changes to be committed:
	new file:   packages/period-double-space/0.1.0/README.md
	new file:   packages/period-double-space/0.1.0/_manifest.yml
	new file:   packages/period-double-space/0.1.0/package.yml
@yellowwinner yellowwinner changed the title Committer: Allen <allen@62e32fa74001> Add period-double-space package Jan 30, 2026
@smeech smeech requested a review from Copilot March 25, 2026 14:34

@smeech smeech left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for not getting onto this more quickly ☹️.

A very minimal valuable package replacing two spaces typed, with a period. It took us a short while to determine that regex: was required to permit this. No shell, script or potentially malicious code.

One very minor recommendation to avoid misleading others into thinking brackets in the trigger are necessary, but good to merge otherwise. I've let CoPilot do its stuff but I think it's running down an unnecessary rabbit-hole!

@@ -0,0 +1,3 @@
matches:
- regex: "(\ \ )"

@smeech smeech Mar 25, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you kindly amend this to the simplest - regex: ' {2}' as discussed in https://discord.com/channels/884163483409731584/1013916990760554608/1466710043415150715, please, or shall I?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Espanso package that turns a double-space into a period+space (macOS/mobile-style).

Changes:

  • Introduces period-double-space package manifest metadata.
  • Adds Espanso match/replace rule intended to convert double spaces to . .
  • Adds README with usage/background and credits.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
packages/period-double-space/0.1.0/package.yml Defines the regex match and replacement behavior for the package.
packages/period-double-space/0.1.0/_manifest.yml Adds package metadata (name, description, version, tags, etc.).
packages/period-double-space/0.1.0/README.md Documents purpose, credits, and testing notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/period-double-space/0.1.0/package.yml Outdated
@@ -0,0 +1,7 @@
name: "period-double-space"
title: "Period Double Space"
description: Add period with double-space, like macOS or smartphones.

Copilot AI Mar 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description reads a bit grammatically off (“Add period…”). Consider adjusting to something like “Add a period with a double-space, like macOS or smartphones.” since this shows up as user-facing package metadata.

Suggested change
description: Add period with double-space, like macOS or smartphones.
description: Add a period with a double-space, like macOS or smartphones.

Copilot uses AI. Check for mistakes.

@smeech smeech Mar 25, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot is wrong - the replacement doesn't add a period with a double-space.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah - perhaps you mean "use double-space to add a period"?

Comment thread packages/period-double-space/0.1.0/README.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@smeech

smeech commented May 21, 2026

Copy link
Copy Markdown
Collaborator

Hi @yellowwinner, are you planning to fix the issues with this PR, or shall I close it? We can always reopen it later.

With best wishes.

@smeech smeech marked this pull request as draft May 21, 2026 09:47
@smeech

smeech commented May 26, 2026

Copy link
Copy Markdown
Collaborator

NVM, they're minor changes. I've made them myself and will merge once the checks are complete.

Removed redundant line about testing on PikaOS 4.
@smeech smeech marked this pull request as ready for review May 26, 2026 14:04
@smeech smeech merged commit 553c461 into espanso:main May 26, 2026
1 check passed
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.

3 participants