aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Warn about read-passwd in batch modeGlenn Morris2014-06-262-2/+10
| | | | | | | | | * doc/lispref/minibuf.texi (Intro to Minibuffers): Batch mode is basic. (Reading a Password): Mention batch mode. * lisp/subr.el (read-passwd): Warn about batch mode. Fixes: debbugs:17839
* Improve documentation of how vertical-motion interprets columns.Eli Zaretskii2014-06-212-1/+10
| | | | | | | src/indent.c (Fvertical_motion): Doc fix. doc/lispref/positions.texi (Screen Lines): Clarify how columns are counted by vertical-motion.
* Fix documentation mentioned in bug #17768.Eli Zaretskii2014-06-142-10/+16
| | | | | | | lisp/subr.el (posn-col-row): Doc fix. doc/lispref/commands.texi (Accessing Mouse): Improve the wording of the posn-col-row documentation.
* Doc fixes: markup (mainly nil -> @code{nil})Glenn Morris2014-06-087-15/+15
|
* Small doc updates re initial-buffer-choiceGlenn Morris2014-06-082-5/+12
| | | | | | | | | | | * doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice. * doc/emacs/misc.texi (emacsclient Options): Copyedit. * doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice. * lisp/startup.el (initial-buffer-choice): Doc fix. Reset :version (adding an option does not merit a :version bump).
* Doc edits re uniquifyGlenn Morris2014-06-082-0/+7
| | | | | | | | | | | | | | | | | | * doc/emacs/buffers.texi (Uniquify): Copyedits. * doc/emacs/files.texi (Visiting): Update for uniquify changes. * doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify. * doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details. * lisp/bookmark.el (bookmark-load): Doc fix. * lisp/uniquify.el (uniquify-buffer-name-style): Doc fix. * lisp/files.el: Comment. * etc/NEWS: Related edit.
* Doc tweaks re < etcGlenn Morris2014-06-072-12/+12
| | | | | | * doc/lispref/numbers.texi (Comparison of Numbers): Copyedits. * src/data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks.
* Doc updates re window-setup-hookGlenn Morris2014-06-064-17/+17
| | | | | | | | | | | | | * lisp/startup.el (window-setup-hook): Doc fix. * doc/lispref/display.texi (Window Systems): Remove window-setup-hook. * doc/lispref/os.texi (Startup Summary, Init File): Improve description of window-setup-hook. (Terminal-Specific): Update window-setup-hook cross-reference. * doc/lispref/hooks.texi (Standard Hooks): Update window-setup-hook cross-reference.
* Document incompatible overlay priority changeGlenn Morris2014-06-052-6/+14
| | | | | | | | * doc/lispref/display.texi (Overlay Properties): Update re priority. * etc/NEWS: Related edit. Fixes: debbugs:17234
* Spelling fixes.Paul Eggert2014-06-051-2/+2
|
* Some documentation for signing of packagesGlenn Morris2014-06-042-0/+39
| | | | | | | | | | | | * doc/emacs/package.texi (Package Menu, Package Installation): Mention signed packages. * doc/lispref/package.texi (Package Archives): Mention signing packages. * lisp/emacs-lisp/package.el (package-check-signature) (package-unsigned-archives): Doc fixes. * etc/NEWS: Related edits.
* Doc updates re filter-buffer-substringGlenn Morris2014-05-263-29/+40
| | | | | | | | | | | | | * lisp/simple.el (filter-buffer-substring-functions) (filter-buffer-substring-function, buffer-substring-filters) (filter-buffer-substring, buffer-substring--filter): Doc fixes. * doc/lispref/text.texi (Buffer Contents): Update for filter-buffer-substring changes. * doc/lispref/hooks.texi: Remove old comment. * etc/NEWS: Related markup.
* Doc updates re completion-in-region-functionGlenn Morris2014-05-261-1/+0
| | | | | | | * lisp/minibuffer.el (completion-in-region-functions, completion-in-region) (completion--in-region): Doc fixes. * doc/lispref/hooks.texi: Update comment.
* Doc updates re abbrev-expand-functionGlenn Morris2014-05-263-24/+28
| | | | | | | | | | | * doc/emacs/abbrevs.texi (Expanding Abbrevs): Update re abbrev-expand-function. * doc/lispref/abbrevs.texi (Abbrev Expansion): Update for expand-abbrev changes. * doc/lispref/functions.texi (Advising Functions): Standardize menu case. * lisp/abbrev.el (abbrev-expand-functions, abbrev-expand-function) (expand-abbrev, abbrev--default-expand): Doc fixes.
* Fix bug #17511 with unclear documentation of line-move-ignore-invisible.Eli Zaretskii2014-05-172-6/+17
| | | | | | | lisp/simple.el (line-move-ignore-invisible): Doc fix. doc/lispref/display.texi (Invisible Text): Clarify the description of line-move-ignore-invisible.
* * lisp/emacs-lisp/nadvice.el: Support adding a given function multiple times.Stefan Monnier2014-05-101-1/+2
| | | | | | | | | (advice--member-p): If name is given, only compare the name. (advice--remove-function): Don't stop at the first match. (advice--normalize-place): New function. (add-function, remove-function): Use it. (advice--add-function): Pass the name, if any, to advice--remove-function.
* * internals.texi (C Dialect): New section.Paul Eggert2014-05-072-7/+29
| | | | (C Integer Types): Mention bool_bf.
* Standardize case of "Front-Cover Texts" in texi file permissions notices.Glenn Morris2014-05-071-1/+1
| | | | Ref: http://lists.gnu.org/archive/html/bug-texinfo/2014-05/msg00015.html
* * doc/lispref/processes.texi (Filter Functions, Sentinels):Stefan Monnier2014-04-292-3/+14
| | | | Advertise add-function.
* * lisp/textmodes/rst.el (electric-pair-pairs): Declare.Stefan Monnier2014-04-281-0/+5
| | | | | | (rst-mode): Set it. Fixes: debbugs:17131
* Minor doc fix for string predicates.Eli Zaretskii2014-04-242-2/+10
| | | | | | doc/lispref/strings.texi (Text Comparison): Mention equal-including-properties for when text properties of the strings matter for comparison.
* Minor fixes to the docs.Eli Zaretskii2014-04-213-0/+20
| | | | | | | | | | | doc/emacs/buffers.texi (Uniquify): Clarify the default uniquification. doc/emacs/indent.texi (Tab Stops): Improve wording. doc/emacs/cmdargs.texi (General Variables): Improve docs of EMACSLOADPATH. Index all the environment variables. (Misc Variables): Index all the environment variables. doc/lispref/text.texi (Registers): Document register-read-with-preview. doc/lispref/internals.texi (Building Emacs): Improve indexing.
* * src/buffer.c (Foverlays_at): Add argument `sorted'.Stefan Monnier2014-04-151-10/+13
| | | | | | | | | | | * doc/lispref/display.texi (Overlay Properties): Reword the doc of `priority'. (Finding Overlays): Document new arg of `overlays-at'. * lisp/obsolete/lucid.el (extent-at): * lisp/htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of overlays-at. (hfy-fontify-buffer): Remove unused var `orig-ovls'. * lisp/ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted' arg of overlays-at. Use `invisible-p'.
* Minor doc updates related to dribble filesGlenn Morris2014-04-052-11/+6
| | | | | | | | | * doc/emacs/trouble.texi (Checklist): * doc/lispref/os.texi (Recording Input): Dribble files may contain passwords. * lisp/help.el (view-lossage): Doc tweak. * src/keyboard.c (Fopen_dribble_file): Doc tweak.
* Doc updates for buffer-stale-function now applying to file buffers tooGlenn Morris2014-04-032-1/+5
| | | | | | | | | | | | * doc/emacs/arevert-xtra.texi (Supporting additional buffers): * doc/lispref/backups.texi (Reverting): Update for buffer-stale-function also applying to file-buffers. * lisp/autorevert.el (auto-revert-buffers): * lisp/files.el (buffer-stale--default-function) (buffer-stale-function, revert-buffer--default): Doc tweaks. * etc/NEWS: Related edits.
* Doc updates for default values of some -function vars no longer being nilGlenn Morris2014-04-032-21/+23
| | | | | | | | | * doc/emacs/files.texi (Backup Names): * doc/emacs/arevert-xtra.texi (Supporting additional buffers): * doc/lispref/backups.texi (Making Backups, Reverting): Update for default values of some -function vars no longer being nil. * etc/NEWS: Related edits.
* Improve doc of file-symlink-p per bug #17073.Eli Zaretskii2014-03-252-8/+51
| | | | | doc/lispref/files.texi (Kinds of Files): Improve documentation of file-symlink-p. Add cross-references.
* Undo in region after markers in undo history relocatedBarry O'Reilly2014-03-243-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simple.el (primitive-undo): Only process marker adjustments validated against their corresponding (TEXT . POS). Issue warning for lone marker adjustments in undo history. (Bug#16818) (undo-make-selective-list): Add marker adjustments to selective undo list based on whether their corresponding (TEXT . POS) is in the region. Remove variable adjusted-markers, which was unused and only non nil during undo-make-selective-list. (undo-elt-in-region): Return nil when passed a marker adjustment and explain in function doc. Have (MARKER . ADJUSTMENT) undo records always be immediately after their corresponding (TEXT . POS) record in undo list. (Bug#16818) * lisp.h (record-delete): New arg record_markers. (record_marker_adjustment): No longer needed outside undo.c. * insdel.c (adjust_markers_for_delete): Move calculation of marker adjustments to undo.c's record_marker_adjustments. Note that fileio.c's decide_coding_unwind is another caller to adjust_markers_for_delete. Because it has undo list bound to t, it does not rely on adjust_markers_for_delete to record marker adjustments. (del_range_2): Swap call to record_delete and adjust_markers_for_delete so as undo marker adjustments are recorded before current deletion's adjustments, as before. (adjust_after_replace): (replace_range): Pass value for new record_markers arg to delete_record. * undo.c (record_marker_adjustment): Renamed to record_marker_adjustments and made static. (record_delete): Check record_markers arg and call record_marker_adjustments. (record_change): Pass value for new record_markers arg to delete_record. (record_point): at_boundary calculation no longer needs to account for marker adjustments. * undo-tests.el (undo-test-marker-adjustment-nominal): (undo-test-region-t-marker): New tests of marker adjustments. (undo-test-marker-adjustment-moved): (undo-test-region-mark-adjustment): New tests to demonstrate bug#16818, which fail without the fix. * markers.texi (Moving Marker Positions): The 2014-03-02 doc change mentioning undo's inability to handle relocated markers no longer applies. See bug#16818. * text.texi (Undo): Expand documentation of (TEXT . POS) and (MARKER . ADJUSTMENT) undo elements.
* * lispref/commands.texi (Defining Commands): Tweak previous change.Glenn Morris2014-03-221-2/+3
|
* * lispref/commands.texi (Defining Commands): List interactive-only values.Glenn Morris2014-03-222-1/+9
|
* doc/lispref/functions.texi (Core Advising Primitives): Fix cross-reference ↵Eli Zaretskii2014-03-222-1/+6
| | | | in last change.
* * doc/lispref/functions.texi (Advising Functions): Explain a bit more howStefan Monnier2014-03-212-106/+150
| | | | | | | arguments work. (Advice combinators): New node. (Core Advising Primitives): Use it. Expand description of "depth". (Advising Named Functions): Document limitation of advices on macros.
* Truly maximize w32 frames with odd fonts and some texi fixes.Martin Rudalics2014-03-213-4/+18
| | | | | | | | | | | * w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't constrain frame size in SW_SHOWMAXIMIZED case so we can truly maximize a frame for odd default fonts. * frames.texi (Size and Position): In `frame-resize-pixelwise' description drop remark about frame maximization. * windows.texi (Display Action Functions): Add description for `display-buffer-no-window' and explain use of `allow-no-window' alist entries.
* * lispref/commands.texi (Defining Commands): Copyedit re `interactive-only'.Glenn Morris2014-03-212-5/+8
|
* Backport doc fix from trunk.Paul Eggert2014-03-202-4/+9
| | | | | * internals.texi (C Integer Types): Prefer 'false' and 'true' to '0' and '1' for booleans.
* * numbers.texi: Improve and clarify a bit, and fix some minor bugs.Paul Eggert2014-03-192-23/+23
| | | | | Remove now-obsolete hypothetical note about negative division, as the C standard has changed.
* Fix porting inconsistency about rounding to even.Paul Eggert2014-03-192-2/+8
| | | | | | | | * doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations): Document that 'round' and 'fround' round to even. * src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even. This way, the unusual !HAVE_RINT case acts like the usual HAVE_RINT case, and we can fix the documentation accordingly.
* Recommend not modifying :set's value arg in defcustom (bug#16755).Juanma Barranquero2014-03-192-2/+8
| | | | | | * doc/lispref/customize.texi (Variable Definitions): * lisp/custom.el (defcustom): Recommend avoiding destructive modification of the value argument of :set.
* * doc/lispref/modes.texi (Auto-Indentation): Mention electric-indent variables.Stefan Monnier2014-03-183-14/+28
| | | | | | | * doc/misc/cc-mode.texi (Indentation Commands): Remove C-j, since it's not defined by CC-mode but globally. (FAQ): Tweak text about RET and auto-indentation. * doc/misc/vip.texi (Other Vi Commands): Adjust doc of C-j.
* doc/lispref/functions.texi (Advising Named Functions): Fix reference.Juanma Barranquero2014-03-182-1/+5
|
* Improve documentation for integer and floating-point basics.Paul Eggert2014-03-173-72/+111
| | | | | | | | | | * 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.
* doc/lispref/ChangeLog: Trivial fixes.Juanma Barranquero2014-03-181-5/+7
|
* * doc/lispref/functions.texi (Advising Functions): Try and improve the text.Stefan Monnier2014-03-172-71/+211
| | | | | | | | | | | Add example use of advice-add. (Core Advising Primitives): Rename. Explain handling of interactive specs, including advice-eval-interactive-spec. (Advising Named Functions): Try and better explain the difference with add-function. (Porting old advices): New node. Fixes: debbugs:16959
* Style fixes for floating-point doc.Paul Eggert2014-03-1722-151/+161
| | | | | | | | | | | | | * 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.
* Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).Martin Rudalics2014-03-163-42/+58
| | | | | | | | | | | | | | | | | | | | * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME current (Bug#16816, Bug#17007). (with-current-buffer-window): New macro doing the same as `with-temp-buffer-window' but with BUFFER-OR-NAME current. * help.el (help-print-return-message): Warn in doc-string to not use this in `with-help-window'. (describe-bindings-internal): Call `describe-buffer-bindings' from within help buffer. See Juanma's scenario in (Bug#16816). (with-help-window): Update doc-string. * dired.el (dired-mark-pop-up): * files.el (save-buffers-kill-emacs): * register.el (register-preview): Use `with-current-buffer-window' instead of `with-temp-buffer-window'. * display.texi (Temporary Displays): Rewrite descriptions of `with-output-to-temp-buffer' and `with-temp-buffer-window'. * help.texi (Help Functions): Rewrite description of `with-help-window'.
* Update `blink-matching-paren' in the manualDmitry Gutov2014-03-152-8/+14
| | | | | | | | * doc/emacs/programs.texi (Matching): Update WRT to the new `blink-matchin-paren' behavior. * doc/lispref/display.texi (Blinking): Update WRT to the new `blink-matchin-paren' behavior.
* Document pixelwise frame resizing and fix related bug on Windows.Martin Rudalics2014-03-143-15/+59
| | | | | | | | | | | * w32term.c (x_set_window_size): When frame-resize-pixelwise is nil, always resize character wise to avoid potential loss of the mode line (Bug#16923 related). * display.texi (Temporary Displays): Say that with-temp-buffer-window makes its buffer current. * frames.texi (Size and Position): Describe new option `frame-resize-pixelwise'. Rewrite descriptions of `set-frame-size', `set-frame-height' and `set-frame-width'.
* doc/lispref/ChangeLog: Add bug reference.Juanma Barranquero2014-03-101-1/+1
|
* etc/ChangeLog: Add missing bug reference.Juanma Barranquero2014-03-101-1/+1
| | | | doc/emacs/ChangeLog, doc/lispref/ChangeLog, lisp/ChangeLog*: Fix typos.
* Update docs for window dividers and `window-text-pixel-size'.Martin Rudalics2014-03-098-44/+168
| | | | | | | | | | | | | | | | | | * xdisp.c (Fwindow_text_pixel_size): Adjust doc-string. * elisp.texi (Top): Rename section "Width" to "Size of Displayed Text". * text.texi (Primitive Indent): * strings.texi (String Basics): * sequences.texi (Sequence Functions): Update references accordingly. * display.texi (Size of Displayed Text): Rename section from "Width". Add description for `window-text-pixel-size'. (Window Dividers): Reword description of window dividers. * frames.texi (Layout Parameters): Improve description of window divider parameters. * windows.texi (Window Sizes): Add descriptions of `window-mode-line-height' and `window-header-line-height'. (Coordinates and Windows): Mention window dividers.