| Commit message (Expand) | Author | Age | Files | Lines |
* | Spelling fixes. | Paul Eggert | 2014-01-13 | 1 | -1/+1 |
* | Bug#13064...* automated/ert-tests.el (ert-test-record-backtrace): Reenable
test case with adapted test string. (Bug#13064)
| Michael Albinus | 2014-01-13 | 2 | -12/+15 |
* | ChangeLog fixes | Glenn Morris | 2014-01-10 | 1 | -11/+10 |
* | Spelling fixes....* mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
* woman.el (woman-mark-horizontal-position):
Rename from woman-mark-horizonal-position. Use changed.
| Paul Eggert | 2014-01-09 | 1 | -1/+1 |
* | Update copyright year to 2014 by running admin/update-copyright. | Paul Eggert | 2014-01-01 | 76 | -76/+77 |
* | Spelling and typo fixes. | Paul Eggert | 2013-12-27 | 1 | -2/+2 |
* | * test/automated/electric-tests.el: Require 'elec-pair....Set copyright holder to FSF.
| Glenn Morris | 2013-12-27 | 2 | -8/+13 |
* | Fix Electric Pair mode's autowrapping tests in batch-mode. | João Távora | 2013-12-27 | 2 | -2/+8 |
* | Make Electric Pair mode smarter/more useful:...* lisp/electric.el: Pairing/skipping helps preserve
balance. Autobackspacing behaviour. Opens extra newlines between
pairs. Skip whitespace before closing delimiters.
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use new
features.
* test/automated/electric-tests.lisp: New file.
* doc/emacs/programs.texi: Describe new features.
* lisp/simple.el: Pass non-nil interactive arg to newline call inside
newline-and-indent.
| João Távora | 2013-12-26 | 2 | -0/+513 |
* | * lisp/progmodes/python.el:...(python-nav--lisp-forward-sexp): New function.
(python-nav--lisp-forward-sexp-safe): Use it. Rename from
python-nav-lisp-forward-sexp-safe.
(python-nav--forward-sexp): New argument SAFE allows switching
forward sexp movement behavior for parens.
(python-nav-forward-sexp): Throw errors on unterminated parens.
(python-nav-backward-sexp, python-nav-forward-sexp-safe)
(python-nav-backward-sexp-safe): New functions.
(python-shell-buffer-substring): Use
`python-nav-forward-sexp-safe'.
* test/automated/python-tests.el
(python-nav-lisp-forward-sexp-safe-1): Remove test.
(python-nav-forward-sexp-safe-1): New test.
Fixes: debbugs:16191
| Fabián Ezequiel Gallina | 2013-12-25 | 2 | -22/+29 |
* | * lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t...after `{'. We need it after block openers, and it doesn't seem
to hurt after hash openers.
| Dmitry Gutov | 2013-12-22 | 1 | -0/+1 |
* | * lisp/progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the...docstring.
(ruby-smie-rules): Indent plus one level after `=>'.
| Dmitry Gutov | 2013-12-22 | 1 | -0/+6 |
* | * lisp/progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New...option.
(ruby-smie--indent-to-stmt-p): Use it.
(ruby-smie-rules): Revert the logic in the handling of `when'.
Expand the `begin' clause to handle `ruby-align-to-stmt-keywords'.
(ruby-deep-arglist, ruby-deep-indent-paren)
(ruby-deep-indent-paren-style): Update docstrings to note that the
vars don't have any effect with SMIE.
* test/automated/ruby-mode-tests.el: Add tests for
`ruby-align-to-stmt-keywords'.
* test/indent/ruby.rb: Update examples to reflect the lack of change in
default indentation of `begin' blocks.
Fixes: debbugs:16182
| Dmitry Gutov | 2013-12-20 | 3 | -21/+75 |
* | * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block...keywords to their parent.
| Dmitry Gutov | 2013-12-19 | 1 | -0/+4 |
* | * lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the...first arg to be a string (fixed dead code), or an operator symbol.
(ruby-smie--forward-token): Tokenize ` @ ' before strings and
operator symbols.
(ruby-smie-rules): Remove parent token check in the `.' clause, it
did nothing. Don't respond to `(:after ".")', it will be called
with :before anyway. Remove the ` @ ' rule, it didn't seem to
change anything. Only return indentation for binary operators
when they are hanging. De-dent opening paren when its parent is
`.', otherwise it looks bad when the dot is not at bol or eol.
Fixes: debbugs:16182
| Dmitry Gutov | 2013-12-19 | 1 | -6/+17 |
* | * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if. | Dmitry Gutov | 2013-12-17 | 1 | -0/+4 |
* | Fix bug#16116...* lisp/emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
(smie-indent-close): Call `smie-indent--rule-1' with METHOD
:close-all, to see which indentation method to use.
(smie-rules-function): Document the method :close-all.
* test/indent/ruby.rb: Update examples according to the change
in `smie-indent-close'.
| Dmitry Gutov | 2013-12-17 | 2 | -6/+8 |
* | Fix bug#16118...* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
open-paren tokens when preceded by a open-paren, too.
(ruby-smie-rules): Handle virtual indentation after open-paren
tokens specially. If there is code between it and eol, return the
column where is starts.
* test/indent/ruby.rb: New examples.
| Dmitry Gutov | 2013-12-14 | 2 | -4/+39 |
* | * lisp/progmodes/python.el (python-indent-calculate-indentation): Fix...de-denters cornercase.
* test/automated/python-tests.el (python-indent-dedenters-2): New test.
Fixes: debbugs:15731
| Fabián Ezequiel Gallina | 2013-12-12 | 2 | -0/+26 |
* | Spelling fixes. | Paul Eggert | 2013-12-12 | 1 | -1/+1 |
* | * lisp/progmodes/python.el (python-indent-context)...(python-indent-calculate-indentation): Fix auto-identation
behavior for comment blocks.
* test/automated/python-tests.el (python-indent-after-comment-1)
(python-indent-after-comment-2): New tests.
Fixes: debbugs:15916
| Fabián Ezequiel Gallina | 2013-12-12 | 2 | -0/+82 |
* | * lisp/progmodes/python.el (python-indent-calculate-indentation): When...determining indentation, don't treat "return", "pass", etc., as
operators when they are just string constituents.
* automated/python-test.el (python-indent-block-enders-1): Rename
from python-indent-block-enders.
(python-indent-block-enders-2): New test.
Fixes: debbugs:15812
| Nathan Trapuzzano | 2013-12-12 | 2 | -1/+28 |
* | * lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t...after the end of a percent literal.
| Dmitry Gutov | 2013-12-09 | 1 | -0/+3 |
* | Mention test/indent/js.js, and restore one lost piece of it...* test/indent/js.js: New file.
| Dmitry Gutov | 2013-12-08 | 2 | -1/+9 |
* | Port indentation code from js2-mode to js-mode...* lisp/progmodes/js.el (js-auto-indent-flag): Remove, was unused.
(js-switch-indent-offset): New option.
(js--proper-indentation): Use it. And handle the case when
"default" is actually a key in an object literal.
(js--same-line): New function.
(js--multi-line-declaration-indentation): Use it.
(js--indent-in-array-comp, js--array-comp-indentation): New
functions.
(js--proper-indentation): Use them, to handle array comprehension
continuations.
| Dmitry Gutov | 2013-12-08 | 1 | -0/+45 |
* | Commit missing ChangeLog entry. | Michael Albinus | 2013-12-06 | 1 | -0/+4 |
* | Fix Bug#15874...* lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
syntax for `?'.
(ruby-expr-beg): Expect that `!' will have syntax class "symbol"
where appropriate already.
(ruby-syntax-propertize-function): Propertize `?' and `!' at the
end of method names.
| Dmitry Gutov | 2013-12-06 | 1 | -2/+1 |
* | * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^....* test/automated/regexp-tests.el: New file.
Fixes: debbugs:16046
| Cameron Desautels | 2013-12-05 | 2 | -8/+40 |
* | * automated/dbus-tests.el: New file. | Michael Albinus | 2013-12-05 | 1 | -0/+136 |
* | Spelling and punctuation fixes. | Paul Eggert | 2013-12-01 | 1 | -1/+1 |
* | Fix reftex-tests on MS-Windows.... test/automated/reftex-tests.el (reftex-parse-from-file-test): Run
temp-dir through file-truename, to make sure the temporary file
names are comparable as strings.
| Eli Zaretskii | 2013-11-29 | 2 | -1/+12 |
* | Fix decoder-tests test on MS-Windows.... test/automated/decoder-tests.el (ert-test-decoder-prefer-utf-8):
Force Unix EOLs by using 'utf-8-unix', since the default of
'utf-8' is system-dependent, while the test expects to see Unix
EOLs.
| Eli Zaretskii | 2013-11-29 | 2 | -1/+8 |
* | Replace PATH_SEP with pre-existing SEPCHAR....* configure.ac:
* test/automated/Makefile.in: Use SEPCHAR in place of PATH_SEP.
| Glenn Morris | 2013-11-28 | 2 | -2/+6 |
* | Fix the test suite on Windows.... configure.ac (PATH_SEP): Set and AC_SUBST.
test/automated/Makefile.in (PATH_SEP): Set this instead of
PATH_SEPARATOR.
(EMACSOPT): Use $(PATH_SEP).
| Eli Zaretskii | 2013-11-28 | 2 | -2/+8 |
* | * automated/file-notify-tests.el (auto-revert-stop-on-user-input):...Set to nil.
| Michael Albinus | 2013-11-28 | 2 | -2/+8 |
* | * automated/file-notify-tests.el...(file-notify-test-remote-temporary-file-directory):
Check $REMOTE_TEMPORARY_FILE_DIRECTORY.
(tramp-read-passwd): Check $REMOTE_ALLOW_PASSWORD.
(file-notify--deftest-remote): Cleanup connection initially.
(file-notify-test03-autorevert): Run also in batch mode. Use a
larger timeout for remote files. `sit-for' 1 second; 0.1 second
does not work on MS Windows. Call `accept-process-output' for
remote files. Apply `string-match' instead of `string-equal', the
messages are different on MS Windows.
* automated/tramp-tests.el (tramp-test-temporary-file-directory):
Use $REMOTE_TEMPORARY_FILE_DIRECTORY.
(tramp-read-passwd): Check $REMOTE_ALLOW_PASSWORD.
| Michael Albinus | 2013-11-27 | 3 | -18/+56 |
* | Improve a couple of changelog entries. | Bozhidar Batsov | 2013-11-26 | 1 | -2/+5 |
* | Stop some python tests leaving temp-files behind...* test/automated/python-tests.el (python-shell-make-comint-1)
(python-shell-make-comint-2, python-shell-get-process-1):
Suppress creation of some temp-files.
| Glenn Morris | 2013-11-23 | 2 | -3/+13 |
* | Use skip-unless in some python tests...* test/automated/python-tests.el (python-shell-parse-command-1)
(python-shell-make-comint-1, python-shell-make-comint-2)
(python-shell-get-process-1)
(python-shell-internal-get-or-create-process-1):
Skip rather than fail if prereqs not found.
| Glenn Morris | 2013-11-23 | 2 | -15/+11 |
* | Empty elements in EMACSLOADPATH now stand for the default...* src/lread.c (load_path_check): Take path to check as argument.
(load_path_default): New, split from init_lread.
(init_lread): Move calc of default load-path to load_path_default.
Empty elements in EMACSLOADPATH now stand for the default.
(load-path): Doc fix.
* src/emacs.c (decode_env_path): Add option to treat empty elements
as nil rather than ".".
* src/callproc.c (init_callproc_1, init_callproc):
* src/image.c (Vx_bitmap_file_path):
* src/lisp.h (decode_env_path):
* lread.c (Vsource_directory):
Update for new argument spec of decode_env_path.
* leim/Makefile.in (RUN_EMACS): Empty EMACSLOADPATH rather than unsetting.
* lisp/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
* test/automated/Makefile.in (emacs):
Empty EMACSLOADPATH rather than unsetting.
* doc/emacs/cmdargs.texi (General Variables):
Empty elements in EMACSLOADPATH now mean the default load-path.
* doc/lispref/loading.texi (Library Search):
Empty elements in EMACSLOADPATH now mean the default load-path.
* etc/NEWS: Mention this.
Fixes: debbugs:12100
| Glenn Morris | 2013-11-22 | 2 | -2/+6 |
* | Add missing ChangeLog entries | Bozhidar Batsov | 2013-11-22 | 1 | -0/+7 |
* | * automated/ruby-mode-tests.el (ruby-exit!-font-lock): Set expected-result. | Glenn Morris | 2013-11-21 | 2 | -1/+7 |
* | * test/automated/Makefile.in: Tweak previous change | Glenn Morris | 2013-11-20 | 1 | -1/+1 |
* | * test/automated/Makefile.in (XARGS_LIMIT): New, set by configure....(compile-main): Pass XARGS_LIMIT to xargs.
(Cargo-culted from lisp/Makefile.in.)
| Glenn Morris | 2013-11-20 | 2 | -1/+8 |
* | Use path-separator with -L, rather than just :...* lisp/startup.el (command-line-1): Use path-separator with -L.
* test/automated/Makefile.in (PATH_SEPARATOR): New, set by configure.
(EMACSOPT): Use PATH_SEPARATOR.
* doc/emacs/cmdargs.texi (Action Arguments): Use path-separator with -L.
* etc/NEWS: Related edit.
| Glenn Morris | 2013-11-20 | 2 | -1/+10 |
* | * test/automated/ruby-mode-tests.el:...Add a few tests for `ruby--insert-coding-comment'.
| Bozhidar Batsov | 2013-11-20 | 1 | -0/+20 |
* | * test/automated/ruby-mode-tests.el:...Add a failing test for bug #15874.
| Bozhidar Batsov | 2013-11-20 | 1 | -0/+3 |
* | Improve API of recently-added bool vector functions....The old API had (bool-vector-count-matches A B)
and (bool-vector-count-matches-at A B I), which gave the
misleading impression that the two functions were variants, one
with a location I. The new API has (bool-vector-count-population A)
and (bool-vector-count-consecutive A B I) to make the distinction
clearer. The first function no longer has a B argument, since the
caller can easily determine the number of nils if the length and
number of ts is known.
* src/data.c (Fbool_vector_count_population): Rename from
bool_vector_count_matches, and accept just 1 argument.
(Fbool_vector_count_consecutive): Rename from
Fbool_vector_count_matches_at.
* test/automated/data-tests.el: Adjust to API changes.
Fixes: debbugs:15912
| Paul Eggert | 2013-11-18 | 2 | -24/+27 |
* | * lisp/progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at...interpolation curlies.
Fixes: debbugs:15914
| Adam Sokolnicki | 2013-11-17 | 1 | -0/+6 |
* | * automated/tramp-tests.el (tramp-test07-file-exists-p)...(tramp-test08-file-local-copy)
(tramp-test09-insert-file-contents, tramp-test10-write-region)
(tramp-test11-copy-file, tramp-test12-rename-file)
(tramp-test13-make-directory, tramp-test14-delete-directory)
(tramp-test15-copy-directory, tramp-test16-directory-files)
(tramp-test17-insert-directory, tramp-test18-file-attributes)
(tramp-test19-directory-files-and-attributes)
(tramp-test20-file-modes, tramp-test21-file-links)
(tramp-test22-file-times, tramp-test23-visited-file-modtime)
(tramp-test24-file-name-completion, tramp-test25-load)
(tramp-test26-process-file, tramp-test27-start-file-process)
(tramp-test28-shell-command): Cleanup connection initially.
| Michael Albinus | 2013-11-16 | 2 | -2/+106 |