2007-09-06 04:25:08 +00:00
|
|
|
|
\input texinfo @c -*-texinfo-*-
|
|
|
|
|
@c %**start of header
|
2014-06-10 02:20:31 +00:00
|
|
|
|
@setfilename ../../info/elisp.info
|
2012-05-09 03:11:41 +00:00
|
|
|
|
|
|
|
|
|
@ifset VOL1
|
|
|
|
|
@set volflag
|
|
|
|
|
@set voltitle Volume 1
|
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
|
|
@ifset VOL2
|
|
|
|
|
@set volflag
|
|
|
|
|
@set voltitle Volume 2
|
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
|
|
@ifset volflag
|
|
|
|
|
@settitle GNU Emacs Lisp Reference Manual: @value{voltitle}
|
|
|
|
|
@end ifset
|
|
|
|
|
@ifclear volflag
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@settitle GNU Emacs Lisp Reference Manual
|
2012-05-09 03:11:41 +00:00
|
|
|
|
@end ifclear
|
Fix single-quoting style in PDF manuals
The PDF versions of the GNU manuals used curved single quotes to
represent grave accent and apostrophe, which made it a pain to cut
and paste code examples from them. Fix the PDF versions to use
grave accent and apostrophe for Lisp source code, keystrokes, etc.
This change does not affect the info files, nor does it affect
ordinary uses of curved single quotes in PDF.
* doc/emacs/docstyle.texi: New file, which specifies treatment for
grave accent and apostrophe, as well as the document encoding.
* doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/back.texi, doc/lispref/book-spine.texi:
* doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
* doc/misc/ada-mode.texi, doc/misc/auth.texi:
* doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
* doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
* doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
* doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
* doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
* doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
* doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
* doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
* doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
* doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
* doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
* doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
* doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
* doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
* doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
* doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
* doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
* doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
* doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
* doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
* doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
* doc/misc/woman.texi:
Use it instead of '@documentencoding UTF-8', to lessen the need for
global changes like this in the future.
* doc/emacs/Makefile.in (EMACS_XTRA):
* doc/lispintro/Makefile.in (srcs):
* doc/lispref/Makefile.in (srcs):
Add dependency on docstyle.texi.
* doc/misc/Makefile.in (style): New macro.
(${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
(${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
Use it.
2015-05-01 19:05:53 +00:00
|
|
|
|
@include docstyle.texi
|
2012-05-09 03:11:41 +00:00
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@c %**end of header
|
|
|
|
|
|
2012-05-09 03:11:41 +00:00
|
|
|
|
@c See two-volume-cross-refs.txt.
|
|
|
|
|
@tex
|
|
|
|
|
@ifset VOL1
|
|
|
|
|
\message{Formatting for two volume edition...Volume 1...}
|
|
|
|
|
%
|
|
|
|
|
% Read special toc file, set up in two-volume.make.
|
|
|
|
|
\gdef\tocreadfilename{elisp1-toc-ready.toc}
|
|
|
|
|
%
|
|
|
|
|
% Don't make outlines, they're not needed and \readdatafile can't pay
|
|
|
|
|
% attention to the special definition above.
|
|
|
|
|
\global\let\pdfmakeoutlines=\relax
|
|
|
|
|
%
|
|
|
|
|
% Start volume 1 chapter numbering at 1; this must be listed as chapno0.
|
|
|
|
|
\global\chapno=0
|
|
|
|
|
@end ifset
|
|
|
|
|
@ifset VOL2
|
|
|
|
|
\message{Formatting for two volume edition...Volume 2...}
|
|
|
|
|
%
|
|
|
|
|
% Read special toc file, set up in two-volume.make.
|
|
|
|
|
\gdef\tocreadfilename{elisp2-toc-ready.toc}
|
|
|
|
|
%
|
|
|
|
|
% Don't make outlines, they're not needed and \readdatafile can't pay
|
|
|
|
|
% attention to the special definition above.
|
|
|
|
|
\global\let\pdfmakeoutlines=\relax
|
|
|
|
|
%
|
|
|
|
|
% Start volume 2 chapter numbering at 27; this must be listed as chapno26
|
|
|
|
|
\global\chapno=26
|
|
|
|
|
@end ifset
|
|
|
|
|
@end tex
|
|
|
|
|
|
2010-10-09 01:41:21 +00:00
|
|
|
|
@include emacsver.texi
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
@c in general, keep the following line commented out, unless doing a
|
|
|
|
|
@c copy of this manual that will be published. The manual should go
|
|
|
|
|
@c onto the distribution in the full, 8.5 x 11" size.
|
2012-06-11 06:48:47 +00:00
|
|
|
|
@c @set smallbook
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2012-05-09 03:11:41 +00:00
|
|
|
|
@ifset volflag
|
|
|
|
|
@smallbook
|
|
|
|
|
@end ifset
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@ifset smallbook
|
|
|
|
|
@smallbook
|
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
|
|
@c per rms and peterb, use 10pt fonts for the main text, mostly to
|
2011-09-24 22:49:32 +00:00
|
|
|
|
@c save on paper cost.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@c Do this inside @tex for now, so current makeinfo does not complain.
|
|
|
|
|
@tex
|
|
|
|
|
@ifset smallbook
|
|
|
|
|
@fonttextsize 10
|
|
|
|
|
@end ifset
|
|
|
|
|
\global\hbadness=6666 % don't worry about not-too-underfull boxes
|
|
|
|
|
@end tex
|
|
|
|
|
|
|
|
|
|
@c Combine indices.
|
|
|
|
|
@synindex cp fn
|
|
|
|
|
@syncodeindex vr fn
|
|
|
|
|
@syncodeindex ky fn
|
|
|
|
|
@syncodeindex pg fn
|
|
|
|
|
@c We use the "type index" to index new functions and variables.
|
|
|
|
|
@c @syncodeindex tp fn
|
|
|
|
|
|
Conditionally omit edition numbers, dates in doc
This redoes the 2019-11-02T00:24:02!eggert@cs.ucla.edu patch,
updated after consultation with John Sullivan.
Omit printed edition numbers in online manuals while keeping
them in printed manuals. In online manuals the edition
numbers seem to cause more confusion than they cure; e.g.,
https://shop.fsf.org/books/gnu-emacs-manual-18th-edition-v-261
currently advertises "18th edition" even as it points to
https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf which
says "Seventeenth Edition". It is simpler and less confusing
to stick to one version number like "27.0" in online manuals.
For printed manuals people can run, e.g., "texi2any -D
'EDITION Nineteenth'" when generating the 19th printed edition
of the Emacs manual.
* doc/emacs/emacs.texi (EDITION):
* doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date):
* doc/lispref/elisp.texi (VERSION, DATE):
Remove definitions. Instead, let the person printing the book
specify these values, with the default being the online version
which does not have printed edition numbers.
* doc/lispintro/emacs-lisp-intro.texi (titlepage-edition-number):
New flag, for the edition number as it appears on the title page.
2019-11-12 19:29:00 +00:00
|
|
|
|
@c When printing, define VERSION to be the printed edition number and
|
|
|
|
|
@c DATE to be the printed edition's date. E.g., run the shell command
|
|
|
|
|
@c "texi2any -D 'VERSION 3.2' -D 'DATE 31 March 2020'". This relates
|
|
|
|
|
@c mainly to the published book sold by the FSF.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@copying
|
Conditionally omit edition numbers, dates in doc
This redoes the 2019-11-02T00:24:02!eggert@cs.ucla.edu patch,
updated after consultation with John Sullivan.
Omit printed edition numbers in online manuals while keeping
them in printed manuals. In online manuals the edition
numbers seem to cause more confusion than they cure; e.g.,
https://shop.fsf.org/books/gnu-emacs-manual-18th-edition-v-261
currently advertises "18th edition" even as it points to
https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf which
says "Seventeenth Edition". It is simpler and less confusing
to stick to one version number like "27.0" in online manuals.
For printed manuals people can run, e.g., "texi2any -D
'EDITION Nineteenth'" when generating the 19th printed edition
of the Emacs manual.
* doc/emacs/emacs.texi (EDITION):
* doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date):
* doc/lispref/elisp.texi (VERSION, DATE):
Remove definitions. Instead, let the person printing the book
specify these values, with the default being the online version
which does not have printed edition numbers.
* doc/lispintro/emacs-lisp-intro.texi (titlepage-edition-number):
New flag, for the edition number as it appears on the title page.
2019-11-12 19:29:00 +00:00
|
|
|
|
@ifset VERSION
|
2019-11-02 07:52:39 +00:00
|
|
|
|
This is edition @value{VERSION} of the @cite{GNU Emacs Lisp Reference Manual},@*
|
Conditionally omit edition numbers, dates in doc
This redoes the 2019-11-02T00:24:02!eggert@cs.ucla.edu patch,
updated after consultation with John Sullivan.
Omit printed edition numbers in online manuals while keeping
them in printed manuals. In online manuals the edition
numbers seem to cause more confusion than they cure; e.g.,
https://shop.fsf.org/books/gnu-emacs-manual-18th-edition-v-261
currently advertises "18th edition" even as it points to
https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf which
says "Seventeenth Edition". It is simpler and less confusing
to stick to one version number like "27.0" in online manuals.
For printed manuals people can run, e.g., "texi2any -D
'EDITION Nineteenth'" when generating the 19th printed edition
of the Emacs manual.
* doc/emacs/emacs.texi (EDITION):
* doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date):
* doc/lispref/elisp.texi (VERSION, DATE):
Remove definitions. Instead, let the person printing the book
specify these values, with the default being the online version
which does not have printed edition numbers.
* doc/lispintro/emacs-lisp-intro.texi (titlepage-edition-number):
New flag, for the edition number as it appears on the title page.
2019-11-12 19:29:00 +00:00
|
|
|
|
@end ifset
|
|
|
|
|
@ifclear VERSION
|
2019-11-02 07:52:39 +00:00
|
|
|
|
This is the @cite{GNU Emacs Lisp Reference Manual}
|
Conditionally omit edition numbers, dates in doc
This redoes the 2019-11-02T00:24:02!eggert@cs.ucla.edu patch,
updated after consultation with John Sullivan.
Omit printed edition numbers in online manuals while keeping
them in printed manuals. In online manuals the edition
numbers seem to cause more confusion than they cure; e.g.,
https://shop.fsf.org/books/gnu-emacs-manual-18th-edition-v-261
currently advertises "18th edition" even as it points to
https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf which
says "Seventeenth Edition". It is simpler and less confusing
to stick to one version number like "27.0" in online manuals.
For printed manuals people can run, e.g., "texi2any -D
'EDITION Nineteenth'" when generating the 19th printed edition
of the Emacs manual.
* doc/emacs/emacs.texi (EDITION):
* doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date):
* doc/lispref/elisp.texi (VERSION, DATE):
Remove definitions. Instead, let the person printing the book
specify these values, with the default being the online version
which does not have printed edition numbers.
* doc/lispintro/emacs-lisp-intro.texi (titlepage-edition-number):
New flag, for the edition number as it appears on the title page.
2019-11-12 19:29:00 +00:00
|
|
|
|
@end ifclear
|
2007-09-06 04:25:08 +00:00
|
|
|
|
corresponding to Emacs version @value{EMACSVER}.
|
|
|
|
|
|
2024-01-02 01:47:10 +00:00
|
|
|
|
Copyright @copyright{} 1990--1996, 1998--2024 Free Software Foundation,
|
2020-01-01 00:19:43 +00:00
|
|
|
|
Inc.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
@quotation
|
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
2008-11-19 04:25:49 +00:00
|
|
|
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
2007-09-06 04:25:08 +00:00
|
|
|
|
any later version published by the Free Software Foundation; with the
|
|
|
|
|
Invariant Sections being ``GNU General Public License,'' with the
|
2014-05-07 17:34:53 +00:00
|
|
|
|
Front-Cover Texts being ``A GNU Manual,'' and with the Back-Cover
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Texts as in (a) below. A copy of the license is included in the
|
|
|
|
|
section entitled ``GNU Free Documentation License.''
|
|
|
|
|
|
2008-06-16 02:07:45 +00:00
|
|
|
|
(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
|
|
|
|
|
modify this GNU manual. Buying copies from the FSF supports it in
|
2007-09-06 04:25:08 +00:00
|
|
|
|
developing GNU and promoting software freedom.''
|
|
|
|
|
@end quotation
|
|
|
|
|
@end copying
|
|
|
|
|
|
2013-12-12 22:41:31 +00:00
|
|
|
|
@dircategory Emacs lisp
|
2007-10-13 23:48:41 +00:00
|
|
|
|
@direntry
|
2013-12-12 03:37:38 +00:00
|
|
|
|
* Elisp: (elisp). The Emacs Lisp Reference Manual.
|
2007-10-13 23:48:41 +00:00
|
|
|
|
@end direntry
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@titlepage
|
|
|
|
|
@title GNU Emacs Lisp Reference Manual
|
2012-05-09 03:11:41 +00:00
|
|
|
|
@ifset volflag
|
|
|
|
|
@subtitle @value{voltitle}
|
|
|
|
|
@end ifset
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@subtitle For Emacs Version @value{EMACSVER}
|
Conditionally omit edition numbers, dates in doc
This redoes the 2019-11-02T00:24:02!eggert@cs.ucla.edu patch,
updated after consultation with John Sullivan.
Omit printed edition numbers in online manuals while keeping
them in printed manuals. In online manuals the edition
numbers seem to cause more confusion than they cure; e.g.,
https://shop.fsf.org/books/gnu-emacs-manual-18th-edition-v-261
currently advertises "18th edition" even as it points to
https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf which
says "Seventeenth Edition". It is simpler and less confusing
to stick to one version number like "27.0" in online manuals.
For printed manuals people can run, e.g., "texi2any -D
'EDITION Nineteenth'" when generating the 19th printed edition
of the Emacs manual.
* doc/emacs/emacs.texi (EDITION):
* doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date):
* doc/lispref/elisp.texi (VERSION, DATE):
Remove definitions. Instead, let the person printing the book
specify these values, with the default being the online version
which does not have printed edition numbers.
* doc/lispintro/emacs-lisp-intro.texi (titlepage-edition-number):
New flag, for the edition number as it appears on the title page.
2019-11-12 19:29:00 +00:00
|
|
|
|
@ifset VERSION
|
2019-11-02 07:52:39 +00:00
|
|
|
|
@subtitle Revision @value{VERSION}, @value{DATE}
|
Conditionally omit edition numbers, dates in doc
This redoes the 2019-11-02T00:24:02!eggert@cs.ucla.edu patch,
updated after consultation with John Sullivan.
Omit printed edition numbers in online manuals while keeping
them in printed manuals. In online manuals the edition
numbers seem to cause more confusion than they cure; e.g.,
https://shop.fsf.org/books/gnu-emacs-manual-18th-edition-v-261
currently advertises "18th edition" even as it points to
https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf which
says "Seventeenth Edition". It is simpler and less confusing
to stick to one version number like "27.0" in online manuals.
For printed manuals people can run, e.g., "texi2any -D
'EDITION Nineteenth'" when generating the 19th printed edition
of the Emacs manual.
* doc/emacs/emacs.texi (EDITION):
* doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date):
* doc/lispref/elisp.texi (VERSION, DATE):
Remove definitions. Instead, let the person printing the book
specify these values, with the default being the online version
which does not have printed edition numbers.
* doc/lispintro/emacs-lisp-intro.texi (titlepage-edition-number):
New flag, for the edition number as it appears on the title page.
2019-11-12 19:29:00 +00:00
|
|
|
|
@end ifset
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2012-04-26 00:48:08 +00:00
|
|
|
|
@author by Bil Lewis, Dan LaLiberte, Richard Stallman,
|
|
|
|
|
@author the GNU Manual Group, et al.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@page
|
|
|
|
|
@vskip 0pt plus 1filll
|
|
|
|
|
@insertcopying
|
|
|
|
|
|
|
|
|
|
@sp 2
|
|
|
|
|
Published by the Free Software Foundation @*
|
2024-09-02 18:56:59 +00:00
|
|
|
|
31 Milk Street, # 960789 @*
|
|
|
|
|
Boston, MA 02196 @*
|
2007-09-06 04:25:08 +00:00
|
|
|
|
USA @*
|
|
|
|
|
ISBN 1-882114-74-4
|
|
|
|
|
|
|
|
|
|
@sp 2
|
|
|
|
|
Cover art by Etienne Suvasa.
|
|
|
|
|
@end titlepage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@c Print the tables of contents
|
|
|
|
|
@summarycontents
|
|
|
|
|
@contents
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ifnottex
|
2012-05-27 01:34:14 +00:00
|
|
|
|
@node Top
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@top Emacs Lisp
|
|
|
|
|
|
2013-07-05 01:32:13 +00:00
|
|
|
|
@ifset WWW_GNU_ORG
|
|
|
|
|
@html
|
2021-09-16 13:33:35 +00:00
|
|
|
|
<p>The GNU Emacs website is at
|
2017-09-13 22:52:52 +00:00
|
|
|
|
<a href="/software/emacs/">https://www.gnu.org/software/emacs/</a>.<br>
|
2013-07-05 01:32:13 +00:00
|
|
|
|
For information on using Emacs, refer to the
|
|
|
|
|
<a href="/software/emacs/manual/emacs.html">Emacs Manual</a>.<br>
|
|
|
|
|
To view this manual in other formats, click
|
|
|
|
|
<a href="/software/emacs/manual/elisp.html">here</a>.
|
|
|
|
|
@end html
|
|
|
|
|
@end ifset
|
|
|
|
|
|
2009-07-11 02:52:46 +00:00
|
|
|
|
@insertcopying
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@end ifnottex
|
|
|
|
|
|
|
|
|
|
@menu
|
|
|
|
|
* Introduction:: Introduction and conventions used.
|
|
|
|
|
|
|
|
|
|
* Lisp Data Types:: Data types of objects in Emacs Lisp.
|
|
|
|
|
* Numbers:: Numbers and arithmetic functions.
|
|
|
|
|
* Strings and Characters:: Strings, and functions that work on them.
|
|
|
|
|
* Lists:: Lists, cons cells, and related functions.
|
|
|
|
|
* Sequences Arrays Vectors:: Lists, strings and vectors are called sequences.
|
|
|
|
|
Certain functions act on any kind of sequence.
|
|
|
|
|
The description of vectors is here as well.
|
Add record objects with user-defined types.
* src/alloc.c (allocate_record): New function.
(Fmake_record, Frecord, Fcopy_record): New functions.
(syms_of_alloc): defsubr them.
(purecopy): Work with records.
* src/data.c (Ftype_of): Return slot 0 for record objects, or type
name if record's type holds class.
(Frecordp): New function.
(syms_of_data): defsubr it. Define `Qrecordp'.
(Faref, Faset): Work with records.
* src/fns.c (Flength): Work with records.
* src/lisp.h (prec_type): Add PVEC_RECORD.
(RECORDP, CHECK_RECORD, CHECK_RECORD_TYPE): New functions.
* src/lread.c (read1): Add syntax for records.
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): Add RECORDP.
(print_object): Add syntax for records.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-2):
New test.
* test/src/alloc-tests.el (record-1, record-2, record-3):
New tests.
* doc/lispref/elisp.texi, doc/lispref/objects.texi,
doc/lispref/records.texi: Add documentation for records.
2013-01-06 13:27:44 +00:00
|
|
|
|
* Records:: Compound objects with programmer-defined types.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Hash Tables:: Very fast lookup-tables.
|
|
|
|
|
* Symbols:: Symbols represent names, uniquely.
|
|
|
|
|
|
|
|
|
|
* Evaluation:: How Lisp expressions are evaluated.
|
|
|
|
|
* Control Structures:: Conditionals, loops, nonlocal exits.
|
|
|
|
|
* Variables:: Using symbols in programs to stand for values.
|
|
|
|
|
* Functions:: A function is a Lisp program
|
|
|
|
|
that can be invoked from other functions.
|
|
|
|
|
* Macros:: Macros are a way to extend the Lisp language.
|
2012-04-12 14:50:58 +00:00
|
|
|
|
* Customization:: Making variables and faces customizable.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
* Loading:: Reading files of Lisp code into Lisp.
|
|
|
|
|
* Byte Compilation:: Compilation makes programs run faster.
|
2021-05-08 13:26:41 +00:00
|
|
|
|
* Native Compilation:: Compile Lisp into native machine code.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Debugging:: Tools and tips for debugging Lisp programs.
|
|
|
|
|
|
|
|
|
|
* Read and Print:: Converting Lisp objects to text and back.
|
|
|
|
|
* Minibuffers:: Using the minibuffer to read input.
|
|
|
|
|
* Command Loop:: How the editor command loop works,
|
|
|
|
|
and how you can call its subroutines.
|
|
|
|
|
* Keymaps:: Defining the bindings from keys to commands.
|
|
|
|
|
* Modes:: Defining major and minor modes.
|
|
|
|
|
* Documentation:: Writing and using documentation strings.
|
|
|
|
|
|
|
|
|
|
* Files:: Accessing files.
|
|
|
|
|
* Backups and Auto-Saving:: Controlling how backups and auto-save
|
|
|
|
|
files are made.
|
|
|
|
|
* Buffers:: Creating and using buffer objects.
|
|
|
|
|
* Windows:: Manipulating windows and displaying buffers.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Frames:: Making multiple system-level windows.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Positions:: Buffer positions and motion functions.
|
|
|
|
|
* Markers:: Markers represent positions and update
|
|
|
|
|
automatically when the text is changed.
|
|
|
|
|
|
|
|
|
|
* Text:: Examining and changing text in buffers.
|
|
|
|
|
* Non-ASCII Characters:: Non-ASCII text in buffers and strings.
|
|
|
|
|
* Searching and Matching:: Searching buffers for strings or regexps.
|
|
|
|
|
* Syntax Tables:: The syntax table controls word and list parsing.
|
2022-12-06 05:59:03 +00:00
|
|
|
|
* Parsing Expression Grammars:: Parsing structured buffer text.
|
Add tree-sitter intergration
* configure.ac (HAVE_TREE_SITTER, TREE_SITTER_OBJ): New variables.
(DYNAMIC_LIB_SUFFIX): new variable, I copied code from MODULES_SUFFIX
so the diff looks this way.
* doc/lispref/elisp.texi (Top): Add tree-sitter manual.
* doc/lispref/modes.texi (Font Lock Mode): mention tree-sitter.
(Parser-based Font Lock): New section.
(Auto-Indentation): Mention tree-sitter.
(Parser-based Indentation): New section.
* doc/lispref/parsing.texi (Parsing Program Source): New chapter.
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
treesit-parser and treesit-node type.
* lisp/treesit.el: New file.
* src/Makefile.in (TREE_SITTER_LIBS, TREE_SITTER_FLAGS,
TREE_SITTER_OBJ): New variables.
* src/alloc.c:
(cleanup_vector): Add cleanup code for treesit-parser and
treesit-node.
* src/casefiddle.c (casify_region): Notify tree-sitter parser of
buffer change.
* src/data.c (Ftype_of): Add treesit-parser and treesit-node type
(Qtreesit_parser, Qtreesit_node): New symbol.
* src/emacs.c (main): Add symbols in treesit.c.
* src/eval.c (define_error): Move the function to here.
* src/insdel.c (insert_1_both, insert_from_string_1, insert_from_gap,
insert_from_buffer_1, replace_range, del_range_2): Notify tree-sitter
parser of buffer change.
* src/json.c (define_error): Move this function out.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add treesit-parser and
treesit-node.
* src/lread.c (Vdynamic_library_suffixes): New variable.
* src/print.c (print_vectorlike): Add code for printing
treesit-parser and treesit-node.
* src/treesit.c: New file.
* src/treesit.h: New file.
* test/src/treesit-tests.el: New file.
2022-03-13 06:10:06 +00:00
|
|
|
|
* Parsing Program Source:: Generate syntax tree for program sources.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Abbrevs:: How Abbrev mode works, and its data structures.
|
|
|
|
|
|
2012-08-23 19:58:38 +00:00
|
|
|
|
* Threads:: Concurrency in Emacs Lisp.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Processes:: Running and communicating with subprocesses.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Display:: Features for controlling the screen display.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* System Interface:: Getting the user id, system type, environment
|
|
|
|
|
variables, and other such things.
|
|
|
|
|
|
2010-08-25 20:25:32 +00:00
|
|
|
|
* Packaging:: Preparing Lisp code for distribution.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Appendices
|
|
|
|
|
|
2024-06-27 18:54:52 +00:00
|
|
|
|
* Antinews:: Info for users downgrading to Emacs 29.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* GNU Free Documentation License:: The license for this documentation.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* GPL:: Conditions for copying and changing GNU Emacs.
|
|
|
|
|
* Tips:: Advice and coding conventions for Emacs Lisp.
|
|
|
|
|
* GNU Emacs Internals:: Building and dumping Emacs;
|
|
|
|
|
internal data structures.
|
2012-03-02 02:54:47 +00:00
|
|
|
|
* Standard Errors:: List of some standard error symbols.
|
|
|
|
|
* Standard Keymaps:: List of some standard keymaps.
|
|
|
|
|
* Standard Hooks:: List of some standard hook variables.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
* Index:: Index including concepts, functions, variables,
|
|
|
|
|
and other terms.
|
|
|
|
|
|
|
|
|
|
@ignore
|
|
|
|
|
* New Symbols:: New functions and variables in Emacs @value{EMACSVER}.
|
|
|
|
|
@end ignore
|
|
|
|
|
|
|
|
|
|
@c Do NOT modify the following 3 lines! They must have this form to
|
Minor quoting etc. fixes to lispref manual
* doc/lispref/tips.texi (Documentation Tips):
Distinguish more clearly among grave accent, apostrophe,
and single quote.
* doc/lispref/README, doc/lispref/buffers.texi:
* doc/lispref/commands.texi, doc/lispref/control.texi:
* doc/lispref/customize.texi, doc/lispref/display.texi:
* doc/lispref/elisp.texi, doc/lispref/files.texi:
* doc/lispref/frames.texi, doc/lispref/hash.texi:
* doc/lispref/help.texi, doc/lispref/internals.texi:
* doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
* doc/lispref/markers.texi, doc/lispref/modes.texi:
* doc/lispref/nonascii.texi, doc/lispref/objects.texi:
* doc/lispref/os.texi, doc/lispref/positions.texi:
* doc/lispref/strings.texi, doc/lispref/syntax.texi:
* doc/lispref/text.texi, doc/lispref/tips.texi:
* doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
Use American-style double quoting in ordinary text,
and quote 'like this' when single-quoting in ASCII text.
Also, fix some minor spacing issues.
2015-04-10 18:27:21 +00:00
|
|
|
|
@c be correctly identified by 'texinfo-multiple-files-update'. In
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@c particular, the detailed menu header line MUST be identical to the
|
Minor quoting etc. fixes to lispref manual
* doc/lispref/tips.texi (Documentation Tips):
Distinguish more clearly among grave accent, apostrophe,
and single quote.
* doc/lispref/README, doc/lispref/buffers.texi:
* doc/lispref/commands.texi, doc/lispref/control.texi:
* doc/lispref/customize.texi, doc/lispref/display.texi:
* doc/lispref/elisp.texi, doc/lispref/files.texi:
* doc/lispref/frames.texi, doc/lispref/hash.texi:
* doc/lispref/help.texi, doc/lispref/internals.texi:
* doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
* doc/lispref/markers.texi, doc/lispref/modes.texi:
* doc/lispref/nonascii.texi, doc/lispref/objects.texi:
* doc/lispref/os.texi, doc/lispref/positions.texi:
* doc/lispref/strings.texi, doc/lispref/syntax.texi:
* doc/lispref/text.texi, doc/lispref/tips.texi:
* doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
Use American-style double quoting in ordinary text,
and quote 'like this' when single-quoting in ASCII text.
Also, fix some minor spacing issues.
2015-04-10 18:27:21 +00:00
|
|
|
|
@c value of 'texinfo-master-menu-header'. See texnfo-upd.el.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
@detailmenu
|
|
|
|
|
--- The Detailed Node Listing ---
|
|
|
|
|
---------------------------------
|
|
|
|
|
|
2011-07-12 12:50:42 +00:00
|
|
|
|
Here are other nodes that are subnodes of those already listed,
|
2007-09-06 04:25:08 +00:00
|
|
|
|
mentioned here so you can get to them in one step:
|
|
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
|
|
|
|
|
|
* Caveats:: Flaws and a request for help.
|
|
|
|
|
* Lisp History:: Emacs Lisp is descended from Maclisp.
|
|
|
|
|
* Conventions:: How the manual is formatted.
|
|
|
|
|
* Version Info:: Which Emacs version is running?
|
2012-07-25 05:48:19 +00:00
|
|
|
|
* Acknowledgments:: The authors, editors, and sponsors of this manual.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Conventions
|
|
|
|
|
|
|
|
|
|
* Some Terms:: Explanation of terms we use in this manual.
|
|
|
|
|
* nil and t:: How the symbols @code{nil} and @code{t} are used.
|
|
|
|
|
* Evaluation Notation:: The format we use for examples of evaluation.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Printing Notation:: The format we use when examples print text.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Error Messages:: The format we use for examples of errors.
|
|
|
|
|
* Buffer Text Notation:: The format we use for buffer contents in examples.
|
|
|
|
|
* Format of Descriptions:: Notation for describing functions, variables, etc.
|
|
|
|
|
|
|
|
|
|
Format of Descriptions
|
|
|
|
|
|
|
|
|
|
* A Sample Function Description:: A description of an imaginary
|
|
|
|
|
function, @code{foo}.
|
|
|
|
|
* A Sample Variable Description:: A description of an imaginary
|
|
|
|
|
variable, @code{electric-future-map}.
|
|
|
|
|
|
|
|
|
|
Lisp Data Types
|
|
|
|
|
|
|
|
|
|
* Printed Representation:: How Lisp objects are represented as text.
|
2019-10-12 19:18:34 +00:00
|
|
|
|
* Special Read Syntax:: An overview of all the special sequences.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Comments:: Comments and their formatting conventions.
|
|
|
|
|
* Programming Types:: Types found in all Lisp systems.
|
|
|
|
|
* Editing Types:: Types specific to Emacs.
|
2009-07-10 06:11:39 +00:00
|
|
|
|
* Circular Objects:: Read syntax for circular structure.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Type Predicates:: Tests related to types.
|
|
|
|
|
* Equality Predicates:: Tests of equality between any two objects.
|
2020-05-17 00:17:00 +00:00
|
|
|
|
* Mutability:: Some objects should not be modified.
|
2024-03-01 08:52:50 +00:00
|
|
|
|
* Type Hierarchy:: Type Hierarchy of Emacs Lisp objects.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Programming Types
|
|
|
|
|
|
|
|
|
|
* Integer Type:: Numbers without fractional parts.
|
Style fixes for floating-point doc.
* commands.texi, customize.texi, display.texi, elisp.texi, files.texi:
* frames.texi, hash.texi, internals.texi, keymaps.texi, lists.texi:
* minibuf.texi, nonascii.texi, numbers.texi, objects.texi, os.texi:
* processes.texi, streams.texi, strings.texi, text.texi:
* variables.texi, windows.texi:
Hyphenate "floating-point" iff it precedes a noun.
Reword to avoid nouns and hyphenation when that's easy.
Prefer "integer" to "integer number" and "is floating point"
to "is a floating point number".
Prefer "@minus{}" to "-" when it's a minus.
2014-03-18 01:19:03 +00:00
|
|
|
|
* Floating-Point Type:: Numbers with fractional parts and with a large range.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Character Type:: The representation of letters, numbers and
|
|
|
|
|
control characters.
|
|
|
|
|
* Symbol Type:: A multi-use object that refers to a function,
|
2009-07-10 05:23:59 +00:00
|
|
|
|
variable, or property list, and has a unique identity.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Sequence Type:: Both lists and arrays are classified as sequences.
|
|
|
|
|
* Cons Cell Type:: Cons cells, and lists (which are made from cons cells).
|
|
|
|
|
* Array Type:: Arrays include strings and vectors.
|
|
|
|
|
* String Type:: An (efficient) array of characters.
|
|
|
|
|
* Vector Type:: One-dimensional arrays.
|
|
|
|
|
* Char-Table Type:: One-dimensional sparse arrays indexed by characters.
|
|
|
|
|
* Bool-Vector Type:: One-dimensional arrays of @code{t} or @code{nil}.
|
|
|
|
|
* Hash Table Type:: Super-fast lookup tables.
|
|
|
|
|
* Function Type:: A piece of executable code you can call from elsewhere.
|
|
|
|
|
* Macro Type:: A method of expanding an expression into another
|
|
|
|
|
expression, more fundamental but less pretty.
|
|
|
|
|
* Primitive Function Type:: A function written in C, callable from Lisp.
|
Use a dedicated type to represent interpreted-function values
Change `function` so that when evaluating #'(lambda ...)
we return an object of type `interpreted-function` rather than
a list starting with one of `lambda` or `closure`.
The new type reuses the existing PVEC_CLOSURE (nee PVEC_COMPILED)
tag and tries to align the corresponding elements:
- the arglist, the docstring, and the interactive-form go in the
same slots as for byte-code functions.
- the body of the function goes in the slot used for the bytecode string.
- the lexical context goes in the slot used for the constants of
bytecoded functions.
The first point above means that `help-function-arglist`,
`documentation`, and `interactive-form`s don't need to
distinguish interpreted and bytecode functions any more.
Main benefits of the change:
- We can now reliably distinguish a list from a function value.
- `cl-defmethod` can dispatch on `interactive-function` and `closure`.
Dispatch on `function` also works now for interpreted functions but still
won't work for functions represented as lists or as symbols, of course.
- Function values are now self-evaluating. That was alrready the case
when byte-compiled, but not when interpreted since
(eval '(closure ...)) signals a void-function error.
That also avoids false-positive warnings about "don't quote your lambdas"
when doing things like `(mapcar ',func ...)`.
* src/eval.c (Fmake_interpreted_closure): New function.
(Ffunction): Use it and change calling convention of
`Vinternal_make_interpreted_closure_function`.
(FUNCTIONP, Fcommandp, eval_sub, funcall_general, funcall_lambda)
(Ffunc_arity, lambda_arity): Simplify.
(funcall_lambda): Adjust to new representation.
(syms_of_eval): `defsubr` the new function. Remove definition of `Qclosure`.
* lisp/emacs-lisp/cconv.el (cconv-make-interpreted-closure):
Change calling convention and use `make-interpreted-closure`.
* src/data.c (Fcl_type_of): Distinguish `byte-code-function`s from
`interpreted-function`s.
(Fclosurep, finterpreted_function_p): New functions.
(Fbyte_code_function_p): Don't be confused by `interpreted-function`s.
(Finteractive_form, Fcommand_modes): Simplify.
(syms_of_data): Define new type symbols and `defsubr` the two
new functions.
* lisp/emacs-lisp/cl-print.el (cl-print-object) <interpreted-function>:
New method.
* lisp/emacs-lisp/oclosure.el (oclosure): Refine the parent
to be `closure`.
(oclosure--fix-type, oclosure-type): Simplify.
(oclosure--copy, oclosure--get, oclosure--set): Adjust to
new representation.
* src/callint.c (Fcall_interactively): Adjust to new representation.
* src/lread.c (bytecode_from_rev_list):
* lisp/simple.el (function-documentation):
* lisp/help.el (help-function-arglist): Remove the old `closure` case
and adjust the byte-code case so it handles `interpreted-function`s.
* lisp/emacs-lisp/cl-preloaded.el (closure): New type.
(byte-code-function): Add it as a parent.
(interpreted-function): Adjust parent (the type itself was already
added earlier by accident).
* lisp/emacs-lisp/bytecomp.el (byte-compile--reify-function): Adjust to
new representation.
(byte-compile): Use `interpreted-function-p`.
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Adjust to
new representation.
(side-effect-free-fns): Add `interpreted-function-p` and `closurep`.
* src/profiler.c (trace_hash, ffunction_equal): Simplify.
* lisp/profiler.el (profiler-function-equal): Simplify.
* lisp/emacs-lisp/nadvice.el (advice--interactive-form-1):
Use `interpreted-function-p`; adjust to new representation; and take
advantage of the fact that function values are now self-evaluating.
* lisp/emacs-lisp/lisp-mode.el (closure):
Remove `lisp-indent-function` property.
* lisp/emacs-lisp/disass.el (disassemble-internal): Adjust to
new representation.
* lisp/emacs-lisp/edebug.el (edebug--strip-instrumentation):
Use `interpreted-function-p`.
* lisp/emacs-lisp/comp-common.el (comp-known-type-specifiers):
Add `closurep` and `interpreted-function-p`.
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defun): Adjust to
more precise type info in `describe-function`.
* test/lisp/erc/resources/erc-d/erc-d-tests.el (erc-d--render-entries):
Use `interpreted-function-p`.
* test/lisp/emacs-lisp/macroexp-resources/vk.el (vk-f4, vk-f5):
Don't hardcode function values.
* doc/lispref/functions.texi (Anonymous Functions): Don't suggest that
function values are lists. Reword "self-quoting" to reflect the
fact that #' doesn't return the exact same object. Update examples
with the new shape of the return value.
* doc/lispref/variables.texi (Lexical Binding):
* doc/lispref/lists.texi (Rearrangement):
* doc/lispref/control.texi (Handling Errors): Update examples to reflect
new representation of function values.
2024-03-11 20:12:26 +00:00
|
|
|
|
* Closure Type:: A function written in Lisp, then compiled.
|
Add record objects with user-defined types.
* src/alloc.c (allocate_record): New function.
(Fmake_record, Frecord, Fcopy_record): New functions.
(syms_of_alloc): defsubr them.
(purecopy): Work with records.
* src/data.c (Ftype_of): Return slot 0 for record objects, or type
name if record's type holds class.
(Frecordp): New function.
(syms_of_data): defsubr it. Define `Qrecordp'.
(Faref, Faset): Work with records.
* src/fns.c (Flength): Work with records.
* src/lisp.h (prec_type): Add PVEC_RECORD.
(RECORDP, CHECK_RECORD, CHECK_RECORD_TYPE): New functions.
* src/lread.c (read1): Add syntax for records.
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): Add RECORDP.
(print_object): Add syntax for records.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-2):
New test.
* test/src/alloc-tests.el (record-1, record-2, record-3):
New tests.
* doc/lispref/elisp.texi, doc/lispref/objects.texi,
doc/lispref/records.texi: Add documentation for records.
2013-01-06 13:27:44 +00:00
|
|
|
|
* Record Type:: Compound objects with programmer-defined types.
|
2017-04-05 06:42:25 +00:00
|
|
|
|
* Type Descriptors:: Objects holding information about types.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Autoload Type:: A type used for automatically loading seldom-used
|
|
|
|
|
functions.
|
2015-03-03 03:08:06 +00:00
|
|
|
|
* Finalizer Type:: Runs code when no longer reachable.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Character Type
|
|
|
|
|
|
|
|
|
|
* Basic Char Syntax:: Syntax for regular characters.
|
|
|
|
|
* General Escape Syntax:: How to specify characters by their codes.
|
|
|
|
|
* Ctl-Char Syntax:: Syntax for control characters.
|
|
|
|
|
* Meta-Char Syntax:: Syntax for meta-characters.
|
|
|
|
|
* Other Char Bits:: Syntax for hyper-, super-, and alt-characters.
|
|
|
|
|
|
|
|
|
|
Cons Cell and List Types
|
|
|
|
|
|
|
|
|
|
* Box Diagrams:: Drawing pictures of lists.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Dotted Pair Notation:: A general syntax for cons cells.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Association List Type:: A specially constructed list.
|
|
|
|
|
|
|
|
|
|
String Type
|
|
|
|
|
|
|
|
|
|
* Syntax for Strings:: How to specify Lisp strings.
|
|
|
|
|
* Non-ASCII in Strings:: International characters in strings.
|
|
|
|
|
* Nonprinting Characters:: Literal unprintable characters in strings.
|
|
|
|
|
* Text Props and Strings:: Strings with text properties.
|
|
|
|
|
|
|
|
|
|
Editing Types
|
|
|
|
|
|
|
|
|
|
* Buffer Type:: The basic object of editing.
|
|
|
|
|
* Marker Type:: A position in a buffer.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Window Type:: Buffers are displayed in windows.
|
2008-12-27 15:46:03 +00:00
|
|
|
|
* Frame Type:: Windows subdivide frames.
|
|
|
|
|
* Terminal Type:: A terminal device displays frames.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Window Configuration Type:: Recording the way a frame is subdivided.
|
|
|
|
|
* Frame Configuration Type:: Recording the status of all frames.
|
2008-10-14 15:38:57 +00:00
|
|
|
|
* Process Type:: A subprocess of Emacs running on the underlying OS.
|
2016-12-10 08:49:39 +00:00
|
|
|
|
* Thread Type:: A thread of Emacs Lisp execution.
|
|
|
|
|
* Mutex Type:: An exclusive lock for thread synchronization.
|
|
|
|
|
* Condition Variable Type:: Condition variable for thread synchronization.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Stream Type:: Receive or send characters.
|
|
|
|
|
* Keymap Type:: What function a keystroke invokes.
|
|
|
|
|
* Overlay Type:: How an overlay is represented.
|
2009-02-21 13:45:59 +00:00
|
|
|
|
* Font Type:: Fonts for displaying text.
|
2021-11-07 12:02:06 +00:00
|
|
|
|
* Xwidget Type:: Embeddable widgets.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Numbers
|
|
|
|
|
|
|
|
|
|
* Integer Basics:: Representation and range of integers.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Float Basics:: Representation and range of floating point.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Predicates on Numbers:: Testing for numbers.
|
|
|
|
|
* Comparison of Numbers:: Equality and inequality predicates.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Numeric Conversions:: Converting float to integer and vice versa.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Arithmetic Operations:: How to add, subtract, multiply and divide.
|
Style fixes for floating-point doc.
* commands.texi, customize.texi, display.texi, elisp.texi, files.texi:
* frames.texi, hash.texi, internals.texi, keymaps.texi, lists.texi:
* minibuf.texi, nonascii.texi, numbers.texi, objects.texi, os.texi:
* processes.texi, streams.texi, strings.texi, text.texi:
* variables.texi, windows.texi:
Hyphenate "floating-point" iff it precedes a noun.
Reword to avoid nouns and hyphenation when that's easy.
Prefer "integer" to "integer number" and "is floating point"
to "is a floating point number".
Prefer "@minus{}" to "-" when it's a minus.
2014-03-18 01:19:03 +00:00
|
|
|
|
* Rounding Operations:: Explicitly rounding floating-point numbers.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Bitwise Operations:: Logical and, or, not, shifting.
|
|
|
|
|
* Math Functions:: Trig, exponential and logarithmic functions.
|
|
|
|
|
* Random Numbers:: Obtaining random integers, predictable or not.
|
|
|
|
|
|
|
|
|
|
Strings and Characters
|
|
|
|
|
|
|
|
|
|
* String Basics:: Basic properties of strings and characters.
|
|
|
|
|
* Predicates for Strings:: Testing whether an object is a string or char.
|
|
|
|
|
* Creating Strings:: Functions to allocate new strings.
|
2009-07-10 06:11:39 +00:00
|
|
|
|
* Modifying Strings:: Altering the contents of an existing string.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Text Comparison:: Comparing characters or strings.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* String Conversion:: Converting to and from characters and strings.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Formatting Strings:: @code{format}: Emacs's analogue of @code{printf}.
|
|
|
|
|
* Case Conversion:: Case conversion functions.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Case Tables:: Customizing case conversion.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Lists
|
|
|
|
|
|
|
|
|
|
* Cons Cells:: How lists are made out of cons cells.
|
|
|
|
|
* List-related Predicates:: Is this object a list? Comparing two lists.
|
|
|
|
|
* List Elements:: Extracting the pieces of a list.
|
|
|
|
|
* Building Lists:: Creating list structure.
|
|
|
|
|
* List Variables:: Modifying lists stored in variables.
|
|
|
|
|
* Modifying Lists:: Storing new pieces into an existing list.
|
|
|
|
|
* Sets And Lists:: A list can represent a finite mathematical set.
|
|
|
|
|
* Association Lists:: A list can represent a finite relation or mapping.
|
2012-12-02 09:14:16 +00:00
|
|
|
|
* Property Lists:: A list of paired elements.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Modifying Existing List Structure
|
|
|
|
|
|
|
|
|
|
* Setcar:: Replacing an element in a list.
|
|
|
|
|
* Setcdr:: Replacing part of the list backbone.
|
|
|
|
|
This can be used to remove or add elements.
|
|
|
|
|
* Rearrangement:: Reordering the elements in a list; combining lists.
|
|
|
|
|
|
2012-12-02 09:14:16 +00:00
|
|
|
|
Property Lists
|
|
|
|
|
|
|
|
|
|
* Plists and Alists:: Comparison of the advantages of property
|
|
|
|
|
lists and association lists.
|
|
|
|
|
* Plist Access:: Accessing property lists stored elsewhere.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Sequences, Arrays, and Vectors
|
|
|
|
|
|
|
|
|
|
* Sequence Functions:: Functions that accept any kind of sequence.
|
|
|
|
|
* Arrays:: Characteristics of arrays in Emacs Lisp.
|
|
|
|
|
* Array Functions:: Functions specifically for arrays.
|
|
|
|
|
* Vectors:: Special characteristics of Emacs Lisp vectors.
|
|
|
|
|
* Vector Functions:: Functions specifically for vectors.
|
|
|
|
|
* Char-Tables:: How to work with char-tables.
|
|
|
|
|
* Bool-Vectors:: How to work with bool-vectors.
|
2012-01-23 04:23:50 +00:00
|
|
|
|
* Rings:: Managing a fixed-size ring of objects.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
Add record objects with user-defined types.
* src/alloc.c (allocate_record): New function.
(Fmake_record, Frecord, Fcopy_record): New functions.
(syms_of_alloc): defsubr them.
(purecopy): Work with records.
* src/data.c (Ftype_of): Return slot 0 for record objects, or type
name if record's type holds class.
(Frecordp): New function.
(syms_of_data): defsubr it. Define `Qrecordp'.
(Faref, Faset): Work with records.
* src/fns.c (Flength): Work with records.
* src/lisp.h (prec_type): Add PVEC_RECORD.
(RECORDP, CHECK_RECORD, CHECK_RECORD_TYPE): New functions.
* src/lread.c (read1): Add syntax for records.
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): Add RECORDP.
(print_object): Add syntax for records.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-2):
New test.
* test/src/alloc-tests.el (record-1, record-2, record-3):
New tests.
* doc/lispref/elisp.texi, doc/lispref/objects.texi,
doc/lispref/records.texi: Add documentation for records.
2013-01-06 13:27:44 +00:00
|
|
|
|
Records
|
|
|
|
|
|
|
|
|
|
* Record Functions:: Functions for records.
|
2017-03-24 13:21:52 +00:00
|
|
|
|
* Backward Compatibility:: Compatibility for cl-defstruct.
|
Add record objects with user-defined types.
* src/alloc.c (allocate_record): New function.
(Fmake_record, Frecord, Fcopy_record): New functions.
(syms_of_alloc): defsubr them.
(purecopy): Work with records.
* src/data.c (Ftype_of): Return slot 0 for record objects, or type
name if record's type holds class.
(Frecordp): New function.
(syms_of_data): defsubr it. Define `Qrecordp'.
(Faref, Faset): Work with records.
* src/fns.c (Flength): Work with records.
* src/lisp.h (prec_type): Add PVEC_RECORD.
(RECORDP, CHECK_RECORD, CHECK_RECORD_TYPE): New functions.
* src/lread.c (read1): Add syntax for records.
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): Add RECORDP.
(print_object): Add syntax for records.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-2):
New test.
* test/src/alloc-tests.el (record-1, record-2, record-3):
New tests.
* doc/lispref/elisp.texi, doc/lispref/objects.texi,
doc/lispref/records.texi: Add documentation for records.
2013-01-06 13:27:44 +00:00
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Hash Tables
|
|
|
|
|
|
|
|
|
|
* Creating Hash:: Functions to create hash tables.
|
|
|
|
|
* Hash Access:: Reading and writing the hash table contents.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Defining Hash:: Defining new comparison methods.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Other Hash:: Miscellaneous.
|
|
|
|
|
|
|
|
|
|
Symbols
|
|
|
|
|
|
|
|
|
|
* Symbol Components:: Symbols have names, values, function definitions
|
|
|
|
|
and property lists.
|
|
|
|
|
* Definitions:: A definition says how a symbol will be used.
|
|
|
|
|
* Creating Symbols:: How symbols are kept unique.
|
2012-12-02 09:14:16 +00:00
|
|
|
|
* Symbol Properties:: Each symbol has a property list
|
2007-09-06 04:25:08 +00:00
|
|
|
|
for recording miscellaneous information.
|
2022-01-22 09:59:05 +00:00
|
|
|
|
* Shorthands:: Properly organize your symbol names but
|
|
|
|
|
type less of them.
|
|
|
|
|
* Symbols with Position:: Symbol variants containing integer positions
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2012-12-02 09:14:16 +00:00
|
|
|
|
Symbol Properties
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2012-12-02 09:14:16 +00:00
|
|
|
|
* Symbol Plists:: Accessing symbol properties.
|
|
|
|
|
* Standard Properties:: Standard meanings of symbol properties.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Evaluation
|
|
|
|
|
|
|
|
|
|
* Intro Eval:: Evaluation in the scheme of things.
|
|
|
|
|
* Forms:: How various sorts of objects are evaluated.
|
|
|
|
|
* Quoting:: Avoiding evaluation (to put constants in
|
|
|
|
|
the program).
|
2012-02-05 06:44:47 +00:00
|
|
|
|
* Backquote:: Easier construction of list structure.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Eval:: How to invoke the Lisp interpreter explicitly.
|
2017-11-02 17:45:34 +00:00
|
|
|
|
* Deferred Eval:: Deferred and lazy evaluation of forms.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Kinds of Forms
|
|
|
|
|
|
|
|
|
|
* Self-Evaluating Forms:: Forms that evaluate to themselves.
|
|
|
|
|
* Symbol Forms:: Symbols evaluate as variables.
|
|
|
|
|
* Classifying Lists:: How to distinguish various sorts of list forms.
|
|
|
|
|
* Function Indirection:: When a symbol appears as the car of a list,
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
we find the real function via the symbol.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Function Forms:: Forms that call functions.
|
|
|
|
|
* Macro Forms:: Forms that call macros.
|
2015-09-15 15:46:48 +00:00
|
|
|
|
* Special Forms:: Special forms are idiosyncratic primitives,
|
2007-09-06 04:25:08 +00:00
|
|
|
|
most of them extremely important.
|
|
|
|
|
* Autoloading:: Functions set up to load files
|
|
|
|
|
containing their real definitions.
|
|
|
|
|
|
|
|
|
|
Control Structures
|
|
|
|
|
|
|
|
|
|
* Sequencing:: Evaluation in textual order.
|
|
|
|
|
* Conditionals:: @code{if}, @code{cond}, @code{when}, @code{unless}.
|
|
|
|
|
* Combining Conditions:: @code{and}, @code{or}, @code{not}.
|
2018-05-21 16:16:35 +00:00
|
|
|
|
* Pattern-Matching Conditional:: How to use @code{pcase} and friends.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Iteration:: @code{while} loops.
|
2015-03-02 07:57:51 +00:00
|
|
|
|
* Generators:: Generic sequences and coroutines.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Nonlocal Exits:: Jumping out of a sequence.
|
|
|
|
|
|
|
|
|
|
Nonlocal Exits
|
|
|
|
|
|
|
|
|
|
* Catch and Throw:: Nonlocal exits for the program's own purposes.
|
|
|
|
|
* Examples of Catch:: Showing how such nonlocal exits can be written.
|
|
|
|
|
* Errors:: How errors are signaled and handled.
|
|
|
|
|
* Cleanups:: Arranging to run a cleanup form if an
|
|
|
|
|
error happens.
|
|
|
|
|
|
|
|
|
|
Errors
|
|
|
|
|
|
|
|
|
|
* Signaling Errors:: How to report an error.
|
|
|
|
|
* Processing of Errors:: What Emacs does when you report an error.
|
|
|
|
|
* Handling Errors:: How you can trap errors and continue execution.
|
|
|
|
|
* Error Symbols:: How errors are classified for trapping them.
|
|
|
|
|
|
|
|
|
|
Variables
|
|
|
|
|
|
|
|
|
|
* Global Variables:: Variable values that exist permanently, everywhere.
|
2015-09-15 15:46:48 +00:00
|
|
|
|
* Constant Variables:: Variables that never change.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Local Variables:: Variable values that exist only temporarily.
|
|
|
|
|
* Void Variables:: Symbols that lack values.
|
|
|
|
|
* Defining Variables:: A definition says a symbol is used as a variable.
|
|
|
|
|
* Tips for Defining:: Things you should think about when you
|
|
|
|
|
define a variable.
|
|
|
|
|
* Accessing Variables:: Examining values of variables whose names
|
|
|
|
|
are known only at run time.
|
|
|
|
|
* Setting Variables:: Storing new values in variables.
|
2015-12-13 19:47:58 +00:00
|
|
|
|
* Watching Variables:: Running a function when a variable is changed.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Variable Scoping:: How Lisp chooses among local and global values.
|
|
|
|
|
* Buffer-Local Variables:: Variable values in effect only in one buffer.
|
|
|
|
|
* File Local Variables:: Handling local variable lists in files.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Directory Local Variables:: Local variables common to all files in a
|
|
|
|
|
directory.
|
2016-11-14 16:13:09 +00:00
|
|
|
|
* Connection Local Variables:: Local variables common for remote connections.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Variable Aliases:: Variables that are aliases for other variables.
|
|
|
|
|
* Variables with Restricted Values:: Non-constant variables whose value can
|
|
|
|
|
@emph{not} be an arbitrary Lisp object.
|
2012-10-27 22:42:07 +00:00
|
|
|
|
* Generalized Variables:: Extending the concept of variables.
|
2021-12-16 06:19:58 +00:00
|
|
|
|
* Multisession Variables:: Variables that survive restarting Emacs.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Scoping Rules for Variable Bindings
|
|
|
|
|
|
2023-10-21 15:39:25 +00:00
|
|
|
|
* Lexical Binding:: The standard type of local variable binding.
|
|
|
|
|
* Dynamic Binding:: A different type of local variable binding.
|
2012-01-24 16:08:00 +00:00
|
|
|
|
* Dynamic Binding Tips:: Avoiding problems with dynamic binding.
|
2023-10-22 14:51:48 +00:00
|
|
|
|
* Selecting Lisp Dialect:: How to select the Emacs Lisp dialect to use.
|
2021-04-11 12:14:42 +00:00
|
|
|
|
* Converting to Lexical Binding:: Convert existing code to lexical binding.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Buffer-Local Variables
|
|
|
|
|
|
|
|
|
|
* Intro to Buffer-Local:: Introduction and concepts.
|
|
|
|
|
* Creating Buffer-Local:: Creating and destroying buffer-local bindings.
|
|
|
|
|
* Default Value:: The default value is seen in buffers
|
|
|
|
|
that don't have their own buffer-local values.
|
|
|
|
|
|
2012-11-06 01:42:17 +00:00
|
|
|
|
Generalized Variables
|
|
|
|
|
|
|
|
|
|
* Setting Generalized Variables:: The @code{setf} macro.
|
|
|
|
|
* Adding Generalized Variables:: Defining new @code{setf} forms.
|
|
|
|
|
|
2021-12-16 06:19:58 +00:00
|
|
|
|
Multisession Variables
|
|
|
|
|
|
|
|
|
|
* Multisession Variables:: Variables that survive restarting Emacs.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Functions
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* What Is a Function:: Lisp functions vs. primitives; terminology.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Lambda Expressions:: How functions are expressed as Lisp objects.
|
|
|
|
|
* Function Names:: A symbol can serve as the name of a function.
|
|
|
|
|
* Defining Functions:: Lisp expressions for defining functions.
|
|
|
|
|
* Calling Functions:: How to use an existing function.
|
|
|
|
|
* Mapping Functions:: Applying a function to each element of a list, etc.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Anonymous Functions:: Lambda expressions are functions with no names.
|
2016-01-22 21:06:22 +00:00
|
|
|
|
* Generic Functions:: Polymorphism, Emacs-style.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Function Cells:: Accessing or setting the function definition
|
|
|
|
|
of a symbol.
|
2012-02-04 14:56:32 +00:00
|
|
|
|
* Closures:: Functions that enclose a lexical environment.
|
2023-03-03 13:23:22 +00:00
|
|
|
|
* OClosures:: Function objects with meta-data.
|
2015-12-19 11:04:36 +00:00
|
|
|
|
* Advising Functions:: Adding to the definition of a function.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Obsolete Functions:: Declaring functions obsolete.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Inline Functions:: Defining functions that the compiler
|
2012-04-26 17:56:38 +00:00
|
|
|
|
will expand inline.
|
2012-09-30 09:18:38 +00:00
|
|
|
|
* Declare Form:: Adding additional information about a function.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Declaring Functions:: Telling the compiler that a function is defined.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Function Safety:: Determining whether a function is safe to call.
|
|
|
|
|
* Related Topics:: Cross-references to specific Lisp primitives
|
|
|
|
|
that have a special bearing on how
|
|
|
|
|
functions work.
|
|
|
|
|
|
|
|
|
|
Lambda Expressions
|
|
|
|
|
|
|
|
|
|
* Lambda Components:: The parts of a lambda expression.
|
|
|
|
|
* Simple Lambda:: A simple example.
|
|
|
|
|
* Argument List:: Details and special features of argument lists.
|
|
|
|
|
* Function Documentation:: How to put documentation in a function.
|
|
|
|
|
|
2015-12-19 11:04:36 +00:00
|
|
|
|
Advising Emacs Lisp Functions
|
|
|
|
|
|
|
|
|
|
* Core Advising Primitives:: Primitives to manipulate advice.
|
|
|
|
|
* Advising Named Functions:: Advising named functions.
|
2019-08-04 12:50:07 +00:00
|
|
|
|
* Advice Combinators:: Ways to compose advice.
|
|
|
|
|
* Porting Old Advice:: Adapting code using the old defadvice.
|
2022-05-14 02:06:32 +00:00
|
|
|
|
* Advice and Byte Code:: Not all functions can be advised.
|
2015-12-19 11:04:36 +00:00
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Macros
|
|
|
|
|
|
|
|
|
|
* Simple Macro:: A basic example.
|
|
|
|
|
* Expansion:: How, when and why macros are expanded.
|
|
|
|
|
* Compiling Macros:: How macros are expanded by the compiler.
|
|
|
|
|
* Defining Macros:: How to write a macro definition.
|
|
|
|
|
* Problems with Macros:: Don't evaluate the macro arguments too many times.
|
|
|
|
|
Don't hide the user's variables.
|
|
|
|
|
* Indenting Macros:: Specifying how to indent macro calls.
|
|
|
|
|
|
|
|
|
|
Common Problems Using Macros
|
|
|
|
|
|
|
|
|
|
* Wrong Time:: Do the work in the expansion, not in the macro.
|
|
|
|
|
* Argument Evaluation:: The expansion should evaluate each macro arg once.
|
|
|
|
|
* Surprising Local Vars:: Local variable bindings in the expansion
|
|
|
|
|
require special care.
|
|
|
|
|
* Eval During Expansion:: Don't evaluate them; put them in the expansion.
|
|
|
|
|
* Repeated Expansion:: Avoid depending on how many times expansion is done.
|
|
|
|
|
|
2012-04-26 17:56:38 +00:00
|
|
|
|
Customization Settings
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
* Common Keywords:: Common keyword arguments for all kinds of
|
|
|
|
|
customization declarations.
|
|
|
|
|
* Group Definitions:: Writing customization group definitions.
|
|
|
|
|
* Variable Definitions:: Declaring user options.
|
|
|
|
|
* Customization Types:: Specifying the type of a user option.
|
2012-04-12 14:50:58 +00:00
|
|
|
|
* Applying Customizations:: Functions to apply customization settings.
|
|
|
|
|
* Custom Themes:: Writing Custom themes.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Customization Types
|
|
|
|
|
|
2011-07-03 00:45:24 +00:00
|
|
|
|
* Simple Types:: Simple customization types: sexp, integer, etc.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Composite Types:: Build new types from other types or data.
|
|
|
|
|
* Splicing into Lists:: Splice elements into list with @code{:inline}.
|
|
|
|
|
* Type Keywords:: Keyword-argument pairs in a customization type.
|
|
|
|
|
* Defining New Types:: Give your type a name.
|
|
|
|
|
|
|
|
|
|
Loading
|
|
|
|
|
|
|
|
|
|
* How Programs Do Loading:: The @code{load} function and others.
|
|
|
|
|
* Load Suffixes:: Details about the suffixes that @code{load} tries.
|
|
|
|
|
* Library Search:: Finding a library to load.
|
|
|
|
|
* Loading Non-ASCII:: Non-@acronym{ASCII} characters in Emacs Lisp files.
|
|
|
|
|
* Autoload:: Setting up a function to autoload.
|
|
|
|
|
* Repeated Loading:: Precautions about loading a file twice.
|
|
|
|
|
* Named Features:: Loading a library if it isn't already loaded.
|
|
|
|
|
* Where Defined:: Finding which file defined a certain symbol.
|
2015-09-15 15:46:48 +00:00
|
|
|
|
* Unloading:: How to unload a library that was loaded.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Hooks for Loading:: Providing code to be run when
|
|
|
|
|
particular libraries are loaded.
|
2015-12-05 11:51:09 +00:00
|
|
|
|
* Dynamic Modules:: Modules provide additional Lisp primitives.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Byte Compilation
|
|
|
|
|
|
|
|
|
|
* Speed of Byte-Code:: An example of speedup from byte compilation.
|
|
|
|
|
* Compilation Functions:: Byte compilation functions.
|
|
|
|
|
* Docs and Compilation:: Dynamic loading of documentation strings.
|
|
|
|
|
* Eval During Compile:: Code to be evaluated when you compile.
|
|
|
|
|
* Compiler Errors:: Handling compiler error messages.
|
Use a dedicated type to represent interpreted-function values
Change `function` so that when evaluating #'(lambda ...)
we return an object of type `interpreted-function` rather than
a list starting with one of `lambda` or `closure`.
The new type reuses the existing PVEC_CLOSURE (nee PVEC_COMPILED)
tag and tries to align the corresponding elements:
- the arglist, the docstring, and the interactive-form go in the
same slots as for byte-code functions.
- the body of the function goes in the slot used for the bytecode string.
- the lexical context goes in the slot used for the constants of
bytecoded functions.
The first point above means that `help-function-arglist`,
`documentation`, and `interactive-form`s don't need to
distinguish interpreted and bytecode functions any more.
Main benefits of the change:
- We can now reliably distinguish a list from a function value.
- `cl-defmethod` can dispatch on `interactive-function` and `closure`.
Dispatch on `function` also works now for interpreted functions but still
won't work for functions represented as lists or as symbols, of course.
- Function values are now self-evaluating. That was alrready the case
when byte-compiled, but not when interpreted since
(eval '(closure ...)) signals a void-function error.
That also avoids false-positive warnings about "don't quote your lambdas"
when doing things like `(mapcar ',func ...)`.
* src/eval.c (Fmake_interpreted_closure): New function.
(Ffunction): Use it and change calling convention of
`Vinternal_make_interpreted_closure_function`.
(FUNCTIONP, Fcommandp, eval_sub, funcall_general, funcall_lambda)
(Ffunc_arity, lambda_arity): Simplify.
(funcall_lambda): Adjust to new representation.
(syms_of_eval): `defsubr` the new function. Remove definition of `Qclosure`.
* lisp/emacs-lisp/cconv.el (cconv-make-interpreted-closure):
Change calling convention and use `make-interpreted-closure`.
* src/data.c (Fcl_type_of): Distinguish `byte-code-function`s from
`interpreted-function`s.
(Fclosurep, finterpreted_function_p): New functions.
(Fbyte_code_function_p): Don't be confused by `interpreted-function`s.
(Finteractive_form, Fcommand_modes): Simplify.
(syms_of_data): Define new type symbols and `defsubr` the two
new functions.
* lisp/emacs-lisp/cl-print.el (cl-print-object) <interpreted-function>:
New method.
* lisp/emacs-lisp/oclosure.el (oclosure): Refine the parent
to be `closure`.
(oclosure--fix-type, oclosure-type): Simplify.
(oclosure--copy, oclosure--get, oclosure--set): Adjust to
new representation.
* src/callint.c (Fcall_interactively): Adjust to new representation.
* src/lread.c (bytecode_from_rev_list):
* lisp/simple.el (function-documentation):
* lisp/help.el (help-function-arglist): Remove the old `closure` case
and adjust the byte-code case so it handles `interpreted-function`s.
* lisp/emacs-lisp/cl-preloaded.el (closure): New type.
(byte-code-function): Add it as a parent.
(interpreted-function): Adjust parent (the type itself was already
added earlier by accident).
* lisp/emacs-lisp/bytecomp.el (byte-compile--reify-function): Adjust to
new representation.
(byte-compile): Use `interpreted-function-p`.
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Adjust to
new representation.
(side-effect-free-fns): Add `interpreted-function-p` and `closurep`.
* src/profiler.c (trace_hash, ffunction_equal): Simplify.
* lisp/profiler.el (profiler-function-equal): Simplify.
* lisp/emacs-lisp/nadvice.el (advice--interactive-form-1):
Use `interpreted-function-p`; adjust to new representation; and take
advantage of the fact that function values are now self-evaluating.
* lisp/emacs-lisp/lisp-mode.el (closure):
Remove `lisp-indent-function` property.
* lisp/emacs-lisp/disass.el (disassemble-internal): Adjust to
new representation.
* lisp/emacs-lisp/edebug.el (edebug--strip-instrumentation):
Use `interpreted-function-p`.
* lisp/emacs-lisp/comp-common.el (comp-known-type-specifiers):
Add `closurep` and `interpreted-function-p`.
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defun): Adjust to
more precise type info in `describe-function`.
* test/lisp/erc/resources/erc-d/erc-d-tests.el (erc-d--render-entries):
Use `interpreted-function-p`.
* test/lisp/emacs-lisp/macroexp-resources/vk.el (vk-f4, vk-f5):
Don't hardcode function values.
* doc/lispref/functions.texi (Anonymous Functions): Don't suggest that
function values are lists. Reword "self-quoting" to reflect the
fact that #' doesn't return the exact same object. Update examples
with the new shape of the return value.
* doc/lispref/variables.texi (Lexical Binding):
* doc/lispref/lists.texi (Rearrangement):
* doc/lispref/control.texi (Handling Errors): Update examples to reflect
new representation of function values.
2024-03-11 20:12:26 +00:00
|
|
|
|
* Closure Objects:: The data type used for byte-compiled functions.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Disassembly:: Disassembling byte-code; how to read byte-code.
|
|
|
|
|
|
2021-05-08 13:26:41 +00:00
|
|
|
|
Native Compilation
|
|
|
|
|
|
|
|
|
|
* Native-Compilation Functions:: Functions to natively-compile Lisp.
|
|
|
|
|
* Native-Compilation Variables:: Variables controlling native compilation.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Debugging Lisp Programs
|
|
|
|
|
|
2012-02-11 06:17:22 +00:00
|
|
|
|
* Debugger:: A debugger for the Emacs Lisp evaluator.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Edebug:: A source-level Emacs Lisp debugger.
|
|
|
|
|
* Syntax Errors:: How to find syntax errors.
|
|
|
|
|
* Test Coverage:: Ensuring you have tested all branches in your code.
|
2012-11-20 08:02:54 +00:00
|
|
|
|
* Profiling:: Measuring the resources that your code uses.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
The Lisp Debugger
|
|
|
|
|
|
|
|
|
|
* Error Debugging:: Entering the debugger when an error happens.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Infinite Loops:: Stopping and debugging a program that doesn't exit.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Function Debugging:: Entering it when a certain function is called.
|
2015-12-13 19:47:58 +00:00
|
|
|
|
* Variable Debugging:: Entering it when a variable is modified.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Explicit Debug:: Entering it at a certain point in the program.
|
2018-08-14 18:06:04 +00:00
|
|
|
|
* Using Debugger:: What the debugger does.
|
|
|
|
|
* Backtraces:: What you see while in the debugger.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Debugger Commands:: Commands used while in the debugger.
|
|
|
|
|
* Invoking the Debugger:: How to call the function @code{debug}.
|
|
|
|
|
* Internals of Debugger:: Subroutines of the debugger, and global variables.
|
|
|
|
|
|
|
|
|
|
Edebug
|
|
|
|
|
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Using Edebug:: Introduction to use of Edebug.
|
|
|
|
|
* Instrumenting:: You must instrument your code
|
|
|
|
|
in order to debug it with Edebug.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Edebug Execution Modes:: Execution modes, stopping more or less often.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Jumping:: Commands to jump to a specified place.
|
|
|
|
|
* Edebug Misc:: Miscellaneous commands.
|
|
|
|
|
* Breaks:: Setting breakpoints to make the program stop.
|
|
|
|
|
* Trapping Errors:: Trapping errors with Edebug.
|
|
|
|
|
* Edebug Views:: Views inside and outside of Edebug.
|
|
|
|
|
* Edebug Eval:: Evaluating expressions within Edebug.
|
|
|
|
|
* Eval List:: Expressions whose values are displayed
|
|
|
|
|
each time you enter Edebug.
|
|
|
|
|
* Printing in Edebug:: Customization of printing.
|
|
|
|
|
* Trace Buffer:: How to produce trace output in a buffer.
|
|
|
|
|
* Coverage Testing:: How to test evaluation coverage.
|
|
|
|
|
* The Outside Context:: Data that Edebug saves and restores.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Edebug and Macros:: Specifying how to handle macro calls.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Edebug Options:: Option variables for customizing Edebug.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
Breaks
|
|
|
|
|
|
|
|
|
|
* Breakpoints:: Breakpoints at stop points.
|
|
|
|
|
* Global Break Condition:: Breaking on an event.
|
|
|
|
|
* Source Breakpoints:: Embedding breakpoints in source code.
|
|
|
|
|
|
|
|
|
|
The Outside Context
|
|
|
|
|
|
|
|
|
|
* Checking Whether to Stop::When Edebug decides what to do.
|
|
|
|
|
* Edebug Display Update:: When Edebug updates the display.
|
|
|
|
|
* Edebug Recursive Edit:: When Edebug stops execution.
|
|
|
|
|
|
|
|
|
|
Edebug and Macros
|
|
|
|
|
|
|
|
|
|
* Instrumenting Macro Calls::The basic problem.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Specification List:: How to specify complex patterns of evaluation.
|
|
|
|
|
* Backtracking:: What Edebug does when matching fails.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Specification Examples:: To help understand specifications.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Debugging Invalid Lisp Syntax
|
|
|
|
|
|
|
|
|
|
* Excess Open:: How to find a spurious open paren or missing close.
|
|
|
|
|
* Excess Close:: How to find a spurious close paren or missing open.
|
|
|
|
|
|
|
|
|
|
Reading and Printing Lisp Objects
|
|
|
|
|
|
|
|
|
|
* Streams Intro:: Overview of streams, reading and printing.
|
|
|
|
|
* Input Streams:: Various data types that can be used as
|
|
|
|
|
input streams.
|
|
|
|
|
* Input Functions:: Functions to read Lisp objects from text.
|
|
|
|
|
* Output Streams:: Various data types that can be used as
|
|
|
|
|
output streams.
|
|
|
|
|
* Output Functions:: Functions to print Lisp objects as text.
|
|
|
|
|
* Output Variables:: Variables that control what the printing
|
|
|
|
|
functions do.
|
2022-05-15 13:29:28 +00:00
|
|
|
|
* Output Overrides:: Overriding output variables.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Minibuffers
|
|
|
|
|
|
|
|
|
|
* Intro to Minibuffers:: Basic information about minibuffers.
|
|
|
|
|
* Text from Minibuffer:: How to read a straight text string.
|
|
|
|
|
* Object from Minibuffer:: How to read a Lisp object or expression.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Minibuffer History:: Recording previous minibuffer inputs
|
|
|
|
|
so the user can reuse them.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Initial Input:: Specifying initial contents for the minibuffer.
|
|
|
|
|
* Completion:: How to invoke and customize completion.
|
|
|
|
|
* Yes-or-No Queries:: Asking a question with a simple answer.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Multiple Queries:: Asking a series of similar questions.
|
|
|
|
|
* Reading a Password:: Reading a password from the terminal.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Minibuffer Commands:: Commands used as key bindings in minibuffers.
|
|
|
|
|
* Minibuffer Windows:: Operating on the special minibuffer windows.
|
2012-04-19 06:04:05 +00:00
|
|
|
|
* Minibuffer Contents:: How such commands access the minibuffer text.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Recursive Mini:: Whether recursive entry to minibuffer is allowed.
|
2021-01-12 14:12:28 +00:00
|
|
|
|
* Inhibiting Interaction:: Running Emacs when no interaction is possible.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Minibuffer Misc:: Various customization hooks and variables.
|
|
|
|
|
|
|
|
|
|
Completion
|
|
|
|
|
|
|
|
|
|
* Basic Completion:: Low-level functions for completing strings.
|
|
|
|
|
* Minibuffer Completion:: Invoking the minibuffer with completion.
|
|
|
|
|
* Completion Commands:: Minibuffer commands that do completion.
|
|
|
|
|
* High-Level Completion:: Convenient special cases of completion
|
2012-04-20 01:37:14 +00:00
|
|
|
|
(reading buffer names, variable names, etc.).
|
2008-10-19 20:52:40 +00:00
|
|
|
|
* Reading File Names:: Using completion to read file names and
|
|
|
|
|
shell commands.
|
2012-04-04 09:19:32 +00:00
|
|
|
|
* Completion Variables:: Variables controlling completion behavior.
|
|
|
|
|
* Programmed Completion:: Writing your own completion function.
|
2012-02-15 13:45:02 +00:00
|
|
|
|
* Completion in Buffers:: Completing text in ordinary buffers.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Command Loop
|
|
|
|
|
|
|
|
|
|
* Command Overview:: How the command loop reads commands.
|
|
|
|
|
* Defining Commands:: Specifying how a function should read arguments.
|
|
|
|
|
* Interactive Call:: Calling a command, so that it will read arguments.
|
2007-10-12 04:52:52 +00:00
|
|
|
|
* Distinguish Interactive:: Making a command distinguish interactive calls.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Command Loop Info:: Variables set by the command loop for you to examine.
|
|
|
|
|
* Adjusting Point:: Adjustment of point after a command.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Input Events:: What input looks like when you read it.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Reading Input:: How to read input events from the keyboard or mouse.
|
|
|
|
|
* Special Events:: Events processed immediately and individually.
|
|
|
|
|
* Waiting:: Waiting for user input or elapsed time.
|
|
|
|
|
* Quitting:: How @kbd{C-g} works. How to catch or defer quitting.
|
|
|
|
|
* Prefix Command Arguments:: How the commands to set prefix args work.
|
|
|
|
|
* Recursive Editing:: Entering a recursive edit,
|
|
|
|
|
and why you usually shouldn't.
|
|
|
|
|
* Disabling Commands:: How the command loop handles disabled commands.
|
|
|
|
|
* Command History:: How the command history is set up, and how accessed.
|
|
|
|
|
* Keyboard Macros:: How keyboard macros are implemented.
|
|
|
|
|
|
|
|
|
|
Defining Commands
|
|
|
|
|
|
|
|
|
|
* Using Interactive:: General rules for @code{interactive}.
|
|
|
|
|
* Interactive Codes:: The standard letter-codes for reading arguments
|
|
|
|
|
in various ways.
|
|
|
|
|
* Interactive Examples:: Examples of how to read interactive arguments.
|
2021-08-16 20:55:50 +00:00
|
|
|
|
* Command Modes:: Specifying that commands are for a specific mode.
|
2014-02-28 01:49:25 +00:00
|
|
|
|
* Generic Commands:: Select among command alternatives.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Input Events
|
|
|
|
|
|
2015-03-17 23:55:02 +00:00
|
|
|
|
* Keyboard Events:: Ordinary characters -- keys with symbols on them.
|
|
|
|
|
* Function Keys:: Function keys -- keys with names, not symbols.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Mouse Events:: Overview of mouse events.
|
|
|
|
|
* Click Events:: Pushing and releasing a mouse button.
|
|
|
|
|
* Drag Events:: Moving the mouse before releasing the button.
|
|
|
|
|
* Button-Down Events:: A button was pushed and not yet released.
|
|
|
|
|
* Repeat Events:: Double and triple click (or drag, or down).
|
|
|
|
|
* Motion Events:: Just moving the mouse, not pushing a button.
|
|
|
|
|
* Focus Events:: Moving the mouse between frames.
|
|
|
|
|
* Misc Events:: Other events the system can generate.
|
|
|
|
|
* Event Examples:: Examples of the lists for mouse events.
|
|
|
|
|
* Classifying Events:: Finding the modifier keys in an event symbol.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
Event types.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Accessing Mouse:: Functions to extract info from mouse events.
|
2008-01-04 05:42:57 +00:00
|
|
|
|
* Accessing Scroll:: Functions to get info from scroll bar events.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Strings of Events:: Special considerations for putting
|
|
|
|
|
keyboard character events in a string.
|
|
|
|
|
|
|
|
|
|
Reading Input
|
|
|
|
|
|
|
|
|
|
* Key Sequence Input:: How to read one key sequence.
|
|
|
|
|
* Reading One Event:: How to read just one event.
|
|
|
|
|
* Event Mod:: How Emacs modifies events as they are read.
|
|
|
|
|
* Invoking the Input Method:: How reading an event uses the input method.
|
|
|
|
|
* Quoted Character Input:: Asking the user to specify a character.
|
|
|
|
|
* Event Input Misc:: How to reread or throw away input events.
|
|
|
|
|
|
|
|
|
|
Keymaps
|
|
|
|
|
|
|
|
|
|
* Key Sequences:: Key sequences as Lisp objects.
|
|
|
|
|
* Keymap Basics:: Basic concepts of keymaps.
|
|
|
|
|
* Format of Keymaps:: What a keymap looks like as a Lisp object.
|
|
|
|
|
* Creating Keymaps:: Functions to create and copy keymaps.
|
|
|
|
|
* Inheritance and Keymaps:: How one keymap can inherit the bindings
|
|
|
|
|
of another keymap.
|
|
|
|
|
* Prefix Keys:: Defining a key with a keymap as its definition.
|
|
|
|
|
* Active Keymaps:: How Emacs searches the active keymaps
|
|
|
|
|
for a key binding.
|
|
|
|
|
* Searching Keymaps:: A pseudo-Lisp summary of searching active maps.
|
|
|
|
|
* Controlling Active Maps:: Each buffer has a local keymap
|
|
|
|
|
to override the standard (global) bindings.
|
|
|
|
|
A minor mode can also override them.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Key Lookup:: Finding a key's binding in one keymap.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Functions for Key Lookup:: How to request key lookup.
|
|
|
|
|
* Changing Key Bindings:: Redefining a key in a keymap.
|
2021-11-16 07:23:53 +00:00
|
|
|
|
* Low-Level Key Binding:: Legacy key syntax description.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Remapping Commands:: A keymap can translate one command to another.
|
|
|
|
|
* Translation Keymaps:: Keymaps for translating sequences of events.
|
|
|
|
|
* Key Binding Commands:: Interactive interfaces for redefining keys.
|
|
|
|
|
* Scanning Keymaps:: Looking through all keymaps, for printing help.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Menu Keymaps:: Defining a menu as a keymap.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Menu Keymaps
|
|
|
|
|
|
|
|
|
|
* Defining Menus:: How to make a keymap that defines a menu.
|
|
|
|
|
* Mouse Menus:: How users actuate the menu with the mouse.
|
|
|
|
|
* Keyboard Menus:: How users actuate the menu with the keyboard.
|
|
|
|
|
* Menu Example:: Making a simple menu.
|
|
|
|
|
* Menu Bar:: How to customize the menu bar.
|
|
|
|
|
* Tool Bar:: A tool bar is a row of images.
|
|
|
|
|
* Modifying Menus:: How to add new items to a menu.
|
2012-10-24 03:48:50 +00:00
|
|
|
|
* Easy Menu:: A convenience macro for defining menus.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Defining Menus
|
|
|
|
|
|
2012-10-24 03:48:50 +00:00
|
|
|
|
* Simple Menu Items:: A simple kind of menu key binding.
|
|
|
|
|
* Extended Menu Items:: More complex menu item definitions.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Menu Separators:: Drawing a horizontal line through a menu.
|
|
|
|
|
* Alias Menu Items:: Using command aliases in menu items.
|
|
|
|
|
|
|
|
|
|
Major and Minor Modes
|
|
|
|
|
|
|
|
|
|
* Hooks:: How to use hooks; how to write code that provides hooks.
|
|
|
|
|
* Major Modes:: Defining major modes.
|
|
|
|
|
* Minor Modes:: Defining minor modes.
|
|
|
|
|
* Mode Line Format:: Customizing the text that appears in the mode line.
|
2011-08-29 22:02:21 +00:00
|
|
|
|
* Imenu:: Providing a menu of definitions made in a buffer.
|
2024-02-12 18:16:35 +00:00
|
|
|
|
* Outline Minor Mode:: Outline mode to use with other major modes.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Font Lock Mode:: How modes can highlight text according to syntax.
|
2012-02-16 14:43:41 +00:00
|
|
|
|
* Auto-Indentation:: How to teach Emacs to indent for a major mode.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Desktop Save Mode:: How modes can have buffer state saved between
|
|
|
|
|
Emacs sessions.
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
Hooks
|
|
|
|
|
|
|
|
|
|
* Running Hooks:: How to run a hook.
|
|
|
|
|
* Setting Hooks:: How to put functions on a hook, or remove them.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Major Modes
|
|
|
|
|
|
|
|
|
|
* Major Mode Conventions:: Coding conventions for keymaps, etc.
|
|
|
|
|
* Auto Major Mode:: How Emacs chooses the major mode automatically.
|
|
|
|
|
* Mode Help:: Finding out how to use a mode.
|
|
|
|
|
* Derived Modes:: Defining a new major mode based on another major
|
|
|
|
|
mode.
|
2011-08-29 22:02:21 +00:00
|
|
|
|
* Basic Major Modes:: Modes that other modes are often derived from.
|
2012-02-18 13:38:33 +00:00
|
|
|
|
* Mode Hooks:: Hooks run at the end of major mode functions.
|
|
|
|
|
* Tabulated List Mode:: Parent mode for buffers containing tabulated data.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Generic Modes:: Defining a simple major mode that supports
|
|
|
|
|
comment syntax and Font Lock mode.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Example Major Modes:: Text mode and Lisp modes.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Minor Modes
|
|
|
|
|
|
|
|
|
|
* Minor Mode Conventions:: Tips for writing a minor mode.
|
|
|
|
|
* Keymaps and Minor Modes:: How a minor mode can have its own keymap.
|
|
|
|
|
* Defining Minor Modes:: A convenient facility for defining minor modes.
|
|
|
|
|
|
|
|
|
|
Mode Line Format
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Mode Line Basics:: Basic ideas of mode line control.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Mode Line Data:: The data structure that controls the mode line.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Mode Line Top:: The top level variable, mode-line-format.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Mode Line Variables:: Variables used in that data structure.
|
|
|
|
|
* %-Constructs:: Putting information into a mode line.
|
|
|
|
|
* Properties in Mode:: Using text properties in the mode line.
|
|
|
|
|
* Header Lines:: Like a mode line, but at the top.
|
2024-06-09 00:23:58 +00:00
|
|
|
|
* Tab Lines:: A line that is above the header line.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Emulating Mode Line:: Formatting text as the mode line would.
|
|
|
|
|
|
|
|
|
|
Font Lock Mode
|
|
|
|
|
|
|
|
|
|
* Font Lock Basics:: Overview of customizing Font Lock.
|
|
|
|
|
* Search-based Fontification:: Fontification based on regexps.
|
|
|
|
|
* Customizing Keywords:: Customizing search-based fontification.
|
|
|
|
|
* Other Font Lock Variables:: Additional customization facilities.
|
|
|
|
|
* Levels of Font Lock:: Each mode can define alternative levels
|
|
|
|
|
so that the user can select more or less.
|
|
|
|
|
* Precalculated Fontification:: How Lisp programs that produce the buffer
|
|
|
|
|
contents can also specify how to fontify it.
|
|
|
|
|
* Faces for Font Lock:: Special faces specifically for Font Lock.
|
|
|
|
|
* Syntactic Font Lock:: Fontification based on syntax tables.
|
|
|
|
|
* Multiline Font Lock:: How to coerce Font Lock into properly
|
|
|
|
|
highlighting multiline constructs.
|
2022-10-22 15:48:42 +00:00
|
|
|
|
* Parser-based Font Lock:: Use parse data for fontification.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Multiline Font Lock Constructs
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Font Lock Multiline:: Marking multiline chunks with a text property.
|
2011-05-06 14:32:26 +00:00
|
|
|
|
* Region to Refontify:: Controlling which region gets refontified
|
2007-09-06 04:25:08 +00:00
|
|
|
|
after a buffer change.
|
|
|
|
|
|
2012-04-26 17:56:38 +00:00
|
|
|
|
Automatic Indentation of code
|
|
|
|
|
|
|
|
|
|
* SMIE:: A simple minded indentation engine.
|
2022-10-22 15:48:42 +00:00
|
|
|
|
* Parser-based Indentation:: Parser-based indentation engine.
|
2012-04-26 17:56:38 +00:00
|
|
|
|
|
|
|
|
|
Simple Minded Indentation Engine
|
|
|
|
|
|
|
|
|
|
* SMIE setup:: SMIE setup and features.
|
|
|
|
|
* Operator Precedence Grammars:: A very simple parsing technique.
|
|
|
|
|
* SMIE Grammar:: Defining the grammar of a language.
|
|
|
|
|
* SMIE Lexer:: Defining tokens.
|
|
|
|
|
* SMIE Tricks:: Working around the parser's limitations.
|
|
|
|
|
* SMIE Indentation:: Specifying indentation rules.
|
|
|
|
|
* SMIE Indentation Helpers:: Helper functions for indentation rules.
|
|
|
|
|
* SMIE Indentation Example:: Sample indentation rules.
|
2014-03-05 07:41:48 +00:00
|
|
|
|
* SMIE Customization:: Customizing indentation.
|
2012-04-26 17:56:38 +00:00
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Documentation
|
|
|
|
|
|
2012-02-19 05:54:33 +00:00
|
|
|
|
* Documentation Basics:: Where doc strings are defined and stored.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Accessing Documentation:: How Lisp programs can access doc strings.
|
|
|
|
|
* Keys in Documentation:: Substituting current key bindings.
|
2017-09-30 11:08:16 +00:00
|
|
|
|
* Text Quoting Style:: Quotation marks in doc strings and messages.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Describing Characters:: Making printable descriptions of
|
|
|
|
|
non-printing characters and key sequences.
|
|
|
|
|
* Help Functions:: Subroutines used by Emacs help facilities.
|
|
|
|
|
|
|
|
|
|
Files
|
|
|
|
|
|
|
|
|
|
* Visiting Files:: Reading files into Emacs buffers for editing.
|
|
|
|
|
* Saving Buffers:: Writing changed buffers back into files.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Reading from Files:: Reading files into buffers without visiting.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Writing to Files:: Writing new files from parts of buffers.
|
|
|
|
|
* File Locks:: Locking and unlocking files, to prevent
|
|
|
|
|
simultaneous editing by two people.
|
|
|
|
|
* Information about Files:: Testing existence, accessibility, size of files.
|
2012-02-21 13:24:48 +00:00
|
|
|
|
* Changing Files:: Renaming files, changing permissions, etc.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* File Names:: Decomposing and expanding file names.
|
|
|
|
|
* Contents of Directories:: Getting a list of the files in a directory.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Create/Delete Dirs:: Creating and Deleting Directories.
|
2012-02-21 13:24:48 +00:00
|
|
|
|
* Magic File Names:: Special handling for certain file names.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Format Conversion:: Conversion to and from various file formats.
|
|
|
|
|
|
|
|
|
|
Visiting Files
|
|
|
|
|
|
|
|
|
|
* Visiting Functions:: The usual interface functions for visiting.
|
|
|
|
|
* Subroutines of Visiting:: Lower-level subroutines that they use.
|
|
|
|
|
|
|
|
|
|
Information about Files
|
|
|
|
|
|
|
|
|
|
* Testing Accessibility:: Is a given file readable? Writable?
|
|
|
|
|
* Kinds of Files:: Is it a directory? A symbolic link?
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Truenames:: Eliminating symbolic links from a file name.
|
2014-01-05 23:36:13 +00:00
|
|
|
|
* File Attributes:: File sizes, modification times, etc.
|
|
|
|
|
* Extended Attributes:: Extended file attributes for access control.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Locating Files:: How to find a file in standard places.
|
|
|
|
|
|
|
|
|
|
File Names
|
|
|
|
|
|
|
|
|
|
* File Name Components:: The directory part of a file name, and the rest.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Relative File Names:: Some file names are relative to a current directory.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Directory Names:: A directory's name as a directory
|
|
|
|
|
is different from its name as a file.
|
|
|
|
|
* File Name Expansion:: Converting relative file names to absolute ones.
|
|
|
|
|
* Unique File Names:: Generating names for temporary files.
|
|
|
|
|
* File Name Completion:: Finding the completions for a given file name.
|
|
|
|
|
* Standard File Names:: If your package uses a fixed file name,
|
|
|
|
|
how to handle various operating systems simply.
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
File Format Conversion
|
|
|
|
|
|
2009-07-10 06:11:39 +00:00
|
|
|
|
* Format Conversion Overview:: @code{insert-file-contents} and @code{write-region}.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Format Conversion Round-Trip:: Using @code{format-alist}.
|
|
|
|
|
* Format Conversion Piecemeal:: Specifying non-paired conversion.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Backups and Auto-Saving
|
|
|
|
|
|
|
|
|
|
* Backup Files:: How backup files are made; how their names
|
|
|
|
|
are chosen.
|
|
|
|
|
* Auto-Saving:: How auto-save files are made; how their
|
|
|
|
|
names are chosen.
|
|
|
|
|
* Reverting:: @code{revert-buffer}, and how to customize
|
|
|
|
|
what it does.
|
|
|
|
|
|
|
|
|
|
Backup Files
|
|
|
|
|
|
|
|
|
|
* Making Backups:: How Emacs makes backup files, and when.
|
|
|
|
|
* Rename or Copy:: Two alternatives: renaming the old file
|
|
|
|
|
or copying it.
|
|
|
|
|
* Numbered Backups:: Keeping multiple backups for each source file.
|
|
|
|
|
* Backup Names:: How backup file names are computed; customization.
|
|
|
|
|
|
|
|
|
|
Buffers
|
|
|
|
|
|
|
|
|
|
* Buffer Basics:: What is a buffer?
|
|
|
|
|
* Current Buffer:: Designating a buffer as current
|
2009-07-10 05:23:59 +00:00
|
|
|
|
so that primitives will access its contents.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Buffer Names:: Accessing and changing buffer names.
|
|
|
|
|
* Buffer File Name:: The buffer file name indicates which file
|
|
|
|
|
is visited.
|
|
|
|
|
* Buffer Modification:: A buffer is @dfn{modified} if it needs to be saved.
|
|
|
|
|
* Modification Time:: Determining whether the visited file was changed
|
2015-09-15 15:46:48 +00:00
|
|
|
|
behind Emacs's back.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Read Only Buffers:: Modifying text is not allowed in a
|
|
|
|
|
read-only buffer.
|
2014-03-07 15:11:12 +00:00
|
|
|
|
* Buffer List:: How to look at all the existing buffers.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Creating Buffers:: Functions that create buffers.
|
|
|
|
|
* Killing Buffers:: Buffers exist until explicitly killed.
|
|
|
|
|
* Indirect Buffers:: An indirect buffer shares text with some
|
|
|
|
|
other buffer.
|
2008-10-21 10:07:06 +00:00
|
|
|
|
* Swapping Text:: Swapping text between two buffers.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Buffer Gap:: The gap in the buffer.
|
|
|
|
|
|
|
|
|
|
Windows
|
|
|
|
|
|
|
|
|
|
* Basic Windows:: Basic information on using windows.
|
2011-09-23 09:12:53 +00:00
|
|
|
|
* Windows and Frames:: Relating windows to the frame they appear on.
|
2021-10-18 07:58:48 +00:00
|
|
|
|
* Selecting Windows:: The selected window is the one that you edit in.
|
2011-09-23 09:12:53 +00:00
|
|
|
|
* Window Sizes:: Accessing a window's size.
|
|
|
|
|
* Resizing Windows:: Changing the sizes of windows.
|
2014-12-19 10:27:43 +00:00
|
|
|
|
* Preserving Window Sizes:: Preserving the size of windows.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Splitting Windows:: Splitting one window into two windows.
|
|
|
|
|
* Deleting Windows:: Deleting a window gives its space to other windows.
|
2012-11-07 09:41:52 +00:00
|
|
|
|
* Recombining Windows:: Preserving the frame layout when splitting and
|
|
|
|
|
deleting windows.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Cyclic Window Ordering:: Moving around the existing windows.
|
|
|
|
|
* Buffers and Windows:: Each window displays the contents of a buffer.
|
2011-09-24 22:49:32 +00:00
|
|
|
|
* Switching Buffers:: Higher-level functions for switching to a buffer.
|
2018-11-04 08:15:13 +00:00
|
|
|
|
* Displaying Buffers:: Displaying a buffer in a suitable window.
|
2011-09-24 22:49:32 +00:00
|
|
|
|
* Window History:: Each window remembers the buffers displayed in it.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Dedicated Windows:: How to avoid displaying another buffer in
|
2011-09-23 09:12:53 +00:00
|
|
|
|
a specific window.
|
2011-09-25 15:08:25 +00:00
|
|
|
|
* Quitting Windows:: How to restore the state prior to displaying a
|
|
|
|
|
buffer.
|
Document and fix some bugs with side windows
Add a documentation for side windows and fix some bugs
found when testing their behavior. Also add a new window
parameter `no-delete-other-window', a new `display-buffer'
alist member called `window-parameters', and functions to
toggle and reverse side windows on a frame. Add new function
`window-swap-states' to exchange states of two live windows.
* lisp/window.el (display-buffer-in-atom-window): Use
`split-window-no-error'.
(window-sides-vertical): Maybe change layouts when setting this
variable.
(window-sides-reversed): New option.
(window-sides-slots): Rewrite doc-string and help echoes.
(window-sides-shown): New buffer-local variable set when showing
a buffer in a side window.
(window--sides-inhibit-check): New variable.
(window--sides-reverse-on-frame-p, window-toggle-side-windows)
(window--sides-reverse-all, window--sides-reverse-frame)
(window--sides-reverse-side, window--sides-reverse)
(window--sides-verticalize-frame, window--sides-verticalize)
(window--sides-check-failed): New functions.
(window--side-window-p): Remove function.
(window--major-non-side-window): Rename to `window-main-window',
adjust callers, rewrite doc-string.
(window--major-side-window): Rename to
`window--make-major-side-window-next-to', adjust caller, fix
doc-string.
(display-buffer-in-major-side-window): Rename to
`window--make-major-side-window', adjust
caller, rewrite doc-string. Make `window-side' and
`window-slot' parameters persistent (Bug#23858). Don't set
`delete-window' parameter. Add `preserve-size' entry to ALIST.
(delete-side-window): Remove function.
(display-buffer-in-side-window): Fix doc-string. Don't set
`delete-window' parameter. Add `preserve-size' entry to ALIST.
(window--side-check): Rename to window--sides-check. Rewrite
completely. Adjust caller.
(window-resize-no-error): Don't describe PIXELWISE argument.
(adjust-window-trailing-edge): Fix bug that disallowed
re-enlarging windows that were too small.
(window-deletable-p): Don't tell that a minibuffer window on a
non-minibuffer-only frame can be deleted. Fix doc-string.
(delete-window): Handle deleting a side window here (the
`delete-window' parameter is no more set for side windows).
(delete-other-windows): Handle ‘no-delete-other-window'
parameter. Don't treat side windows separately (see discussion
of Bug#24368) but keep optimization that makes the main window
the root window of its frame.
(switch-to-prev-buffer, switch-to-next-buffer): Handle side
windows and buffers shown in side windows separately.
(split-window-no-error): New function.
(window--state-get-1): Use right buffer when storing window
point and start positions and WRITABLE is nil (Bug#24368).
(window--state-put-1): Fix handling of `window-combination-limit'.
Use `split-window-no-error'.
(window--state-put-2): Try to restore windows with preserved
size to their original size. Fix bug where a fixed window's width
was not preserved.
(window-state-put): When reducing an internal window to a live
one, don't choose a side window.
(window-swap-states): New function.
(window-splittable-p): Don't call `window--side-window-p'.
(window--display-buffer): Handle `window-parameters' ALIST entry.
Minor rewrite.
(display-buffer): Mention `window-parameters' entry in
doc-string.
(display-buffer-at-bottom): Call `split-window-no-error'.
* doc/lispref/elisp.texi (Top): New section "Side Windows".
* doc/lispref/windows.texi (Deleting Windows): Fix descriptions
of `delete-window' and `delete-other-windows' wrt window
parameters and side windows.
(Display Action Functions): Mention `window-parameters' ALIST
entry.
(Side Windows): New section (Bug#18170).
(Window Configurations): Describe new function `window-swap-states'.
(Window Parameters): Say that functions may behave specially when
their homonymous window parameter has been set. Mention new
parameter `no-delete-other-window'. Add cross reference for
`window-side' and `window-slot' parameters.
2016-10-05 08:28:36 +00:00
|
|
|
|
* Side Windows:: Special windows on a frame's sides.
|
2016-10-17 06:57:24 +00:00
|
|
|
|
* Atomic Windows:: Preserving parts of the window layout.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Window Point:: Each window has its own location of point.
|
2008-11-07 13:13:05 +00:00
|
|
|
|
* Window Start and End:: Buffer positions indicating which text is
|
|
|
|
|
on-screen in a window.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Textual Scrolling:: Moving text up and down through the window.
|
|
|
|
|
* Vertical Scrolling:: Moving the contents up and down on the window.
|
|
|
|
|
* Horizontal Scrolling:: Moving the contents sideways on the window.
|
|
|
|
|
* Coordinates and Windows:: Converting coordinates to windows.
|
2017-04-13 15:45:12 +00:00
|
|
|
|
* Mouse Window Auto-selection:: Automatically selecting windows with the mouse.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Window Configurations:: Saving and restoring the state of the screen.
|
2008-11-07 13:13:05 +00:00
|
|
|
|
* Window Parameters:: Associating additional information with windows.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Window Hooks:: Hooks for scrolling, window size changes,
|
|
|
|
|
redisplay going past a certain point,
|
|
|
|
|
or window configuration changes.
|
|
|
|
|
|
2018-11-04 08:15:13 +00:00
|
|
|
|
Displaying Buffers
|
|
|
|
|
|
|
|
|
|
* Choosing Window:: How to choose a window for displaying a buffer.
|
|
|
|
|
* Buffer Display Action Functions:: Support functions for buffer display.
|
|
|
|
|
* Buffer Display Action Alists:: Alists for fine-tuning buffer display
|
|
|
|
|
action functions.
|
|
|
|
|
* Choosing Window Options:: Extra options affecting how buffers are displayed.
|
|
|
|
|
* Precedence of Action Functions:: A tutorial explaining the precedence of
|
|
|
|
|
buffer display action functions.
|
|
|
|
|
* The Zen of Buffer Display:: How to avoid that buffers get lost in between
|
|
|
|
|
windows.
|
|
|
|
|
|
Document and fix some bugs with side windows
Add a documentation for side windows and fix some bugs
found when testing their behavior. Also add a new window
parameter `no-delete-other-window', a new `display-buffer'
alist member called `window-parameters', and functions to
toggle and reverse side windows on a frame. Add new function
`window-swap-states' to exchange states of two live windows.
* lisp/window.el (display-buffer-in-atom-window): Use
`split-window-no-error'.
(window-sides-vertical): Maybe change layouts when setting this
variable.
(window-sides-reversed): New option.
(window-sides-slots): Rewrite doc-string and help echoes.
(window-sides-shown): New buffer-local variable set when showing
a buffer in a side window.
(window--sides-inhibit-check): New variable.
(window--sides-reverse-on-frame-p, window-toggle-side-windows)
(window--sides-reverse-all, window--sides-reverse-frame)
(window--sides-reverse-side, window--sides-reverse)
(window--sides-verticalize-frame, window--sides-verticalize)
(window--sides-check-failed): New functions.
(window--side-window-p): Remove function.
(window--major-non-side-window): Rename to `window-main-window',
adjust callers, rewrite doc-string.
(window--major-side-window): Rename to
`window--make-major-side-window-next-to', adjust caller, fix
doc-string.
(display-buffer-in-major-side-window): Rename to
`window--make-major-side-window', adjust
caller, rewrite doc-string. Make `window-side' and
`window-slot' parameters persistent (Bug#23858). Don't set
`delete-window' parameter. Add `preserve-size' entry to ALIST.
(delete-side-window): Remove function.
(display-buffer-in-side-window): Fix doc-string. Don't set
`delete-window' parameter. Add `preserve-size' entry to ALIST.
(window--side-check): Rename to window--sides-check. Rewrite
completely. Adjust caller.
(window-resize-no-error): Don't describe PIXELWISE argument.
(adjust-window-trailing-edge): Fix bug that disallowed
re-enlarging windows that were too small.
(window-deletable-p): Don't tell that a minibuffer window on a
non-minibuffer-only frame can be deleted. Fix doc-string.
(delete-window): Handle deleting a side window here (the
`delete-window' parameter is no more set for side windows).
(delete-other-windows): Handle ‘no-delete-other-window'
parameter. Don't treat side windows separately (see discussion
of Bug#24368) but keep optimization that makes the main window
the root window of its frame.
(switch-to-prev-buffer, switch-to-next-buffer): Handle side
windows and buffers shown in side windows separately.
(split-window-no-error): New function.
(window--state-get-1): Use right buffer when storing window
point and start positions and WRITABLE is nil (Bug#24368).
(window--state-put-1): Fix handling of `window-combination-limit'.
Use `split-window-no-error'.
(window--state-put-2): Try to restore windows with preserved
size to their original size. Fix bug where a fixed window's width
was not preserved.
(window-state-put): When reducing an internal window to a live
one, don't choose a side window.
(window-swap-states): New function.
(window-splittable-p): Don't call `window--side-window-p'.
(window--display-buffer): Handle `window-parameters' ALIST entry.
Minor rewrite.
(display-buffer): Mention `window-parameters' entry in
doc-string.
(display-buffer-at-bottom): Call `split-window-no-error'.
* doc/lispref/elisp.texi (Top): New section "Side Windows".
* doc/lispref/windows.texi (Deleting Windows): Fix descriptions
of `delete-window' and `delete-other-windows' wrt window
parameters and side windows.
(Display Action Functions): Mention `window-parameters' ALIST
entry.
(Side Windows): New section (Bug#18170).
(Window Configurations): Describe new function `window-swap-states'.
(Window Parameters): Say that functions may behave specially when
their homonymous window parameter has been set. Mention new
parameter `no-delete-other-window'. Add cross reference for
`window-side' and `window-slot' parameters.
2016-10-05 08:28:36 +00:00
|
|
|
|
Side Windows
|
|
|
|
|
|
|
|
|
|
* Displaying Buffers in Side Windows:: An action function for displaying
|
|
|
|
|
buffers in side windows.
|
|
|
|
|
* Side Window Options and Functions:: Further tuning of side windows.
|
|
|
|
|
* Frame Layouts with Side Windows:: Setting up frame layouts with side
|
|
|
|
|
windows.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Frames
|
|
|
|
|
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Creating Frames:: Creating additional frames.
|
2009-04-04 22:34:23 +00:00
|
|
|
|
* Multiple Terminals:: Displaying on several different devices.
|
2015-08-20 16:09:24 +00:00
|
|
|
|
* Frame Geometry:: Geometric properties of frames.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Frame Parameters:: Controlling frame size, position, font, etc.
|
2009-01-17 16:33:55 +00:00
|
|
|
|
* Terminal Parameters:: Parameters common for all frames on terminal.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Frame Titles:: Automatic updating of frame titles.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Deleting Frames:: Frames last until explicitly deleted.
|
|
|
|
|
* Finding All Frames:: How to examine all existing frames.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Minibuffers and Frames:: How a frame finds the minibuffer to use.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Input Focus:: Specifying the selected frame.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Visibility of Frames:: Frames may be visible or invisible, or icons.
|
2017-04-13 15:45:12 +00:00
|
|
|
|
* Raising and Lowering:: Raising, Lowering and Restacking Frames.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Frame Configurations:: Saving the state of all frames.
|
2017-04-13 15:45:12 +00:00
|
|
|
|
* Child Frames:: Making a frame the child of another.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Mouse Tracking:: Getting events that say when the mouse moves.
|
|
|
|
|
* Mouse Position:: Asking where the mouse is, or moving it.
|
|
|
|
|
* Pop-Up Menus:: Displaying a menu for the user to select from.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Dialog Boxes:: Displaying a box to ask yes or no.
|
|
|
|
|
* Pointer Shape:: Specifying the shape of the mouse pointer.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Window System Selections::Transferring text to and from other X clients.
|
2023-04-08 01:35:19 +00:00
|
|
|
|
* Accessing Selections:: The multiple different kinds of selections.
|
2021-11-06 20:59:22 +00:00
|
|
|
|
* Yanking Media:: Yanking things that aren't plain text.
|
2017-04-13 15:45:12 +00:00
|
|
|
|
* Drag and Drop:: Internals of Drag-and-Drop implementation.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Color Names:: Getting the definitions of color names.
|
Update Frames chapter of Lisp manager. Document clipboard manager.
* doc/emacs/killing.texi (Clipboard): Document clipboard manager.
* doc/lispref/windows.texi (Basic Windows, Coordinates and Windows)
(Coordinates and Windows):
* display.texi (Refresh Screen, Line Height, Face Attributes)
(Overlay Arrow, Beeping, Glyphless Chars): Likewise.
* doc/lispref/frames.texi (Frames): Remove little-used "terminal frame" and
"window frame" terminology.
(Frame Parameters, Font and Color Parameters, Initial Parameters)
(Size and Position, Visibility of Frames): Callers changed.
(Frames): Clarify which terminals in framep are graphical.
(Initial Parameters): --geometry is not the only option which adds
to initial-frame-alist.
(Position Parameters): Note that icon-left and icon-top are for
old window managers only.
(Size Parameters): Sizes are in characters even on graphical
displays.
(Management Parameters): Note that window-id and outer-window-id
can't really be changed, and that auto-raise isn't always obeyed.
(Cursor Parameters): Document cursor-type explicitly.
(Size and Position): The aliases set-screen-height and
set-screen-width have been deleted.
(Visibility of Frames): Mention "minimization".
* doc/lispref/os.texi (Startup Summary): Minor clarifications.
(Startup Summary, Suspending Emacs): Standardize on "text
terminal" terminology.
2012-03-04 06:50:18 +00:00
|
|
|
|
* Text Terminal Colors:: Defining colors for text terminals.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Resources:: Getting resource values from the server.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Display Feature Testing:: Determining the features of a terminal.
|
|
|
|
|
|
2015-08-20 16:09:24 +00:00
|
|
|
|
Frame Geometry
|
|
|
|
|
|
|
|
|
|
* Frame Layout:: Basic layout of frames.
|
|
|
|
|
* Frame Font:: The default font of a frame and how to set it.
|
2017-04-13 15:45:12 +00:00
|
|
|
|
* Frame Position:: The position of a frame on its display.
|
|
|
|
|
* Frame Size:: Specifying and retrieving a frame's size.
|
2015-08-20 16:09:24 +00:00
|
|
|
|
* Implied Frame Resizing:: Implied resizing of frames and how to prevent it.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Frame Parameters
|
|
|
|
|
|
|
|
|
|
* Parameter Access:: How to change a frame's parameters.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Initial Parameters:: Specifying frame parameters when you make a frame.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Window Frame Parameters:: List of frame parameters for window systems.
|
|
|
|
|
* Geometry:: Parsing geometry specifications.
|
|
|
|
|
|
|
|
|
|
Window Frame Parameters
|
|
|
|
|
|
|
|
|
|
* Basic Parameters:: Parameters that are fundamental.
|
|
|
|
|
* Position Parameters:: The position of the frame on the screen.
|
|
|
|
|
* Size Parameters:: Frame's size.
|
|
|
|
|
* Layout Parameters:: Size of parts of the frame, and
|
|
|
|
|
enabling or disabling some parts.
|
|
|
|
|
* Buffer Parameters:: Which buffers have been or should be shown.
|
2017-04-13 15:45:12 +00:00
|
|
|
|
* Frame Interaction Parameters:: Parameters for interacting with other
|
|
|
|
|
frames.
|
Provide additional support for child frames
Provide mouse dragging and resizing of frames. Allow resizing
frames proportionally. Provide additional functionality for
child frames. Minor bug fixes.
* lisp/frame.el (frame-border-width, frame-pixel-width)
(frame-pixel-height): Alias to `frame-internal-border-width',
`frame-native-width' and `frame-native-height'.
(frame-inner-width, frame-inner-height, frame-outer-width)
(frame-outer-height): New functions.
* lisp/minibuffer.el (completion-auto-help): Fix typo.
* lisp/mouse.el (mouse-drag-line, mouse-drag-mode-line)
(mouse-drag-header-line): Allow moving a frame by dragging the
mode line of its bottommost window (on a minibuffer-less frame)
or the header line of its topmost window.
(mouse-drag-vertical-line): Mention argument in doc-string.
(mouse-resize-frame, mouse-drag-frame, mouse-drag-left-edge)
(mouse-drag-top-left-corner, mouse-drag-top-edge)
(mouse-drag-top-right-corner, mouse-drag-right-edge)
(mouse-drag-bottom-right-corner, mouse-drag-bottom-edge)
(mouse-drag-bottom-left-corner): New functions for resizing a
frame by dragging its internal border together with
corresponding key bindings.
* lisp/tooltip.el (tooltip-frame-parameters): Add
'no-special-glyphs' to default parameters and update version
tag.
* lisp/window.el (frame-auto-hide-function): Add choice to make
frame invisible and update version tag.
(window--delete): Handle 'auto-hide-function' frame parameter.
(window--maybe-raise-frame): Respect 'no-focus-on-map' and
'no-accept-focus' frame parameters.
(display-buffer--action-function-custom-type): Add
`display-buffer-in-child-frame'.
(display-buffer): Mention `display-buffer-in-child-frame' in
doc-string.
(display-buffer-in-child-frame): New action function for
`display-buffer'.
(window--sanitize-margin): Return zero when MARGIN cannot be
sanitized.
(fit-frame-to-buffer): Major rewrite to handle child frames and
'fit-frame-to-buffer-sizes' and 'fit-frame-to-buffer-margins'
frame parameters.
(window-largest-empty-rectangle--maximums-1)
(window-largest-empty-rectangle--maximums)
(window-largest-empty-rectangle--disjoint-maximums)
(window-largest-empty-rectangle): New functions.
* src/dispextern.h (WINDOW_WANTS_MODELINE_P)
(WINDOW_WANTS_HEADER_LINE_P): Remove. Functionality is now
provided by corresponding functions window_wants_modeline and
window_wants_header_line in window.c. Adjust users.
* src/dispnew.c (adjust_glyph_matrix)
(buffer_posn_from_coords): Use window_wants_modeline and
window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
WINDOW_WANTS_HEADER_LINE_P.
* src/frame.c (keep_ratio): New function.
(adjust_frame_size): Call keep_ratio for each of F's child
frames.
(make_frame): Initialize no_special_glyphs slot.
(frame_internal_border_part): New function.
(Fframe_pixel_width, Fframe_pixel_height, Fborder_width): Rename
to Fframe_native_width, Fframe_native_height mand
Fframe_internal_border_width.
(frame_parm_table): Add Qno_special_glyphs entry.
(frame_float_type): New enumeration type.
(frame_float): New function to handle frame size and position
ratios.
(x_set_frame_parameters): Handle size and position ratios.
(x_set_no_special_glyphs): New function
(x_figure_window_size): Handle size and position ratios.
(syms_of_frame): Add Qdisplay_monitor_attributes_list,
Qno_special_glyphs, Qframe_edges, Qkeep_ratio, Qwidth_only,
Qheight_only, Qleft_only and Qtop_only.
* src/frame.h (internal_border_part): New enumeration type.
(struct frame): New slot no_special_glyphs.
(FRAME_NO_SPECIAL_GLYPHS): New macro.
* src/gtkutil.c (xg_frame_restack): Return immediately for
GTK versions before 2.18.0.
* src/keyboard.c (internal_border_parts): New array constant.
(make_lispy_position): For frames with border dragging enabled
return internal border part.
(syms_of_keyboard): New symbols Qdrag_internal_border,
Qleft_edge, Qtop_left_corner, Qtop_edge, Qtop_right_corner,
Qright_edge, Qbottom_right_corner, Qbottom_edge and
Qbottom_left_corner.
* src/minibuf.c (read_minibuf_unwind): When exiting the
minibuffer deal with frames that have the 'minibuffer-exit'
parameter set.
(syms_of_minibuf): New symbol Qminibuffer_exit.
* src/nsfns.m (frame_parm_handler): Add entry for
x_set_no_special_glyphs.
(Fx_create_frame): Handle 'no-special-glyphs' parameter.
Intitialize new cursor types for dragging frame borders.
* src/nsterm.h (struct ns_output): Add new cursor types for
dragging frame borders.
* src/w32fns.c (w32_frame_parm_handlers): Add entry for
x_set_no_special_glyphs.
(Fx_create_frame): Handle 'no-special-glyphs' parameter.
Intitialize new cursor types for dragging frame borders.
* src/w32term.h (struct w32_output): Add new cursor types for
dragging frame borders.
* src/window.c (coordinates_in_window)
(Fwindow_line_height, window_internal_height): Use
window_wants_modeline and window_wants_header_line instead of
WINDOW_WANTS_MODELINE_P and WINDOW_WANTS_HEADER_LINE_P.
(Fwindow_lines_pixel_dimensions): New function.
(window_parameter): New function.
(Fwindow_parameter): Call window_parameter.
(window_wants_mode_line, window_wants_header_line): New
functions replacing the macros WINDOW_WANTS_MODELINE_P and
WINDOW_WANTS_HEADER_LINE_P from dispextern.h.
(syms_of_window): New symbols Qmode_line_format and
Qheader_line_format.
* src/window.h: Reorganize and re-comment macros. Use
window_wants_modeline and window_wants_header_line instead of
WINDOW_WANTS_MODELINE_P and WINDOW_WANTS_HEADER_LINE_P.
(MINI_NON_ONLY_WINDOW_P, MINI_ONLY_WINDOW_P): Minor rewrite.
(WINDOW_BUFFER): New macro.
(WINDOW_BOX_LEFT_EDGE_COL, WINDOW_BOX_RIGHT_EDGE_COL): Remove.
* src/xdisp.c (window_text_bottom_y, window_box_height)
(window_box, start_display)
(compute_window_start_on_continuation_line)
(try_cursor_movement, redisplay_window)
(try_window_reusing_current_matrix, try_window_id)
(display_line, expose_window): Use window_wants_modeline and
window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
WINDOW_WANTS_HEADER_LINE_P.
(pos_visible_p, display_mode_lines): Respect W's
'mode-line-format' and 'header-line-format' window parameters.
(init_iterator): Use window_wants_modeline and
window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
WINDOW_WANTS_HEADER_LINE_P. For tip frames respect
no_special_glyphs value.
(note_mouse_highlight): Set frame border cursors when on
internal border.
(x_draw_right_divider, x_draw_bottom_divider): Try to improve
drawing of window dividers.
* src/xfns.c (mouse_cursor): Add entries for border parts.
(mouse_cursor_types): Add entries for cursor types to drag
frame borders.
(INSTALL_CURSOR): Add entries for new cursor types to drag
frame borders.
(Fx_create_frame): Handle 'no-special-glyphs' parameter.
(x_frame_parm_handlers): Add entry for
x_set_no_special_glyphs.
(Vx_window_left_edge_shape, Vx_window_top_left_corner_shape)
(Vx_window_top_edge_shape, Vx_window_top_right_corner_shape)
(Vx_window_right_edge_shape)
(Vx_window_bottom_right_corner_shape)
(Vx_window_bottom_edge_shape)
(Vx_window_bottom_left_corner_shape): New variables.
(x_frame_restack): Call xg_frame_restack only for GTK versions
starting with 2.18.0.
* src/xterm.c (x_free_frame_resources): Remove new cursors for
dragging frame borders.
* src/xterm.h (struct x_output): Add new cursor types for
dragging frame borders.
* doc/lispref/display.texi (Size of Displayed Text): Document
`window-lines-pixel-dimensions'.
* doc/lispref/elisp.texi (Top): Add entry for "Mouse Dragging
Parameters".
* doc/lispref/frames.texi (Frame Size): Replace
frame-pixel-width/-height by frame-native-width/-height. Add
frame-inner-width/-height and frame-outer-width/-height docs.
(Position Parameters): Describe specifying position as ratios.
Clarify remark about positions relative to bottom/ridge display
edge.
(Size Parameters): Describe specifying sizes as ratios.
Describe 'fit-frame-to-buffer-margins' and
'fit-frame-to-buffer-sizes' parameters.
(Layout Parameters): Describe 'no-special-glyphs' parameter.
(Frame Interaction Parameters): Describe 'auto-hide-function',
'minibuffer-exit' and 'keep-ratio' parameters.
(Mouse Dragging Parameters): New section describing
'drag-internal-border', 'drag-with-header-line',
'drag-with-mode-line', 'snap-width', 'top-visible' and
'bottom-visible' parameters.
(Management Parameters): Mention that `override-redirect' has
no effect on MS Windows.
(Font and Color Parameters): Mention child frames for `alpha'
parameter.
(Child Frames): Rewrite section with description and cross
references to new frame parameters added.
* doc/lispref/modes.texi (Mode Line Basics): Mention
'mode-line-format' and 'header-line-format' window parameters.
* doc/lispref/windows.texi (Resizing Windows): Mention effect
of `fit-frame-to-buffer-margins' for child frames.
(Display Action Functions): New action function
`display-buffer-in-child-frame'.
(Quitting Windows): Mention `make-frame-invisible' as optional
value of `frame-auto-hide-function' and `auto-hide-function'
frame paameter.
(Coordinates and Windows): Describe new function
`window-largest-empty-rectangle'.
(Window Parameters): Describe new parameters 'mode-line-format'
and 'header-line-format'. Index all window parameters described
in this section.
2017-06-25 09:33:25 +00:00
|
|
|
|
* Mouse Dragging Parameters:: Parameters for resizing and moving
|
|
|
|
|
frames with the mouse.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Management Parameters:: Communicating with the window manager.
|
|
|
|
|
* Cursor Parameters:: Controlling the cursor appearance.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Font and Color Parameters:: Fonts and colors for the frame text.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Positions
|
|
|
|
|
|
|
|
|
|
* Point:: The special position where editing takes place.
|
|
|
|
|
* Motion:: Changing point.
|
|
|
|
|
* Excursions:: Temporary motion and buffer changes.
|
|
|
|
|
* Narrowing:: Restricting editing to a portion of the buffer.
|
|
|
|
|
|
|
|
|
|
Motion
|
|
|
|
|
|
|
|
|
|
* Character Motion:: Moving in terms of characters.
|
|
|
|
|
* Word Motion:: Moving in terms of words.
|
|
|
|
|
* Buffer End Motion:: Moving to the beginning or end of the buffer.
|
|
|
|
|
* Text Lines:: Moving in terms of lines of text.
|
|
|
|
|
* Screen Lines:: Moving in terms of lines as displayed.
|
|
|
|
|
* List Motion:: Moving by parsing lists and sexps.
|
|
|
|
|
* Skipping Characters:: Skipping characters belonging to a certain set.
|
|
|
|
|
|
|
|
|
|
Markers
|
|
|
|
|
|
|
|
|
|
* Overview of Markers:: The components of a marker, and how it relocates.
|
|
|
|
|
* Predicates on Markers:: Testing whether an object is a marker.
|
|
|
|
|
* Creating Markers:: Making empty markers or markers at certain places.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Information from Markers::Finding the marker's buffer or character position.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Marker Insertion Types:: Two ways a marker can relocate when you
|
|
|
|
|
insert where it points.
|
|
|
|
|
* Moving Markers:: Moving the marker to a new buffer or position.
|
2015-09-15 15:46:48 +00:00
|
|
|
|
* The Mark:: How the mark is implemented with a marker.
|
|
|
|
|
* The Region:: How to access the region.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Text
|
|
|
|
|
|
|
|
|
|
* Near Point:: Examining text in the vicinity of point.
|
|
|
|
|
* Buffer Contents:: Examining text in a general fashion.
|
|
|
|
|
* Comparing Text:: Comparing substrings of buffers.
|
|
|
|
|
* Insertion:: Adding new text to a buffer.
|
|
|
|
|
* Commands for Insertion:: User-level commands to insert text.
|
|
|
|
|
* Deletion:: Removing text from a buffer.
|
|
|
|
|
* User-Level Deletion:: User-level commands to delete text.
|
|
|
|
|
* The Kill Ring:: Where removed text sometimes is saved for
|
|
|
|
|
later use.
|
|
|
|
|
* Undo:: Undoing changes to the text of a buffer.
|
|
|
|
|
* Maintaining Undo:: How to enable and disable undo information.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
How to control how much information is kept.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Filling:: Functions for explicit filling.
|
|
|
|
|
* Margins:: How to specify margins for filling commands.
|
|
|
|
|
* Adaptive Fill:: Adaptive Fill mode chooses a fill prefix
|
|
|
|
|
from context.
|
|
|
|
|
* Auto Filling:: How auto-fill mode is implemented to break lines.
|
|
|
|
|
* Sorting:: Functions for sorting parts of the buffer.
|
|
|
|
|
* Columns:: Computing horizontal positions, and using them.
|
|
|
|
|
* Indentation:: Functions to insert or adjust indentation.
|
|
|
|
|
* Case Changes:: Case conversion of parts of the buffer.
|
|
|
|
|
* Text Properties:: Assigning Lisp property lists to text characters.
|
|
|
|
|
* Substitution:: Replacing a given character wherever it appears.
|
|
|
|
|
* Registers:: How registers are implemented. Accessing
|
|
|
|
|
the text or position stored in a register.
|
2012-07-06 04:25:04 +00:00
|
|
|
|
* Transposition:: Swapping two portions of a buffer.
|
2014-03-02 03:34:36 +00:00
|
|
|
|
* Decompression:: Dealing with compressed data.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Base 64:: Conversion to or from base 64 encoding.
|
2012-03-08 05:27:03 +00:00
|
|
|
|
* Checksum/Hash:: Computing cryptographic hashes.
|
2022-01-20 07:38:16 +00:00
|
|
|
|
* Suspicious Text:: Determining whether a string is suspicious.
|
2017-07-15 11:28:43 +00:00
|
|
|
|
* GnuTLS Cryptography:: Cryptographic algorithms imported from GnuTLS.
|
2021-12-11 03:55:57 +00:00
|
|
|
|
* Database:: Interacting with an SQL database.
|
2012-03-08 05:27:03 +00:00
|
|
|
|
* Parsing HTML/XML:: Parsing HTML and XML.
|
2015-09-15 15:46:48 +00:00
|
|
|
|
* Atomic Changes:: Installing several buffer changes atomically.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Change Hooks:: Supplying functions to be run when text is changed.
|
|
|
|
|
|
|
|
|
|
The Kill Ring
|
|
|
|
|
|
|
|
|
|
* Kill Ring Concepts:: What text looks like in the kill ring.
|
|
|
|
|
* Kill Functions:: Functions that kill text.
|
|
|
|
|
* Yanking:: How yanking is done.
|
|
|
|
|
* Yank Commands:: Commands that access the kill ring.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Low-Level Kill Ring:: Functions and variables for kill ring access.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Internals of Kill Ring:: Variables that hold kill ring data.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Indentation
|
|
|
|
|
|
|
|
|
|
* Primitive Indent:: Functions used to count and insert indentation.
|
|
|
|
|
* Mode-Specific Indent:: Customize indentation for different modes.
|
|
|
|
|
* Region Indent:: Indent all the lines in a region.
|
|
|
|
|
* Relative Indent:: Indent the current line based on previous lines.
|
|
|
|
|
* Indent Tabs:: Adjustable, typewriter-like tab stops.
|
|
|
|
|
* Motion by Indent:: Move to first non-blank character.
|
|
|
|
|
|
|
|
|
|
Text Properties
|
|
|
|
|
|
|
|
|
|
* Examining Properties:: Looking at the properties of one character.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Changing Properties:: Setting the properties of a range of text.
|
|
|
|
|
* Property Search:: Searching for where a property changes value.
|
|
|
|
|
* Special Properties:: Particular properties with special meanings.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Format Properties:: Properties for representing formatting of text.
|
|
|
|
|
* Sticky Properties:: How inserted text gets properties from
|
|
|
|
|
neighboring text.
|
|
|
|
|
* Lazy Properties:: Computing text properties in a lazy fashion
|
|
|
|
|
only when text is examined.
|
|
|
|
|
* Clickable Text:: Using text properties to make regions of text
|
|
|
|
|
do something when you click on them.
|
|
|
|
|
* Fields:: The @code{field} property defines
|
|
|
|
|
fields within the buffer.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Not Intervals:: Why text properties do not use
|
|
|
|
|
Lisp-visible text intervals.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2015-12-19 11:04:36 +00:00
|
|
|
|
Parsing HTML and XML
|
|
|
|
|
|
|
|
|
|
* Document Object Model:: Access, manipulate and search the @acronym{DOM}.
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
Non-@acronym{ASCII} Characters
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Text Representations:: How Emacs represents text.
|
2013-07-31 12:59:10 +00:00
|
|
|
|
* Disabling Multibyte:: Controlling whether to use multibyte characters.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Converting Representations:: Converting unibyte to multibyte and vice versa.
|
|
|
|
|
* Selecting a Representation:: Treating a byte sequence as unibyte or multi.
|
|
|
|
|
* Character Codes:: How unibyte and multibyte relate to
|
|
|
|
|
codes of individual characters.
|
2008-11-29 17:06:11 +00:00
|
|
|
|
* Character Properties:: Character attributes that define their
|
|
|
|
|
behavior and handling.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Character Sets:: The space of possible character codes
|
|
|
|
|
is divided into various character sets.
|
|
|
|
|
* Scanning Charsets:: Which character sets are used in a buffer?
|
|
|
|
|
* Translation of Characters:: Translation tables are used for conversion.
|
|
|
|
|
* Coding Systems:: Coding systems are conversions for saving files.
|
|
|
|
|
* Input Methods:: Input methods allow users to enter various
|
|
|
|
|
non-ASCII characters without special keyboards.
|
|
|
|
|
* Locales:: Interacting with the POSIX locale.
|
|
|
|
|
|
|
|
|
|
Coding Systems
|
|
|
|
|
|
|
|
|
|
* Coding System Basics:: Basic concepts.
|
|
|
|
|
* Encoding and I/O:: How file I/O functions handle coding systems.
|
|
|
|
|
* Lisp and Coding Systems:: Functions to operate on coding system names.
|
|
|
|
|
* User-Chosen Coding Systems:: Asking the user to choose a coding system.
|
|
|
|
|
* Default Coding Systems:: Controlling the default choices.
|
|
|
|
|
* Specifying Coding Systems:: Requesting a particular coding system
|
|
|
|
|
for a single file operation.
|
|
|
|
|
* Explicit Encoding:: Encoding or decoding text without doing I/O.
|
|
|
|
|
* Terminal I/O Encoding:: Use of encoding for terminal I/O.
|
|
|
|
|
|
|
|
|
|
Searching and Matching
|
|
|
|
|
|
|
|
|
|
* String Search:: Search for an exact match.
|
|
|
|
|
* Searching and Case:: Case-independent or case-significant searching.
|
|
|
|
|
* Regular Expressions:: Describing classes of strings.
|
|
|
|
|
* Regexp Search:: Searching for a match for a regexp.
|
|
|
|
|
* POSIX Regexps:: Searching POSIX-style for the longest match.
|
|
|
|
|
* Match Data:: Finding out which part of the text matched,
|
|
|
|
|
after a string or regexp search.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Search and Replace:: Commands that loop, searching and replacing.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Standard Regexps:: Useful regexps for finding sentences, pages,...
|
|
|
|
|
|
|
|
|
|
Regular Expressions
|
|
|
|
|
|
|
|
|
|
* Syntax of Regexps:: Rules for writing regular expressions.
|
|
|
|
|
* Regexp Example:: Illustrates regular expression syntax.
|
2019-07-04 11:01:52 +00:00
|
|
|
|
@ifnottex
|
|
|
|
|
* Rx Notation:: An alternative, structured regexp notation.
|
|
|
|
|
@end ifnottex
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Regexp Functions:: Functions for operating on regular expressions.
|
2021-11-03 12:42:25 +00:00
|
|
|
|
* Regexp Problems:: Some problems and how they may be avoided.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Syntax of Regular Expressions
|
|
|
|
|
|
|
|
|
|
* Regexp Special:: Special characters in regular expressions.
|
|
|
|
|
* Char Classes:: Character classes used in regular expressions.
|
|
|
|
|
* Regexp Backslash:: Backslash-sequences in regular expressions.
|
|
|
|
|
|
|
|
|
|
The Match Data
|
|
|
|
|
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Replacing Match:: Replacing a substring that was matched.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Simple Match Data:: Accessing single items of match data,
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
such as where a particular subexpression started.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Entire Match Data:: Accessing the entire match data at once, as a list.
|
|
|
|
|
* Saving Match Data:: Saving and restoring the match data.
|
|
|
|
|
|
|
|
|
|
Syntax Tables
|
|
|
|
|
|
|
|
|
|
* Syntax Basics:: Basic concepts of syntax tables.
|
|
|
|
|
* Syntax Descriptors:: How characters are classified.
|
|
|
|
|
* Syntax Table Functions:: How to create, examine and alter syntax tables.
|
|
|
|
|
* Syntax Properties:: Overriding syntax with text properties.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Motion and Syntax:: Moving over characters with certain syntaxes.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Parsing Expressions:: Parsing balanced expressions
|
|
|
|
|
using the syntax table.
|
|
|
|
|
* Syntax Table Internals:: How syntax table information is stored.
|
|
|
|
|
* Categories:: Another way of classifying character syntax.
|
|
|
|
|
|
2022-12-06 05:59:03 +00:00
|
|
|
|
Parsing Expression Grammars
|
|
|
|
|
|
|
|
|
|
* PEX Definitions:: The syntax of PEX rules
|
|
|
|
|
* Parsing Actions:: Running actions upon successful parsing.
|
|
|
|
|
* Writing PEG Rules:: Tips for writing parsing rules.
|
|
|
|
|
|
Add tree-sitter intergration
* configure.ac (HAVE_TREE_SITTER, TREE_SITTER_OBJ): New variables.
(DYNAMIC_LIB_SUFFIX): new variable, I copied code from MODULES_SUFFIX
so the diff looks this way.
* doc/lispref/elisp.texi (Top): Add tree-sitter manual.
* doc/lispref/modes.texi (Font Lock Mode): mention tree-sitter.
(Parser-based Font Lock): New section.
(Auto-Indentation): Mention tree-sitter.
(Parser-based Indentation): New section.
* doc/lispref/parsing.texi (Parsing Program Source): New chapter.
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
treesit-parser and treesit-node type.
* lisp/treesit.el: New file.
* src/Makefile.in (TREE_SITTER_LIBS, TREE_SITTER_FLAGS,
TREE_SITTER_OBJ): New variables.
* src/alloc.c:
(cleanup_vector): Add cleanup code for treesit-parser and
treesit-node.
* src/casefiddle.c (casify_region): Notify tree-sitter parser of
buffer change.
* src/data.c (Ftype_of): Add treesit-parser and treesit-node type
(Qtreesit_parser, Qtreesit_node): New symbol.
* src/emacs.c (main): Add symbols in treesit.c.
* src/eval.c (define_error): Move the function to here.
* src/insdel.c (insert_1_both, insert_from_string_1, insert_from_gap,
insert_from_buffer_1, replace_range, del_range_2): Notify tree-sitter
parser of buffer change.
* src/json.c (define_error): Move this function out.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add treesit-parser and
treesit-node.
* src/lread.c (Vdynamic_library_suffixes): New variable.
* src/print.c (print_vectorlike): Add code for printing
treesit-parser and treesit-node.
* src/treesit.c: New file.
* src/treesit.h: New file.
* test/src/treesit-tests.el: New file.
2022-03-13 06:10:06 +00:00
|
|
|
|
Parsing Program Source
|
|
|
|
|
|
2022-12-30 08:47:22 +00:00
|
|
|
|
* Language Grammar:: Loading tree-sitter language grammar.
|
Add tree-sitter intergration
* configure.ac (HAVE_TREE_SITTER, TREE_SITTER_OBJ): New variables.
(DYNAMIC_LIB_SUFFIX): new variable, I copied code from MODULES_SUFFIX
so the diff looks this way.
* doc/lispref/elisp.texi (Top): Add tree-sitter manual.
* doc/lispref/modes.texi (Font Lock Mode): mention tree-sitter.
(Parser-based Font Lock): New section.
(Auto-Indentation): Mention tree-sitter.
(Parser-based Indentation): New section.
* doc/lispref/parsing.texi (Parsing Program Source): New chapter.
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
treesit-parser and treesit-node type.
* lisp/treesit.el: New file.
* src/Makefile.in (TREE_SITTER_LIBS, TREE_SITTER_FLAGS,
TREE_SITTER_OBJ): New variables.
* src/alloc.c:
(cleanup_vector): Add cleanup code for treesit-parser and
treesit-node.
* src/casefiddle.c (casify_region): Notify tree-sitter parser of
buffer change.
* src/data.c (Ftype_of): Add treesit-parser and treesit-node type
(Qtreesit_parser, Qtreesit_node): New symbol.
* src/emacs.c (main): Add symbols in treesit.c.
* src/eval.c (define_error): Move the function to here.
* src/insdel.c (insert_1_both, insert_from_string_1, insert_from_gap,
insert_from_buffer_1, replace_range, del_range_2): Notify tree-sitter
parser of buffer change.
* src/json.c (define_error): Move this function out.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add treesit-parser and
treesit-node.
* src/lread.c (Vdynamic_library_suffixes): New variable.
* src/print.c (print_vectorlike): Add code for printing
treesit-parser and treesit-node.
* src/treesit.c: New file.
* src/treesit.h: New file.
* test/src/treesit-tests.el: New file.
2022-03-13 06:10:06 +00:00
|
|
|
|
* Using Parser:: Introduction to parsers.
|
2022-11-12 08:57:56 +00:00
|
|
|
|
* Retrieving Nodes:: Retrieving nodes from a syntax tree.
|
2022-10-22 15:48:42 +00:00
|
|
|
|
* Accessing Node Information:: Accessing node information.
|
Add tree-sitter intergration
* configure.ac (HAVE_TREE_SITTER, TREE_SITTER_OBJ): New variables.
(DYNAMIC_LIB_SUFFIX): new variable, I copied code from MODULES_SUFFIX
so the diff looks this way.
* doc/lispref/elisp.texi (Top): Add tree-sitter manual.
* doc/lispref/modes.texi (Font Lock Mode): mention tree-sitter.
(Parser-based Font Lock): New section.
(Auto-Indentation): Mention tree-sitter.
(Parser-based Indentation): New section.
* doc/lispref/parsing.texi (Parsing Program Source): New chapter.
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
treesit-parser and treesit-node type.
* lisp/treesit.el: New file.
* src/Makefile.in (TREE_SITTER_LIBS, TREE_SITTER_FLAGS,
TREE_SITTER_OBJ): New variables.
* src/alloc.c:
(cleanup_vector): Add cleanup code for treesit-parser and
treesit-node.
* src/casefiddle.c (casify_region): Notify tree-sitter parser of
buffer change.
* src/data.c (Ftype_of): Add treesit-parser and treesit-node type
(Qtreesit_parser, Qtreesit_node): New symbol.
* src/emacs.c (main): Add symbols in treesit.c.
* src/eval.c (define_error): Move the function to here.
* src/insdel.c (insert_1_both, insert_from_string_1, insert_from_gap,
insert_from_buffer_1, replace_range, del_range_2): Notify tree-sitter
parser of buffer change.
* src/json.c (define_error): Move this function out.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add treesit-parser and
treesit-node.
* src/lread.c (Vdynamic_library_suffixes): New variable.
* src/print.c (print_vectorlike): Add code for printing
treesit-parser and treesit-node.
* src/treesit.c: New file.
* src/treesit.h: New file.
* test/src/treesit-tests.el: New file.
2022-03-13 06:10:06 +00:00
|
|
|
|
* Pattern Matching:: Pattern matching with query patterns.
|
|
|
|
|
* Multiple Languages:: Parse text written in multiple languages.
|
2023-01-02 22:15:05 +00:00
|
|
|
|
* Tree-sitter Major Modes:: Develop major modes using tree-sitter.
|
Add tree-sitter intergration
* configure.ac (HAVE_TREE_SITTER, TREE_SITTER_OBJ): New variables.
(DYNAMIC_LIB_SUFFIX): new variable, I copied code from MODULES_SUFFIX
so the diff looks this way.
* doc/lispref/elisp.texi (Top): Add tree-sitter manual.
* doc/lispref/modes.texi (Font Lock Mode): mention tree-sitter.
(Parser-based Font Lock): New section.
(Auto-Indentation): Mention tree-sitter.
(Parser-based Indentation): New section.
* doc/lispref/parsing.texi (Parsing Program Source): New chapter.
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
treesit-parser and treesit-node type.
* lisp/treesit.el: New file.
* src/Makefile.in (TREE_SITTER_LIBS, TREE_SITTER_FLAGS,
TREE_SITTER_OBJ): New variables.
* src/alloc.c:
(cleanup_vector): Add cleanup code for treesit-parser and
treesit-node.
* src/casefiddle.c (casify_region): Notify tree-sitter parser of
buffer change.
* src/data.c (Ftype_of): Add treesit-parser and treesit-node type
(Qtreesit_parser, Qtreesit_node): New symbol.
* src/emacs.c (main): Add symbols in treesit.c.
* src/eval.c (define_error): Move the function to here.
* src/insdel.c (insert_1_both, insert_from_string_1, insert_from_gap,
insert_from_buffer_1, replace_range, del_range_2): Notify tree-sitter
parser of buffer change.
* src/json.c (define_error): Move this function out.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add treesit-parser and
treesit-node.
* src/lread.c (Vdynamic_library_suffixes): New variable.
* src/print.c (print_vectorlike): Add code for printing
treesit-parser and treesit-node.
* src/treesit.c: New file.
* src/treesit.h: New file.
* test/src/treesit-tests.el: New file.
2022-03-13 06:10:06 +00:00
|
|
|
|
* Tree-sitter C API:: Compare the C API and the ELisp API.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Syntax Descriptors
|
|
|
|
|
|
|
|
|
|
* Syntax Class Table:: Table of syntax classes.
|
|
|
|
|
* Syntax Flags:: Additional flags each character can have.
|
|
|
|
|
|
|
|
|
|
Parsing Expressions
|
|
|
|
|
|
|
|
|
|
* Motion via Parsing:: Motion functions that work by parsing.
|
|
|
|
|
* Position Parse:: Determining the syntactic state of a position.
|
|
|
|
|
* Parser State:: How Emacs represents a syntactic state.
|
|
|
|
|
* Low-Level Parsing:: Parsing across a specified region.
|
|
|
|
|
* Control Parsing:: Parameters that affect parsing.
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
Abbrevs and Abbrev Expansion
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
* Abbrev Tables:: Creating and working with abbrev tables.
|
|
|
|
|
* Defining Abbrevs:: Specifying abbreviations and their expansions.
|
|
|
|
|
* Abbrev Files:: Saving abbrevs in files.
|
|
|
|
|
* Abbrev Expansion:: Controlling expansion; expansion subroutines.
|
|
|
|
|
* Standard Abbrev Tables:: Abbrev tables used by various major modes.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Abbrev Properties:: How to read and set abbrev properties.
|
|
|
|
|
Which properties have which effect.
|
|
|
|
|
* Abbrev Table Properties:: How to read and set abbrev table properties.
|
|
|
|
|
Which properties have which effect.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2012-08-23 19:58:38 +00:00
|
|
|
|
Threads
|
|
|
|
|
|
|
|
|
|
* Basic Thread Functions:: Basic thread functions.
|
|
|
|
|
* Mutexes:: Mutexes allow exclusive access to data.
|
|
|
|
|
* Condition Variables:: Inter-thread events.
|
2018-08-14 18:08:28 +00:00
|
|
|
|
* The Thread List:: Show the active threads.
|
2012-08-23 19:58:38 +00:00
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Processes
|
|
|
|
|
|
|
|
|
|
* Subprocess Creation:: Functions that start subprocesses.
|
|
|
|
|
* Shell Arguments:: Quoting an argument to pass it to a shell.
|
|
|
|
|
* Synchronous Processes:: Details of using synchronous subprocesses.
|
|
|
|
|
* Asynchronous Processes:: Starting up an asynchronous subprocess.
|
|
|
|
|
* Deleting Processes:: Eliminating an asynchronous subprocess.
|
|
|
|
|
* Process Information:: Accessing run-status and other attributes.
|
|
|
|
|
* Input to Processes:: Sending input to an asynchronous subprocess.
|
|
|
|
|
* Signals to Processes:: Stopping, continuing or interrupting
|
|
|
|
|
an asynchronous subprocess.
|
|
|
|
|
* Output from Processes:: Collecting output from an asynchronous subprocess.
|
|
|
|
|
* Sentinels:: Sentinels run when process run-status changes.
|
|
|
|
|
* Query Before Exit:: Whether to query if exiting will kill a process.
|
2008-10-14 15:38:57 +00:00
|
|
|
|
* System Processes:: Accessing other processes running on your system.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Transaction Queues:: Transaction-based communication with subprocesses.
|
|
|
|
|
* Network:: Opening network connections.
|
|
|
|
|
* Network Servers:: Network servers let Emacs accept net connections.
|
|
|
|
|
* Datagrams:: UDP network connections.
|
|
|
|
|
* Low-Level Network:: Lower-level but more general function
|
|
|
|
|
to create connections and servers.
|
2012-04-26 17:56:38 +00:00
|
|
|
|
* Misc Network:: Additional relevant functions for net connections.
|
2008-06-13 08:05:52 +00:00
|
|
|
|
* Serial Ports:: Communicating with serial ports.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Byte Packing:: Using bindat to pack and unpack binary data.
|
|
|
|
|
|
|
|
|
|
Receiving Output from Processes
|
|
|
|
|
|
2014-02-21 08:04:15 +00:00
|
|
|
|
* Process Buffers:: By default, output is put in a buffer.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Filter Functions:: Filter functions accept output from the process.
|
|
|
|
|
* Decoding Output:: Filters can get unibyte or multibyte strings.
|
|
|
|
|
* Accepting Output:: How to wait until process output arrives.
|
|
|
|
|
|
|
|
|
|
Low-Level Network Access
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Network Processes:: Using @code{make-network-process}.
|
|
|
|
|
* Network Options:: Further control over network connections.
|
|
|
|
|
* Network Feature Testing:: Determining which network features work on
|
2007-09-06 04:25:08 +00:00
|
|
|
|
the machine you are using.
|
|
|
|
|
|
|
|
|
|
Packing and Unpacking Byte Arrays
|
|
|
|
|
|
Bindat: new macro-expansion based data layout language
Thorough redesign of the Bindat system, which makes it possible
to define new Bindat type forms, define recursive types, control
the values returned when unpacking, freely mix arbitrary computations
with type definitions, as well as support for arbitrary sized
integers.
This also reverts the recent addition of the `bindat-spec` macro and
the support for 64bit integers in the old Bindat language since that
is now considered obsolete anyway.
* doc/lispref/processes.texi (Bindat Types): Rename from `Bindat Spec`
and rewrite for the new sublanguage.
(Bindat Functions): Adjust to the new terminology.
(Bindat Computed Types): New node.
* lisp/emacs-lisp/bindat.el (bindat--type): New type.
(bindat--unpack-u64, bindat--unpack-u64r): Delete functions.
(bindat--unpack-item, bindat--pack-item, bindat--fixed-length-alist):
Revert addition of support for 64bit integers.
(bindat--unpack-group, bindat--length-group, bindat--pack-group):
Handle the new `bindat--type` values.
(bindat-spec): Revert addition of this macro.
(bindat--unpack-uint, bindat--unpack-uintr, bindat--pack-uint)
(bindat--pack-uintr): New functions.
(bindat-type, bindat-defmacro, bindat--pcase): New macros.
(bindat-type): New Edebug elem.
(bindat--type): New generic function.
(bindat--primitives): New constant.
(bindat--macroenv, bindat--op): New vars.
(bindat--make-docstring, bindat--fun, bindat--makefun, bindat--toplevel):
New functions.
* test/lisp/emacs-lisp/bindat-tests.el: Use `bindat-type`.
(ip): New Bindat type.
(header-bindat-spec, data-bindat-spec, packet-bindat-spec): Adjust to
new `bindat-type` macro.
(bindat-test-unpack): Simplify now that the order of fields is preserved.
(bindat-test--int-websocket-type, bindat-test--LEB128): New consts.
(bindat-test--pack-val, bindat-test--sint, bindat-test--recursive):
New tests.
2021-03-06 00:56:31 +00:00
|
|
|
|
* Bindat Types:: Describing data layout.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Bindat Functions:: Doing the unpacking and packing.
|
Bindat: new macro-expansion based data layout language
Thorough redesign of the Bindat system, which makes it possible
to define new Bindat type forms, define recursive types, control
the values returned when unpacking, freely mix arbitrary computations
with type definitions, as well as support for arbitrary sized
integers.
This also reverts the recent addition of the `bindat-spec` macro and
the support for 64bit integers in the old Bindat language since that
is now considered obsolete anyway.
* doc/lispref/processes.texi (Bindat Types): Rename from `Bindat Spec`
and rewrite for the new sublanguage.
(Bindat Functions): Adjust to the new terminology.
(Bindat Computed Types): New node.
* lisp/emacs-lisp/bindat.el (bindat--type): New type.
(bindat--unpack-u64, bindat--unpack-u64r): Delete functions.
(bindat--unpack-item, bindat--pack-item, bindat--fixed-length-alist):
Revert addition of support for 64bit integers.
(bindat--unpack-group, bindat--length-group, bindat--pack-group):
Handle the new `bindat--type` values.
(bindat-spec): Revert addition of this macro.
(bindat--unpack-uint, bindat--unpack-uintr, bindat--pack-uint)
(bindat--pack-uintr): New functions.
(bindat-type, bindat-defmacro, bindat--pcase): New macros.
(bindat-type): New Edebug elem.
(bindat--type): New generic function.
(bindat--primitives): New constant.
(bindat--macroenv, bindat--op): New vars.
(bindat--make-docstring, bindat--fun, bindat--makefun, bindat--toplevel):
New functions.
* test/lisp/emacs-lisp/bindat-tests.el: Use `bindat-type`.
(ip): New Bindat type.
(header-bindat-spec, data-bindat-spec, packet-bindat-spec): Adjust to
new `bindat-type` macro.
(bindat-test-unpack): Simplify now that the order of fields is preserved.
(bindat-test--int-websocket-type, bindat-test--LEB128): New consts.
(bindat-test--pack-val, bindat-test--sint, bindat-test--recursive):
New tests.
2021-03-06 00:56:31 +00:00
|
|
|
|
* Bindat Computed Types:: Advanced data layout specifications.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Emacs Display
|
|
|
|
|
|
|
|
|
|
* Refresh Screen:: Clearing the screen and redrawing everything on it.
|
|
|
|
|
* Forcing Redisplay:: Forcing redisplay.
|
|
|
|
|
* Truncation:: Folding or wrapping long text lines.
|
|
|
|
|
* The Echo Area:: Displaying messages at the bottom of the screen.
|
|
|
|
|
* Warnings:: Displaying warning messages for the user.
|
|
|
|
|
* Invisible Text:: Hiding part of the buffer text.
|
|
|
|
|
* Selective Display:: Hiding part of the buffer text (the old way).
|
|
|
|
|
* Temporary Displays:: Displays that go away automatically.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Overlays:: Use overlays to highlight parts of the buffer.
|
2014-03-09 11:36:51 +00:00
|
|
|
|
* Size of Displayed Text:: How large displayed text is.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Line Height:: Controlling the height of lines.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Faces:: A face defines a graphics style
|
2007-09-06 04:25:08 +00:00
|
|
|
|
for text characters: font, colors, etc.
|
|
|
|
|
* Fringes:: Controlling window fringes.
|
2014-10-04 08:20:24 +00:00
|
|
|
|
* Scroll Bars:: Controlling scroll bars.
|
2014-03-07 15:11:12 +00:00
|
|
|
|
* Window Dividers:: Separating windows visually.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Display Property:: Enabling special display features.
|
|
|
|
|
* Images:: Displaying images in Emacs buffers.
|
|
|
|
|
* Buttons:: Adding clickable buttons to Emacs buffers.
|
2012-02-28 08:17:21 +00:00
|
|
|
|
* Abstract Display:: Emacs's Widget for Object Collections.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Blinking:: How Emacs shows the matching open parenthesis.
|
2014-03-07 15:11:12 +00:00
|
|
|
|
* Character Display:: How Emacs displays individual characters.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Beeping:: Audible signal to the user.
|
|
|
|
|
* Window Systems:: Which window system is being used.
|
2016-04-09 09:30:59 +00:00
|
|
|
|
* Tooltips:: Tooltip display in Emacs.
|
2011-10-18 01:42:28 +00:00
|
|
|
|
* Bidirectional Display:: Display of bidirectional scripts, such as
|
|
|
|
|
Arabic and Farsi.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
The Echo Area
|
|
|
|
|
|
|
|
|
|
* Displaying Messages:: Explicitly displaying text in the echo area.
|
|
|
|
|
* Progress:: Informing user about progress of a long operation.
|
|
|
|
|
* Logging Messages:: Echo area messages are logged for the user.
|
|
|
|
|
* Echo Area Customization:: Controlling the echo area.
|
|
|
|
|
|
|
|
|
|
Reporting Warnings
|
|
|
|
|
|
|
|
|
|
* Warning Basics:: Warnings concepts and functions to report them.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Warning Variables:: Variables programs bind to customize
|
|
|
|
|
their warnings.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Warning Options:: Variables users set to control display of warnings.
|
2012-04-04 07:54:02 +00:00
|
|
|
|
* Delayed Warnings:: Deferring a warning until the end of a command.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Overlays
|
|
|
|
|
|
|
|
|
|
* Managing Overlays:: Creating and moving overlays.
|
|
|
|
|
* Overlay Properties:: How to read and set properties.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
What properties do to the screen display.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Finding Overlays:: Searching for overlays.
|
|
|
|
|
|
|
|
|
|
Faces
|
|
|
|
|
|
|
|
|
|
* Face Attributes:: What is in a face?
|
2012-09-18 05:14:42 +00:00
|
|
|
|
* Defining Faces:: How to define a face.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Attribute Functions:: Functions to examine and set face attributes.
|
|
|
|
|
* Displaying Faces:: How Emacs combines the faces specified for
|
|
|
|
|
a character.
|
2014-03-07 15:11:12 +00:00
|
|
|
|
* Face Remapping:: Remapping faces to alternative definitions.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Face Functions:: How to define and examine faces.
|
|
|
|
|
* Auto Faces:: Hook for automatic face assignment.
|
2014-03-07 15:11:12 +00:00
|
|
|
|
* Basic Faces:: Faces that are defined by default.
|
2009-01-08 20:57:59 +00:00
|
|
|
|
* Font Selection:: Finding the best available font for a face.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Font Lookup:: Looking up the names of available fonts
|
|
|
|
|
and information about them.
|
|
|
|
|
* Fontsets:: A fontset is a collection of fonts
|
|
|
|
|
that handle a range of character sets.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Low-Level Font:: Lisp representation for character display fonts.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Fringes
|
|
|
|
|
|
|
|
|
|
* Fringe Size/Pos:: Specifying where to put the window fringes.
|
|
|
|
|
* Fringe Indicators:: Displaying indicator icons in the window fringes.
|
|
|
|
|
* Fringe Cursors:: Displaying cursors in the right fringe.
|
|
|
|
|
* Fringe Bitmaps:: Specifying bitmaps for fringe indicators.
|
|
|
|
|
* Customizing Bitmaps:: Specifying your own bitmaps to use in the fringes.
|
|
|
|
|
* Overlay Arrow:: Display of an arrow to indicate position.
|
|
|
|
|
|
|
|
|
|
The @code{display} Property
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Replacing Specs:: Display specs that replace the text.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Specified Space:: Displaying one space with a specified width.
|
|
|
|
|
* Pixel Specification:: Specifying space width or height in pixels.
|
2011-01-28 19:19:36 +00:00
|
|
|
|
* Other Display Specs:: Displaying an image; adjusting the height,
|
|
|
|
|
spacing, and other properties of text.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Display Margins:: Displaying text or images to the side of
|
|
|
|
|
the main text.
|
|
|
|
|
|
|
|
|
|
Images
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Image Formats:: Supported image formats.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Image Descriptors:: How to specify an image for use in @code{:display}.
|
|
|
|
|
* XBM Images:: Special features for XBM format.
|
|
|
|
|
* XPM Images:: Special features for XPM format.
|
2012-04-26 17:56:38 +00:00
|
|
|
|
* ImageMagick Images:: Special features available through ImageMagick.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Other Image Types:: Various other formats are supported.
|
|
|
|
|
* Defining Images:: Convenient ways to define an image for later use.
|
|
|
|
|
* Showing Images:: Convenient ways to display an image once
|
|
|
|
|
it is defined.
|
2013-02-20 08:34:28 +00:00
|
|
|
|
* Multi-Frame Images:: Some images contain more than one frame.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Image Cache:: Internal mechanisms of image display.
|
|
|
|
|
|
|
|
|
|
Buttons
|
|
|
|
|
|
|
|
|
|
* Button Properties:: Button properties with special meanings.
|
|
|
|
|
* Button Types:: Defining common properties for classes of buttons.
|
|
|
|
|
* Making Buttons:: Adding buttons to Emacs buffers.
|
|
|
|
|
* Manipulating Buttons:: Getting and setting properties of buttons.
|
|
|
|
|
* Button Buffer Commands:: Buffer-wide commands and bindings for buttons.
|
|
|
|
|
|
|
|
|
|
Abstract Display
|
|
|
|
|
|
|
|
|
|
* Abstract Display Functions:: Functions in the Ewoc package.
|
|
|
|
|
* Abstract Display Example:: Example of using Ewoc.
|
|
|
|
|
|
2012-03-25 07:58:59 +00:00
|
|
|
|
Character Display
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2012-03-25 07:58:59 +00:00
|
|
|
|
* Usual Display:: The usual conventions for displaying characters.
|
|
|
|
|
* Display Tables:: What a display table consists of.
|
|
|
|
|
* Active Display Table:: How Emacs selects a display table to use.
|
|
|
|
|
* Glyphs:: How to define a glyph, and what glyphs mean.
|
|
|
|
|
* Glyphless Chars:: How glyphless characters are drawn.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Operating System Interface
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Starting Up:: Customizing Emacs startup processing.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Getting Out:: How exiting works (permanent or temporary).
|
|
|
|
|
* System Environment:: Distinguish the name and kind of system.
|
|
|
|
|
* User Identification:: Finding the name and user id of the user.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Time of Day:: Getting the current time.
|
New function time-convert
This replaces the awkward reuse of encode-time to both convert
calendrical timestamps to Lisp timestamps, and to convert Lisp
timestamps to other forms. Now, encode-time does just the
former and the new function does just the latter.
The new function builds on a suggestion by Lars Ingebrigtsen in:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00801.html
and refined by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00803.html
* doc/lispref/os.texi (Time of Day, Time Conversion):
* doc/misc/emacs-mime.texi (time-date):
* etc/NEWS: Update documentation.
* lisp/calendar/cal-dst.el (calendar-next-time-zone-transition):
* lisp/calendar/time-date.el (seconds-to-time, days-to-time):
* lisp/calendar/timeclock.el (timeclock-seconds-to-time):
* lisp/cedet/ede/detect.el (ede-detect-qtest):
* lisp/completion.el (cmpl-hours-since-origin):
* lisp/ecomplete.el (ecomplete-add-item):
* lisp/emacs-lisp/cl-extra.el (cl--random-time):
* lisp/emacs-lisp/timer.el (timer--time-setter)
(timer-next-integral-multiple-of-time):
* lisp/find-lisp.el (find-lisp-format-time):
* lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
* lisp/gnus/gnus-group.el (gnus-group-set-timestamp):
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-show-org-agenda):
* lisp/gnus/nnrss.el (nnrss-normalize-date):
* lisp/gnus/nnspool.el (nnspool-request-newgroups):
* lisp/net/ntlm.el (ntlm-compute-timestamp):
* lisp/net/pop3.el (pop3-uidl-dele):
* lisp/obsolete/vc-arch.el (vc-arch-add-tagline):
* lisp/org/org-clock.el (org-clock-get-clocked-time)
(org-clock-resolve, org-resolve-clocks, org-clock-in)
(org-clock-out, org-clock-sum):
* lisp/org/org-id.el (org-id-uuid, org-id-time-to-b36):
* lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
* lisp/proced.el (proced-format-time):
* lisp/progmodes/cc-cmds.el (c-progress-init)
(c-progress-update):
* lisp/progmodes/cperl-mode.el (cperl-time-fontification):
* lisp/progmodes/flymake.el (flymake--schedule-timer-maybe):
* lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
(vhdl-fix-case-region-1):
* lisp/tar-mode.el (tar-octal-time):
* lisp/time.el (emacs-uptime):
* lisp/url/url-auth.el (url-digest-auth-make-cnonce):
* lisp/url/url-util.el (url-lazy-message):
* lisp/vc/vc-cvs.el (vc-cvs-parse-entry):
* lisp/vc/vc-hg.el (vc-hg-state-fast):
* lisp/xt-mouse.el (xterm-mouse-event):
* test/lisp/emacs-lisp/timer-tests.el:
(timer-next-integral-multiple-of-time-2):
Use time-convert, not encode-time.
* lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
Don’t use now-removed FORM argument for encode-time.
It wasn’t crucial anyway.
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add time-convert.
* lisp/emacs-lisp/elint.el (elint-unknown-builtin-args):
Update encode-time signature to match current arg set.
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
Use timer-convert with t rather than doing it by hand.
* src/timefns.c (time_hz_ticks, time_form_stamp, lisp_time_form_stamp):
Remove; no longer needed.
(decode_lisp_time): Rturn the form instead of having a *PFORM arg.
All uses changed.
(time_arith): Just return TICKS if HZ is 1.
(Fencode_time): Remove argument FORM. All callers changed.
Do not attempt to encode time values; just encode
decoded (calendrical) times.
Unless CURRENT_TIME_LIST, just return VALUE since HZ is 1.
(Ftime_convert): New function, which does the time value
conversion that bleeding-edge encode-time formerly did.
Return TIME if it is easy to see that it is already
of the correct form.
(Fcurrent_time): Mention in doc that the form is planned to change.
* test/src/timefns-tests.el (decode-then-encode-time):
Don’t use (encode-time nil).
2019-08-06 00:38:52 +00:00
|
|
|
|
* Time Conversion:: Converting among timestamp forms.
|
|
|
|
|
* Time Parsing:: Converting timestamps to text and vice versa.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Processor Run Time:: Getting the run time used by Emacs.
|
|
|
|
|
* Time Calculations:: Adding, subtracting, comparing times, etc.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Timers:: Setting a timer to call a function at a
|
2009-07-10 05:23:59 +00:00
|
|
|
|
certain time.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Idle Timers:: Setting a timer to call a function when Emacs has
|
|
|
|
|
been idle for a certain length of time.
|
|
|
|
|
* Terminal Input:: Accessing and recording terminal input.
|
|
|
|
|
* Terminal Output:: Controlling and recording terminal output.
|
|
|
|
|
* Sound Output:: Playing sounds on the computer's speaker.
|
2009-07-10 06:11:39 +00:00
|
|
|
|
* X11 Keysyms:: Operating on key symbols for X Windows.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Batch Mode:: Running Emacs without terminal interaction.
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Session Management:: Saving and restoring state with
|
|
|
|
|
X Session Management.
|
2013-07-22 09:19:00 +00:00
|
|
|
|
* Desktop Notifications:: Desktop notifications.
|
|
|
|
|
* File Notifications:: File notifications.
|
2012-04-03 08:10:17 +00:00
|
|
|
|
* Dynamic Libraries:: On-demand loading of support libraries.
|
2015-10-22 03:22:34 +00:00
|
|
|
|
* Security Considerations:: Running Emacs in an unfriendly environment.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
|
|
|
|
Starting Up Emacs
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
* Startup Summary:: Sequence of actions Emacs performs at startup.
|
|
|
|
|
* Init File:: Details on reading the init file.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Terminal-Specific:: How the terminal-specific Lisp file is read.
|
|
|
|
|
* Command-Line Arguments:: How command-line arguments are processed,
|
|
|
|
|
and how you can customize them.
|
|
|
|
|
|
|
|
|
|
Getting Out of Emacs
|
|
|
|
|
|
|
|
|
|
* Killing Emacs:: Exiting Emacs irreversibly.
|
|
|
|
|
* Suspending Emacs:: Exiting Emacs reversibly.
|
|
|
|
|
|
|
|
|
|
Terminal Input
|
|
|
|
|
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Input Modes:: Options for how input is processed.
|
|
|
|
|
* Recording Input:: Saving histories of recent or all input events.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2012-04-26 17:56:38 +00:00
|
|
|
|
Preparing Lisp code for distribution
|
|
|
|
|
|
|
|
|
|
* Packaging Basics:: The basic concepts of Emacs Lisp packages.
|
|
|
|
|
* Simple Packages:: How to package a single .el file.
|
|
|
|
|
* Multi-file Packages:: How to package multiple files.
|
|
|
|
|
* Package Archives:: Maintaining package archives.
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Tips and Conventions
|
|
|
|
|
|
|
|
|
|
* Coding Conventions:: Conventions for clean and robust programs.
|
|
|
|
|
* Key Binding Conventions:: Which keys should be bound by which programs.
|
|
|
|
|
* Programming Tips:: Making Emacs code fit smoothly in Emacs.
|
|
|
|
|
* Compilation Tips:: Making compiled code run fast.
|
|
|
|
|
* Warning Tips:: Turning off compiler warnings.
|
|
|
|
|
* Documentation Tips:: Writing readable documentation strings.
|
Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-23 03:36:56 +00:00
|
|
|
|
* Comment Tips:: Conventions for writing comments.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Library Headers:: Standard headers for library packages.
|
|
|
|
|
|
|
|
|
|
GNU Emacs Internals
|
|
|
|
|
|
|
|
|
|
* Building Emacs:: How the dumped Emacs is made.
|
2011-12-12 05:32:49 +00:00
|
|
|
|
* Pure Storage:: Kludge to make preloaded Lisp functions shareable.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Garbage Collection:: Reclaiming space for Lisp objects no longer used.
|
2015-12-19 11:04:36 +00:00
|
|
|
|
* Stack-allocated Objects:: Temporary conses and strings on C stack.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Memory Usage:: Info about total size of Lisp objects made so far.
|
2015-12-19 11:04:36 +00:00
|
|
|
|
* C Dialect:: What C variant Emacs is written in.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Writing Emacs Primitives:: Writing C code for Emacs.
|
2018-10-11 17:53:05 +00:00
|
|
|
|
* Writing Dynamic Modules:: Writing loadable modules for Emacs.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
* Object Internals:: Data formats of buffers, windows, processes.
|
2015-12-19 11:04:36 +00:00
|
|
|
|
* C Integer Types:: How C integer types are used inside Emacs.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
|
2018-10-11 17:53:05 +00:00
|
|
|
|
Writing Dynamic Modules
|
|
|
|
|
|
|
|
|
|
* Module Initialization::
|
|
|
|
|
* Module Functions::
|
|
|
|
|
* Module Values::
|
|
|
|
|
* Module Misc::
|
|
|
|
|
* Module Nonlocal::
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
Object Internals
|
|
|
|
|
|
|
|
|
|
* Buffer Internals:: Components of a buffer structure.
|
|
|
|
|
* Window Internals:: Components of a window structure.
|
|
|
|
|
* Process Internals:: Components of a process structure.
|
|
|
|
|
@end detailmenu
|
|
|
|
|
@end menu
|
|
|
|
|
|
2012-05-09 03:11:41 +00:00
|
|
|
|
@ifclear VOL2
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include intro.texi
|
|
|
|
|
@include objects.texi
|
|
|
|
|
@include numbers.texi
|
|
|
|
|
@include strings.texi
|
|
|
|
|
|
|
|
|
|
@include lists.texi
|
|
|
|
|
@include sequences.texi
|
Add record objects with user-defined types.
* src/alloc.c (allocate_record): New function.
(Fmake_record, Frecord, Fcopy_record): New functions.
(syms_of_alloc): defsubr them.
(purecopy): Work with records.
* src/data.c (Ftype_of): Return slot 0 for record objects, or type
name if record's type holds class.
(Frecordp): New function.
(syms_of_data): defsubr it. Define `Qrecordp'.
(Faref, Faset): Work with records.
* src/fns.c (Flength): Work with records.
* src/lisp.h (prec_type): Add PVEC_RECORD.
(RECORDP, CHECK_RECORD, CHECK_RECORD_TYPE): New functions.
* src/lread.c (read1): Add syntax for records.
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): Add RECORDP.
(print_object): Add syntax for records.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-2):
New test.
* test/src/alloc-tests.el (record-1, record-2, record-3):
New tests.
* doc/lispref/elisp.texi, doc/lispref/objects.texi,
doc/lispref/records.texi: Add documentation for records.
2013-01-06 13:27:44 +00:00
|
|
|
|
@include records.texi
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include hash.texi
|
|
|
|
|
@include symbols.texi
|
|
|
|
|
@include eval.texi
|
|
|
|
|
|
|
|
|
|
@include control.texi
|
|
|
|
|
@include variables.texi
|
|
|
|
|
@include functions.texi
|
|
|
|
|
@include macros.texi
|
|
|
|
|
|
|
|
|
|
@include customize.texi
|
|
|
|
|
@include loading.texi
|
|
|
|
|
@include compile.texi
|
|
|
|
|
|
2009-07-10 05:23:59 +00:00
|
|
|
|
@c This includes edebug.texi.
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include debugging.texi
|
|
|
|
|
@include streams.texi
|
|
|
|
|
@include minibuf.texi
|
|
|
|
|
@include commands.texi
|
|
|
|
|
|
|
|
|
|
@include keymaps.texi
|
|
|
|
|
@include modes.texi
|
|
|
|
|
@include help.texi
|
|
|
|
|
@include files.texi
|
|
|
|
|
|
|
|
|
|
@include backups.texi
|
2012-05-09 03:11:41 +00:00
|
|
|
|
|
|
|
|
|
@end ifclear
|
|
|
|
|
|
|
|
|
|
@c ================ Beginning of Volume 2 ================
|
|
|
|
|
@ifclear VOL1
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include buffers.texi
|
|
|
|
|
@include windows.texi
|
|
|
|
|
@include frames.texi
|
|
|
|
|
|
|
|
|
|
@include positions.texi
|
|
|
|
|
@include markers.texi
|
|
|
|
|
@include text.texi
|
|
|
|
|
@include nonascii.texi
|
|
|
|
|
|
|
|
|
|
@include searching.texi
|
|
|
|
|
@include syntax.texi
|
2022-12-06 05:59:03 +00:00
|
|
|
|
@include peg.texi
|
Add tree-sitter intergration
* configure.ac (HAVE_TREE_SITTER, TREE_SITTER_OBJ): New variables.
(DYNAMIC_LIB_SUFFIX): new variable, I copied code from MODULES_SUFFIX
so the diff looks this way.
* doc/lispref/elisp.texi (Top): Add tree-sitter manual.
* doc/lispref/modes.texi (Font Lock Mode): mention tree-sitter.
(Parser-based Font Lock): New section.
(Auto-Indentation): Mention tree-sitter.
(Parser-based Indentation): New section.
* doc/lispref/parsing.texi (Parsing Program Source): New chapter.
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
treesit-parser and treesit-node type.
* lisp/treesit.el: New file.
* src/Makefile.in (TREE_SITTER_LIBS, TREE_SITTER_FLAGS,
TREE_SITTER_OBJ): New variables.
* src/alloc.c:
(cleanup_vector): Add cleanup code for treesit-parser and
treesit-node.
* src/casefiddle.c (casify_region): Notify tree-sitter parser of
buffer change.
* src/data.c (Ftype_of): Add treesit-parser and treesit-node type
(Qtreesit_parser, Qtreesit_node): New symbol.
* src/emacs.c (main): Add symbols in treesit.c.
* src/eval.c (define_error): Move the function to here.
* src/insdel.c (insert_1_both, insert_from_string_1, insert_from_gap,
insert_from_buffer_1, replace_range, del_range_2): Notify tree-sitter
parser of buffer change.
* src/json.c (define_error): Move this function out.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add treesit-parser and
treesit-node.
* src/lread.c (Vdynamic_library_suffixes): New variable.
* src/print.c (print_vectorlike): Add code for printing
treesit-parser and treesit-node.
* src/treesit.c: New file.
* src/treesit.h: New file.
* test/src/treesit-tests.el: New file.
2022-03-13 06:10:06 +00:00
|
|
|
|
@include parsing.texi
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include abbrevs.texi
|
2012-08-23 19:58:38 +00:00
|
|
|
|
@include threads.texi
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include processes.texi
|
|
|
|
|
|
|
|
|
|
@include display.texi
|
|
|
|
|
@include os.texi
|
|
|
|
|
|
2010-08-25 20:25:32 +00:00
|
|
|
|
@include package.texi
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@c appendices
|
|
|
|
|
|
|
|
|
|
@include anti.texi
|
2012-11-24 21:37:18 +00:00
|
|
|
|
@node GNU Free Documentation License
|
|
|
|
|
@appendix GNU Free Documentation License
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include doclicense.texi
|
2012-11-24 21:37:18 +00:00
|
|
|
|
@node GPL
|
|
|
|
|
@appendix GNU General Public License
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@include gpl.texi
|
|
|
|
|
@include tips.texi
|
|
|
|
|
@include internals.texi
|
|
|
|
|
@include errors.texi
|
|
|
|
|
@include maps.texi
|
|
|
|
|
@include hooks.texi
|
|
|
|
|
|
|
|
|
|
@include index.texi
|
|
|
|
|
|
2012-05-09 03:11:41 +00:00
|
|
|
|
@end ifclear
|
|
|
|
|
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@ignore
|
2012-05-27 01:34:14 +00:00
|
|
|
|
@node New Symbols
|
2007-09-06 04:25:08 +00:00
|
|
|
|
@unnumbered New Symbols Since the Previous Edition
|
|
|
|
|
|
|
|
|
|
@printindex tp
|
|
|
|
|
@end ignore
|
|
|
|
|
|
|
|
|
|
@bye
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These words prevent "local variables" above from confusing Emacs.
|