1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00
Commit graph

123224 commits

Author SHA1 Message Date
Glenn Morris
ff80687aee * lisp/progmodes/f90.el (f90-no-block-limit):
Add associate.  (Bug#21794)
* test/automated/f90.el (f90-test-bug21794): New test.
2015-11-01 18:25:42 -08:00
Juanma Barranquero
3a769e173e Fix incompatibility with TCC in test for bug#18745
* test/automated/process-tests.el (process-test-quoted-batfile):
Remove spaces unrelated to the bug being tested.
2015-11-01 19:14:27 +01:00
Juanma Barranquero
bf9e3e7711 ; ChangeLog.2 fixes 2015-11-01 19:05:30 +01:00
Michael Albinus
df660da45b Improve completion in tramp-gvfs.el
* lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
Renamed from `tramp-zeroconf-parse-service-device-names'.
(tramp-zeroconf-parse-webdav-device-names): Removed.  Code merged
with `tramp-zeroconf-parse-device-names'.
(tramp-gvfs-parse-device-names): New defun.
(top): Use it when `tramp-zeroconf-parse-device-names' is not
applicable.

* lisp/net/tramp.el (tramp-set-completion-function): The argument
could also be a zeroconf service type.
2015-11-01 13:43:35 +01:00
Glenn Morris
150066727c ; Auto-commit of ChangeLog files. 2015-11-01 06:34:54 -05:00
Glenn Morris
cb56d4cec8 ; Auto-commit of loaddefs files. 2015-11-01 06:34:43 -05:00
Juanma Barranquero
b692d6aa43 ; Fix ChangeLog.2 typos and style 2015-11-01 05:28:56 +01:00
Thomas Fitzsimmons
0302d5371a ntlm.el: Change version to 2.0.0 2015-10-31 23:11:09 -04:00
Juanma Barranquero
590a820fd9 Fix bug#21762
* lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
`eql' instead of `=' to accommodate the case that (syntax-after (point))
returns nil.

* test/automated/python-tests.el (python-indent-inside-paren-7):
New test.
2015-11-01 02:55:16 +01:00
Juanma Barranquero
9278095442 * test/automated/python-tests.el: Avoid warnings
(python-tests-with-temp-buffer, python-tests-with-temp-file):
Bind `python-indent-guess-indent-offset' to nil.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
#	modified:   test/automated/python-tests.el
#
2015-11-01 01:17:16 +01:00
Juanma Barranquero
312bbfee95 * src/alloc.c: Silence compiler warnings
(pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
2015-10-31 22:34:35 +01:00
Jackson Ray Hamilton
4c4c8e74ca * etc/NEWS: Fix js-jsx-mode entry punctuation 2015-10-31 13:38:14 -07:00
Jackson Ray Hamilton
958da7ff63 Add JSX indentation via js-jsx-mode. (Bug#21799)
* progmodes/js.el: Add JSX indentation support.
(js-jsx-indent-line)
(js-jsx-mode): New functions.
2015-10-31 13:02:36 -07:00
Michael Albinus
65a3808fcf Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-10-31 14:42:28 +01:00
Michael Albinus
547a23469a Minor fix in filenotify.el
* lisp/filenotify.el (file-notify--event-file-name)
(file-notify--event-file1-name): Normalize result with
`directory-file-name'.
2015-10-31 14:42:16 +01:00
Eli Zaretskii
553d7e9b38 Avoid errors in redisplay--pre-redisplay-functions
* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
use 'bobp', instead compare window-point with 1.  (Bug#21730)
2015-10-31 15:31:17 +02:00
Paul Eggert
b059c6b584 Merge from gnulib.
This incorporates:
2015-10-30 intprops: add WRAPV and const flavors for GCC 5
2015-10-25 stdalign: port to Sun C 5.9
* doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
Copy from gnulib.
2015-10-30 19:21:51 -07:00
Eli Zaretskii
e11aaee266 Fix a typo in a macro name
* src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
(w32_compare_strings): Adjust for the correction.
2015-10-30 23:17:48 +02:00
Michael Albinus
9c36df736b Add result messages in vc-tests.el
* test/automated/vc-tests.el (vc-test--state)
(vc-test--working-revision, vc-test--checkout-model): Add result messages.
2015-10-30 18:35:58 +01:00
Artur Malabarba
36ead807e2 * test/automated/faces-tests.el: Add another test 2015-10-30 18:20:42 +00:00
Artur Malabarba
4c060051bf * lisp/faces.el (faces--attribute-at-point): Fix bug
introduced by previous commit.
2015-10-30 18:19:26 +00:00
Artur Malabarba
76033d22a2 * test/automated/faces-tests.el: New file 2015-10-30 18:15:52 +00:00
Artur Malabarba
7ccedcb486 * lisp/faces.el: Refactor common code and fix a bug
(faces--attribute-at-point): New function.  Fix a bug when the
face at point is a list of faces and the desired attribute is not
on the first one.
(foreground-color-at-point, background-color-at-point): Use it.
2015-10-30 18:15:52 +00:00
Przemysław Wojnowski
5260ea68e0 * etc/tutorials/TUTORIAL.translators: Fix PL names 2015-10-30 17:19:11 +01:00
Juanma Barranquero
cadfceab1a * lisp/character-fold.el: Provide `character-fold' 2015-10-30 14:49:52 +01:00
Tassilo Horn
1f67a21149 Add more faces for Gnus and ivy
* etc/themes/tsdh-dark-theme.el (tsdh-dark): add more faces for Gnus and
ivy.
2015-10-30 13:40:28 +01:00
Michael Albinus
36574e0a23 Some minor fixes for tramp-gvfs.el
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
An attribute returned by gvfs-info might be empty.  In case of
undetermined uid or gid, return "UNKNOWN" or -1, respectively.
(tramp-zeroconf-parse-service-device-names): New defun.
Derived from `tramp-zeroconf-parse-workstation-device-names'.
(top): Add completion functions for "afp" and "smb" methods.
2015-10-30 13:11:35 +01:00
Artur Malabarba
3fb3af1d2a * test/automated/character-fold-tests.el: New file 2015-10-30 12:20:07 +00:00
Artur Malabarba
8c443c55d8 * test/automated/sort-tests.el: New file
Tests in this file are randomly generated and then tested with
regular, reverse, and case-fold sorting.
2015-10-30 12:20:07 +00:00
Eli Zaretskii
2d571a83f0 Describe known problems with pinning Emacs to taskbar
* etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
on Windows 10.  For the details, see the discussion starting at
http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
2015-10-30 12:28:00 +02:00
Artur Malabarba
25be5df44a * lisp/isearch.el: Avoid an error that blocks isearch
(isearch-update): Don't error if `isearch--current-buffer' has
been killed.

* test/automated/isearch-tests.el (isearch--test-update): New
file.
2015-10-30 11:08:57 +00:00
Phil Sainty
44470fed6f Fix documentation of 'beginning/end-of-buffer'
* lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
conditions under which the mark will be pushed at the previous
position.  (Bug#21748)
2015-10-30 12:05:33 +02:00
Tassilo Horn
b313a9d6a8 Add RefTeX feature idea: editing RefTeX TOC buffers 2015-10-30 08:06:31 +01:00
Tassilo Horn
af77f5b1ec More face defs for ivy, swiper, ace-window, eshell 2015-10-30 07:52:32 +01:00
Stefan Monnier
e4740877d6 * lisp/gnus/auth-source.el: Silence lexical-binding warnings
(auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
just VAR.
(auth-source-backend-parse): Use make-instance.
(auth-source-search): Remove unused key args.
Remove unused vars `accessor-key' and `backend'.  Avoid `eval'.
(auth-source-search-backends): Use slot names rather than their initarg.
(auth-source-netrc-create):
(auth-source-delete):
(auth-source-secrets-create, auth-source-plstore-search)
(auth-source-macos-keychain-create, auth-source-macos-keychain-search)
(auth-source-plstore-create, auth-source-netrc-search)
(auth-source-netrc-parse): Remove unused key args.
(auth-source-forget+): Simplify the arglist.
(auth-source-macos-keychain-search-items)
(auth-source-token-passphrase-callback-function): Mark unused args.
(auth-source-epa-extract-gpg-token): Remove unused var `plain'.
(pp-escape-newlines): Declare.
(auto-source--symbol-keyword): New function.
(auth-source-plstore-create, auth-source-netrc-create)
(auth-source-netrc-normalize): Use it.
(auth-source-netrc-search): Don't pass :delete to
auth-source-netrc-parse since it doesn't use it.
(auth-source-plstore-create, auth-source-netrc-create): Use plist-get
symbol-value to index in keyword args.
(auth-source-macos-keychain-result-append): Avoid setq.
(auth-source-netrc-create): Remove unused vars `file' and `add'.
(auth-source-user-or-password): Remove unused var `cname'.
2015-10-29 23:18:34 -04:00
Juanma Barranquero
665a035ee2 ; lisp/help-fns.el: Fix typos in comments 2015-10-30 03:24:14 +01:00
Juri Linkov
83a04da79d * lisp/dired.el (dired-unmark-all-files-query): Declare.
(dired-unmark-all-files): Let-bind it and use instead of ‘query’.
(Bug#21746)
2015-10-30 02:57:38 +02:00
Juri Linkov
dba0659c3b * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
to go to the beginning of text line instead of command line.
http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
2015-10-30 02:04:42 +02:00
Eli Zaretskii
9dcbcbf259 ; * src/lread.c (syms_of_lread) <load-path>: Improve the doc string. 2015-10-29 20:47:09 +02:00
Eli Zaretskii
8e8a06803c ; Improve documentation of 'unhandled-file-name-directory'
* doc/lispref/files.texi (Magic File Names): Better wording for the
last change in the documentation of 'unhandled-file-name-directory'.
2015-10-29 19:48:18 +02:00
Eli Zaretskii
8485d41e19 Fix encoding of saving *Help* buffers
* lisp/help-fns.el (describe-function-1): If we use curved quotes,
set help buffer's buffer-file-coding-system to UTF-8.  (Bug#21780)
2015-10-29 19:37:24 +02:00
Stefan Monnier
84dcdbeb74 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context
(cl--generic-derived-specializers): New function.
(cl--generic-derived-generalizer): New generalizer.
(cl-generic-generalizers): New specializer (derived-mode MODE).
(cl--generic-split-args): Apply the rewriter, if any.
(cl-generic-define-context-rewriter): New macro.
(major-mode): Use it to define a new context-rewriter, so we can write
`(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.

* lisp/frame.el (window-system): New context-rewriter so we can write
`(window-system VAL)' instead of (window-system (eql VAL)).
(cl--generic-split-args): Apply the rewriter, if any.
(frame-creation-function): Use the new syntax.

* lisp/term/x-win.el (window-system-initialization)
(handle-args-function, frame-creation-function)
(gui-backend-set-selection, gui-backend-selection-owner-p)
(gui-backend-selection-exists-p, gui-backend-get-selection):
* lisp/term/w32-win.el (window-system-initialization)
(handle-args-function, frame-creation-function)
(gui-backend-set-selection, gui-backend-get-selection)
(gui-backend-selection-owner-p, gui-backend-selection-exists-p):
* lisp/term/pc-win.el (gui-backend-get-selection)
(gui-backend-selection-exists-p, gui-backend-selection-owner-p)
(gui-backend-set-selection, window-system-initialization)
(frame-creation-function, handle-args-function):
* lisp/term/ns-win.el (window-system-initialization)
(handle-args-function, frame-creation-function)
(gui-backend-set-selection, gui-backend-selection-exists-p)
(gui-backend-get-selection):
* lisp/startup.el (handle-args-function):
* lisp/term/xterm.el (gui-backend-get-selection)
(gui-backend-set-selection): Use the new syntax.
2015-10-29 11:06:31 -04:00
Stefan Monnier
a4f754ca0b * test/indent/css-mode.css: Add tests for url(...) syntax. 2015-10-29 10:36:52 -04:00
Stefan Monnier
be81cc2707 * lisp/emacs-lisp/smie.el: Use declare' for pure'
(smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2, smie-prec2->grammar):
Use `declare'.
2015-10-29 10:35:08 -04:00
Stefan Monnier
aa1c4ae271 * lisp/emacs-lisp/cl-generic.el: Accomodate future changes
(cl--generic-generalizer): Add `name' field.
(cl-generic-make-generalizer): Add corresponding `name' argument.
(cl-generic-define-generalizer): New macro.
(cl--generic-head-generalizer, cl--generic-eql-generalizer)
(cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
(cl--generic-t-generalizer): Use it.
(cl-generic-ensure-function): Add `noerror' argument.
(cl-generic-define): Use it so we don't follow aliases.
(cl-generic-define-method): Preserve pre-existing ordering of methods.
(cl--generic-arg-specializer): New function.
(cl--generic-cache-miss): Use it.
(cl-generic-generalizers): Only fset a temporary definition
during bootstrap.
(cl--generic-struct-tag, cl--generic-struct-specializers):
Allow extra arguments.

* lisp/emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
(eieio--generic-static-object-generalizer): Use cl-generic-define-generalizer.
(eieio--generic-static-symbol-specializers): Allow extra arguments.

* lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
(eieio--generic-subclass-generalizer): Use cl-generic-define-generalizer.
(eieio--generic-subclass-specializers): Allow extra arguments.
2015-10-29 10:33:36 -04:00
Stefan Monnier
c0d866dd69 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope. 2015-10-29 10:31:40 -04:00
Michael Albinus
270a17fe4d Add "afp" method to Tramp
* doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.

* lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
(tramp-gvfs-handle-expand-file-name)
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
(tramp-gvfs-maybe-open-connection): Support also "afp".
(tramp-gvfs-handle-file-attributes): Handle the case of empty
"owner::user" and "owner::group" entries.
2015-10-29 14:05:55 +01:00
Andy Moreton
dc95cb8c2d Handle negative coordinates in ‘x_calc_absolute_position’
* src/w32term.c (x_calc_absolute_position): Find display origin to
allow for negative coordinates.
2015-10-29 08:46:43 +01:00
Stefan Monnier
d7a67c5a2f (internal--syntax-propertize): Save match-data here (bug#21766)
* lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
* lisp/simple.el (delete-trailing-whitespace): Undo last change.
2015-10-28 22:18:47 -04:00
Dmitry Gutov
ffa41ad2a0 Don't require default-directory to end with a slash
* doc/lispref/files.texi (Magic File Names): Document the change
in unhandled-file-name-directory.

* lisp/url/url-handlers.el
(url-handler-unhandled-file-name-directory): Update accordingly.

* src/buffer.c (default-directory): Update the docsting.

* src/fileio.c (unhandled-file-name-directory): Default to calling
`file-name-as-directory'
(http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
2015-10-29 03:01:45 +02:00