aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs
AgeCommit message (Collapse)Author
2017-04-29Enable lexical binding for erlang-modeBozhidar Batsov
2017-04-29Remove some ancient compatibility aliasesBozhidar Batsov
Those were added 8 years ago and it's about time they were removed. Now that we depend on a newer Emacs release, we can also drop the function `erlang-obsolete`.
2017-04-28Merge branch 'dgud/emacs/update-bifs'Lukas Larsson
* dgud/emacs/update-bifs: Update available bifs for 20
2017-04-28Update available bifs for 20Dan Gudmundsson
2017-04-27Restore Emacs 25 supportJohan Claesson
Fix loading of byte-compiled erlang.elc on Emacs 25 and the erlang shell.
2017-04-25Merge pull request #1411 from bbatsov/drop-legacy-codeDan Gudmundsson
Drop some legacy Emacs compatibility code
2017-04-25erts: Add erlang:list_to_port/1 debug bifLukas Larsson
2017-04-25erts: Auto-import port_to_list for consistencyLukas Larsson
Follow the same pattern as pid_to_list
2017-04-21erts: Polish off erlang:list_to_ref/1Lukas Larsson
2017-04-17Remove a bunch of redundant feature and function checksBozhidar Batsov
All of those are present on the target Emacs 24.1.
2017-04-17Drop the redundant erlang-uncomment-region commandBozhidar Batsov
2017-04-16Drop some legacy compatibility codeBozhidar Batsov
This commit removes some compatibility for old GNU Emacs releases and XEmacs. erlang-mode didn't really work on them for a while now, so this is just a cleanup, nothing actually changes. It's part of the ongoing effort to clean up and modernize the codebase of erlang-mode.
2017-03-09Merge branch 'siri/typer/remove-application/OTP-14251'Siri Hansen
* siri/typer/remove-application/OTP-14251: Remove typer application
2017-03-08Remove typer applicationSiri Hansen
The application now has an own repo, https://github.com/erlang/typer
2017-03-03Merge branch 'maint'Raimo Niskanen
2017-03-03Merge branch 'raimo/kernel/gen_statem-progress/OTP-14114' into maintRaimo Niskanen
* raimo/kernel/gen_statem-progress/OTP-14114: Make code_change/4 optional Implement fallback for terminate/3 Clarify code_change and callback mode change Stop pampering with stacktraces Clean up timer handling Remove event timer optimization Clean up timer handling Reduce number of loop variables hence code mass Optimize by using async cancel_timer Bugfix: callback mode not cached after code change Implement repeat_state and repeat_state_and_data Correct type checking function for action {next_event,,} Change arity of type to init_result/1
2017-02-09emacs: revert erldoc changeDan Gudmundsson
did not load erldoc after changes
2017-02-08Emacs: Describe how to run unit testsJohan Claesson
Also prepare the test cases for Emacs 26.
2017-02-08Emacs: Consider arity when jumping to definitionsJohan Claesson
Only the xref front-end introduced in Emacs 25 consider arity. It is not implemented for older emacsen. Look for manual page files in lib/erlang/man in erlang-root-dir. Also do not give up in erlang-man-module when not finding the manual page file. Call manual-entry as a fallback. Do not bother to populate menu-bar with man pages when menu-bar-mode is nil. Add erlang extensions also to dired-omit-extensions. Remove some support for Emacs 18 and 19.
2017-02-08Fix a command's nameBozhidar Batsov
2017-02-08Clean-up erldoc.elBozhidar Batsov
2017-02-08Set some useful file-local variables in erlang-edoc.elBozhidar Batsov
2017-02-08Clean-up erlang-eunit.elBozhidar Batsov
2017-02-08Clean-up erlang-start.elBozhidar Batsov
2017-02-08Update erlang-pkg.elBozhidar Batsov
2017-02-08Set erlang-mode's encoding to utf-8Bozhidar Batsov
2017-02-08Remove redundant wrappers around Emacs version constantsBozhidar Batsov
2017-02-08Convert some defvars to defcustoms and fix some docstringsBozhidar Batsov
2017-02-08Remove some unneeded backward compatibility codeBozhidar Batsov
2017-02-08Remove redundant erlang-interactive-pBozhidar Batsov
2017-02-08Remove redundant function prog-modeBozhidar Batsov
2017-02-08Remove redundant function erlang-string-to-intBozhidar Batsov
2017-02-08Require Emacs 24.1 in erlang-modeBozhidar Batsov
2017-02-08Fix some whitespace in erlang-modeBozhidar Batsov
2017-02-08Merge branch 'maint'Dan Gudmundsson
* maint: [tools] Update erlang-edoc.el to include @param and @returns
2017-01-20Change arity of type to init_result/1Raimo Niskanen
2017-01-17[tools] Update erlang-edoc.el to include @param and @returnsLeo Liu
2016-11-29warn_obsolete_guard is already defaultRichard Carlsson
Update compiler documentation and remove superfluous erlc flags.
2016-11-29Merge branch 'maint'Hans Bolinder
* maint: Fix font-locking for @deprecated in erlang-edoc-mode
2016-11-29Merge branch 'leoliu/tools/fix_edoc_mode' into maintHans Bolinder
* leoliu/tools/fix_edoc_mode: Fix font-locking for @deprecated in erlang-edoc-mode
2016-11-28Merge branch 'maint'Dan Gudmundsson
* maint: Add an option erlang-icr-indent
2016-11-26Fix font-locking for @deprecated in erlang-edoc-modeLeo Liu
2016-11-19Add an option erlang-icr-indentVictor Ren
The option makes it possible to customize the indention of if/case/recieve patterns. Before the change, the indentation of 'if' patterns is 3 steps and 'case' patterns is 4 steps. It cannot be changed alone. Some people prefer other styles, for example, zero indentation. case a of true -> do_something(); false -> do_something_else() end. This patch just adds an option `erlang-icr-indent'. Its default value is `nil' which means keeping the legacy behavior. When non-nil, the pattens of if/case/receive are indented according to `erlang-icr-indent'. "(setq erlang-icr-indent 0)" will keep if/case/receive at the same column of the sub-clauses. Change-Id: I10c32e42dbf69cbe187f55223b9aa7824853e493
2016-11-08Merge branch 'maint'Dan Gudmundsson
* maint: New commands to ease looking up OTP documentation
2016-10-25New commands to ease looking up OTP documentationLeo Liu
- erldoc-browse: open the manual entry for an MFA in the browser - erldoc-apropos: list MFAs containing a substring - erldoc-browse-topic: open user guides in the browser
2016-10-24Merge branch 'maint'Dan Gudmundsson
* maint: Fix whitespace setting in test files Avoid some error reports when stopping mnesia wx: Improve error handling Fix all whitespace-related issues in erlang.el mnesia: Fix double blocked tables which could cause a crash wx: Add wxWindow:getContentScaleFactor
2016-10-24Merge branch 'dgud/tools/emacs/prefer-space/ERL-1200' into maintDan Gudmundsson
* dgud/tools/emacs/prefer-space/ERL-1200: Fix whitespace setting in test files Fix all whitespace-related issues in erlang.el
2016-10-24Fix whitespace setting in test filesDan Gudmundsson
Continuation of the previous commit on test files, which gave whitespace diffs for tabs vs spaces depending on personal settings. And we want to encourage space instead of tabs.
2016-10-19Merge branch 'maint'Raimo Niskanen
2016-10-19Merge branch 'raimo/gen_statem-improvements/OTP-13929' into maintRaimo Niskanen
* raimo/gen_statem-improvements/OTP-13929: Fix race condition in cancel_timer/1 Use parameterized types Implement state timeouts Improve docs and types Change state entry events into state enter calls Improve docs Improve docs Implement state entry events Implement call/3 dirty_timeout