summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Check result from c-backward-token-2 to avoid infinite loopAlan Mackenzie2018-12-201-2/+2
| | | | | | | This fixes bug #33784. * lisp/progmodes/cc-fonts.el (c-get-fontification-context): While moving back over enclosing parentheses, check that c-backward-token-2 actually moves.
* cl-make-random-state was not copying its argPaul Eggert2018-12-192-1/+6
| | | | | | | | Problem reported by Xu Chunyang (Bug#33731). * lisp/emacs-lisp/cl-extra.el (cl-make-random-state): Use copy-sequence, not copy-tree, so that the record is copied. * test/lisp/emacs-lisp/cl-extra-tests.el: (cl-extra-test-cl-make-random-state): New test.
* Skip a vc-bzr test if run as rootGlenn Morris2018-12-191-0/+3
| | | | | | | | * test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-faulty-bzr-autoloads): Skip this test when run as root. This works around a race condition in root-specific code in vc-mode-line when deleting a file. ; Do not merge to master, instead fix vc-mode-line there.
* ; Copyright year fixGlenn Morris2018-12-191-4/+6
| | | | No need to merge to master
* Backport: Handle unread-command-events consistently (bug#23980)Chris Feng2018-12-192-0/+37
| | | | | | | | | * src/keyboard.c (read_char): Events put into `unread-command-events' with the form (t . EVENT) should always have the t stripped when read out. * test/src/keyboard-tests.el: New tests for `unread-command-events'. (cherry picked from commit 1f3f4b1296613b8cdc0632a68fde86e86ddad866)
* Restrict downcasing in elisp xref tests (bug#25534)Glenn Morris2018-12-181-8/+20
| | | | | | | | | | | | The tests happen to not fail at the moment because find-library-name now has an extra feature, find-library--from-load-history, which happens to do a case-insensitive regexp match; but still it seems better not to rely on this. * test/lisp/progmodes/elisp-mode-tests.el (xref--case-insensitive): New variable. (xref-elisp-test-run, emacs-test-dir): Only downcase if the filesystem seems to be case-insensitive.
* Avoid test failures if directory name looks like a regexpRob Browning2018-12-182-4/+5
| | | | | | | | Taken from <https://sources.debian.org/patches/emacs/1:26.1+1-1> * test/lisp/ibuffer-tests.el (ibuffer-filter-inclusion-3): * test/lisp/net/tramp-tests.el (tramp-test42-remote-load-path): Regexp-quote file names to avoid failures with directory names of the form "build/emacs-i87jK3/emacs-26.1+1/...".
* Fix Bug#33524Michael Albinus2018-12-181-1/+1
| | | | | | * lisp/progmodes/flymake-proc.el (flymake-proc-create-temp-with-folder-structure): Unquote file-name. (Bug#33524)
* * doc/lispintro/emacs-lisp-intro.texi (Finding More): Fix xref.Glenn Morris2018-12-171-1/+1
|
* More porting to GCC 8 of --enable-gcc-warningsPaul Eggert2018-12-174-14/+9
| | | | | | | | | | Backport from master. I ran into this when building Emacs 26 with GCC 8 on Fedora 29 x86. * lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu): * lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance): * lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]: No longer const. * src/emacs-module.c: Ignore -Wcast-function-type.
* Fix an epg test for recent GnuPG versions (bug#33439)Glenn Morris2018-12-141-0/+2
| | | | | * test/lisp/epg-tests.el (epg-decrypt-1): Tell recent GnuPG (e.g. 2.2.11) not to worry about missing MDC.
* Document font structure layout constraintsRobert Pluim2018-12-141-2/+4
| | | | | | This has to be the same as in src/ftcrfont.c and src/ftfont.c * src/xftfont.c (struct xftfont_info): Document layout constraints.
* Document font structure layout constraintsRobert Pluim2018-12-142-4/+6
| | | | | | | | | The layout of the initial members of ftcrfont_info must match ftfont_info * src/ftcrfont.c (struct ftcrfont_info): Likewise. * src/ftfont.c (struct ftfont_info): Document layout constraints.
* Fix display of line numbers in empty lines beyond EOBEli Zaretskii2018-12-141-1/+4
| | | | | | | * src/xdisp.c (maybe_produce_line_number): When the current line is at EOB, use the 'line-number-current-line' face only on that single line, but not on the rest of empty lines beyond EOB. (Bug#33732)
* Fix redisplay when a window's scroll bar or fringes are changedEli Zaretskii2018-12-111-0/+11
| | | | | | | * src/window.c (set_window_fringes, set_window_scroll_bars): Set windows_or_buffers_changed flag to cause immediate thorough redisplay of a window when scroll bars or fringes are changed. (Bug#33694)
* Tiny markup fix in Elisp manualMartin Rudalics2018-12-111-1/+1
| | | | | * doc/lispref/lists.texi (Building Lists): Use '@var' instead of '@code' for argument.
* CC Mode: stop extra parens on expression causing false fontification as typeAlan Mackenzie2018-12-101-3/+5
| | | | | | * lisp/progmodes/cc-fonts.el (c-get-fontification-context): recognize arithmetic operator followed by several open parentheses, not just one, as not being an argument list.
* Fix cairo scrolling for side-by-side windowsAri Roponen2018-12-101-2/+3
| | | | | | | | | Backport: Fixes Bug#33442. * src/xterm.c (x_scroll_run) [USE_CAIRO]: Fix scrolling for side-by-side split windows. (Bug#31288) (cherry picked from commit 6e362a32bc9d21f73a0f29ca6f45481edeea6f29)
* CC Mode: stop wrongly recognizing "func(a * 9)" as "pointer to type a"Alan Mackenzie2018-12-101-2/+6
| | | | | | | * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): When testing for an identifier after "a *", on failure additionally check for a digit, setting a new flag variable got-number if one is found. In the test for CASE 18, check this flag.
* * lisp/emacs-lisp/cursor-sensor.el: Add motivationStefan Monnier2018-12-091-0/+21
|
* Guard occur against an undefined orig-lineRaimon Grau2018-12-101-1/+3
| | | | | | | | ; Not to be merged to master * lisp/replace.el (occur-engine): Avoid inserting the current line if orig-line is nil. This happens, for example, when reverting an occur buffer with `list-matching-lines-jump-to-current-line' set to t. (Bug#33476)
* Indexing followup to recent changesEli Zaretskii2018-12-091-1/+3
| | | | | * doc/lispref/text.texi (Special Properties): Index 'cursor-sensor-inhibit'. (Bug#33664)
* Improve documentation of cursor-sensor.el (bug#33664)Stefan Monnier2018-12-092-7/+25
| | | | | | * doc/lispref/text.texi (Special Properties): Mention cursor-sensor-inhibit. * lisp/emacs-lisp/cursor-sensor.el (Commentary): Add cursor-sensor-mode. (cursor-sensor-inhibit): Add docstring.
* * doc/lispref/commands.texi (Adjusting Point): Bug#33662Stefan Monnier2018-12-091-1/+2
| | | | Tweak text to clarify intangibility.
* Tramp multi-hop methods must be inlineMichael Albinus2018-12-091-0/+2
| | | | | * doc/misc/tramp.texi (Ad-hoc multi-hops): Involved methods must be inline methods.
* ; * src/xterm.c (x_update_begin): Fix whitespace.Eli Zaretskii2018-12-081-1/+1
|
* Fix scaling problem in Cairo buildsAri Roponen2018-12-081-4/+10
| | | | | | * src/xterm.c (x_begin_cr_clip) [USE_GTK]: (x_update_begin) [USE_CAIRO && USE_GTK]: Support scaling. (Bug#33442)
* ; * doc/lispref/text.texi (Special Properties): Fix wording. (Bug#33663)Eli Zaretskii2018-12-071-1/+1
|
* * lisp/simple.el (next-line-or-history-element): Use current-columnJuri Linkov2018-12-071-4/+18
| | | | | in all position calculations. (previous-line-or-history-element): Idem. (Bug#33640)
* A few further fixes of window internals descriptionMartin Rudalics2018-12-032-88/+150
| | | | | * doc/lispref/internals.texi (Window Internals): Add a few more items and clarify description of some others.
* Revert "Revert "Fix infloop in GC mark_kboards""Eli Zaretskii2018-12-021-1/+6
| | | | | | | This reverts commit c418c85617babbe7b63730fefb71e2c87a0141af. This reinstates the original fix, as it had nothing to do with the behavior reported in bug#33571, which seems to be the expected behavior.
* Revert "Fix infloop in GC mark_kboards"Eli Zaretskii2018-12-021-6/+1
| | | | | | This reverts commit af914fc26db273d8788e7efa57c569f0f778d037, since it caused unintended adverse effects on echoing of keys. (Bug#33571)
* * lisp/emacs-lisp/subr-x.el (if-let, when-let): Doc fix: active voice.Glenn Morris2018-12-011-16/+13
|
* Fix infloop in GC mark_kboardsPaul Eggert2018-12-011-1/+6
| | | | | Do not merge to master, as I have a more systematic fix there. * src/keyboard.c (mark_kboards): Fix infloop (Bug#33547).
* ; Add notes about cross-compiling macOS versionsAlan Third2018-12-012-0/+34
|
* Fix macOS run-time feature checkAlan Third2018-12-011-2/+2
| | | | | * src/nsterm.m (x_set_parent_frame) [NS_IMPL_COCOA]: Fix run-time feature check.
* * etc/NEWS-*: Fix capitalization of "Emacs"Stefan Monnier2018-12-015-5/+5
|
* ; Auto-commit of loaddefs files.Glenn Morris2018-12-011-28/+49
|
* Fix "M-x man" when there's no 'man' program on PATHEli Zaretskii2018-12-011-1/+2
| | | | | | * lisp/man.el (Man-bgproc-sentinel): Make sure the process buffer is not read-only when inserting a message into it. (Bug#33510)
* Fix core dump in dbus-message-internalPaul Eggert2018-11-301-1/+1
| | | | | | Backport from master. * src/dbusbind.c (Fdbus_message_internal): Don’t go past array end (Bug#33530).
* ; * CONTRIBUTE: Clarify rules for committing to release branches.Eli Zaretskii2018-11-301-9/+17
|
* * doc/misc/dbus.texi (Type Conversion): Fix typo. (Bug#33551)Michael Albinus2018-11-301-1/+1
|
* ; Add comment to `customize-package-emacs-version-alist'Michael Albinus2018-11-301-3/+7
|
* Improve documentation of gdb-mi.elEli Zaretskii2018-11-302-2/+19
| | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-show-changed-values) (gdb-max-children): Doc fixes. * doc/emacs/building.texi (Source Buffers, Stack Buffer) (GDB User Interface Layout): Mention some additional customizable variables. (Bug#33548)
* LDAP: Set process-connection-type to t on DarwinThomas Fitzsimmons2018-11-291-1/+6
| | | | | | * lisp/net/ldap.el (ldap-search-internal): Set process-connection-type to t on Darwin. Do not merge to master. (Bug#33050)
* Fix a typo in a doc stringEli Zaretskii2018-11-281-1/+1
| | | | | * lisp/emacs-lisp/map-ynp.el (read-answer-short): Fix typo. (Bug#33528)
* Minor markup fix in frames.texiEli Zaretskii2018-11-281-1/+1
| | | | | * doc/lispref/frames.texi (Frame Layout): Fix markup of @table entries. (Bug#33531)
* * lisp/net/trampver.el (customize-package-emacs-version-alist):Glenn Morris2018-11-271-1/+1
| | | | Add 2.3.3.
* * lisp/mh-e/mh-e.el (customize-package-emacs-version-alist): Additions.Glenn Morris2018-11-271-2/+3
|
* * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Pass format to message.Glenn Morris2018-11-271-1/+3
|