- 09 Mar, 2016 4 commits
-
-
Andreas Schwab authored
* src/lread.c (readchar): Be more strict about checking for string in cons for read_vector. (unreadchar): Likewise.
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Do it here. (ruby-font-lock-keywords): Instead of handling them here. Leave highlighting them to the "normal" matcher, because now we can. (ruby-smie--forward-token, ruby-smie--backward-token): Likewise, don't special-case operator symbols anymore. (ruby-smie--args-separator-p): Simplify the regexp, match operator names with \s_. (ruby-smie--implicit-semi-p): Handle the special cases of ? and = at EOL the same way: check if the character has been assigned the symbol syntax class by syntax-propertize.
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove the weird part that recognized colon followed by interpolation construct without quotes (e.g. ':#{abc}') as symbol, which is just a syntax error in any modern version of Ruby. Fix nearby bug reference.
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to ruby-verify-heredoc, reverse the meaning of the return value, and short-circuit if preceded by a symbol not separated by whitespace. * test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift) (ruby-no-heredoc-class-self): New tests.
-
- 08 Mar, 2016 2 commits
-
-
Andreas Schwab authored
The recorded old names are not quoted, don't unquote them. * lisp/wdired.el (wdired-normalize-filename): Add argument unquotep, only unquote if non-nil. (wdired-get-filename): Don't unquote the old file name. (wdired-get-previous-link): Always unquote.
-
Paul Eggert authored
-
- 07 Mar, 2016 4 commits
-
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Allow splat operator before percent literal.
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't apply the return value of goto-char as syntax class.
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-percent-literal): Don't check the syntax status. (ruby-syntax-propertize): Check it here. And also guard against being in a larger percent literal. * test/automated/ruby-mode-tests.el (ruby-no-nested-percent-literals): New test.
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the newline is escaped. (ruby-smie-rules): Indent iuwu-mod after an escaped newline correctly.
-
- 06 Mar, 2016 6 commits
-
-
Andreas Schwab authored
* lisp/files.el (file-modes-char-to-right): Fix values for ?s and ?t. (file-modes-symbolic-to-number): Default to a for ts permissions.
-
Eli Zaretskii authored
* lisp/international/mule-cmds.el (ucs-names): Update used and unused ranges from the latest UnicodeData.txt.
-
Eli Zaretskii authored
* lisp/simple.el (shell-command): Mention that COMMAND is prompted for. (Bug#22926)
-
Eli Zaretskii authored
* lib-src/movemail.c (movemail_strftime): Transform the format string passed by the caller instead of using a separate format string.
-
Eli Zaretskii authored
* src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching for a character needed for resolving the type of a series of BN and ET characters, as required by rule W5 of UAX#9, if the results of the resolution are known in advance, because we are at level zero, and the previous strong character was L. (bidi_resolve_neutral): Partially resurrect the optimization for a long series of control characters in an otherwise strictly L2R text. (bidi_level_of_next_char): Don't enter the loop that searches for a paragraph separator if the current character is already at base embedding level. (Bug#22739)
-
Dmitry Gutov authored
Remove the highlighting support for quoting 'like this' inside Lisp docstrings. This part of c4151ebe seems to have been unintentional, considering substitute-command-keys gives wrong output for such usage. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2) (lisp-cl-font-lock-keywords-2): Do not highlight text between two straight quotes as symbol.
-
- 05 Mar, 2016 5 commits
-
-
Paul Eggert authored
* lib-src/movemail.c (movemail_strftime) [WINDOWSNT]: New function. (strftime) [WINDOWSNT]: New macro. (mbx_delimit_begin): Go back to previous version of this code, now that there’s a special-purpose WINDOWSNT implementation that should do the right thing. That way, the output continues to use leading space rather than leading zero for day of month.
-
Eli Zaretskii authored
* lisp/mail/rmail.el (rmail-show-message-1): Reset bidi-paragraph-direction to nil before formatting the message for display.
-
Dmitry Gutov authored
* lisp/progmodes/js.el (js--looking-at-operator-p): Don't misindent computed property generator methods (https://github.com/mooz/js2-mode/issues/317).
-
Eli Zaretskii authored
* lib-src/movemail.c (mbx_delimit_begin): Use portable strftime format specifiers, as at least the MS-Windows version of strftime doesn't support %e and %T.
-
Paul Eggert authored
* src/doc.c (get_doc_string): Move newly-added check to a better location (Bug#22814).
-
- 04 Mar, 2016 3 commits
-
-
Michael Albinus authored
* src/doc.c (get_doc_string): Raise an error in case too many files are open. (Bug#22814)
-
Lars Ingebrigtsen authored
* lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't insert explicit newlines, because they're quoted (bug#22903). Backport: (cherry picked from commit ca4e3005)
-
Martin Rudalics authored
* lisp/window.el (enlarge-window, shrink-window): Consistently signal user-error instead of error. Resize minibuffer window by delta lines instead of pixels. When a window cannot be resized, signal an error only when this function was invoked by a command in the enlarge-/shrink-window group (this restores the behavior before the fix of bug#22723 for the non-interactive case).
-
- 03 Mar, 2016 3 commits
-
-
Artur Malabarba authored
-
Mark Oteiza authored
* lisp/calc/calc-units.el (calc-convert-temperature): Complete with temperature units in math-standard-units.
-
Dmitry Gutov authored
* lisp/progmodes/xref.el (xref-collect-references): Make sure to use case-sensitive search.
-
- 02 Mar, 2016 10 commits
-
-
Ulf Jasper authored
* lisp/xml.el (xml-parse-tag-1): Prevent inifinite loop. (Bug#16344) * test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add test cases for Bug#16344.
-
Alan Third authored
lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after any processing. lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of DABBREV--SUBSTITUTE-EXPANSION. test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
-
Alan Third authored
lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after any processing. lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of DABBREV--SUBSTITUTE-EXPANSION. test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
-
NicolasPetton authored
-
NicolasPetton authored
* README: * configure.ac: * msdos/sed2v2.inp: Bump version to 25.0.92.
-
NicolasPetton authored
-
NicolasPetton authored
* admin/authors.el (authors-ignored-files): Addition.
-
NicolasPetton authored
-
NicolasPetton authored
-
Michael Albinus authored
* lisp/filenotify.el (file-notify-callback): Return a `deleted' event in case of kqueue and file1 is nil. (Bug#22859)
-
- 01 Mar, 2016 3 commits
-
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* src/bidi.c (bidi_resolve_explicit): Override the orig_type value of FSI with either LRI or RLI, as determined by the first strong directional character in the isolate. This prevents failure to isolate when the FSI...PDI text is inside a directional override. (Bug#22786)
-
Alan Mackenzie authored
* doc/misc/cc-mode.texi (Syntactic Analysis): Document the function, adding pxrefs to Custom Line-Up and Other Indentation. (Custom Line-Up): Add a note on using c-guess-basic-syntax with a pxref to Syntactic Analysis.
-