aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Clarify in the manual when to use function-key-mapLars Ingebrigtsen2019-07-253-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/efaq.texi (No Escape key): * doc/emacs/msdos-xtra.texi (MS-DOS Keyboard): Change back to function-key-map from local-function-key-map, because these bindings apply to all terminals. * doc/lispref/keymaps.texi (Translation Keymaps): Clarify in what circumstances you may still want to use function-key-map.
* | | Do not treat ~nosuchuser as an absolute file namePaul Eggert2019-07-241-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Derived from Ken Brown’s patch (Bug#36502#97). * doc/lispref/files.texi (Relative File Names): * etc/NEWS: Document this. * src/fileio.c (user_homedir): New function. (Fexpand_file_name, file_name_absolute_p): Use it. (search_embedded_absfilename): Simplify via file_name_absolute_p. * test/src/fileio-tests.el (fileio-tests--no-such-user): New test.
* | | Use input-decode-map in the manualsLars Ingebrigtsen2019-07-242-3/+2
| | | | | | | | | | | | | | | | | | * doc/misc/edt.texi (Changes): * doc/emacs/custom.texi (Terminal Init): Use input-decode-map instead of local-function-key-map, according to Stefan Monnier.
* | | Customizable char-fold with char-fold-symmetric, char-fold-include (bug#35689)Juri Linkov2019-07-231-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/search.texi (Lax Search): Document char-fold-symmetric, char-fold-include, char-fold-exclude. * lisp/char-fold.el (char-fold--default-include) (char-fold--default-exclude, char-fold--default-symmetric) (char-fold--previous): New defconsts. (char-fold-include, char-fold-exclude, char-fold-symmetric): New defcustoms. (char-fold-make-table): Use them. (char-fold-update-table): New function called at top-level. * test/lisp/char-fold-tests.el (char-fold--test-no-match-exactly) (char-fold--permutation): New functions. (char-fold--test-without-customization) (char-fold--test-with-customization): New tests.
* | | Refer to local-function-key-map in various manualsLars Ingebrigtsen2019-07-235-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/viper.texi (Key Bindings): * doc/misc/efaq.texi (X key translations for Emacs) (No Escape key): * doc/misc/edt.texi (Changes): * doc/emacs/msdos-xtra.texi (MS-DOS Keyboard): * doc/emacs/custom.texi (Terminal Init): Refer to local-function-key-map instead of function-key-map, since the latter isn't supposed to be changed (bug#27490).
* | | Improve pdumper doc; say unexec is deprecatedPaul Eggert2019-07-231-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Say that pdumping cannot redump unless -batch is used. Say that the traditional unexec dumping method is by default not available, and is deprecated. Don't call dump files "portable", as dump files are not any more portable than the Emacs executables themselves. Just call them "dump files". Similar, prefer "portable dumper" (since the dumper code is portable) to "portable dumping" (since the dump file is not). Be more systematic about calling them "dump files" instead of "dumped images" or whatnot.
* | | Support "%x" etc. formats on more floatsPaul Eggert2019-07-231-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/strings.texi (Formatting Strings): Document this. * src/editfns.c (styled_format): Support %o, %x, and %X on finite floats less than zero or greater than UINTMAX_MAX. * test/src/editfns-tests.el (format-%x-large-float) (read-large-integer, format-%o-negative-float): Adjust tests to match extended behavior. Rename the latter test from format-%o-invalid-float, since the float is no longer invalid. * test/src/editfns-tests.el (format-%x-large-float) (read-large-integer): Test this.
* | | Avoid overexposing fixnums for hash codesPaul Eggert2019-07-221-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following a suggestion by Stefan Monnier in: https://lists.gnu.org/r/emacs-devel/2019-07/msg00530.html * doc/lispref/hash.texi (Creating Hash, Defining Hash): * src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal, Fmake_hash_table): Don’t insist that hash codes be fixnums, reverting the recent doc changes to the contrary. * src/bytecode.c (exec_byte_code): Special-case only the eq case, as the others aren’t worth tuning now that we treat bignum hashes like fixnums. * src/fns.c (hashfn_user_defined): If the hash code is a bignum, reduce its hash down to a fixnum.
* | | Support history files in remote shells (Bug#36742)Michael Albinus2019-07-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/misc.texi (Shell Ring): Mention history file for remote shells. * lisp/shell.el (shell--start-prog): New buffer-local variable. (shell): Set it. (shell-mode): Handle history file for remote shells. (Bug#36742)
* | | Handle persistence of windows' scroll bar and fringes settings (Bug#36193)Martin Rudalics2019-07-221-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Fringe Size/Pos): Document new argument PERSISTENT of 'set-window-fringes'. (Scroll Bars): Document new argument PERSISTENT of 'set-window-scroll-bars'. Mention that HORIZONTAL-TYPE must be 'bottom' to show a horizontal scroll bar on mini windows. * lisp/window.el (window-min-pixel-height): For mini windows the minimum height is one line. (window--min-size-1): Use value returned by 'window-min-pixel-height' when dealing with mini windows. (window--resize-mini-window): Try to handle horizontal scroll bars and size restrictions more accurately. (window--state-put-2): Handle persistence of scroll bar settings. * src/frame.c (make_frame): Allow horizontal scroll bars in mini windows. (adjust_frame_size): Drop PIXELWISE argument in 'resize_frame_windows' calls. * src/window.c (set_window_buffer): Don't override WINDOW's scroll bar and fringe settings when marked as persistent. (resize_frame_windows): Drop fourth argument PIXELWISE - SIZE is always specified in terms of pixels. Try to handle height of mini windows more accurately. (grow_mini_window, shrink_mini_window): Use body height of mini window when calculating expected height change. Take horizontal scroll bars into account. (struct saved_window): Two new members to handle persistence of window fringes and scroll bars. (Fset_window_configuration, save_window_save): Handle persistence of fringes and scroll bars. (set_window_fringes, set_window_scroll_bars): New arguments PERSISTENT. Make dimension checks more accurate. (Fset_window_fringes): New argument PERSISTENT. (Fwindow_fringes, Fwindow_scroll_bars): Add PERSISTENT to return values. (Fset_window_scroll_bars): New argument PERSISTENT. In doc-string mention that 'bottom' must be specified to get a horizontal scroll bar in mini windows. (compare_window_configurations): Add checks for persistence of fringes and scroll bars. * src/window.h (struct window): New boolean slots 'fringes_persistent' and 'scroll_bars_persistent'. (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Allow horizontal scroll bars for mini windows. (resize_frame_windows): Remove fourth argument of 'resize_frame_windows' in external declaration. * src/xdisp.c (resize_mini_window): Use box text height to tell whether mini window height changed. (set_horizontal_scroll_bar): Set mini window's horizontal scroll bar when its type is specified as 'bottom'. * etc/NEWS: Mention new options for 'set-window-fringes' and 'set-window-scroll-bars'.
* | | Improve doc for hash tablesPaul Eggert2019-07-211-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/hash.texi (Creating Hash, Defining Hash): * src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal): Say that hashes are fixnums. (Fmake_hash_table): Say that that an integer rehash-size should be a fixnum. * doc/lispref/hash.texi (Defining Hash): Say that hash and comparison functions should be consistent and pure, and should return quickly.
* | | Merge from emacs-26Noam Postavsky2019-07-202-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 150bdfe43a Handle completely undecoded input in term (Bug#29918) 021f32cca1 * doc/misc/forms.texi (Control File Format): Fix a doc error. 76538d09b7 Fix typo in package-alist docstring b2fde4b5e8 * doc/lispref/text.texi (Mode-Specific Indent): Fix a typo... 7e62778548 ; Another minor change in 'bidi-display-reordering's doc s... 4455ddbe56 Improve doc string of 'bidi-display-reordering' 34ee26dd93 Add warning to bidi-display-reordering doc string # Conflicts: # lisp/term.el # test/lisp/term-tests.el
| * | * doc/misc/forms.texi (Control File Format): Fix a doc error.N. Jackson2019-07-201-1/+1
| | | | | | | | | | | | | | | | | | (Bug#36693) Copyright-paperwork-exempt: yes
| * | * doc/lispref/text.texi (Mode-Specific Indent): Fix a typo (bug#36646).Markus Triska2019-07-141-1/+1
| | |
* | | Fix last change to format-specBasil L. Contovounesios2019-07-201-3/+3
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Interpolated Strings): Use @result and fix typos. * lisp/format-spec.el: Avoid loading subr-x at runtime. (format-spec--parse-modifiers): Optimize slightly.
* | | Allow counter-clockwise rotations in image-rotateBasil L. Contovounesios2019-07-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/image.el (image-rotate): Extend with an optional argument specifying the rotation in degrees (bug#35421). * doc/lispref/display.texi (Showing Images): * etc/NEWS: Document the change. * test/lisp/image-tests.el (image-rotate): New test.
* | | Enable showing local time and lapsed time in GnusAdam Sjøgren2019-07-201-0/+4
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-art.el (article-make-date-combine-with-lapsed) factor code out into new function, used for providing both combined-lapsed and combined-local-lapsed.
* | | Have 'display-buffer-reuse-window' prefer window on selected frame (Bug#36680)Martin Rudalics2019-07-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-reuse-window): Preferably reuse window on selected frame (Bug#36680). * doc/lispref/windows.texi (Buffer Display Action Functions): Say that 'display-buffer-reuse-window' prefers window on the selected frame.
* | | Revert "Add support for paths to svg.el"Lars Ingebrigtsen2019-07-161-237/+0
| | | | | | | | | | | | | | | | | | This reverts commit d6bc55ae2dc98c83e58a28e380ce4bcf2ed00bb3. Paperwork not ready for Felix Klee; will reapply once that's in place.
* | | Revert "* doc/lispref/display.texi (SVG Images): Add menu for subsection."Lars Ingebrigtsen2019-07-161-3/+0
| | | | | | | | | | | | | | | | | | This reverts commit e5cd597c7736b587f80c16fde1c53f904d921310. Paperwork nod ready for the SVG Path patch.
* | | * doc/lispref/display.texi (SVG Images): Add menu for subsection.Glenn Morris2019-07-151-0/+3
| | |
* | | Add support for paths to svg.elFelix E. Klee2019-07-151-0/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (SVG Images): Document svg-path, svg-clip-path and svg-node (bug#32359). * doc/lispref/display.texi (SVG Path Commands): New node. * lisp/svg.el (svg--plist-delete, svg--path-command-symbol) (svg--elliptical-arc-coordinates, svg--elliptical-arc-command) (svg--moveto-command, svg--closepath-command) (svg--lineto-command, svg--horizontal-lineto-command) (svg--vertical-lineto-command, svg--curveto-command) (svg--smooth-curveto-command) (svg--quadratic-bezier-curveto-command) (svg--smooth-quadratic-bezier-curveto-command) (svg--eval-path-command, svg-path, svg-clip-path, svg-node): New functions.
* | | Mention changing the font size in the Emacs manualLars Ingebrigtsen2019-07-151-2/+4
| | | | | | | | | | | | | | | * doc/emacs/frames.texi (Fonts): Mention changing the font scale (bug#28196).
* | | Make directory-files-recursively take a PREDICATE parameterLars Ingebrigtsen2019-07-151-1/+8
| | | | | | | | | | | | | | | | | | | | | * lisp/files.el (directory-files-recursively): Take an optional PREDICATE parameter (bug#28567). * doc/lispref/files.texi (Contents of Directories): Document it.
* | | Rename vc-dir-delete-files-no-vc to vc-dir-clean-filesLars Ingebrigtsen2019-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Adjust command name. * lisp/vc/vc-dir.el (vc-dir-clean-files): Rename from vc-dir-delete-files-no-vc, and work on unregistered files only (bug#31732). (vc-dir-menu-map): Adjust command name.
* | | Add a way to more conveniently log/debug nnmail splittingLars Ingebrigtsen2019-07-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Fancy Mail Splitting): Mention it. * lisp/gnus/nnmail.el (nnmail-debug-splitting): New variable. * lisp/gnus/nnmail.el (nnmail-log-split): New function. (nnmail-split-it): Use it.
* | | Improve documentation of So Long modeEli Zaretskii2019-07-131-10/+21
| | | | | | | | | | | | | | | | | | * doc/emacs/trouble.texi (Long Lines): Improve wording, add indexing, mention the mode name and its main customization options.
* | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-07-132-0/+26
|\ \ \
| * | | Add so-long libraryPhil Sainty2019-07-132-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el: New library. * doc/emacs/trouble.texi (Long Lines): New node covering so-long.el. * doc/emacs/emacs.texi (Top): Add menu entry for the Long Lines node. * etc/NEWS: Include under "New Modes and Packages in Emacs 27.1"
* | | | Add ability to highlight-lines-matching-regexp directly from IsearchDima Kogan2019-07-131-7/+10
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el: Implement the new functionality. (isearch-highlight-lines-matching-regexp): New function bound to 'M-s h l' in isearch. (isearch--highlight-regexp-or-lines): New internal function. * etc/NEWS (Search and Replace): Mention this change. * doc/emacs/search.texi (Special Isearch): Document 'M-s h l'. (Bug#18241)
* | | Add a new command in vc-dir mode to delete filesLars Ingebrigtsen2019-07-131-1/+8
| | | | | | | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Document it. * lisp/vc/vc-dir.el (vc-dir-delete-files-no-vc): New command and keystroke (bug#31732).
* | | Add some indices for regexp character classesLars Ingebrigtsen2019-07-131-0/+4
| | | | | | | | | | | | | | | * doc/lispref/searching.texi (Char Classes): Add some concept index entries for a handful of character classes (bug#32430).
* | | Document format-spec and expand the modifiers it supportsLars Ingebrigtsen2019-07-131-0/+67
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Interpolated Strings): New section. * lisp/format-spec.el (format-spec--parse-modifiers) (format-spec--pad): New functions. (format-spec): Support more format modifiers (bug#32931).
* | | * doc/misc/tramp.texi (Inline methods): Precise about used external programs.Michael Albinus2019-07-121-11/+14
| | |
* | | Change Tramp version to 2.4.3-preMichael Albinus2019-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3-pre". * lisp/net/tramp.el: Bump version to 2.4.3-pre.
* | | Support program switches in 'comint-run' commandPhil Sainty2019-07-111-1/+2
| | | | | | | | | | | | | | | | | | | | | * etc/NEWS: * doc/emacs/misc.texi: Describe new behaviour (bug#33037). * lisp/comint.el (comint-run): Add optional SWITCHES argument. With prefix argument C-u, prompt for SWITCHES.
* | | Fix documentation of cl-memberLars Ingebrigtsen2019-07-101-2/+1
| | | | | | | | | | | | | | | * doc/misc/cl.texi (Lists as Sets): cl-member with no :test is not equal to memq (because it uses eql) (bug#33655).
* | | auth-source does not support "host" in .netrc filesLars Ingebrigtsen2019-07-101-2/+1
| | | | | | | | | | | | | | | * doc/misc/auth.texi (Help for users): Remove mention of "host" in .netrc files, because it's not supported (bug#33826).
* | | Add a really simple nadvice exampleLars Ingebrigtsen2019-07-091-2/+20
| | | | | | | | | | | | | | | * doc/lispref/functions.texi (Advising Functions): Add a really trivial and simple example (bug#35250).
* | | Make the manual say what undo-auto-amalgamate doesLars Ingebrigtsen2019-07-091-0/+4
| | | | | | | | | | | | | | | * doc/lispref/text.texi (Undo): Say what undo-auto-amalgamate does in addition to describing what amalgamation is (bug#35344).
* | | Mention {la,}tex-run-command in the TeX Print info nodeLars Ingebrigtsen2019-07-091-1/+2
| | | | | | | | | | | | | | | * doc/emacs/text.texi (TeX Print): Mention {la,}tex-run-command, too. Suggested by Sebastian Urban (bug#36400).
* | | Remove mention of :group in define-minor-mode infoLars Ingebrigtsen2019-07-081-7/+4
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/modes.texi (Defining Minor Modes): The :group stuff in the example and documentation isn't correct since this is not a global mode and `hunger-mode' therefore isn't customizable (bug#36501).
* | | * doc/misc/tramp.texi (Remote processes): Fix a typo.Michael Albinus2019-07-081-3/+3
| | |
* | | Avoid makeinfo error "@code expected braces"Glenn Morris2019-07-071-1/+1
| | | | | | | | | | | | * doc/lispref/searching.texi (Rx Constructs): Fix for makeinfo 4.13.
* | | Remove printmax_t etc.Paul Eggert2019-07-071-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | printmax_t etc. were needed only for platforms that lacked support for printing intmax_t. These platforms are now so obsolete that they are no longer practical porting targets. * src/image.c (gs_load): Fix unlikely buffer overrun discovered while making these changes. It was introduced in 2011-07-17T00:34:43!eggert@cs.ucla.edu. * src/lisp.h (printmax_t, uprintmax_t, pMd, pMu, pMx): Remove. All uses replaced by their standard counterparts intmax_t, uintmax_t, PRIdMAX, PRIuMAX, PRIxMAX.
* | | Describe the rx notation in the elisp manual (bug#36496)Mattias Engdegård2019-07-073-0/+601
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The additions are excluded from the print version to avoid making it thicker. * doc/lispref/elisp.texi (Top): New menu entry. * doc/lispref/searching.texi (Regular Expressions): New menu entry. (Regexp Example): Add rx form of the example. (Rx Notation, Rx Constructs, Rx Functions): New nodes. * doc/lispref/control.texi (pcase Macro): Describe the rx pattern.
* | | Merge from origin/emacs-26Glenn Morris2019-07-063-11/+17
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e6d8e0 (origin/emacs-26) ; * doc/emacs/killing.texi (Secondary Selec... e2344a7 * lisp/svg.el, lisp/progmodes/ada-mode.el: Fix bug#36360. ff738ab Minor copyedit of "Font Lock" in user manual faf99dc Improve description of image descriptors 21351cc ; * src/lread.c (Fread): Make the comment wording more accurate. d176090 Improve documentation of secondary selections 8910fe1 * src/fns.c (Fmapconcat): Doc fix. (Bug#36418) # Conflicts: # lisp/svg.el
| * | ; * doc/emacs/killing.texi (Secondary Selection): Fix last change.Eli Zaretskii2019-07-061-4/+3
| | |
| * | Minor copyedit of "Font Lock" in user manualEli Zaretskii2019-07-061-4/+4
| | | | | | | | | | | | | | | * doc/emacs/display.texi (Font Lock): Make the wording about "enabling Font Lock" crystal clear. (Bug#36529)
| * | Improve description of image descriptorsEli Zaretskii2019-07-061-1/+4
| | | | | | | | | | | | | | | * doc/lispref/display.texi (Image Descriptors): More accurate description of where image files are looked up. (Bug#36523)