Skip to content

Commit f1da0be

Browse files
authoredDec 24, 2019
Merge pull request #578 from sten0/three-minor-config-points
Three minor config points
2 parents 433864b + 233715d commit f1da0be

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ With GNU Emacs 24 or later then you can use its [package][] feature (or [Cask][]
4040

4141
### Install using OS package system
4242

43-
PHP Mode is available from [package systems provided by several OSs](https://repology.org/project/emacs:php-mode/versions). This is the easiest way to add PHP to Emacs and can be installed with just `sudo apt-get install elpa-php-mode`.
43+
PHP Mode is available from [package systems provided by several OSs](https://repology.org/project/emacs:php-mode/versions). On Debian, and operating systems derived from it, such as Ubuntu, the easiest way to add PHP support to Emacs is `sudo apt install elpa-php-mode`. "Stable" releases of these operating systems include a well-tested frozen version of this package that is always older than the latest upstream version of PHP Mode. Autoloads and byte-compilation are automatic.
4444

45-
The package name on Debian, Ubuntu, and some derived operating systems is [`elpa-php-mode`](https://packages.debian.org/buster/elpa-php-mode). The packages provided for these operating systems are stable, but since they are behind the latest version of PHP Mode, consider the possibility of not incorporating the latest PHP feature support and performance improvements.
45+
Please consider installing the package provided in `sid` (aka: "unstable", a rolling release) in order to benefit from the latest PHP Mode features and performance improvements. The latest version can be found here: [`elpa-php-mode`](https://packages.debian.org/sid/elpa-php-mode). Investigate "apt-pinning" to make tracking this update stream automatic.
4646

4747
Also, the `php-elisp` package provided by [Debian 9 (stretch)](https://packages.debian.org/stretch/php-elisp) and [Ubuntu 18.10](https://packages.ubuntu.com/cosmic/php-elisp) and earlier is [extremely old](https://github.com/emacs-php/php-mode/issues/430), so **PLEASE DO NOT INSTALL IT**.
4848

@@ -99,6 +99,10 @@ Load `php-mode` synchronously from a specific path. It will load 10 times the s
9999
(add-to-list 'load-path (expand-file-name "~/path/to/php-mode"))
100100
```
101101

102+
### Configuration
103+
104+
PHP Mode's default style might not be what you expect. Before filing a bug, please try the following: `C-h v php-mode-coding-style`, to get the list of available styles. Then use `M-x php-set-style` for each of these, to check to see if one of them is to your liking. Use `TODO: Please comment on what config method you'd like to recommend to users`
105+
102106
Reporting Bugs
103107
--------------
104108

0 commit comments

Comments
 (0)
Please sign in to comment.