[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode a1ba9a0 352/352: add logo, README tweaks, add s
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode a1ba9a0 352/352: add logo, README tweaks, add section on testing (#163) |
Date: |
Sun, 29 Aug 2021 11:23:17 -0400 (EDT) |
branch: elpa/julia-mode
commit a1ba9a03a4b18a0d9536753efee623ab7afca596
Author: Antti Halme <antti.halme@iki.fi>
Commit: GitHub <noreply@github.com>
add logo, README tweaks, add section on testing (#163)
---
README.md | 54 ++++++++++++++++++++++++++++++++++++++----------------
logo.png | Bin 0 -> 9610 bytes
2 files changed, 38 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index 156bb45..7cd9b53 100644
--- a/README.md
+++ b/README.md
@@ -1,39 +1,61 @@
-# Emacs major mode for the julia programming language
+# julia-mode
+
+![julia-emacs julia-mode logo](logo.png)
-[![Build
Status](https://travis-ci.org/JuliaEditorSupport/julia-emacs.svg?branch=master)](https://travis-ci.org/JuliaEditorSupport/julia-emacs)
[![MELPA](https://melpa.org/packages/julia-mode-badge.svg)](https://melpa.org/#/julia-mode)
+[![Build
Status](https://travis-ci.org/JuliaEditorSupport/julia-emacs.svg?branch=master)](https://travis-ci.org/JuliaEditorSupport/julia-emacs)
+
+[Emacs](https://www.gnu.org/software/emacs/) major mode for [the Julia
programming language](https://julialang.org/).
-# Installation
-## Installing from MELPA
+## Installation
+
+### Installing from MELPA
Unless you want to develop this package, it is recommended that you use it
from MELPA:
-1. [Enable the MELPA repository](https://melpa.org/#/getting-started).
+1. Enable [the MELPA repository](https://melpa.org/#/getting-started).
-2. Add `(package-install 'julia-mode)` to your Emacs init file.
+2. Enable the package by adding these lines to to your Emacs init file, e.g.,
`~/.emacs`:
-3. Add `(require 'julia-mode)` to your Emacs init file.
+```elisp
+(package-install 'julia-mode)
+(require 'julia-mode)`
+```
-## Using the source repository directly
+### Installing from Source
-Clone this repository, then use
+To get the latest version of `julia-mode`, clone this repository and then use:
```elisp
-(add-to-list 'load-path "path-to-julia-mode")
+(add-to-list 'load-path "<path-to-julia-mode>")
(require 'julia-mode)
```
-# Contributing
+## Contributing
Contributions are welcome, in the form of pull requests.
-Please
+We do our best to provide feedback within 2 weeks. Feel free bump the PR
thread with a comment after that.
+
-1. add unit tests whenever possible. This may require that functions are
broken up into an interface and a backend function, then you can test the
backend one.
+### Submitting Pull Requests
-2. add a short summary in the [Unreleased section of the
CHANGELOG](CHANGELOG.md#unreleased).
+- Do add unit tests whenever possible. Consider breaking functions into an
interface and a backend function for convenient testing.
-3. use the `rx` macro (S-expressions) whenever rewriting existing regular
expressions or introducing new ones; it keeps the code much more readable.
+- Do add a short summary in the *Unreleased* section of the
[CHANGELOG](CHANGELOG.md#unreleased).
-We do our best to provide feedback within 2 weeks, feel free to bump in a
comment after that.
+- Do use the `rx` 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 new
[ERT](https://www.gnu.org/software/emacs/manual/html_node/ert/index.html) tests
to the `julia-mode` test suite.
+
+You only need to prepare a new `ert-deftest` definition in
`julia-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
+```
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000..f2b0059
Binary files /dev/null and b/logo.png differ
- [nongnu] elpa/julia-mode 0eec10a 333/352: Do not consider `:end` as block ending, (continued)
- [nongnu] elpa/julia-mode 0eec10a 333/352: Do not consider `:end` as block ending, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c9d8230 329/352: Give \ punctuation syntax outside of strings (#113), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6b7e956 321/352: Fix for derived parent mode (#66), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9dcabbc 334/352: Simplify the logic to find the end of last block, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 796ddfd 338/352: Apply proper syntax to triple-quoted cmds, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 505d71b 339/352: Add all problemmatic strings from issue #15 to tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b800403 326/352: Font lock tweaks (#102), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8bfc709 325/352: bump version for release, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a31868d 340/352: font-lock ccall as a builtin, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a4eeb6c 343/352: Merge pull request #134 from non-Jedi/font-lock-builtin-face, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a1ba9a0 352/352: add logo, README tweaks, add section on testing (#163),
ELPA Syncer <=
- [nongnu] elpa/julia-mode dc17943 351/352: Indent imports from submodule correctly (#154), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode af5eb63 273/352: short function syntax: support return type declaration, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1eacdc6 298/352: Create FUNDING.yml, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 023df24 322/352: add latest PR to changelog, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 140369e 337/352: Simplify char-regex, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 10b0eff 286/352: beginning/end of defun functions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6408b96 306/352: Transition to cl-lib, drop support for Emacs 23., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 4f024cb 313/352: make loading "julia-latexsubs" work when using `eval-buffer` (#83), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 10ce821 310/352: Add MELPA badge, clarify installation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 088fb0b 314/352: Load latexsub table as a feature, ELPA Syncer, 2021/08/29