summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge from GnulibPaul Eggert2017-11-2520-76/+162
| | | | | | | | | | | | | | This incorporates: 2017-11-23 stat: work around Solaris bug with tv_nsec < 0 2017-11-12 maint: shorten https://lists.gnu.org/archive/html/... links * build-aux/config.sub, doc/misc/texinfo.tex, lib/allocator.h: * lib/fstatat.c, lib/intprops.h, lib/lstat.c, lib/signal.in.h: * lib/stat-time.h, lib/stdio-impl.h, lib/stdio.in.h: * lib/timespec.h, m4/alloca.m4, m4/extern-inline.m4: * m4/faccessat.m4, m4/fstatat.m4, m4/gnulib-common.m4: * m4/lstat.m4, m4/std-gnu11.m4, m4/sys_types_h.m4: * m4/vararrays.m4: Copy from Gnulib.
* Work around GCC bug 80776 on Fedora 27 x86Paul Eggert2017-11-251-1/+5
| | | | | | | * src/buffer.c (Fgenerate_new_buffer_name): Pacify GCC 7.2.1 20170915 (Red Hat 7.2.1-2) on i686 with -Wformat-overflow -O2 by using XINT rather than XFASTINT and by adding an eassume. This works around GCC bug 80776.
* Tweak copy-file, rename-file docPaul Eggert2017-11-251-8/+4
| | | | | | | | * src/fileio.c (Fcopy_file, Frename_file): Tweak the recent change slightly, as NEWNAME is treated as a directory name depending only on the contents of the NEWNAME string, and independently of whether NEWNAME names a directory (i.e., whether the directory exists) (Bug#29362).
* Change font-lock-extend-region-multiline handling in mhtml-modeTom Tromey2017-11-251-2/+7
| | | | | | | | Bug#29159 * lisp/textmodes/mhtml-mode.el (mhtml-mode): Remove font-lock-extend-region-multiline from font-lock-extend-region-functions. (mhtml--extend-font-lock-region): Call font-lock-extend-region-multiline.
* Minor cleanup in tramp-gvfs-handle-file-local-copyMichael Albinus2017-11-251-4/+4
| | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-local-copy): Move error message up.
* Add test for Bug#29423 in Tramp.Michael Albinus2017-11-252-1/+9
| | | | | * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory): Add test for Bug#29423.
* Avoid jumbled order in HTML rendered by shr.elEli Zaretskii2017-11-251-1/+3
| | | | | | * lisp/net/shr.el (shr-render-td): Preserve point, as shr-render-td-1 might move it as a side effect of save-window-excursion. (Bug#29348)
* Make sure 'dired-filename' property is always put by ls-lispEli Zaretskii2017-11-251-7/+9
| | | | | | * lisp/ls-lisp.el (ls-lisp-classify): Do not put the 'dired-filename' text property on the file name here... (ls-lisp-classify-file): ...put it here instead. (Bug#29423)
* A better solution for bug#29347Eli Zaretskii2017-11-241-8/+10
| | | | | * src/thread.c (really_call_select): Don't try to take the global lock if the same thread is already holding it. (Bug#29347)
* ; * src/thread.c (acquire_global_lock): Fix thinko in last change.Eli Zaretskii2017-11-241-1/+1
|
* Avoid a hang after C-g while sit-for on a Unix TTYEli Zaretskii2017-11-241-1/+6
| | | | | * src/thread.c (acquire_global_lock): Don't try to take the global lock if the same thread is already holding it. (Bug#29347)
* Improve the doc string of 'list-packages'Eli Zaretskii2017-11-241-1/+3
| | | | | * lisp/emacs-lisp/package.el (list-packages): Describe in the doc string the columns shown by the command. (Bug#29420)
* Improve discoverability of 'defvar' for suppressing warningsEli Zaretskii2017-11-242-3/+11
| | | | | | | * doc/lispref/compile.texi (Compiler Errors): Add index entries. * doc/lispref/variables.texi (Defining Variables): Mention that defvar with no value is used for suppressing compiler warnings. (Bug#29400)
* Improve discoverability of 'read-buffer-completion-ignore-case'Eli Zaretskii2017-11-242-13/+17
| | | | | | | | | * lisp/window.el (switch-to-buffer) (switch-to-buffer-other-window, switch-to-buffer-other-frame): Mention 'read-buffer' in the doc string. (Bug#29389) * doc/emacs/buffers.texi (Select Buffer): Add a cross-reference to where 'read-buffer-completion-ignore-case' is documented.
* Improve documentation of self-insert-uses-region-functionsEli Zaretskii2017-11-244-11/+35
| | | | | | | | | | | | * lisp/simple.el (self-insert-uses-region-functions): Clarify the doc string. * lisp/delsel.el (delete-selection-uses-region-p): Mention 'self-insert-command' in the doc string. (Bug#29373) * doc/lispref/text.texi (Commands for Insertion): Mention 'self-insert-uses-region-functions'. * doc/lispref/modes.texi (Keymaps and Minor Modes): Add a cross-reference to "Commands for Insertion".
* Reflect changes in copy-file and rename-file in doc stringsEli Zaretskii2017-11-241-0/+6
| | | | | * src/fileio.c (Fcopy_file, Frename_file): Mention in the doc strings that directory names must end in a slash. (Bug#29362)
* * lisp/progmodes/cc-vars.el (c-offsets-alist): Doc fix. (Bug#29407)Eli Zaretskii2017-11-241-2/+2
|
* Reorder type predicates in ELisp manualEli Zaretskii2017-11-241-21/+12
| | | | | * doc/lispref/objects.texi (Type Predicates): Restore alphabetical order of listed predicates. (Bug#29411)
* Fix backward scrolling in buffers with header-lineEli Zaretskii2017-11-231-3/+9
| | | | | | * src/window.c (window_scroll_pixel_based): Account for the header-line when comparing Y coordinate with the last_visible_y. (Bug#29325)
* ; Fix some doc typosGlenn Morris2017-11-227-8/+8
|
* * lisp/bindings.el (buffer-file-coding-system):Glenn Morris2017-11-222-1/+5
| | | | | | Add explicit permanent-local mark. ; * src/buffer.c (init_buffer_once): Comment.
* * src/fns.c (syms_of_fns) <overriding-plist-environment>: Doc fix.Glenn Morris2017-11-221-1/+1
|
* Fix incorrect interaction of drag/drop and double click (bug#29121)Alan Third2017-11-221-2/+0
| | | | | * src/nsterm.m (EmacsView::performDragOperation): Drag and drop doesn't use ns-input-file.
* * lisp/menu-bar.el (menu-bar-options-save):Glenn Morris2017-11-211-1/+1
| | | | Add display-line-numbers-type.
* * lisp/menu-bar.el (menu-bar-options-save):Glenn Morris2017-11-211-1/+2
| | | | Add global-display-line-numbers-mode. (Bug#28396)
* * lisp/follow.el (follow-mode): Restore mode line lighter. (Bug#28495)Glenn Morris2017-11-211-0/+1
|
* ; Compare process status against 127 exactlyDmitry Gutov2017-11-221-2/+4
|
* Extract the common part of ruby-flymake-simple and ruby-flymake-rubocopDmitry Gutov2017-11-221-77/+64
| | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-flymake-simple) (ruby-flymake-rubocop): Extract the common part as ruby-flymake--helper. (ruby--rubocop-flymake-proc): Remove. Use the first proc variable instead.
* Add Rubocop Flymake backendDmitry Gutov2017-11-221-18/+100
| | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-flymake-command): Inline the value. There are no known substitutes. (ruby-flymake): Rename to `ruby-flymake-simple' and simplify the docstring. (ruby-flymake-use-rubocop-if-available): New option. (ruby--rubocop-flymake-proc): New variable. (ruby-rubocop-config): New option. (ruby-flymake-rubocop, ruby-flymake-auto): New functions. (ruby-mode): Use `ruby-flymake-auto'.
* ; Fix a typoDmitry Gutov2017-11-221-1/+1
|
* Update nt/INSTALL.W64 (Bug#28601)Noam Postavsky2017-11-211-18/+58
| | | | | | | | | * nt/INSTALL.W64 (Download and install MinGW-w64 and MSYS2): Move suggestion about modifying PATH to... (Test Emacs): ... here. (Run configure): Remove the unnecessary setting of PKG_CONFIG_PATH. (Troubleshooting): New section, includes suggestion to check PKG_CONFIG_PATH.
* Remove incorrect NEWS item about VC state indicator (Bug#28817)Charles A. Roelli2017-11-211-5/+0
| | | | | | * etc/NEWS (VC and related modes): Remove news item about the VC state indicator. This should have been done with commit 7882dc6 of 2016-03-06 'Revert "Use colors in the VC mode lines"'.
* * lisp/emacs-lisp/byte-run.el (defsubst): Doc fix.Glenn Morris2017-11-211-0/+1
|
* Make c-defun-name analyze more thoroughly a function type which is a structAlan Mackenzie2017-11-211-3/+19
| | | | | | | | | This fixes bug #29293. * lisp/progmodes/cc-cmds.el (c-defun-name): When a struct (etc.) type is encountered, check whether it is the return type of a function rather than a declaration of the struct itself. Similarly adapt the cond arm which deals with functions properly to recognize struct return types.
* Avoid bogus abbreviated file names if HOME changesGlenn Morris2017-11-212-24/+48
| | | | | | * lisp/files.el (abbreviate-file-name): If HOME changes, ignore `abbreviated-home-dir'. (Bug#19657#20) * test/lisp/files-tests.el (files-test-abbreviated-home-dir): New.
* * lisp/emacs-lisp/byte-run.el (inline): Give it a doc.Glenn Morris2017-11-211-2/+6
|
* Fix erc keep-place module with new defaults (Bug#29111)Jay Kamat2017-11-211-1/+13
| | | | | | | | * lisp/erc/erc-goodies.el (erc-keep-place): Allow erc keep-place to continue working with switch-to-buffer-preserve-window-point set to t, the new default. Copyright-paperwork-exempt: yes
* Add window divider faces to NS (bug#29353)Alan Third2017-11-201-7/+43
| | | | | * src/nsterm.m (ns_draw_window_divider): Use window-divider-first-pixel and window-divider-last-pixel faces.
* * src/keyboard.c: Undo last change, meant for master onlyStefan Monnier2017-11-201-1/+1
|
* Fix Bug#29149Michael Albinus2017-11-201-16/+19
| | | | | | | * lisp/net/tramp.el (tramp-drop-volume-letter): Handle also backup file names. (tramp-handle-find-backup-file-name): Call `tramp-drop-volume-letter' on the results. (Bug#29149)
* Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into emacs-26Michael Albinus2017-11-204-9/+19
|\
| * Fix misbehavior when drawing three-pixel high horizontal dividers (Bug#29353)Martin Rudalics2017-11-202-8/+16
| | | | | | | | | | | | | | | | | | * src/xterm.c (x_draw_window_divider): * src/w32term.c (w32_draw_window_divider): Fix misbehavior when drawing three-pixel high horizontal dividers (Bug#29353). The misbehavior was noted by Keith David Bershatsky and analyzed by Alan Third.
| * MH-E: don't automatically download external-body partsMike Kupfer2017-11-191-0/+2
| | | | | | | | | | | | * lisp/mh-e/mh-mime.el (mh-mime-display-single): Use mm-automatic-display-p to verify that a part should be displayed before doing the inline checks (SF#475).
| * ; * lisp/emacs-lisp/byte-run.el: Fix a typo in a comment.Eli Zaretskii2017-11-191-1/+1
| |
* | ; Fix last commitMichael Albinus2017-11-191-1/+0
|/
* ; Fix last commitMichael Albinus2017-11-191-1/+1
| | | | | * test/lisp/net/tramp-tests.el (tramp-test24-file-acl): Check for local ACL support. (Bug#29291)
* Further fix for Bug#29291Michael Albinus2017-11-191-3/+5
| | | | | * test/lisp/net/tramp-tests.el (tramp-test24-file-acl): Check for local ACL support. (Bug#29291)
* Fix divider frame params on NS (bug#29352)Alan Third2017-11-191-0/+4
| | | | | * src/nsfns.m (Fx_create_frame): Set right-divider-width and bottom-divider-width parameters.
* Spelling fixesPaul Eggert2017-11-194-8/+7
| | | | | | * lisp/help-fns.el (help-fns--analyze-function): Rename from help-fns--analyse-function. All uses changed.
* * src/keyboard.c: Make xterm-mouse clicks on mode-line workOlaf Rogalsky2017-11-181-1/+1
| | | | | (read_key_sequence): Recompute first_event after replay_sequence, since it might have changed (bug#29104).