1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
emacs/doc/lispref
Juri Linkov 3b90e5052c Tree-sitter support for outline-minor-mode (bug#68824)
* doc/emacs/text.texi (Outline Format): Add 'outline-search-function'.

* doc/lispref/elisp.texi (Top): Add new menu item "Outline Minor Mode"
after "Imenu".

* doc/lispref/modes.texi (Modes): Add new menu item "Outline Minor Mode"
after "Imenu".
(Major Mode Conventions): Mention "Outline Minor Mode" with @pxref.
(Outline Minor Mode): New node.

* doc/lispref/parsing.texi (Tree-sitter Major Modes): Mention
'treesit-outline-predicate' with @pxref.

* lisp/treesit.el (treesit-outline-predicate): New buffer-local variable.
(treesit-outline-predicate--from-imenu): New internal function.
(treesit-outline-search, treesit-outline-level): New functions.
(treesit-major-mode-setup): Set up treesit-outline-predicate,
outline-search-function and outline-level.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--outline-predicate):
New internal function.
(c-ts-base-mode): Set 'treesit-outline-predicate' to
'c-ts-mode--outline-predicate'.

* lisp/progmodes/heex-ts-mode.el (heex-ts-mode): Kill inherited
local variables 'outline-heading-end-regexp', 'outline-regexp',
'outline-level'.

* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove 'outline-regexp'.
Suggested by john muhl <jm@pub.pink>.

* lisp/textmodes/html-ts-mode.el (html-ts-mode): Kill inherited
local variables 'outline-heading-end-regexp', 'outline-regexp',
'outline-level'.
2024-02-12 20:18:24 +02:00
..
abbrevs.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
anti.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
back.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backups.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
book-spine.texi
buffers.texi ; * doc/lispref/buffers.texi (Buffer List): Fix merge snafu. 2024-01-06 15:25:29 +02:00
ChangeLog.1 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
commands.texi Take stock of the wheel-up/down confusion 2024-01-24 12:57:33 -05:00
compile.texi Eliminate lazy bytecode loading 2024-01-31 17:12:25 +01:00
control.texi (pcase): New _ syntax in pred/app functions 2024-02-11 22:00:44 -05:00
customize.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
debugging.texi Improve documentation of profiler commands 2024-01-24 21:34:16 +02:00
display.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
doclicense.texi
edebug.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
elisp.texi Tree-sitter support for outline-minor-mode (bug#68824) 2024-02-12 20:18:24 +02:00
errors.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eval.texi eval.c: Add new var lisp-eval-depth-reserve 2024-01-04 16:36:22 -05:00
files.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
frames.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
functions.texi Merge from origin/emacs-29 2024-01-13 05:36:16 -05:00
gpl.texi
hash.texi Clarify permitted mutation in maphash documentation 2024-01-21 11:21:51 +01:00
help.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
hooks.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
index.texi
internals.texi Merge from origin/emacs-29 2024-01-13 05:36:16 -05:00
intro.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
keymaps.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
lay-flat.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lists.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
loading.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
macros.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
Makefile.in ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
maps.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
markers.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
minibuf.texi Support :category in completion-extra-properties (bug#68214) 2024-01-10 09:34:47 +02:00
modes.texi Tree-sitter support for outline-minor-mode (bug#68824) 2024-02-12 20:18:24 +02:00
nonascii.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
numbers.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
objects.texi Merge from origin/emacs-29 2024-01-27 08:14:31 -05:00
os.texi Merge from origin/emacs-29 2024-01-27 08:14:31 -05:00
package.texi Add the public API of Compat to the core 2024-02-11 22:50:29 +01:00
parsing.texi Tree-sitter support for outline-minor-mode (bug#68824) 2024-02-12 20:18:24 +02:00
positions.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
processes.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
README ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
records.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
searching.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
sequences.texi ; * doc/lispref/sequences.texi (Sequence Functions): Fix typo. 2024-02-02 18:33:54 +02:00
spellfile
streams.texi Merge from origin/emacs-29 2024-01-27 08:14:31 -05:00
strings.texi Fix typo in lispref "Creating Strings" section 2024-01-13 18:08:49 +01:00
symbols.texi Process read-symbol-shorthands from longest to shortest (bug#67390) 2024-02-03 08:40:03 -06:00
syntax.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
text.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
threads.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tips.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
two-volume-cross-refs.txt ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
two-volume.make ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
variables.texi Improve handler-bind doc 2024-01-04 16:39:48 -05:00
windows.texi New display action alist entry 'post-command-select-window' (bug#67993) 2024-01-16 18:54:04 +02:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2024 Free Software Foundation, Inc.  -*- outline -*-
See the end of the file for license conditions.


README for the Emacs Lisp Reference Manual.

* This directory contains the texinfo source files for the Emacs Lisp
Reference Manual.

* Report bugs in the Lisp Manual (or in Emacs) using M-x report-emacs-bug.
To ask questions, use the help-gnu-emacs mailing list.

* The Emacs Lisp Reference Manual is quite large.  It totals around
1100 pages in smallbook format; the info files total around 3.0 megabytes.

* You can format this manual for Info, for printing hardcopy using TeX,
or for HTML.

* You can buy nicely printed copies from the Free Software Foundation.
Buying a manual from the Free Software Foundation helps support our GNU
development work.  See <https://shop.fsf.org/>.
(At time of writing, this manual is out of print.)

* The master file for formatting this manual for Tex is called 'elisp.texi'.
It contains @include commands to include all the chapters that make up
the manual.

* This distribution contains a Makefile that you can use with GNU Make.

** To make an Info file, you need to install Texinfo, then run 'make info'.

** Use 'make elisp.pdf' or 'make elisp.html' to create PDF or HTML versions.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.