aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Fix ordering of Gnus groups after yankingEric Abrahamsen2019-08-031-5/+3
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-start.el (gnus-group-change-level): Fix docstring to note that the inserted group is inserted *before* the PREVIOUS group. Fix indexing -- shouldn't have been adding one to the index.
* | | Remove stale .pdmp files with ‘make clean’Paul Eggert2019-08-032-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Sven Joachim (Bug#36907). * admin/make-emacs: Simplify, now that clean does versionclean. * src/Makefile.in ($(etc)/DOC, versionclean, extraclean): Don’t ignore rm -f failures. (versionclean): Also remove emacs-*.*.*[0-9].pdmp and ../etc/DOC*. (clean): Depend on versionclean and simplify.
* | | * doc/lispref/display.texi (SVG Images): Remove menu.Glenn Morris2019-08-031-3/+0
| | | | | | | | | | | | Not needed since SVG Path Commands was changed to not be a node.
* | | Clarify hi-lock-file-patterns-prefix doc stringLars Ingebrigtsen2019-08-031-1/+1
| | | | | | | | | | | | | | | * lisp/hi-lock.el (hi-lock-file-patterns-prefix): Clarify doc string (bug#17993).
* | | Mention `themed-value' in Variable Definitions nodeLars Ingebrigtsen2019-08-031-2/+4
| | | | | | | | | | | | | | | * doc/lispref/customize.texi (Variable Definitions): Mention `themed-value' (bug#17996).
* | | calc mode line touch upOleh Krehel2019-08-031-1/+1
| | | | | | | | | | | | | | | * lisp/calc/calc.el (calc-set-mode-line): Don't put excessive white space in mode line (bug#18079).
* | | Fix rare undefined behaviors in replace-matchPaul Eggert2019-08-031-69/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/search.c (Freplace_match): Simplify by caching search_regs components. Fix sanity check for out-of-range subscripts; it incorrectly allowed negative subscripts, subscripts equal to search_regs.num_regs, and it had undefined behavior for subscripts outside ptrdiff_t range. Improve wording of newly-introduced replace-match diagnostic. Rework use of opoint, to avoid setting point to an out-of-range value in rare cases involving modification hooks.
* | | cua-rect help: check for 'control valuePierre-Yves Luyten2019-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | * lisp/emulation/cua-rect.el (cua-help-for-rectangle): Check for 'control value (bug#18120). Copyright-paperwork-exempt: yes
* | | delete-backward/forward-char doc string clarificationLars Ingebrigtsen2019-08-031-4/+6
| | | | | | | | | | | | | | | | | | * lisp/simple.el (delete-backward-char): Doc string clarification (bug#18192). (delete-forward-char): Ditto.
* | | ido-find-file doc string additionLars Ingebrigtsen2019-08-031-2/+2
| | | | | | | | | | | | | | | * lisp/ido.el (ido-find-file): Mention ido-reread-directory (bug#18275). Suggested by Rob Browning.
* | | easy-menu-define doc string fixKevin Ryde2019-08-031-0/+11
| | | | | | | | | | | | | | | * emacs-lisp/easymenu.el (easy-menu-define): Docstring :label and :help of the menu itself.
* | | Add some function index entries for ido.texiLars Ingebrigtsen2019-08-031-3/+14
| | | | | | | | | | | | * doc/misc/ido.texi: Add index entries for functions (bug#18691).
* | | Tweak tq queue processingAndreas Politz2019-08-031-8/+11
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/tq.el (tq-process-buffer): Pop the queue before calling the function because the function may add new entries to the queue (bug#19016). Also report errors.
* | | Tweak tango-dark-theme hightlight faceLars Ingebrigtsen2019-08-031-1/+1
| | | | | | | | | | | | | | | * etc/themes/tango-dark-theme.el (class): Make highlight a bit less yellow to make the cursor visible on it (bug#19189).
* | | Fix error message in replace-match for subexpressionsLars Ingebrigtsen2019-08-031-0/+6
| | | | | | | | | | | | | | | * src/search.c (Freplace_match): Output a more understandable error message when replacing a subexpression (bug#19208).
* | | Clarify Freplace_match logicLars Ingebrigtsen2019-08-031-2/+6
| | | | | | | | | | | | | | | * src/search.c (Freplace_match): Add some doc strings to clarify the logic and do a minor clean up (bug#19208).
* | | Don't refer to non-existent functions in mode line examplesLars Ingebrigtsen2019-08-032-2/+2
| | | | | | | | | | | | | | | | | | | | | * doc/lispintro/emacs-lisp-intro.texi (Mode Line): Ditto. * doc/lispref/modes.texi (Mode Line Top): In the :eval example, use a function that exists to avoid confusion (bug#19224).
* | | Fix previous macroexp-progn doc string fixLars Ingebrigtsen2019-08-031-2/+3
| | | | | | | | | | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp-progn): Fix previous doc string clarification.
* | | ; * etc/NEWS: Fix a typo. (Bug#36829)Eli Zaretskii2019-08-031-1/+1
| | |
* | | Minor doc fix in etags.elEli Zaretskii2019-08-031-1/+4
| | | | | | | | | | | | | | | * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order): Doc fix. (Bug#32510)
* | | Improve documentation of debugging Lisp syntax errorEli Zaretskii2019-08-031-19/+26
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/debugging.texi (Syntax Errors, Excess Open) (Excess Close): Name the commands invoked by the key sequences. Add cross-references to appropriate sections of the Emacs manual. (Bug#21385)
* | | Improve documentation of 'display-buffer-*' functionsEli Zaretskii2019-08-031-10/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-in-atom-window) (display-buffer-in-side-window, display-buffer-same-window) (display-buffer--maybe-same-window) (display-buffer-reuse-window) (display-buffer-reuse-mode-window) (display-buffer-pop-up-frame, display-buffer-pop-up-window) (display-buffer--maybe-pop-up-frame-or-window) (display-buffer--maybe-pop-up-frame) (display-buffer-in-child-frame, display-buffer-in-direction) (display-buffer-below-selected, display-buffer-at-bottom) (display-buffer-in-previous-window) (display-buffer-use-some-window, display-buffer-no-window): More details about the ALIST argument in the doc string. (Bug#19461)
* | | macroexp doc fixesLars Ingebrigtsen2019-08-021-2/+3
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp-progn): Doc clarification (bug#19371). (macroexp-let*): Doc fix.
* | | macroexp--cons doc fixLars Ingebrigtsen2019-08-021-1/+2
| | | | | | | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp--cons): Doc fix (bug#19371).
* | | Fix some minor inconsistencies in the Package examplesLars Ingebrigtsen2019-08-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/package.texi (Simple Packages): Use one of the approved keywords (bug#19490). * doc/lispref/tips.texi (Library Headers): Use URL instead of Homepage to make things consistent with "Simple Packages".
* | | Don't but out on ~/.git files in edeLars Ingebrigtsen2019-08-021-0/+2
| | | | | | | | | | | | | | | * lisp/cedet/ede/detect.el (ede--detect-ldf-root-predicate): Make this work with ~/ as the dir (bug#19521).
* | | browse-url doc string fixupLars Ingebrigtsen2019-08-021-2/+6
| | | | | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-browser-function) (browse-url-secondary-browser-function): Mention each other in the doc strings.
* | | Make Info-find-file ensure that Info is initialisedLars Ingebrigtsen2019-08-021-0/+1
| | | | | | | | | | | | | | | * lisp/info.el (Info-find-file): Ensure that Info is initialised, because libraries call that function (bug#19880).
* | | Fix progression in hideshow.elLars Ingebrigtsen2019-08-021-1/+2
| | | | | | | | | | | | | | | * lisp/progmodes/hideshow.el (hs-hide-all): Ensure progression in a less brittle fashion (bug#19892).
* | | Fix example code in hideshow.elMichael Heerdegen2019-08-021-1/+2
| | | | | | | | | | | | | | | * lisp/progmodes/hideshow.el: The original example would infloop (bug#19892).
* | | Use default value of `parse-time-months' in tramp-smb.elMichael Albinus2019-08-021-4/+6
| | | | | | | | | | | | | | | * lisp/net/tramp-smb.el (tramp-smb-read-file-entry): Use default value of `parse-time-months'.
* | | ; Fix typo in filenotify-tests.elMichael Albinus2019-08-021-1/+1
| | |
* | | Improve pretty-printing of multiple JSON snippets in a regionTassilo Horn2019-08-021-19/+54
| | | | | | | | | | | | | | | | | | | | | * lisp/json.el (json-pretty-print): Improve pretty-printing of multiple JSON snippets in a region. Don't lose the region contents starting with the first non-JSON-parseable text. Also, don't swallow errors that occurred while parsing (bug#34160).
* | | ; Docfixes for recent browse-url.el additionsBasil L. Contovounesios2019-08-021-5/+5
| | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-secondary-browser-function) (browse-url-button-copy): Fix punctuation in and clarify docstrings.
* | | CC Mode: Fix error in macro cache. This fixes bug #36802Alan Mackenzie2019-08-021-0/+5
| | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-invalidate-macro-cache): Add in a cond arm to handle the change position being less than the recorded CPP contruct end.
* | | Make gravatar.el more configurableBasil L. Contovounesios2019-08-023-13/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html * etc/NEWS: Announce changes in gravatar.el user options. * lisp/image/gravatar.el (gravatar-cache-ttl): Change :type to number of seconds without changing the default value and while still accepting other timestamp formats. (gravatar-rating): Restrict :type to ratings recognized by Gravatar. (gravatar-size): Allow nil as a value, in which case Gravatar's default size is used. (gravatar-default-image, gravatar-force-default): New user options controlling the Gravatar query parameters 'default' and 'forcedefault', respectively. (gravatar-base-url): Use HTTPS. (gravatar--query-string): New helper function to facilitate testing. (gravatar-build-url): Use it. * test/lisp/image/gravatar-tests.el (gravatar-size) (gravatar-default-image, gravatar-force-default) (gravatar-build-url): New tests.
* | | Fix some minor gravatar.el issuesBasil L. Contovounesios2019-08-022-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html * lisp/image/gravatar.el (gravatar-hash): Trim leading and trailing whitespace in given address, as per the Gravatar docs. (gravatar-retrieve-synchronously): Silence call to url-retrieve-synchronously for consistency with gravatar-retrieve. (gravatar-retrieved): Only cache buffer on successful retrieval. * test/lisp/image/gravatar-tests.el: New file.
* | | DRY in gravatar.elBasil L. Contovounesios2019-08-021-31/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html * lisp/image/gravatar.el (gravatar-data->image): Remove. (gravatar-retrieve, gravatar-retrieve-synchronously): Reuse url-fetch-from-cache and gravatar-retrieved to reduce duplication. (gravatar-retrieved): Only cache buffer if url-current-object is non-nil and return result of callback. This affords reusing this function in cached URL buffers.
* | | Use lexical-binding for Gravatar supportBasil L. Contovounesios2019-08-022-90/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html * lisp/gnus/gnus-gravatar.el: Use lexical-binding. Link custom group 'gnus-gravatar' to 'gravatar'. (gnus-gravatar-size, gnus-gravatar-too-ugly): Doc fix. (gnus-gravatar-insert): Check liveness of article buffer sooner. (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Use interactive spec "p" instead of emulating it. * lisp/image/gravatar.el: Use lexical-binding. (gravatar-cache-expired): Remove. Change all callers to use url-cache-expired instead. (gravatar-get-data, gravatar-retrieve) (gravatar-retrieve-synchronously): Simplify.
* | | CC Mode: Fix spurious recognition of operators beginning with, e.g. "or"Alan Mackenzie2019-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | This fixes bug #36801. * lisp/progmodes/cc-langs.el (c-pre-lambda-tokens-re): Use c-make-keywords-re rather than regexp-opt to make an optimised regexp out of a list of tokens.
* | | pdb doc clarificationLars Ingebrigtsen2019-08-021-3/+9
| | | | | | | | | | | | | | | * lisp/progmodes/gud.el (pdb): Clarify what the parameters mean (bug#20106).
* | | Mention that some dired commands work on the current file, tooLars Ingebrigtsen2019-08-021-0/+9
| | | | | | | | | | | | | | | | | | | | | * lisp/dired-aux.el (dired-do-search): Mention that it works on file under point (bug#20194). (dired-do-find-regexp-and-replace): Ditto. (dired-do-find-regexp): Ditto.
* | | CC Mode: Fix the timing of application and removal of string fence propertiesAlan Mackenzie2019-08-021-36/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #36897. * lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Check string fence text properties are actually present on string delimiters before trying to remove them. (c-before-change): Amend the nesting of unwind-protect, widen, c-restore-string-fences, and c-clear-string-fences. Move invalidate-state-cache to outside of the widening. (c-after-change): Amend the nesting of unwind-protect, widen, c-restore-string-fences, and c-clear-string-fences.
* | | Use "rebinding keys" in the "Rebinding" section of the manualLars Ingebrigtsen2019-08-021-1/+1
| | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Rebinding): Use the term "rebinding keys" instead of "redefining keys", because the former seems more logical (bug#21036).
* | | Clean up file-size-functionMattias Engdegård2019-08-025-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is now called `byte-count-to-string-function', and used instead of calling `file-size-human-readable' directly where appropriate. * lisp/files.el (file-size-human-readable-iec): New. (file-size-function): Rename to byte-count-to-string-function. Better default value. Eliminate lambda. Better default for custom choice. Put in group `files'. More descriptive doc string. Move. (out-of-memory-warning-percentage, warn-maybe-out-of-memory) (get-free-disk-space): * lisp/dired.el (dired-number-of-marked-files): * lisp/url/url-http.el (url-http-simple-after-change-function) (url-http-content-length-after-change-function): Use byte-count-to-string-function. * test/lisp/files-test.el (files-test-file-size-human-readable): Test file-size-human-readable-iec.
* | | Mention font-backend related crashes in PROBLEMSEli Zaretskii2019-08-021-0/+7
| | | | | | | | | | | | | | | * etc/PROBLEMS: Mention the crash in the Cairo build when .emacs.desktop messes with font-backend. (Bug#36835)
* | | Fix two parse-time-months invalid assumptionsPaul Eggert2019-08-013-20/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnimap.el: Do not require parse-time. * lisp/gnus/nnimap.el (nnimap-find-expired-articles): * lisp/net/pop3.el (pop3-make-date): Just use system-time-locale and format-time-string; no need to refer to parse-time-months. * lisp/net/pop3.el (parse-time-months): Remove defvar. * lisp/net/tramp-smb.el (tramp-smb-read-file-entry): Add FIXME comment about this.
* | | Port standard-test-interval to Los AngelesPaul Eggert2019-08-011-6/+6
| | | | | | | | | | | | | | | * test/lisp/calendar/iso8601-tests.el (standard-test-interval): Use UTC to avoid DST glitches in the test.
* | | Document that --eval makes emacsclient ignore -nLars Ingebrigtsen2019-08-021-0/+1
| | | | | | | | | | | | | | | * doc/man/emacsclient.1: Mention that -n is ignored if --eval is given (bug#20524).
* | | Document batch-byte-compile directory behaviorLars Ingebrigtsen2019-08-011-1/+8
| | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (batch-byte-compile): Document the behaviour with directories (bug#20867).