aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Support showing directory in shell command promptStefan Kangas2019-10-112-2/+23
| | | | | | | | | | | | | | * lisp/simple.el (shell-command-prompt-show-cwd): New defcustom. (async-shell-command, shell-command): Show current directory in prompt when above option is non-nil. (Bug#4987) * etc/NEWS: Announce it.
* | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMartin Rudalics2019-10-113-1/+18
|\ \
| * | New variable amalgamating-undo-limitLars Ingebrigtsen2019-10-113-1/+18
| | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Undo): Document it. * lisp/simple.el (amalgamating-undo-limit): New variable (bug#31658).
* | | Minor fixes for switching to previous and next buffers (Bug#37514)Martin Rudalics2019-10-111-8/+14
|/ / | | | | | | | | | | | | | | | | * lisp/window.el (switch-to-prev-buffer) (switch-to-next-buffer): In doc-strings add links to 'prev-buffer' and 'next-buffer'. (next-buffer, previous-buffer): Signal 'user-error' instead of 'error'. In doc-strings link to 'switch-to-prev-buffer' and 'switch-to-next-buffer'.
* | Correct .dir-locals-2.el descriptionRobert Pluim2019-10-111-1/+1
| | | | | | | | | | * doc/lispref/variables.texi (Directory Local Variables): Correct description of .dir-locals-2.el functioning. (Bug#37640)
* | Expand the documentation of --no-build-detailsLars Ingebrigtsen2019-10-111-2/+4
| | | | | | | | | | * doc/emacs/cmdargs.texi (Initial Options): Mention that --no-build-details shouldn't be used in regular usage (bug#34448).
* | Fixes for fitting windows and frames to their buffers (Bug#37563)Martin Rudalics2019-10-111-111/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (window-default-font-height) (window-default-line-height): New functions. (fit-frame-to-buffer): Interpret values of MAX-HEIGHT and MIN-HEIGHT arguments in terms of WINDOW's default line height (Bug#37563). (fit-window-to-buffer): Obey size restricting arguments even when size of WINDOW's text does not change. Do not temporarily select WINDOW and perform height/width related calculations if and only if WINDOW is accordingly combined. Interpret values of MAX-HEIGHT and MIN-HEIGHT arguments in terms of WINDOW's default line height.
* | Make nntp.el use new setq-local syntaxLars Ingebrigtsen2019-10-111-7/+7
| | | | | | | | | | * lisp/gnus/nntp.el (nntp-make-process-buffer): Convert to new setq-local syntax (as a test case).
* | Ensure that setq-local take an even number of symbol/value pairsLars Ingebrigtsen2019-10-113-16/+38
| | | | | | | | | | | | | | | | | | * doc/lispref/variables.texi (Creating Buffer-Local): Document the new syntax for setq-local. * lisp/subr.el (setq-local): Ensure that there's an even number of variable/value pairs, and expand the doc string by taking some text from `setq'.
* | Allow setq-local to set more than one variableJordon Biondo2019-10-111-3/+14
| | | | | | | | * lisp/subr.el (setq-local): Allow taking pairs of values (bug#26923).
* | Remove two checkdoc tests checked in by mistakeLars Ingebrigtsen2019-10-111-16/+0
| | | | | | | | | | * test/lisp/emacs-lisp/checkdoc-tests.el: Remove &aux and &context checks mistakenly checked in (as these aren't implemented) (bug#37697).
* | Change font size in correct window using mouse wheelStefan Kangas2019-10-112-31/+54
| | | | | | | | | | | | | | | | | | | | | | * lisp/mwheel.el (mouse-wheel-follow-mouse): Doc fix. (mouse-wheel--get-scroll-window): New function extracted from... (mwheel-scroll): ...here. (mouse-wheel-text-scale): New function to change face height in the correct window, depending on the value of 'mouse-wheel-follows-mouse'. (Bug#28182) (mouse-wheel-mode): Bind 'mouse-wheel-text-scale' instead of 'text-scale-increase' and 'text-scale-decrease'.
* | * lisp/subr.el (ctl-x-t-prefix): Bind new alias or ctl-x-6-map to 'C-x t'.Juri Linkov2019-10-111-0/+2
| |
* | * lisp/tree-widget.el: Use lexical-bindingStefan Monnier2019-10-101-32/+21
| | | | | | | | | | Remove redundant `:group`s. (tree-widget--locate-sub-directory): Rewrite.
* | * lisp/progmodes/compile.elAndreas Schwab2019-10-101-2/+1
| | | | | | | | (compilation-transform-file-match-alist): Remove bogus Makefile match.
* | Remove tabs from time-stamp-format documentationStephen Gildea2019-10-101-10/+10
| | | | | | | | | | | | * time-stamp.el (time-stamp-format): Untabify the doc string, so the two-column layout displays consistently in several contexts, in particular when displayed by customize-variable.
* | Fix initial value of frame-inhibit-implied-resizeEli Zaretskii2019-10-101-7/+11
| | | | | | | | | | | | * src/frame.c (syms_of_frame): Update doc string and default value of frame-inhibit-implied-resize in GTK builds to include 'tab-bar-lines.
* | Port time-stamp-test-time-zone to macOSPaul Eggert2019-10-101-6/+8
| | | | | | | | | | | | | | Problem reported by Stefan Kangas in: https://lists.gnu.org/r/emacs-devel/2019-10/msg00360.html * test/lisp/time-stamp-tests.el (time-stamp-test-time-zone): Don’t assume (format-time-string "%Z" 0 t) returns "GMT".
* | identity, ignore: Make arg names more consistent with docsJuanma Barranquero2019-10-103-9/+9
| | | | | | | | | | | | | | | | * lisp/subr.el (ignore): Rename argument IGNORE to ARGUMENTS. * src/fns.c (Fidentity): Rename ARG to ARGUMENT. * doc/lispref/functions.texi (Calling Functions): Fix references.
* | checkdoc CL testsDamien Cassou2019-10-101-0/+106
| | | | | | | | | | * test/lisp/emacs-lisp/checkdoc-tests.el: Add cl-lib-related tests (bug#37063).
* | Make checkdoc work better with cl-lib functionsdick r. chiang2019-10-101-3/+2
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-defun-info): Make checkdoc work for cl-lib methods with more complex parameter lists (bug#37063). Copyright-paperwork-exempt: yes
* | Fix formatting of (file-size-human-readable 2047)Lars Ingebrigtsen2019-10-102-1/+8
| | | | | | | | | | * lisp/files.el (file-size-human-readable): Don't format slightly-less numbers as X.0k, but just Xk instead (bug#36329).
* | Work around bad interaction between dired-omit-mode and recover-sessionLars Ingebrigtsen2019-10-101-1/+8
| | | | | | | | | | * lisp/files.el (recover-session): Add ugly hack to try to ensure that we're actually showing the session files (bug#36223).
* | Allow filtering out warnings/errors from compile.el detectionLars Ingebrigtsen2019-10-102-12/+48
| | | | | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-transform-file-match-alist): New variable (bug#32968). (compilation-error-properties): Use it to remove known false positives. (compilation-error-regexp-alist): Mention it in this doc string.
* | Clarify documentation of show-help-function slightlyLars Ingebrigtsen2019-10-101-8/+9
| | | | | | | | | | * doc/lispref/text.texi (Special Properties): Clarify where the example in Tooltip mode is (bug#35392).
* | * lisp/tab-bar.el: Don't show window count for one window.Juri Linkov2019-10-101-8/+16
| | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-tab-name-selected-window): Don't show the number of windows when there is only one window in the window configuration. (tab-bar-close-other-tabs): Rename from tab-close-other. Take into account tab-bar-show to turn off when needed. (tab-close-other): Alias to tab-bar-close-other-tabs.
* | Fix nnimap tick/readedness thinko introduced some weeks backLars Ingebrigtsen2019-10-091-5/+5
| | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-request-set-mark): Fix thinko in the tick/read change: Unticking a message shouldn't make it unread, but ticking it should make it read.
* | Make mml-secure-epg-sign bug out if we can't find an identityLars Ingebrigtsen2019-10-092-2/+3
| | | | | | | | | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Bug out if we couldn't find anything to sign with instead of silently pretending to sign. * lisp/gnus/mml-smime.el (mml-smime-epg-sign): Don't bind inhibit-display because that makes debugging impossible.
* | Remove XEmacs compat code from edt.el (Bug#37621)Stefan Kangas2019-10-091-147/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emulation/edt.el (top-level, edt-emacs-variant) (edt-window-system, edt-xserver, edt-page-backward) (edt-beginning-of-line, edt-end-of-line-forward) (edt-end-of-line-backward, edt-one-word-forward) (edt-one-word-backward, edt-character, edt-line-forward) (edt-next-line, edt-previous-line, edt-top, edt-find-forward) (edt-find-backward, edt-find-next-forward) (edt-find-next-backward, edt-reset, edt-advance, edt-backup) (edt-define-key, edt-bottom-check, edt-sentence-forward) (edt-sentence-backward, edt-paragraph-forward) (edt-paragraph-backward, edt-restore-key, edt-window-top) (edt-window-bottom, edt-scroll-window-backward-line) (edt-line-to-bottom-of-window, edt-line-to-middle-of-window) (edt-goto-percentage, edt-display-the-time, edt-remember) (edt-split-window, edt-load-keys, edt-emulation-on) (edt-emulation-off, edt-default-emulation-setup) (edt-user-emulation-setup, edt-select-default-global-map) (edt-select-user-global-map): Remove XEmacs compat code.
* | Move the "Skeleton Language" node to later in the manualLars Ingebrigtsen2019-10-091-100/+99
| | | | | | | | | | * doc/misc/autotype.texi (Skeleton Language): Move this low-level node to after the more user-facing nodes (bug#20780).
* | Add a letrec example to the manuelLars Ingebrigtsen2019-10-091-1/+11
| | | | | | | | * doc/lispref/variables.texi (Local Variables): Add a letrec example.
* | Tweak letrec documentationLars Ingebrigtsen2019-10-091-1/+1
| | | | | | | | | | * doc/lispref/variables.texi (Local Variables): Compare letrec to let* instead of let.
* | time-stamp: revert recent change to "%04y"Stephen Gildea2019-10-092-7/+12
| | | | | | | | | | | | | | | | | | | | * time-stamp.el (time-stamp-string-preprocess): Revert change to "%04y" format made 2 weeks ago by commit 0e56883878 (the previous commit to this file). Although undocumented, "%04y" was discovered to be in use in the wild (2016) and had not issued a warning that it would change. Add a warning that it will change. * time-stamp-tests.el (time-stamp-test-year-2digit): add test of "%04y"
* | Warn about missing executables in RST PDF previewSimen Heggestøyl2019-10-091-1/+6
| | | | | | | | | | | | * lisp/textmodes/rst.el (rst-compile-pdf-preview): Warn about missing executables when attempting to compile and preview an RST file as PDF. (Bug#30063)
* | Expand testing of time-stamp format "%y"Stephen Gildea2019-10-091-12/+26
| | | | | | | | | | | | | | * time-stamp-tests.el (time-stamp-test-year): break into two tests, time-stamp-test-year-2digit and time-stamp-test-year-4digit. Expand time-stamp-test-year-2digit to look more like tests for other 2-digit conversions.
* | Silence compiler warningJuanma Barranquero2019-10-091-1/+1
| | | | | | | | * src/w32.c (acl_to_text): Add ATTRIBUTE_MALLOC.
* | ; Fix typo in previous commitRobert Pluim2019-10-091-1/+1
| | | | | | | | * lisp/replace.el (query-replace-read-from): Fix typo in docstring.
* | Expand documentation on Lisp variables defined in C sourcesRobert Pluim2019-10-091-5/+68
| | | | | | | | | | | | | | * doc/lispref/internals.texi (Writing Emacs Primitives): Add description of DEFVAR_* arguments. Describe variable naming conventions. Explain how to express quoting of symbols in C, plus 'specbind' and how to create buffer-local variables.
* | * doc/misc/tramp.texi (Remote shell setup): Howto configure local shell.Michael Albinus2019-10-091-3/+16
| |
* | Support zsh as local shell in Tramp (Bug#31924)Michael Albinus2019-10-091-5/+8
| | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-extra-args): Extend zsh arguments. Add :version. (tramp-maybe-open-connection): Use extra args for `tramp-encoding-shell'. (Bug#31924)
* | Implement offsets for absolute line numbersJuanma Barranquero2019-10-094-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (syms_of_xdisp) <display-line-numbers-offset>: New variable to add an offset to absolute line numbers. (syms_of_xdisp) <display-line-numbers>: Mention it in docstring. (maybe_produce_line_number): Use it. * doc/emacs/display.texi (Display Custom): Document it. * etc/NEWS (value): Announce it. * lisp/frame.el: Add `display-line-numbers-offset' to list of variables which should trigger redisplay of the current buffer.
* | Do not use tick faces beyond ZV (bug#37641)Juanma Barranquero2019-10-091-17/+21
| | | | | | | | | | | | * src/xdisp.c (maybe_produce_line_number): Check beyond_zv before using a tick face for the line number. Move all face selection code outside the loop that draws the line number.
* | Improve doc strings in replace.elEli Zaretskii2019-10-091-10/+26
| | | | | | | | | | | | | | | | | | * lisp/replace.el (query-replace-read-from) (query-replace-compile-replacement, query-replace-read-to) (replace-string, replace-regexp, occur-mode-goto-occurrence) (occur-next-error, occur-rename-buffer, multi-occur) (multi-occur-in-matching-buffers): Describe all arguments in doc strings. (Bug#31207)
* | Fix minor Texinfo errors in ELisp manualEli Zaretskii2019-10-092-8/+8
| | | | | | | | | | | | | | * doc/lispref/errors.texi (Standard Errors): Fix incorrect usage of @xref commands. (Bug#37660) * doc/lispref/internals.texi (Buffer Internals): Fix markup. (Bug#37639)
* | Ensure that the pulse overlay is visibleLars Ingebrigtsen2019-10-091-0/+3
| | | | | | | | | | | | * lisp/cedet/pulse.el (pulse-momentary-highlight-overlay): Make the pulse overlay have priority over the marked-region overlay (bug#29173).
* | Protect against unlikely case of [menu-bar] not being boundLars Ingebrigtsen2019-10-091-6/+8
| | | | | | | | | | * lisp/recentf.el (recentf-show-menu): (recentf-hide-menu): The [menu-bar] key may be unbound (bug#25191).
* | Add some sanity checks to dired-x.el key bindingsLars Ingebrigtsen2019-10-091-5/+8
| | | | | | | | | | * lisp/dired-x.el: Ensure that prefix keys haven't be rebound to commands before adding keystrokes (bug#25190).
* | Allow global-edebug-prefix to be nilLars Ingebrigtsen2019-10-091-2/+3
| | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (global-edebug-prefix): Allow global-edebug-prefix to be nil (if the user doesn't want that prefix) (bug#25188).
* | Fix possible initialisation error in shell-mode-mapLars Ingebrigtsen2019-10-091-1/+1
| | | | | | | | | | * lisp/shell.el (shell-mode-map): Comint is the parent mode, so there's no need to explicitly make it a parent map here (bug#25187).
* | Upcase parameters in things like "&optional (arg 3)"Lars Ingebrigtsen2019-10-091-2/+11
| | | | | | | | | | * lisp/help.el (help--make-usage): Upcase cl-defgeneric (etc) parameter names (bug#23517).