summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify "Visit New File" to "New File"Phillip Lord2016-03-122-3/+3
| | | | | | | * doc/emacs/files.texi,lisp/menu-bar.el (menu-bar-file-menu), lisp/startup.el(normal-mouse-start-screen, normal-no-mouse-startup-screen): Change label "Visit New File" to "New File".
* Import new data files from Unicode 9.0.0betaEli Zaretskii2016-03-123-4/+141
| | | | | | | | | | | | | | | | | | | | | | | * admin/unidata/UnicodeData.txt: * admin/unidata/Blocks.txt: * admin/unidata/BidiMirroring.txt: * admin/unidata/BidiBrackets.txt: Update from Unicode 9.0.0beta. * admin/unidata/unidata-gen.el (unidata-gen-files): Bind 'coding-system-for-read' to 'utf-8, as various Unicode data files now actually use non-ASCII characters. (unidata-setup-list, unidata-get-name): Support the new Tangut Ideographs block. * lisp/international/characters.el (standard-case-table): Add new characters from Unicode 9.0.0. (standard-category-table): Add Arabic block u+08A0..u+08FF. Add Cyrillic Extended-C block. (char-width-table): Update ranges per Unicode 9.0.0. * lisp/international/fontset.el (script-representative-chars): Add new scripts defined by Unicode 9.0.0. (otf-script-alist): Add new OTF script tags. * lisp/international/mule-cmds.el (ucs-names): Update ranges per Unicode 9.0.0 additions.
* Avoid errors in forms-mode when default major mode is textEli Zaretskii2016-03-121-1/+8
| | | | | | * lisp/forms.el (forms-mode): Bind change-major-mode-with-file-name to nil when calling set-visited-file-name. (Bug#22982)
* Avoid crashes at startup on systems that CANNOT_DUMPEli Zaretskii2016-03-121-1/+12
| | | | | | | | | | | | | | | * src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New boolean variable. (init_iterator, reseat_to_string) (Fcurrent_bidi_paragraph_direction) (Fbidi_find_overridden_directionality): Use redisplay--inhibit-bidi instead of purify-flag, to determine when it's safe to reorder bidirectional text. * lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the beginning of the file. Reset to nil when charprop.el is successfully loaded, or when we are going to dump, whichever happens last. (Bug#22975)
* Support Ruby 2.3.0's safe navigation operatorDmitry Gutov2016-03-121-1/+3
| | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token) (ruby-smie--backward-token): Tokenize '&.' as '.'. (ruby-smie--implicit-semi-p): Check for possible '&' before '.'. * test/indent/ruby.rb: Add an example using safe navigation operator. Fix a syntax error in existing example.
* Add symref-filepattern entries for c?perl-modeDmitry Gutov2016-03-111-0/+2
| | | | | | * lisp/cedet/semantic/symref/grep.el (semantic-symref-filepattern-alist): Add entries for perl-mode and cperl-mode.
* Indent methods with keyword names correctlyDmitry Gutov2016-03-101-5/+9
| | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call): Rename to ruby-smie--before-method-name. Now also check if we're after a 'def' keyword. Update both callers.
* Propertize character literals and special global variables differentlyDmitry Gutov2016-03-101-3/+5
| | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize character literals and global variables with special names with prefix and symbol syntax classes, for SMIE to tokenize them together automatically. (ruby-font-lock-keywords): Fix an old regression in highlighting character literals.
* Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""John Wiegley2016-03-091-1/+1
| | | | This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.
* Propertize operator symbol names with symbol syntax classDmitry Gutov2016-03-091-22/+11
| | | | | | | | | | | | | | * 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.
* Stop recognizing :#{} as symbol in ruby-modeDmitry Gutov2016-03-091-2/+2
| | | | | | | * 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.
* Allow using the left shift operator without spaces on both sidesDmitry Gutov2016-03-091-10/+16
| | | | | | | | | * 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.
* Properly handle unquoting in wdired (bug 22938)Andreas Schwab2016-03-081-10/+12
| | | | | | | | | 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.
* ; Spelling fix and tighten up commentPaul Eggert2016-03-081-2/+2
|
* Allow splat operator before percent literalDmitry Gutov2016-03-071-1/+1
| | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Allow splat operator before percent literal.
* Don't apply the return value of goto-char as syntax classDmitry Gutov2016-03-071-1/+2
| | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't apply the return value of goto-char as syntax class.
* Guard against nested percent literalsDmitry Gutov2016-03-071-30/+31
| | | | | | | | | | | * 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.
* Recognize iuwu-mod after an escaped newlineDmitry Gutov2016-03-071-2/+7
| | | | | | | * 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.
* Fix symbolic mode string conversion for s and tAndreas Schwab2016-03-071-3/+3
| | | | | | * 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.
* Update 'ucs-names' databaseEli Zaretskii2016-03-061-4/+8
| | | | | * lisp/international/mule-cmds.el (ucs-names): Update used and unused ranges from the latest UnicodeData.txt.
* Improve doc string of 'shell-command'Eli Zaretskii2016-03-061-0/+2
| | | | | * lisp/simple.el (shell-command): Mention that COMMAND is prompted for. (Bug#22926)
* Remove the highlighting support for quoting 'like this' inside Lisp docstringsDmitry Gutov2016-03-061-4/+4
| | | | | | | | | | | Remove the highlighting support for quoting 'like this' inside Lisp docstrings. This part of c4151ebe15479de4c2e511b068cdf9af6a4576cf 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.
* Fix bidi-paragraph-direction in Rmail view bufferEli Zaretskii2016-03-051-1/+6
| | | | | | * lisp/mail/rmail.el (rmail-show-message-1): Reset bidi-paragraph-direction to nil before formatting the message for display.
* Don't misindent computed property generator methodsDmitry Gutov2016-03-051-5/+6
| | | | | | * lisp/progmodes/js.el (js--looking-at-operator-p): Don't misindent computed property generator methods (https://github.com/mooz/js2-mode/issues/317).
* Fix insertion of edited servers in the dribble fileLars Ingebrigtsen2016-03-041-1/+1
| | | | | | | | | * 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 ca4e30058eba0531f38fff75f14734acffab84ea)
* Fix previous fix of enlarge-/shrink-windowMartin Rudalics2016-03-041-16/+31
| | | | | | | | | * 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).
* * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logicArtur Malabarba2016-03-031-1/+3
|
* Complete temperature units in calc-convert-temperatureMark Oteiza2016-03-031-5/+12
| | | | | * lisp/calc/calc-units.el (calc-convert-temperature): Complete with temperature units in math-standard-units.
* Make sure to use case-sensitive searchDmitry Gutov2016-03-031-0/+1
| | | | | * lisp/progmodes/xref.el (xref-collect-references): Make sure to use case-sensitive search.
* Prevent infinite loop on not-well-formed xml. (Bug#16344)Ulf Jasper2016-03-021-1/+8
| | | | | | * 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.
* Use the correct dabbrev expansionAlan Third2016-03-021-3/+5
| | | | | | | | 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.
* ; Auto-commit of loaddefs files.Nicolas Petton2016-03-021-1236/+1257
|
* Fix Bug#22859Michael Albinus2016-03-021-2/+4
| | | | | * lisp/filenotify.el (file-notify-callback): Return a `deleted' event in case of kqueue and file1 is nil. (Bug#22859)
* ; Auto-commit of loaddefs files.Glenn Morris2016-03-011-1258/+1273
|
* ; * lisp/vc/vc-hooks.el: corrected docstring of faceOscar Fuentes2016-03-011-1/+1
| | | | Do not merge to master
* Comment on last change to define-derived-modeLeo Liu2016-03-011-1/+7
| | | | * lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
* Allow binding `url-mime-accept-string'Lars Ingebrigtsen2016-03-011-0/+3
| | | | | | | | | * lisp/url/url-http.el (url-http): Allow binding `url-mime-accept-string' (bug#22855). Backport: (cherry picked from commit 144bb0cf322b9756d29def3e27a42303e2edce43)
* Also allow setting the paragraph direction to nilLars Ingebrigtsen2016-03-011-5/+11
| | | | | * lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow setting the paragraph direction to nil ("auto").
* Use the correct background color when filling nested <divs>Lars Ingebrigtsen2016-02-291-1/+2
| | | | | | | | | * lisp/net/shr.el (shr-face-background): Return the first background, because that's the one that's visible (bug#22680). Backport: (cherry picked from commit cad0bc70558f9c28c808711c5295dec9fc5ad6e5)
* Make <div> in <li> not insert extra newlinesLars Ingebrigtsen2016-02-291-1/+1
| | | | | | | | | * lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert extra newlines (bug#19587). Backport: (cherry picked from commit 379a846b8548dc32a9019ef0a37c02f62cd9bad1)
* Uncomment the next-error-function integration in xrefDmitry Gutov2016-02-291-4/+2
| | | | | | * lisp/progmodes/xref.el (xref--xref-buffer-mode): Uncomment the next-error-function integration (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
* Set auto-revert-use-notify to nil in global-auto-revert-mode. (Bug#22814)Michael Albinus2016-02-281-1/+5
| | | | | | | | * etc/NEWS: * etc/PROBLEMS: Mention this. * lisp/autorevert.el (global-auto-revert-mode): Set `auto-revert-use-notify' to nil. (Bug#22814)
* Fix ModelSim error parsingFriedrich Beckmann2016-02-281-1/+6
| | | | | | | * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix ModelSim error parsing (bug#5768). Copyright-paperwork-exempt: yes
* Make parse-time-string-chars fasterLars Ingebrigtsen2016-02-281-8/+5
| | | | | * lisp/calendar/parse-time.el (parse-time-string-chars): Clean up the code (backport:).
* Add a eww command to toggle paragraph directionLars Ingebrigtsen2016-02-281-1/+12
| | | | | | | * lisp/net/eww.el (eww-toggle-paragraph-direction): New command and keystroke. * doc/misc/eww.texi (Advanced): Mention the `D' command.
* Avoid inflooping in thing-at-point-looking-atEli Zaretskii2016-02-271-3/+10
| | | | | | | * lisp/thingatpt.el (thing-at-point-looking-at): Avoid inflooping with regular expressions whose matching doesn't move point. (Bug#22756) Describe the argument DISTANCE in the doc string.
* * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.Leo Liu2016-02-271-2/+1
|
* * lisp/apropos.el (apropos-variable): Doc fix. (Bug#22813).Kaushal Modi2016-02-261-2/+3
|
* * lisp/saveplace.el (save-place-local-mode): New minor modeStefan Monnier2016-02-251-33/+26
| | | | | | (toggle-save-place): Define as obsolete alias. (save-place--setup-hooks): New function. (save-place-mode): Use it.
* Make double-click-1 work with unbalanced parens in CC Mode. Fixes bug#5560.Alan Mackenzie2016-02-251-10/+19
| | | | | * lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with `syntax-after' to ensure syntax-table text properties are respected.