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

for pcase, require at least version 24.1 of Emacs #1411

Merged
merged 1 commit into from Jun 26, 2014
Merged

for pcase, require at least version 24.1 of Emacs #1411

merged 1 commit into from Jun 26, 2014

Conversation

tarsius
Copy link
Member

@tarsius tarsius commented Jun 26, 2014

Sooner or later this had to happen. While I would have preferred to
delay this move until after releasing version 2.1.0, it was always
clear, that I was only willing to maintain backward compatibility as
long as the cost was not very high.

Denying myself the use of pcase is such a cost. I am going to use
this macro a lot, and while it would be possible to implement the
things to come without using pcase, doing so would not be pleasant.
So unpleasant in fact, that the temptation would be big to write a
specialized "case" macro, similar to magit-section-case. But my
experience with that, and magit-section-action, has taught me that
going down that road leads to over-specialized abstractions which
eventually end up being rather featureful, but never-the-less to
restrictive even for its intended use-cases.

Sooner or later this had to happen.  While I would have preferred to
delay this move until after releasing version 2.1.0, it was always
clear, that I was only willing to maintain backward compatibility as
long as the cost was not very high.

Denying myself the use of `pcase' is such a cost.  I am going to use
this macro a lot, and while it would be possible to implement the
things to come without using `pcase', doing so would not be pleasant.
So unpleasant in fact, that the temptation would be big to write a
specialized "case" macro, similar to `magit-section-case'.  But my
experience with that, and `magit-section-action', has taught me that
going down that road leads to over-specialized abstractions which
eventually end up being rather featureful, but never-the-less to
restrictive even for its intended use-cases.
@tarsius tarsius merged commit 0a125da into next Jun 26, 2014
@tarsius tarsius deleted the n/pcase branch June 26, 2014 21:02
@tarsius tarsius added this to the 2.1.0 milestone Jun 26, 2014
@tarsius
Copy link
Member Author

tarsius commented Jul 16, 2014

Merged into next, see #1220.

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

Successfully merging this pull request may close these issues.

None yet

1 participant