aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/objects.texi (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | merge from trunkTom Tromey2013-01-051-3/+3
| |\ \ \ \
| * \ \ \ \ merge from trunkTom Tromey2012-12-171-72/+82
| |\ \ \ \ \
| * | | | | | first draft of threads documentationTom Tromey2012-08-231-5/+15
| | | | | | |
* | | | | | | Improve character name escapesPaul Eggert2016-04-211-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/nonascii.texi (Character Properties): Avoid duplication of Unicode names. Reformat examples to fit in narrow pages. * doc/lispref/objects.texi (General Escape Syntax): Simplify and better-organize explanation of \N{...} escapes. * src/character.h (CHAR_SURROGATE_PAIR_P): Remove; unused. (char_surrogate_p): New inline function. * src/lread.c: Do not include string.h; no longer needed. (invalid_character_name, check_scalar_value): Remove; the ideas behind these functions are now bundled into character_name_to_code. (character_name_to_code): Remove undocumented support for "CJK IDEOGRAPH-XXXX" names, as "U+XXXX" suffices. Reject monstrosities like "\N{U+-0}" and null bytes in \N escapes. Reject floating point in \N escapes instead of returning garbage. Use AUTO_STRING_WITH_LEN to lessen pressure on the garbage collector. * test/src/lread-tests.el (lread-char-number, lread-char-name) (lread-string-char-number, lread-string-char-name): Test runtime behavior, not compile-time, as the test framework is not set up to test compile-time. (lread-char-surrogate-1, lread-char-surrogate-2) (lread-char-surrogate-3, lread-char-surrogate-4) (lread-string-char-number-2, lread-string-char-number-3): New tests. (lread-string-char-number-1): Rename from lread-string-char-number.
* | | | | | | Add documentation for character name escapesPhilipp Stephani2016-04-211-0/+10
| |_|_|_|_|/ |/| | | | |
* | | | | | Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | Run admin/update-copyright.
* | | | | * doc/lispref/objects.texi (Window Type): Add a cross reference.Xue Fuqiao2015-10-061-2/+2
| | | | |
* | | | | Doc fix for `defmacro'Xue Fuqiao2015-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
* | | | | Restore some of the quoting in the manualsEli Zaretskii2015-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Coordinates and Windows) (Coordinates and Windows): * doc/lispref/variables.texi (Lexical Binding) (File Local Variables): * doc/lispref/text.texi (Format Properties): * doc/lispref/symbols.texi (Symbol Components): * doc/lispref/strings.texi (Creating Strings): * doc/lispref/sequences.texi (Sequence Functions): * doc/lispref/searching.texi (Regexp Special, Regexp Search) (Search and Replace): * doc/lispref/processes.texi (Bindat Spec): * doc/lispref/os.texi (Idle Timers): * doc/lispref/objects.texi (Basic Char Syntax): * doc/lispref/numbers.texi (Float Basics, Random Numbers): * doc/lispref/nonascii.texi (Character Properties): * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks) (Mode Line Variables): * doc/lispref/minibuf.texi (Text from Minibuffer): * doc/lispref/loading.texi (Autoload): * doc/lispref/keymaps.texi (Controlling Active Maps): * doc/lispref/frames.texi (Frame Layout, Size and Position) (Size Parameters, Implied Frame Resizing): * doc/lispref/files.texi (Changing Files, Magic File Names): * doc/lispref/eval.texi (Self-Evaluating Forms): * doc/lispref/display.texi (Progress, Abstract Display) (Abstract Display Example, Bidirectional Display): * doc/lispref/commands.texi (Event Mod): * doc/emacs/windows.texi (Displaying Buffers): * doc/emacs/trouble.texi (Bug Criteria, Checklist): * doc/emacs/text.texi (Enriched Text): * doc/emacs/programs.texi (MixedCase Words): * doc/emacs/picture-xtra.texi (Insert in Picture) (Tabs in Picture): * doc/emacs/misc.texi (Emacs Server, Printing): * doc/emacs/mini.texi (Minibuffer History): * doc/emacs/maintaining.texi (Old Revisions, VC Change Log) (Pulling / Pushing): * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard): * doc/emacs/help.texi (Help, Help Echo): * doc/emacs/glossary.texi (Glossary): * doc/emacs/frames.texi (Mouse Commands, Creating Frames) (Frame Commands): * doc/emacs/files.texi (Reverting, Saving, Directories): * doc/emacs/entering.texi (Exiting): * doc/emacs/emacs.texi (Top): * doc/emacs/cmdargs.texi (Window Size X, Icons X): * doc/emacs/anti.texi (Antinews): Restore quoting of text where appropriate or replace quoting with @dfn. * doc/misc/ediff.texi (Window and Frame Configuration): * doc/lispref/processes.texi (Network Feature Testing): * doc/lispref/display.texi (Display Margins): Quote the phrase after "a.k.a." where appropriate.
* | | | | Quote less in manualsPaul Eggert2015-09-151-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The manuals often used quotes ``...'' when it is better to use @dfn or @code or capitalized words or no quoting at all. For example, there is no need for the `` and '' in “if a variable has one effect for @code{nil} values and another effect for ``non-@code{nil}'' values”. Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate unnecessary quoting like this, and to use @dfn etc. instead when called for (Bug#21472).
* | | | | Prefer plain characters to Texinfo circumlocutionsPaul Eggert2015-05-011-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois', 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
* | | | | Minor quoting etc. fixes to lispref manualPaul Eggert2015-04-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | | | Merge from origin/emacs-24Paul Eggert2015-03-291-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e0314f * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional 13cf575 Don't round up scroll bar width with GTK3 (Bug#20182). 921dd0d * doc/lispref/objects.texi (Equality Predicates): Fix typo in example. Conflicts: doc/lispref/ChangeLog lisp/ChangeLog src/ChangeLog
| * | | | | * doc/lispref/objects.texi (Equality Predicates): Fix typo in example.Glenn Morris2015-03-241-2/+2
| | | | | |
| * | | | | Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Run admin/update-copyright.
* | | | | | Finalizer documentation, minor improvementsDaniel Colascione2015-03-021-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/objects.texi (Finalizer Type): New section (Type Predicates): Mention finalizers in `type-of' documentation. * doc/lispref/elisp.texi (Top): Link to finalizer type. * src/data.c (Ftype_of): Make `type-of' work with finalizers. (syms_of_data): Register Qfinalizer. * src/print.c (print_object): Print whether a finalizer has been called. * test/automated/finalizer-tests.el (finalizer-object-type): Test that `type-of' works correctly for finalizers.
* | | | | | Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Run admin/update-copyright.
* | | | | | * objects.texi (Type Predicates): Don't mention display-table-p.Tom Tromey2014-10-201-3/+0
|/ / / / /
* | | | | Improve documentation for integer and floating-point basics.Paul Eggert2014-03-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * numbers.texi (Numbers, Integer Basics, Float Basics): Document the basics a bit more precisely. Say more clearly that Emacs floating-point numbers are IEEE doubles on all current platforms. Give more details about frexp. Say more clearly that '1.' is an integer. (Predicates on Numbers): Fix wholenump typo. * objects.texi (Integer Type): Adjust to match numbers.texi.
* | | | | Style fixes for floating-point doc.Paul Eggert2014-03-171-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | | | Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
| | | | |
* | | | | Remove remaining @refills from doc/*/*.texi filesGlenn Morris2013-10-231-1/+1
| |_|_|/ |/| | |
* | | | * doc/lispref/objects.texi (Symbol Type): Fix typo.Glenn Morris2013-03-021-2/+2
| | | |
* | | | * doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^.Glenn Morris2013-02-121-1/+2
| | | |
* | | | * doc/lispref/objects.texi (Char-Table Type): Add cindex.Glenn Morris2013-02-101-0/+1
| |_|/ |/| |
* | | Update copyright notices for 2013.Paul Eggert2013-01-011-2/+2
| | |
* | | Hyphen and dash fixes in texinfo files.Paul Eggert2012-12-221-1/+1
| |/ |/|
* | Fix minor whitespace issues after "." in manual.Paul Eggert2012-12-051-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Be more systematic about using "@." (not ".") at end of sentence that ends in a capital letter, and about appending "@:" after non-ends of sentences that end in a lower case letter followed by "." followed by whitespace. Omit unnecessary use of "@:" and "@.". Similarly for "?" and "!". Be more consistent about putting a comma after "i.e." and "e.g."; this is the typical American style and it's easier to code in Texinfo. Fixes: debbugs:12973
* | * lispref/objects.texi: Fix last change.Chong Yidong2012-11-041-1/+1
| |
* | Clarify documentation about escape sequences in strings.Chong Yidong2012-11-031-68/+78
|/ | | | | | | * objects.texi (General Escape Syntax): Clarify the explanation of escape sequences. (Non-ASCII in Strings): Clarify when a string is unibyte vs multibyte. Hex escapes do not automatically make a string multibyte.
* Nuke hand-written node pointers in doc/lisprefGlenn Morris2012-05-261-4/+1
| | | | Let makeinfo figure them out, as is recommended.
* Merge from emacs-24; up to 2012-04-20T05:47:55Z!eliz@gnu.orgChong Yidong2012-05-051-2/+1
|\
* \ Merge changes from emacs-24 branchChong Yidong2012-04-271-2/+2
|\ \ | |/
| * Use Texinfo recommended convention for quotes+punctuation.Glenn Morris2012-04-251-2/+2
| |
* | Remove unnecessary @setfilename commands from many doc/lispref/*.texiGlenn Morris2012-04-131-1/+0
|/
* doc/lispref markup fixesGlenn Morris2012-04-101-1/+1
| | | | | | * strings.texi (Case Tables): * objects.texi (General Escape Syntax): * keymaps.texi (Key Sequences): Use @acronym with "ASCII".
* * doc/lispref/searching.texi (Regexp Backslash): Add index entry.Chong Yidong2012-02-251-1/+1
| | | | Fixes: debbugs:10869
* Update Compilation and Advice chapters in Lisp manual.Chong Yidong2012-02-101-5/+5
| | | | | | | | | | | | | | | | | | | | * doc/lispref/advice.texi (Defining Advice): Clarify ad-unadvise. (Activation of Advice): Specifying the ACTIVATE flag in defadvice is not abnormal. (Advising Primitives): Node deleted; ad-define-subr-args has been removed. * doc/lispref/compile.texi (Speed of Byte-Code): Use float-time in example. (Compilation Functions): Note that the log uses Compilation mode. Don't discuss the contents of byte-code function object here. (Compilation Functions): De-document internal function byte-code. (Docs and Compilation): Minor clarifications. * doc/lispref/objects.texi (Byte-Code Type): Add xref to Byte-Code Function Objects. * lisp/emacs-lisp/advice.el: Update commentary to reflect deletion of ad-define-subr-args
* Update Variables chapter of Lisp manual to handle lexical binding.Chong Yidong2012-01-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/variables.texi (Variables, Local Variables, Void Variables): Edit to make the descriptions less specific to dynamic binding. (Local Variables): Default max-specpdl-size is now 1300. (Defining Variables): Edits for lexical scoping. Delete information about starting docstrings with *. De-document user-variable-p. (Tips for Defining): Remove an unimportant discussion of quitting in the middle of a load. (Accessing Variables, Setting Variables): Discuss lexical binding. (Variable Scoping): Rewrite. (Scope, Extent, Impl of Scope): Nodes deleted. (Dynamic Binding): New node, with material from Scope, Extent, and Impl of Scope nodes. (Dynamic Binding Tips): Rename from Using Scoping. (Lexical Binding): Rewrite. (Using Lexical Binding): Rename from Converting to Lexical Binding. Convert to subsection. * doc/lispref/customize.texi (Variable Definitions): Add custom-variable-p. Move user-variable-p documentation here.
* Emacs Lisp manual updates.Chong Yidong2012-01-221-100/+107
| | | | | | | | | | | | | | | * doc/lispref/intro.texi (A Sample Function Description): Special notation used for macros too. * doc/lispref/objects.texi (Ctl-Char Syntax, Other Char Bits): Copyedits. (Symbol Type): Add xref for keyword symbols. (Sequence Type): Clarify differences between sequence types. (Cons Cell Type): Add "linked list" index entry. (Non-ASCII in Strings): Copyedits. (Equality Predicates): Symbols with same name need not be eq. * doc/lispref/numbers.texi (Float Basics): Document isnan, copysign, frexp and ldexp. Move float-e and float-pi to Math Functions node.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Update manuals for some Emacs 24 changes.Chong Yidong2011-08-281-3/+7
| | | | | | | | | | | | | | | * doc/emacs/misc.texi (emacsclient Options): Document server-port. * doc/lispref/display.texi (Progress): Document spinner functionality. * doc/lispref/frames.texi (Layout Parameters): The defaults for the menu-bar-lines and tool-bar-lines parameters depend on the mode. * doc/lispref/objects.texi (Symbol Type): Document ## print representation. * doc/lispref/os.texi (Killing Emacs): Note that kill-emacs can be called by operating system signals. Refer to save-buffers-kill-terminal instead of save-buffers-kill-emacs.
* (General Escape Syntax): "a with grave accent" is ?xe0, not ?x8e0.Lars Magne Ingebrigtsen2011-07-131-2/+2
| | | | Fixes: debbugs:5259
* Merge: Document wide integers better.Paul Eggert2011-06-061-7/+5
|\
| * Document wide integers better.Paul Eggert2011-06-031-13/+12
|/ | | | | | | | * files.texi (File Attributes): Document ino_t values better. * numbers.texi (Integer Basics, Integer Basics, Arithmetic Operations): (Bitwise Operations): * objects.texi (Integer Type): Integers are typically 62 bits now. * os.texi (Time Conversion): Document time_t values better.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-4/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Document byte-to-string in Lisp manual.Chong Yidong2010-11-211-1/+0
| | | | | | | | | | | | | | | | * objects.texi (Symbol Type): * text.texi (Near Point): * help.texi (Help Functions): * functions.texi (Mapping Functions): Use string instead of char-to-string in examples. * nonascii.texi (Converting Representations): Document byte-to-string. * strings.texi (Creating Strings): Don't mention semi-obsolete function char-to-string. (String Conversion): Shorten discussion of semi-obsolete function string-to-char. Link to Converting Representations.
* * objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878).Chong Yidong2010-08-191-2/+2
|