Skip to content

Commit 8ea767e

Browse files
committed
Update README to support Emacs 30 and PHP 8.4
1 parent 652a5a7 commit 8ea767e

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

README.ja.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div align="center">
22
<h1>Emacs PHP Mode</h1>
33

4-
[![Emacs: 29.4](https://img.shields.io/badge/Emacs-29.4-blue.svg)](https://www.gnu.org/software/emacs/)
5-
[![lang: PHP 8.3](https://img.shields.io/badge/lang-PHP%208.3-brightgreen.svg)](https://php.net/manual/migration83.php)
4+
[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https://www.gnu.org/software/emacs/)
5+
[![lang: PHP 8.4](https://img.shields.io/badge/lang-PHP%208.4-brightgreen.svg)](https://www.php.net/releases/8.4/)
66
[![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions)
77
[![GPL v3](https://img.shields.io/badge/license-GPL_v3-green.svg)][gpl-v3]<br>
88
[![NonGNU ELPA][nongnu-elpa-badge]][nongnu-elpa]
@@ -17,10 +17,15 @@ A powerful and flexible Emacs major mode for editing PHP scripts
1717
[GitHubプロジェクト][php-mode]にissueを作成してバグ報告や機能リクエストを送ってください。
1818

1919
> [!NOTE]
20-
> [最新版][releases]のPHP ModeはEmacs 29をサポートしています。<br />アップグレードに伴うトラブルは[Discussions][disscussions-emacs29]に気軽に書き込んでください。
20+
> [最新版][releases]のPHP ModeはEmacs 30をサポートしています。<br />アップグレードに伴うトラブルは[Discussions][disscussions-emacs30]に気軽に書き込んでください。
21+
22+
> [!WARNING]
23+
> Emacsをアップグレードした直後に初めてPHPファイルを開いたときに、CC Mode関連のエラーが発生する可能性があります。これは以前のバージョンのEmacsでバイトコンパイルされたPHP Modeがディスクにキャッシュされているために起こるので、PHP Modeの再インストールによって解決します。
24+
>
25+
> **`M-x php-mode-debug-reinstall`** または **`M-x package-reinstall php-mode`** コマンドをお試しください。
2126
2227
[releases]: https://github.com/emacs-php/php-mode/releases
23-
[disscussions-emacs29]: https://github.com/emacs-php/php-mode/discussions/751
28+
[disscussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
2429

2530
## インストール
2631

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div align="center">
22
<h1>Emacs PHP Mode</h1>
33

4-
[![Emacs: 29.4](https://img.shields.io/badge/Emacs-29.4-blue.svg)](https://www.gnu.org/software/emacs/)
5-
[![lang: PHP 8.3](https://img.shields.io/badge/lang-PHP%208.3-brightgreen.svg)](https://www.php.net/manual/migration83.php)
4+
[![Emacs: 30.0](https://img.shields.io/badge/Emacs-30.0-blue.svg)](https://www.gnu.org/software/emacs/)
5+
[![lang: PHP 8.4](https://img.shields.io/badge/lang-PHP%208.4-brightgreen.svg)](https://www.php.net/releases/8.4/)
66
[![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions)
77
[![GPL v3](https://img.shields.io/badge/license-GPL_v3-green.svg)][gpl-v3]<br>
88
[![NonGNU ELPA][nongnu-elpa-badge]][nongnu-elpa]
@@ -17,10 +17,15 @@ English &nbsp;&nbsp;|&nbsp;&nbsp; [日本語](README.ja.md)
1717
Please submit any bug reports or feature requests by creating issues on [the GitHub page for PHP Mode][php-mode].
1818

1919
> [!NOTE]
20-
> The [latest version][releases] of PHP Mode supports Emacs 29. <br />Please feel free to [write to disucuss][disscussions-emacs29] if you have problems upgrading to Emacs 29.
20+
> The [latest version][releases] of PHP Mode supports Emacs 30. <br />Please feel free to [write to disucuss][disscussions-emacs30] if you have problems upgrading to Emacs 29.
21+
22+
> [!WARNING]
23+
> After upgrading Emacs, when you open a PHP file for the first time, you may encounter errors related to CC Mode. These errors occur because a previously byte-compiled version of PHP Mode, cached on your disk, differs from the newly installed one. Reinstalling PHP Mode should resolve the issue.
24+
>
25+
> Try running **`M-x php-mode-debug-reinstall`** or **`M-x package-reinstall php-mode`**.
2126
2227
[releases]: https://github.com/emacs-php/php-mode/releases
23-
[disscussions-emacs29]: https://github.com/emacs-php/php-mode/discussions/751
28+
[disscussions-emacs30]: https://github.com/emacs-php/php-mode/discussions/798
2429

2530
## Installation
2631

0 commit comments

Comments
 (0)