aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib-src (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-01Update copyright year to 2020Paul Eggert1-1/+1
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
2019-01-01Update copyright year to 2019Paul Eggert1-1/+1
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
2018-01-01Update copyright year to 2018Paul Eggert1-1/+1
Run admin/update-copyright.
2017-09-13Prefer HTTPS to FTP and HTTP in documentationPaul Eggert1-1/+1
Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
2017-09-10Spelling fixesPaul Eggert1-1/+1
* lisp/progmodes/cc-langs.el: (c-ambiguous-overloadable-or-identifier-prefixes): Rename from c-ambiguous-overloadable-or-identifier-prefices. Caller changed.
2017-09-06Skip emacsclient tests if --enable-profiling was usedGlenn Morris1-16/+19
* test/lib-src/emacsclient-tests.el (emacsclient-test-call-emacsclient): Make it a macro. Handle "Profiling timer expired" return from emacsclient. (Bug#28319) (emacsclient-test-alternate-editor-allows-arguments) (emacsclient-test-alternate-editor-allows-quotes): Update for above.
2017-09-05Minor emacsclient-tests simplificationGlenn Morris1-6/+4
* test/lib-src/emacsclient-tests.el (emacsclient-test-emacs): Simplify. Also work when running installed.
2017-09-05emacsclient-tests: remove some debug statementsGlenn Morris1-3/+0
* test/lib-src/emacsclient-tests.el (emacsclient-test-call-emacsclient): Remove debug statements.
2017-09-04emacsclient-tests: add some debug statementsGlenn Morris1-0/+3
* test/lib-src/emacsclient-tests.el (emacsclient-test-call-emacsclient): Add debug statements.
2017-09-03emacsclient-tests: call-process may return non-integerGlenn Morris1-6/+8
* test/lib-src/emacsclient-tests.el (emacsclient-test-alternate-editor-allows-arguments) (emacsclient-test-alternate-editor-allows-quotes): Handle non-integer return from call-process.
2017-09-01Fix a mis-binding and a bad defun name in a test (Bug#28319)Reuben Thomas1-5/+5
test/lib-src/emacs-client-tests.el (call-emacsclient): Rename emacsclient-test-call-emacsclient. (emacsclient-test-alternate-editor-allows-arguments) (emacsclient-test-alternate-editor-allows-quotes): Fix let-binding of process-environment. Thanks to Glenn Morris for noticing these errors.
2017-09-01Stop emacsclient tests hanging (Bug#28319)Reuben Thomas1-2/+8
* test/lib-src/emacsclient-tests.el (emacsclient-test-alternate-editor-allows-arguments): Use a non-existent file to communicate with server, so that any existing default server will not be hijacked (in fact, the test does not need a server). (emacsclient-test-alternate-editor-allows-quotes): Likewise.
2017-08-30Add support for arguments in emacsclient's ALTERNATE_EDITOR (Bug #25082)Reuben Thomas1-0/+50
* lib-src/emacsclient.c (fail): Parse ALTERNATE_EDITOR, or corresponding command-line argument, into quote- or space-separated tokens. If a token starts with a quote, then it naturally is expected to end with a quote; escaping is not supported. This is enough to cope with the typical case of requiring the initial path to be quoted, common on Windows where it may contain spaces. * etc/NEWS: Document. * doc/emacs/misc.texi: Likewise. * doc/man/emacsclient.1: Tweak to remove the implication that only an editor can be specified (the manual already mentions a “command”). Fix a small error where “EDITOR” is referred to rather than “ALTERNATE_EDITOR”. * test/lib-src/emacsclient-tests.el: Add tests.
2017-08-07Revert "Add support for arguments in ALTERNATE_EDITOR to emacsclient"Reuben Thomas1-33/+0
This reverts commit 28f1fe97daa13e13714e6c43c9a6fbb0c0e99a26.
2017-08-07Add support for arguments in ALTERNATE_EDITOR to emacsclientReuben Thomas1-0/+33
* lib-src/emacsclient.c (fail): Parse ALTERNATE_EDITOR, or corresponding command-line argument, into space-separated tokens. * etc/NEWS: Document. * test/lib-src/emacsclient-tests.el: Add a test.