1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

132426 Commits

Author SHA1 Message Date
Noam Postavsky
cc8ae51e6f ; lisp/emacs-lisp/eieio.el (eieio-object-set-name-string): Fix quote. 2018-03-01 22:08:42 -05:00
Noam Postavsky
4a09341921 Fix issues turned up by previous python.el change
See [1] for more discussion.
* lisp/progmodes/python.el (python--prettify-symbols-alist): Define
the obsolete alias before the variable proper, so that we correctly
get the user's settings regardless of which name they set.
(python-nav-end-of-statement): Add missing backslash.
(python-shell-send-file): Call `expand-file-name' before
`file-local-name', the expansion of "~" could be different on remote
filenames.
(python-mode): Declare prettify-symbols-alist instead of checking if
it's bound.  Use the non-obsolete python-prettify-symbols-alist name,
rather than checking if the obsolete name is bound (it always is too,
but the Emacs 24 byte compiler doesn't recognize that
define-obsolete-variable-alias defines a variable).

[1]: https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00826.html
2018-03-01 22:07:21 -05:00
Paul Eggert
832b9ece36 ; Spelling fixes 2018-03-01 18:43:07 -08:00
Paul Eggert
dd88499e89 ; Spelling fixes 2018-03-01 18:34:17 -08:00
Glenn Morris
703fdeec8c * admin/automerge: Quieten initial reset. 2018-03-01 21:19:12 -05:00
Paul Eggert
a206ea124c Arrange for loaddefs files to be greppable
Without this change, ldefs-boot.el contains a couple of stray NUL
bytes, which cause it to be considered to be a non-text file by
tools like GNU grep.
* lisp/emacs-lisp/autoload.el (autoload-print-form):
Set print-escape-control-characters to t.
2018-03-01 18:16:43 -08:00
Paul Eggert
a4605cd60d Improve octal-escape output in bool vectors and strings
* src/print.c (octalout): New function.
(print_vectorlike): When printing bool vectors, use
octal escapes for control characters when
print-escape-control-characters is non-nil, so that
the printed representation avoids encoding issues.
Rename locals to avoid byte-vs-char confusion.
(print_object): Don't output unnecessary zeros when
printing octal escapes.  Simplify by using octalout.
2018-03-01 18:16:43 -08:00
Tak Kunihiro
3968f72be8 Rename some mwheel options, for consistency
* lisp/mwheel.el (mouse-wheel-tilt-scroll)
(mouse-wheel-flip-direction): Rename from mwheel-tilt-scroll-p,
mwheel-flip-direction.
(mwheel-scroll): Update for option renaming.
* doc/emacs/frames.texi (Mouse Commands):
Update for option renaming.
2018-03-01 20:44:22 -05:00
Glenn Morris
de92605038 Quieten nnir.el compilation
* lisp/gnus/nnir.el (gnus-inhibit-demon, gnus-article-decode-hook):
Declare dynamic variables.
(nnir-request-group, nnir-retrieve-headers)
(nnir-request-move-article, nnir-request-update-mark)
(nnir-run-swish++, nnir-run-swish-e, nnir-run-namazu)
(nnir-run-notmuch, nnir-registry-action)
(nnir-request-create-group, nnir-request-delete-group)
(nnir-request-list, nnir-request-scan): Mark unused arguments.
(nnir-warp-to-article, nnir-run-imap, nnir-run-gmane)
(nnir-get-active): Remove unused local variables.
2018-03-01 20:32:22 -05:00
Glenn Morris
7d3152862f * lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler. 2018-03-01 20:29:23 -05:00
Glenn Morris
5967b14f48 Quieten url-auth.el compilation
* lisp/url/url-auth.el (url-digest-auth-nonce-count):
Mark unused argument.
2018-03-01 20:28:34 -05:00
Glenn Morris
7995f44bce Quieten ses.el compilation
* lisp/ses.el (ses--edit-cell-completion-at-point-function)
(ses--read-printer-completion-at-point-function):
Mark unused arguments.
2018-03-01 20:28:03 -05:00
Paul Eggert
2038b6a1dd make-docfile: minor fixes and cleanups
* lib-src/make-docfile.c: Include c-ctype.h.
(read_c_string_or_comment, write_c_args, scan_c_stream, skip_white)
(read_lisp_symbol, scan_lisp_file):
Prefer c_isspace etc. to listing characters by hand.
(read_c_string_or_comment): Simplify.
(scan_c_stream, read_lisp_symbol): Use true for boolean 1.
(scan_c_stream): Fix typo (c >= 'Z' && c <= 'Z').
Minor rewrites to avoid duplicate code.
(scan_c_stream, read_lisp_symbol, scan_lisp_file):
Avoid infloop if at EOF.
(skip_white, read_lisp_symbol): Don’t stuff getc result into
‘char’, as this mishandles EOF.
2018-03-01 16:25:42 -08:00
Glenn Morris
d6e78de50b * lisp/vc/add-log.el (add-change-log-entry): Replace obsolete alias. 2018-03-01 17:48:21 -05:00
Glenn Morris
e58f9a45d6 * lisp/emulation/viper-ex.el (ex-cmd-read-exit): Silence compiler. 2018-03-01 17:37:10 -05:00
Glenn Morris
da18508029 Quieten defun-mh compilation
* lisp/mh-e/mh-acros.el (defun-mh):
Rewrite so the compiler can see it always defines target function.
2018-03-01 13:11:29 -05:00
Glenn Morris
321e1a61e1 Quieten mh-compat compilation
* lisp/mh-e/mh-compat.el (mh-assoc-string)
(mh-replace-regexp-in-string): Silence compiler warnings.
2018-03-01 13:10:37 -05:00
Glenn Morris
c16ef04f83 Simplify mh-thread-set-tables
* lisp/mh-e/mh-thread.el (mh-thread-set-tables):
Rewrite to simplify and remove compiler warning.
2018-03-01 13:08:47 -05:00
Glenn Morris
02a71e6c2f Use select-message-coding-system in mh-comp
* lisp/mh-e/mh-comp.el (mh-send-letter):
Use select-message-coding-system.  (Bug#30060)
2018-03-01 13:07:42 -05:00
Eli Zaretskii
5fe0387d9c Improve the Emacs manual
* doc/emacs/xresources.texi (Table of Resources): Mention that
some resources are ignored by toolkit builds.
* doc/emacs/custom.texi (Key Bindings): Improve indexing.
(Bug#30530)
2018-03-01 17:51:25 +02:00
Eli Zaretskii
56ab8e3bac * lisp/dired-aux.el (dired-do-create-files): Doc fix. (Bug#30634) 2018-03-01 17:31:21 +02:00
Eli Zaretskii
8643de540e Remove redundant test in fns.c
* src/fns.c (extract_data_from_object): Remove redundant
CHECK_BUFFER test.
2018-03-01 17:20:32 +02:00
Glenn Morris
3ee322a95b ; Auto-commit of loaddefs files. 2018-03-01 07:29:26 -05:00
Glenn Morris
dde91a37ea ; Auto-commit of loaddefs files. 2018-03-01 06:26:08 -05:00
Michael Albinus
304278c040 Further improvements on manuals
* doc/emacs/xresources.texi:
* doc/lispref/display.texi:
* doc/lispref/keymaps.texi:
* doc/misc/dbus.texi:
* doc/misc/efaq-w32.texi: Use "GTK+" where applicable.

* doc/emacs/xresources.texi (Resources): Mention several use
of "-xrm".
(Table of Resources) [verticalScrollBars]: Add reference to Scroll Bars.
2018-03-01 09:25:55 +01:00
Paul Eggert
ca8afa7672 Require a larger stack size for threads on macOS (bug#30364)
* src/systhread.c (sys_thread_create)
[THREADS_ENABLED && HAVE_PTHREAD && DARWIN_OS]:
Require at least 8MB stack size for x64 and 4MB for x86 on macOS.
Do not merge to master.
2018-02-28 16:31:20 -08:00
Glenn Morris
d5f6ff99c2 Quieten without-x org compilation
* lisp/org/org.el (image-refresh):
* lisp/org/ox-odt.el (clear-image-cache, image-size): Declare.
2018-02-28 16:55:41 -05:00
Glenn Morris
e1a26cdad9 Quieten compilation of octave.el
* lisp/progmodes/octave.el (compilation-forget-errors): Re-declare.
2018-02-28 15:50:37 -05:00
Glenn Morris
55444a5a7a * configure.ac (with_gconf): Respect --without-all. 2018-02-28 15:20:42 -05:00
Glenn Morris
2f25eae17e Quieten eshell compilation
* lisp/eshell/em-tramp.el: Require esh-cmd.
* lisp/eshell/esh-ext.el: Requie esh-io at runtime too.
2018-02-28 14:35:56 -05:00
Glenn Morris
e8721c3849 * lisp/url/url-handlers.el (mm-charset-to-coding-system): Declare. 2018-02-28 14:35:47 -05:00
Glenn Morris
2a7eeef856 ; Remove debug code left in previous by mistake 2018-02-28 13:55:53 -05:00
Glenn Morris
088dfdd5d5 Fix header comment in generated bovine grammar file
* lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
Fix header comment in generated scm-by.el.
2018-02-28 13:44:12 -05:00
Glenn Morris
e8edf4ad60 Quieten cedet "might not be defined at runtime" compile warnings
* admin/grammars/scheme.by (semantic-parse-region):
* lisp/cedet/ede.el (ede--project-inode):
* lisp/cedet/semantic/texi.el (semantic-analyze-context):
Declare.
2018-02-28 13:40:26 -05:00
Glenn Morris
3959892419 Merge from origin/emacs-26
fd50238 (origin/emacs-26) * doc/lispref/streams.texi (Output Variable...
769ea57 Use "GTK+" where applicable in the manual
5e69219 Document print-escape-control-characters
c00fea9 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
a2ab0d0 * doc/emacs/killing.texi (Rectangles): Don't use @key for cha...
6288c3d * lisp/emulation/viper.el: Unbreak it.
bf3535e More fixes in the Emacs manual
c87d04e Avoid aborts in 'md5'
9743f48 Mark keys consistently in manuals
ce557a9 Remove @key{} markups from @kindex entries in manuals
71243f0 * doc/emacs/display.texi (Standard Faces): Fix markup of inde...
7a069f3 Fix @kindex entries in manuals
6218933 Fix @cindex entries in manuals
57c9f12 Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into...
e415309 Fix @cindex entries in org.texi
560a23e Document reserved keys
105d085 * doc/misc/ebrowse.texi: Use @key{} for keys.

Conflicts:
	doc/misc/tramp.texi
	etc/NEWS
2018-02-28 09:40:40 -08:00
Glenn Morris
fd50238748 * doc/lispref/streams.texi (Output Variables): Fix previous. 2018-02-28 12:35:44 -05:00
Michael Albinus
769ea57734 Use "GTK+" where applicable in the manual
* doc/emacs/display.texi (Standard Faces, Standard Faces):
* doc/emacs/emacs.texi (Top):
* doc/emacs/files.texi (Visiting):
* doc/emacs/frames.texi (Scroll Bars):
* doc/emacs/xresources.texi: Use "GTK+" where applicable.
2018-02-28 16:28:11 +01:00
Michael Albinus
51537b9e49 Some minor Tramp tweaks
* lisp/net/tramp-adb.el (tramp-adb-get-ls-command): Fix docstring.

* lisp/net/tramp-sh.el (tramp-vc-registered-read-file-names):
Quote file.

* lisp/net/tramp.el (tramp-handle-substitute-in-file-name):
Make it more robust.
2018-02-28 15:10:11 +01:00
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
Paul Eggert
5e69219fda Document print-escape-control-characters
* doc/lispref/streams.texi, etc/NEWS: Add doc.
2018-02-27 20:13:37 -08: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