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

Adjust Minimum Emacs Version? #214

Closed
ejmr opened this issue Jan 29, 2015 · 10 comments
Closed

Adjust Minimum Emacs Version? #214

ejmr opened this issue Jan 29, 2015 · 10 comments

Comments

@ejmr
Copy link
Collaborator

ejmr commented Jan 29, 2015

Issue #86 made me think of this. Currently the README says that PHP Mode requires GNU Emacs 23.1 or later. Should we continue to maintain support for that version, or should we make Emacs 24 the new baseline. Personally I am in favor of making the change to require Emacs 24. But before doing so I want to hear from users about what versions they use, as well as any pros and cons we would inherit by dropping support for Emacs 23.

@syohex
Copy link
Collaborator

syohex commented Jan 30, 2015

I agree with dropping Emacs 23 support.

Pros

  • Easy to maintain
  • Better performance by lexical-binding

It is not easy to install old Emacs. Old Emacs cannot be build with recent compiler and libc
without any patches.

A few users who uses Emacs 23 cannot use php-mode if we drop Emacs 23 support.
I think many users already use Emacs 24 or higher, so this is not matter much.

After Emacs 24.4 released, many packages drops Emacs 23 support.
If users use such packages, they should upgrade Emacs version.

@ejmr
Copy link
Collaborator Author

ejmr commented Jan 30, 2015

After Emacs 24.4 released, many packages drops Emacs 23 support.

I am hearing this same thing from some people I've spoken with, which is making me think we should drop Emacs 23 support. Although I'm not in a rush to make the change. But my early impression is that it's a change worth making eventually.

@jorissteyn
Copy link
Contributor

FYI: php-mode in master has been broken for emacs 23 since at least october last year due to the cl/cl-lib workaround for newer versions that don't take < 24 into account.

@ejmr
Copy link
Collaborator Author

ejmr commented Apr 24, 2015

@jorissteyn Thanks for letting me know. So would you be in favor then of dropping support for Emacs 23?

@jorissteyn
Copy link
Contributor

Yes absolutely!

@andreas-roehler
Copy link
Contributor

AFAIU there is no explicit Emacs 23 support. It's just not broken.

Beside of some minor c-mode issues - which would deserve a fix and separate ticket anyway.

Checked with GNU Emacs 23.4.1 (i686-pc-linux-gnu, GTK+ Version 2.24.21) of 2013-10-25 on akateko, modified by Debian

So why not keep it?

Personally see no need for lexical-binding here - if there is some, that would change the game.

@ejmr
Copy link
Collaborator Author

ejmr commented Jul 29, 2015

AFAIU there is no explicit Emacs 23 support. It's just not broken. [...] So why not keep it?

If there are features implemented in PHP Mode which require functionality not available in Emacs 23 then personally I don't want that to hold back those features. In my opinion, ensuring that PHP Mode works with Emacs 23 is not a compelling reason to reject any patches which would break support for that version.

@andreas-roehler
Copy link
Contributor

Am 29.07.2015 um 08:38 schrieb Eric James Michael Ritz:

AFAIU there is no explicit Emacs 23 support. It's just not broken.
[...] So why not keep it?

If there are features implemented in PHP Mode which require
functionality not available in Emacs 23 then personally I don't want
that to hold back those features. In my opinion, ensuring that PHP
Mode works with Emacs 23 is not a compelling reason to reject any
patches which would break support for that version.


Reply to this email directly or view it on GitHub
#214 (comment).

Agreed. Just for curiosity: could you point at some patch, which would
break Emacs 23?

@ejmr
Copy link
Collaborator Author

ejmr commented Jul 29, 2015

Agreed. Just for curiosity: could you point at some patch, which would break Emacs 23?

Everything related to ERT, but that's only for the test suite. With regard to php-mode.el itself, I can't think of anything off the top of my head which breaks under Emacs 23. Ideally I would like PHP Mode to work with Emacs 23 for as long as possible, but if sometime in the future a person submits a patch that doesn't work with Emacs 23 then I wouldn't reject it for that reason alone. Also, if anyone wants to invest the effort to ensure PHP Mode continues to work with Emacs 23 in the future then that would earn great appreciation from me.

@andreas-roehler
Copy link
Contributor

Am 29.07.2015 um 09:26 schrieb Eric James Michael Ritz:

Agreed. Just for curiosity: could you point at some patch, which
would break Emacs 23?

Everything related to ERT, but that's only for the test suite. With
regard to |php-mode.el| itself, I can't think of anything off the top
of my head which breaks under Emacs 23. Ideally I would like PHP Mode
to work with Emacs 23 for as long as possible, but if sometime in the
future a person submits a patch that doesn't work with Emacs 23 then I
wouldn't reject it for that reason alone. Also, if anyone wants to
invest the effort to ensure PHP Mode continues to work with Emacs 23
in the future then that would earn great appreciation from me.


Reply to this email directly or view it on GitHub
#214 (comment).

Sounds good, thanks.

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

No branches or pull requests

4 participants