Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Julia support in Emacs.

License

NotificationsYou must be signed in to change notification settings

JuliaEditorSupport/julia-emacs

Repository files navigation

MELPABuild Status

Emacs major mode forthe Julia programming language.

Installation

Installing from MELPA

Unless you want to develop this package, it is recommended that you use it from MELPA:

  1. Enablethe MELPA repository.

  2. Enable the package by adding these lines to to your Emacs init file, e.g.,~/.emacs:

(package-install'julia-mode)(require'julia-mode)

Alternatively, if you are usinguse-package, which has beenpart of Emacs since version 29.1, you can use

(use-package julia-mode:ensuret)

A note on versioning

The code has been on a “rolling release” model before version 1.0: not all code changes were accompanied by a version increment. From version 1.0, we followsemantic versioning.

Installing from Source

To get the latest version ofjulia-mode, clone this repository and then use:

(add-to-list'load-path"<path-to-julia-mode>")(require'julia-mode)

Configuration

You can customize all options in this package withM-x customize-mode julia-mode using the interactive Emacs interface.

Replacement of LaTeX symbols now uses the generic Emacs API. To get back the previous mechanism, use

(define-key julia-mode-map (kbd"TAB")'julia-latexsub-or-indent)

Related packages

Contributing

Contributions are welcome, in the form of pull requests.

We do our best to provide feedback within 2 weeks. Feel free bump the PR thread with a comment after that.

Submitting Pull Requests

  • Do add unit tests whenever possible. Consider breaking functions into an interface and a backend function for convenient testing.

  • Do add a short summary in theUnreleased section of theCHANGELOG.

  • Do use therx macro (S-expressions) whenever rewriting regular expressions or introducing new ones. This keeps the code much more readable.

Working With Tests

It's easy to add newERT tests to thejulia-mode test suite.

You only need to prepare a newert-deftest definition injulia-mode-tests.el.

You can run the test suite from the command line with:

emacs -batch -L . -l ert -l julia-mode-tests.el -f  ert-run-tests-batch-and-exit

About

Julia support in Emacs.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

    Contributors47


    [8]ページ先頭

    ©2009-2025 Movatter.jp