summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2019Paul Eggert2019-01-012579-2603/+2635
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* * doc/man/emacs.1.in: Fix value of default frame height. (Bug#33921)Eli Zaretskii2018-12-311-2/+2
|
* In user manual fix value of default frame height (Bug#33921)Martin Rudalics2018-12-301-1/+1
| | | | | * doc/emacs/cmdargs.texi (Window Size X): Fix value of default frame height (Bug#33921).
* Improve documentation of 'file-local-name' and related APIsEli Zaretskii2018-12-294-17/+46
| | | | | | | | | | | | | | | * doc/lispref/files.texi (Unique File Names) (Magic File Names, File Name Expansion): Improve documentation of the "local part" of a remote file name. * doc/lispref/processes.texi (Synchronous Processes) (Asynchronous Processes): State explicitly that program and file names passed to functions that start remote processes need to be relative or obtained by 'file-local-name'. * lisp/files.el (file-local-name): * lisp/simple.el (start-file-process, process-file): Improve the documentation of the "local part" of a remote file name, and its use in APIs that start remote processes.
* ; Remove comment in esh-proc.elMichael Albinus2018-12-291-1/+0
|
* Fix Bug#31704. Do not mergeMichael Albinus2018-12-291-0/+1
| | | | | * lisp/net/tramp.el (tramp-eshell-directory-change): Use `path-separator' as it does eshell. (Bug#31704)
* Fix Bug#31704. Do not mergeMichael Albinus2018-12-292-5/+4
| | | | | | | | | * lisp/eshell/esh-proc.el (eshell-gather-process-output): Do not let `expand-file-name' prefix remote file names with MS Windows volume letter. * lisp/net/tramp.el (tramp-eshell-directory-change): Use `path-separator' as it does eshell. (Bug#31704)
* * lisp/files.el (cd): Fix last change. (Bug#33791)Eli Zaretskii2018-12-291-1/+0
|
* Fix remote directories in Eshell on MS-WindowsEli Zaretskii2018-12-291-3/+10
| | | | | * lisp/files.el (cd): Support remote directory names on MS-Windows. (Bug#33791)
* Fix :type 'group' in defcustomDrew Adams2018-12-291-1/+1
| | | | * lisp/wid-edit.el (group): Fix the :format spec. (Bug#33566)
* Fix NS fringe bitmap drawing bug (bug#33864)Alan Third2018-12-281-1/+1
| | | | | * src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear correctly.
* Fix commentary in dispnew.cEli Zaretskii2018-12-281-3/+5
| | | | | * src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in the commentary.
* Improve accept-process-process docPaul Eggert2018-12-272-5/+9
| | | | | | | | * doc/lispref/processes.texi (Accepting Output): * src/process.c (Faccept_process_output): Document that (accept-process-output P) can return non-nil even after P has exited, and that it can return nil even if P is still running (Bug#33839).
* Fix a simple bug in display-buffer-use-some-frameStephen Leake2018-12-231-4/+2
| | | | | * lisp/window.el (display-buffer-use-some-frame): Simplify the predicate, fix TYPE arg to window--display-buffer.
* Clarify thread switching while waiting for process outputMichael Albinus2018-12-231-3/+3
| | | | | | * doc/lispref/threads.texi (Threads): Clarify, that thread switching happens when waiting for process output from asynchronous processes.
* Improve process doc. with respect to handling of large input (Bug#33191)Charles A. Roelli2018-12-222-10/+12
| | | | | | | | | | | * src/process.c (Fprocess_send_region, Fprocess_send_string): Document that process input longer than the process input buffer may be split into bunches. Remove an outdated reference to a 500 character split boundary. * doc/lispref/processes.texi (Asynchronous Processes): Remove mention of "stray character injections" in PTY processes. See also the comment about ICANON in src/sysdep.c, function child_setup_tty.
* ; Cosmetic changes in etc/NEWSMichael Albinus2018-12-221-1/+3
|
* Minor copyedits in landmark.elTerrence Brannon2018-12-221-2/+9
| | | | * lisp/obsolete/landmark.el: Fix author's email and commentary.
* 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)