1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-09 08:21:30 -07:00
Commit graph

132274 commits

Author SHA1 Message Date
Dmitry Gutov
172f7e5488 Support PREDICATE in ido-read-buffer
* lisp/ido.el (ido-predicate): New variable.
(ido-read-buffer): Bind it.
(ido-make-buffer-list): Use it.
2018-02-28 15:43:40 +02:00
Dmitry Gutov
108ce84432 xref--next-error-function: Move xref's window point
* lisp/progmodes/xref.el (xref--next-error-function): Move
xref's window point if it's visible.  When we don't do that,
navigation can start looping after a while.
2018-02-28 04:04:29 +02:00
Dmitry Gutov
11c58c4fc4 Fix xref--next-error-function behavior WRT current buffer
* lisp/progmodes/xref.el (xref--show-location): Make sure to
make the target window selected at the end, and its buffer
current (bug#20489).
2018-02-28 04:04:29 +02:00
Stefan Monnier
7a8f3311a7 * lisp/gnus/mm-decode.el: Use lexical-binding and use cl-lib
(mm-display-parts): Remove unused arg 'no-default'.  Use 'cond'.
(mm-display-external): Use closures rather than `(lambda ...).
Don't bother with 'lexical-let'.
(mm-insert-part): No need for string-to-multibyte now that
'insert' will do that for us now (it used to behave more like
string-make-multibyte).
(mm-pipe-part): Remove unused var 'name'.
(shr-width, shr-content-function, shr-inhibit-images): Declare.
(mm-shr): Use a closure rather than `(lambda ...).
2018-02-27 20:47:23 -05:00
Stefan Monnier
c005b089d1 * lisp/gnus/mm-extern.el: Use lexical-binding
Don't require 'cl'.
(mm-extern-anon-ftp): Remove unused var 'mode'.
2018-02-27 20:39:06 -05:00
Noam Postavsky
2291d9ae88 Fix python.el for Emacs 24, bump ELPA version to 0.26.1 (Bug#30633)
Since python.el is distributed via GNU ELPA, it should be functional
in earlier Emacs versions.  Also fix some compile warnings.
* lisp/progmodes/python.el: Bump version to 0.26.1.  Define
`prog-first-column' and `file-local-name' also at compile time, as
needed.
(inferior-python-mode-hook): Declare for the benefit of Emacs 24.3.
(python-nav-end-of-statement): Fix format string for assertion error.
(python-shell-tramp-refresh-process-environment): Don't `function'
quote a symbol which might not be fbound.
(python-mode): Only use prettify-symbols settings if they're bound.
2018-02-27 20:21:26 -05:00
Glenn Morris
4494c4cb63 * lisp/nxml/nxml-mode.el (nxml-mode): Remove warning due to #'. 2018-02-27 18:44:35 -05:00
Glenn Morris
e554c0c02b Quieten without-x gnus compilation
* lisp/gnus/gnus-group.el (image-load-path-for-library):
* lisp/gnus/gnus-sum.el (image-load-path-for-library):
* lisp/gnus/message.el (image-load-path-for-library): Declare.
* lisp/gnus/gnus-cloud.el (gnus-group-refresh-group):
* lisp/gnus/mml.el (image-property): Autoload.
2018-02-27 18:43:23 -05:00
Juri Linkov
450b0d1c0d * lisp/simple.el (next-error-find-buffer-function): Set default to #'ignore.
(next-error-find-buffer): Don't check next-error-find-buffer-function
for nil.  (Bug#20489)
2018-02-27 23:38:04 +02:00
Stefan Monnier
d56b8fa329 * lisp/dired.el (dired-get-filename): Don't string-to-multibyte
We don't need to convert manually to multibyte now that Emacs doesn't silently
convert (uni)bytes into latin-N chars depending on locale any more.
2018-02-27 16:18:30 -05:00
Glenn Morris
49408d7418 Remove last vestiges of obsolete font-lock-face-attributes
* lisp/ps-print.el (ps-font-lock-face-attributes): Remove function.
(ps-build-reference-face-lists):
No longer call ps-font-lock-face-attributes.
* lisp/font-lock.el (font-lock-face-attributes):
Remove stale declaration.
2018-02-27 15:38:47 -05:00
Glenn Morris
f8df49c3a9 Remove free variable warning when compiling viper using .el files
* lisp/emulation/viper-cmd.el (viper-saved-mark): Move definition...
* lisp/emulation/viper-util.el (viper-saved-mark): ... to here.
2018-02-27 13:02:02 -05:00
Aaron Jensen
e7a5b1bb67 Require a larger stack size for threads (bug#30364)
* src/systhread.c (sys_thread_create) [THREADS_ENABLED && HAVE_PTHREAD]:
Require at least 8MB stack size for x64 and 4MB for x86.
2018-02-27 09:28:30 -08:00
Paul Eggert
b38cb1495d Update from gnulib
This includes:
2018-02-27 environ: fix link error on 32-bit Cygwin
* doc/misc/texinfo.tex, lib/unistd.in.h: Copy from gnulib.
2018-02-27 09:09:59 -08:00
Stefan Monnier
18ff4be3ea * lisp/gnus/mm-util.el: Use lexical-binding and use cl-lib
(mm-iso-8859-x-to-15-region): Remove unused var 'charset'.
(mm-with-unibyte-buffer, mm-with-multibyte-buffer): Use 'declare'.
(mm-with-unibyte-current-buffer): Remove.
2018-02-27 10:12:36 -05:00
Michael Albinus
913bdb3c5a Add ".msu" to Tramp file archives
* doc/misc/tramp.texi (Archive file names):
* lisp/net/tramp-archive.el (tramp-archive-suffixes):  Add ".msu".
2018-02-27 15:26:09 +01:00
Glenn Morris
2871de24a3 * lisp/dired-aux.el (dired-create-destination-dirs): Doc fix. 2018-02-26 23:40:43 -08:00
Mathieu Othacehe
bc08ffbd2c Add coreutils 'ls' support for tramp adb
* lisp/net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): Allow '.'
character in file permissions. It indicates an SELinux security
context.
(tramp-adb-get-ls-command): Detect Coreutils version of 'ls'.
Use 'ls -1' instead of passing COLUMNS=1 env variable. This is
isofunctional.  (Bug#30594)

Copyright-paperwork-exempt: yes
2018-02-27 08:31:18 +01:00
Michael Albinus
a566062722 Fix problem in tramp-handle-substitute-in-file-name
* lisp/net/tramp.el (tramp-handle-substitute-in-file-name): Concat "/"
only for local file "~".
2018-02-27 08:31:18 +01:00
Glenn Morris
7c843eedaf Remove leading * from two defcustom doc strings
* lisp/gnus/mm-util.el (mm-extra-numeric-entities):
* lisp/progmodes/cperl-mode.el (cperl-indent-subs-specially):
Remove obsolete leading * from defcustom doc string.
2018-02-26 23:11:20 -08:00
Glenn Morris
ea2008aeeb Quieten without-x, without-xml2 builds
* lisp/help.el (x-display-pixel-height, x-display-pixel-width):
* lisp/image.el (image-flush, image-size):
* lisp/textmodes/sgml-mode.el (libxml-parse-html-region):
Declare for compiler.
2018-02-26 22:47:27 -08:00
Glenn Morris
fe9b612123 Quieten without-x mwheel.el compilation
* lisp/mwheel.el (mwheel-tilt-scroll-p, mwheel-flip-direction)
(mwheel-scroll-left-function, mwheel-scroll-right-function)
(mouse-wheel-left-event, mouse-wheel-right-event):
Move definitions before use.
2018-02-26 17:05:04 -05:00
Glenn Morris
f1b2c23117 * lisp/net/zeroconf.el (dbus-debug): Declare for builds without dbus. 2018-02-26 17:00:41 -05:00
Glenn Morris
12a18d01b9 Quieten without-x lisp compilation
* lisp/international/fontset.el (fontset-alias-alist):
* lisp/term/ns-win.el (mouse-wheel-scroll-amount)
(mouse-wheel-progressive-speed): Declare for without-x builds.
2018-02-26 16:59:42 -05:00
Glenn Morris
0959c777fd * lisp/net/rcirc.el (rcirc-prompt-start-marker): Define before using. 2018-02-26 15:41:02 -05:00
Glenn Morris
a55b3fee40 * lisp/term/ns-win.el (ns-version-string): Declare for non-ns builds. 2018-02-26 15:40:02 -05:00
Glenn Morris
84ea61a838 Remove compiler warnings due to #'
* lisp/gnus/mm-decode.el (mm-convert-shr-links):
* lisp/ps-print.el (ps-print-region-function):
Remove compiler warnings due to #'.
2018-02-26 13:51:01 -05:00
Glenn Morris
2ea62d635d Update some lisp function declarations 2018-02-26 13:35:30 -05:00
Daniel Colascione
25271a63a0 Make bare "make" in src actually build emacs again
* src/Makefile.in (all): Move target ahead of dep-file inclusion.
2018-02-26 09:18:11 -08:00
Paul Eggert
7df482a820 Update from gnulib
* build-aux/config.guess, build-aux/config.sub: Copy from gnulib.
2018-02-26 08:58:38 -08:00
Glenn Morris
9f56d04df4 Merge from origin/emacs-26
560a23e (origin/emacs-26) Document reserved keys
b0be19b ; * doc/emacs/xresources.texi (Table of Resources): Fix last ...
2018-02-24 09:44:13 -08:00
Eli Zaretskii
560a23e1da Document reserved keys
* doc/emacs/custom.texi (Key Bindings): Mention keys reserved for
users.  (Bug#30530)
2018-02-24 19:39:16 +02:00
Eli Zaretskii
b0be19b4ae ; * doc/emacs/xresources.texi (Table of Resources): Fix last change. 2018-02-24 18:07:28 +02:00
Glenn Morris
80c2bf6e16 Merge from origin/emacs-26
7e7f2ea (origin/emacs-26) * src/keyboard.c (syms_of_keyboard): Doc fi...
c0676d4 Improve documentation of X resources
d806d69 ; Use @minus for negative numbers in some texi files
4a8ea7d * lisp/international/mule.el (keyboard-coding-system): Doc fix.
8a73b80 Minor doc fixes, mostly for timestamp issues
361a8b9 * doc/emacs/mini.texi (Completion Styles): Improve indexing.
2dc24d5 Fix @findex and @vindex entries in manuals
76f5242 Document, in the Elisp manual, how to get a character's raw s...
5fb2957 Improvements in the Emacs manual
de17b8e Tiny doc/misc markup fixes
2018-02-24 07:50:30 -08:00
Robert Pluim
8a23dc1507 Describe 'view-lossage' changes in its docstring and NEWS
* lisp/help.el (view-lossage): Mention that this now uses the same
format as `edit-last-kbd-macro'.  (Bug#30560)

* etc/NEWS: Improve the wording of the entry.
2018-02-24 13:15:42 +02:00
Eli Zaretskii
7e7f2ea644 * src/keyboard.c (syms_of_keyboard): Doc fix. (Bug#30588) 2018-02-24 11:30:02 +02:00
Eli Zaretskii
c0676d483d Improve documentation of X resources
* doc/emacs/xresources.texi (Table of Resources): Add menu-related
resources.  Add cross-references to "GTK Resources".
2018-02-24 11:14:10 +02:00
Glenn Morris
d806d69649 ; Use @minus for negative numbers in some texi files 2018-02-23 16:00:44 -05:00
Glenn Morris
4a8ea7d49a * lisp/international/mule.el (keyboard-coding-system): Doc fix.
Since multi-tty, this is always set.
2018-02-23 15:41:29 -05:00
Paul Eggert
15863145cb * .gitignore: revert latest change; not currently needed 2018-02-23 11:58:15 -08:00
Paul Eggert
8a73b80aa4 Minor doc fixes, mostly for timestamp issues 2018-02-23 11:52:18 -08:00
Glenn Morris
0b39f1afe0 * lisp/vc/vc-git.el: Silence compiler. 2018-02-23 14:14:58 -05:00
Glenn Morris
8156e3f3e0 * admin/automerge: Quieten initial pull if start with reset. 2018-02-23 12:52:11 -05:00
Eli Zaretskii
361a8b908b * doc/emacs/mini.texi (Completion Styles): Improve indexing. 2018-02-23 17:39:23 +02:00
Michael Albinus
2dc24d5536 Fix @findex and @vindex entries in manuals
* doc/emacs/building.texi:
* doc/emacs/calendar.texi:
* doc/emacs/cmdargs.texi:
* doc/emacs/mini.texi:
* doc/emacs/misc.texi:
* doc/emacs/trouble.texi:
* doc/emacs/windows.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/edebug.texi:
* doc/lispref/frames.texi:
* doc/lispref/os.texi:
* doc/lispref/windows.texi:
* doc/misc/cc-mode.texi:
* doc/misc/dired-x.texi:
* doc/misc/ediff.texi:
* doc/misc/mh-e.texi:
* doc/misc/pcl-cvs.texi:
* doc/misc/reftex.texi:
* doc/misc/sc.texi:
* doc/misc/vhdl-mode.texi:
* doc/misc/viper.texi: Fix @findex and @vindex entries.
2018-02-23 15:30:19 +01:00
Eli Zaretskii
088b1b864c Fix documentation from recent changes
* lisp/isearch.el (isearch-yank-symbol-or-char): Doc fix.

* doc/emacs/search.texi (Isearch Yank): Fix wording.
* doc/emacs/building.texi (Grep Searching): Fix last change.
2018-02-23 08:54:28 +02:00
Daniel Colascione
a12dccc713 Add more build outputs to .gitignore
* .gitignore: Add more generated files
2018-02-22 17:50:39 -08:00
Daniel Colascione
b9d414e77c Add isearch-yank-symbol-or-char
* doc/emacs/search.texi (Isearch Yank): Document new
function, keybindings.

* etc/NEWS: Mention isearch changes.

* lisp/isearch.el (isearch--yank-char-or-syntax): New function.
(isearch-yank-word-or-char): Call it.
(isearch-yank-symbol-or-char): New function.
(isearch-mode-map): Change 'C-M-w' binding from
'isearch-del-char' to isearch-yank-symbol-or-char; add 'C-M-d'
binding for 'isearch-del-char'.
2018-02-22 17:50:39 -08:00
Daniel Colascione
b7542b2a0a Remove unnecessary explicit subword-mode use from isearch
* lisp/isearch.el (isearch-yank-word-or-char): Remove explicit
use of subword-mode. These days, subword-mode use is an
automatic side effect of forward-word.
2018-02-22 17:50:39 -08:00
Glenn Morris
ea1604537a * lisp/vc/vc-git.el: Avoid bootstrap errors since recent grep change.
The introduction of grep-find-hide-properties caused an
"invalid read syntax" failure when saving ja-dic.el,
when vc-git.el loaded grep.el.  Fortunately, vc-git doesn't
actually need to load grep when being compiled.
2018-02-22 20:47:26 -05:00