Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magic™ Editor doesn't think e.g. requires a comma. #212

Open
dbwiddis opened this issue Jul 18, 2022 · 2 comments
Open

Magic™ Editor doesn't think e.g. requires a comma. #212

dbwiddis opened this issue Jul 18, 2022 · 2 comments

Comments

@dbwiddis
Copy link

Grammar style guides for e.g. (exempli gratia) and i.e. (id est) generally state that a comma should be expected after them.

For example, Grammarly states:

E.g. and i.e. are both lowercase when they show up in the middle of a sentence (i.e., like this). Most American style guides recommend a period after both letters in both abbreviations.

In general, you add a comma after e.g. and between each subsequent example if there is more than one item in your list.

The AP style guide requires the commas:

AP Style has a specific way that it requires these two abbreviations to be written in writing. AP Style requires that a comma follow these abbreviations. Consider the following,

  • Wrong: The bulk (i.e. about 80 percent) of the work needs to be done in the next three days.
  • Correct: The bulk (i.e., about 80 percent) of the work needs to be done in the next three days.
  • Wrong: I have many hobbies (e.g. golf, sailing, writing).
  • Correct: I have many hobbies (e.g., golf, sailing, writing).

Presently, Magic™ Editor not only does not require the commas, it actively removes them. While I'm generally okay with not requiring they be added if they aren't already there, removing them is a bug.

@Tyler-H
Copy link
Contributor

Tyler-H commented Aug 29, 2022

The reason it removes them is that you normally cannot 'legally' have a comma after a period in English (the general double punctuation rule); that i.e. and e.g. are succeeded by commas is a very specific exception. It's further complicated by American English vs British English differing here on the rules (Am English requires it for the most part, British English says don't use it).

@Tyler-H Tyler-H added the bug label Jul 5, 2024
@Tyler-H
Copy link
Contributor

Tyler-H commented Jul 5, 2024

Adding bug tag because I do agree that, while it's OK to not require them, it shouldn't forcibly remove them, either.

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

No branches or pull requests

2 participants