diff options
| author | Eli Zaretskii | 2024-06-12 21:25:41 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-06-12 21:25:41 +0300 |
| commit | e00af96c0691b749932756e47f48a53f5e92a00f (patch) | |
| tree | 33b4901c3fcaa29eabf7934ce64d81cc7463b38c | |
| parent | e37754fc59bac409881d456a83aa0bf2468c94fb (diff) | |
| download | emacs-e00af96c0691b749932756e47f48a53f5e92a00f.tar.gz emacs-e00af96c0691b749932756e47f48a53f5e92a00f.zip | |
; Mention new modes in the Emacs user manual
* etc/NEWS: Mark new modes as documented.
* doc/emacs/programs.texi (Program Modes): Add PHP. (Bug#71380)
Add other new modes.
| -rw-r--r-- | doc/emacs/programs.texi | 17 | ||||
| -rw-r--r-- | etc/NEWS | 8 |
2 files changed, 13 insertions, 12 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index b944d24d91f..3b863eefd72 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -94,14 +94,15 @@ mode for the C programming language is @code{c-mode}. | |||
| 94 | @cindex TOML mode | 94 | @cindex TOML mode |
| 95 | Emacs has programming language modes for Lisp, Scheme, the | 95 | Emacs has programming language modes for Lisp, Scheme, the |
| 96 | Scheme-based DSSSL expression language, Ada, ASM, AWK, C, C++, C#, | 96 | Scheme-based DSSSL expression language, Ada, ASM, AWK, C, C++, C#, |
| 97 | Fortran, Icon, IDL (CORBA), IDLWAVE, Java, Javascript, M4, Makefiles, | 97 | Elixir, Fortran, Icon, IDL (CORBA), HEEx, IDLWAVE, Java, Javascript, |
| 98 | Metafont (@TeX{}'s companion for font creation), Modula2, Object | 98 | Lua, M4, Makefiles, Metafont (@TeX{}'s companion for font creation), |
| 99 | Pascal, Objective-C, Octave, Pascal, Perl, Pike, PostScript, Prolog, | 99 | Modula2, Object Pascal, Objective-C, Octave, Pascal, Perl, PHP, Pike, |
| 100 | Python, Ruby, Simula, SQL, Tcl, TypeScript, Verilog, and VHDL@. An | 100 | PostScript, Prolog, Python, Ruby, Simula, SQL, Tcl, TypeScript, Verilog, |
| 101 | alternative mode for Perl is called CPerl mode. Modes are also | 101 | and VHDL@. The recommended mode for Perl is called CPerl mode. Modes |
| 102 | available for the scripting languages of the common GNU and Unix | 102 | are also available for the scripting languages of the common GNU and |
| 103 | shells, and MS-DOS/MS-Windows @samp{BAT} files, JSON, DNS master | 103 | Unix shells, and MS-DOS/MS-Windows @samp{BAT} files, JSON, DNS master |
| 104 | files, CSS (Cascading Style Sheets), Dockerfiles, CMake files, and various sorts of configuration files. | 104 | files, CSS (Cascading Style Sheets), Dockerfiles, CMake files, and |
| 105 | various sorts of configuration files. | ||
| 105 | 106 | ||
| 106 | Ideally, Emacs should have a major mode for each programming | 107 | Ideally, Emacs should have a major mode for each programming |
| 107 | language that you might want to edit. If it doesn't have a mode for | 108 | language that you might want to edit. If it doesn't have a mode for |
| @@ -1983,19 +1983,19 @@ the functionality of 'after-change-functions': | |||
| 1983 | An optional major mode based on the tree-sitter library for editing | 1983 | An optional major mode based on the tree-sitter library for editing |
| 1984 | HTML files. | 1984 | HTML files. |
| 1985 | 1985 | ||
| 1986 | --- | 1986 | +++ |
| 1987 | *** New major mode 'heex-ts-mode'. | 1987 | *** New major mode 'heex-ts-mode'. |
| 1988 | A major mode based on the tree-sitter library for editing HEEx files. | 1988 | A major mode based on the tree-sitter library for editing HEEx files. |
| 1989 | 1989 | ||
| 1990 | --- | 1990 | +++ |
| 1991 | *** New major mode 'elixir-ts-mode'. | 1991 | *** New major mode 'elixir-ts-mode'. |
| 1992 | A major mode based on the tree-sitter library for editing Elixir files. | 1992 | A major mode based on the tree-sitter library for editing Elixir files. |
| 1993 | 1993 | ||
| 1994 | --- | 1994 | +++ |
| 1995 | *** New major mode 'lua-ts-mode'. | 1995 | *** New major mode 'lua-ts-mode'. |
| 1996 | A major mode based on the tree-sitter library for editing Lua files. | 1996 | A major mode based on the tree-sitter library for editing Lua files. |
| 1997 | 1997 | ||
| 1998 | --- | 1998 | +++ |
| 1999 | *** New major mode 'php-ts-mode'. | 1999 | *** New major mode 'php-ts-mode'. |
| 2000 | A major mode based on the tree-sitter library for editing PHP files. | 2000 | A major mode based on the tree-sitter library for editing PHP files. |
| 2001 | 2001 | ||