aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-06-12 21:25:41 +0300
committerEli Zaretskii2024-06-12 21:25:41 +0300
commite00af96c0691b749932756e47f48a53f5e92a00f (patch)
tree33b4901c3fcaa29eabf7934ce64d81cc7463b38c
parente37754fc59bac409881d456a83aa0bf2468c94fb (diff)
downloademacs-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.texi17
-rw-r--r--etc/NEWS8
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
96Scheme-based DSSSL expression language, Ada, ASM, AWK, C, C++, C#, 96Scheme-based DSSSL expression language, Ada, ASM, AWK, C, C++, C#,
97Fortran, Icon, IDL (CORBA), IDLWAVE, Java, Javascript, M4, Makefiles, 97Elixir, Fortran, Icon, IDL (CORBA), HEEx, IDLWAVE, Java, Javascript,
98Metafont (@TeX{}'s companion for font creation), Modula2, Object 98Lua, M4, Makefiles, Metafont (@TeX{}'s companion for font creation),
99Pascal, Objective-C, Octave, Pascal, Perl, Pike, PostScript, Prolog, 99Modula2, Object Pascal, Objective-C, Octave, Pascal, Perl, PHP, Pike,
100Python, Ruby, Simula, SQL, Tcl, TypeScript, Verilog, and VHDL@. An 100PostScript, Prolog, Python, Ruby, Simula, SQL, Tcl, TypeScript, Verilog,
101alternative mode for Perl is called CPerl mode. Modes are also 101and VHDL@. The recommended mode for Perl is called CPerl mode. Modes
102available for the scripting languages of the common GNU and Unix 102are also available for the scripting languages of the common GNU and
103shells, and MS-DOS/MS-Windows @samp{BAT} files, JSON, DNS master 103Unix shells, and MS-DOS/MS-Windows @samp{BAT} files, JSON, DNS master
104files, CSS (Cascading Style Sheets), Dockerfiles, CMake files, and various sorts of configuration files. 104files, CSS (Cascading Style Sheets), Dockerfiles, CMake files, and
105various 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
107language that you might want to edit. If it doesn't have a mode for 108language that you might want to edit. If it doesn't have a mode for
diff --git a/etc/NEWS b/etc/NEWS
index 53bc8dc9534..b2fdbc4a88f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1983,19 +1983,19 @@ the functionality of 'after-change-functions':
1983An optional major mode based on the tree-sitter library for editing 1983An optional major mode based on the tree-sitter library for editing
1984HTML files. 1984HTML files.
1985 1985
1986--- 1986+++
1987*** New major mode 'heex-ts-mode'. 1987*** New major mode 'heex-ts-mode'.
1988A major mode based on the tree-sitter library for editing HEEx files. 1988A 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'.
1992A major mode based on the tree-sitter library for editing Elixir files. 1992A 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'.
1996A major mode based on the tree-sitter library for editing Lua files. 1996A 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'.
2000A major mode based on the tree-sitter library for editing PHP files. 2000A major mode based on the tree-sitter library for editing PHP files.
2001 2001