about summary refs log tree commit diff
path: root/misc/emacs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-05-01 nix-mode: set syntax and font properties for multiline stringsThomas Tuegel1-2/+84
2015-10-10 emacs mode: match keywords on the start/end of symbolsPascal Wittmann1-10/+10
If keywords are matched on the start/end of words then keywords are also matched if they are surrounded by dashes or underscores. For example the keyword with is highlighted in geany-with-vte. When matching on the start/end of symbols the keyword is only highlighted if it is not part of an other identifier.
2014-09-17 Derive Emacs nix-mode from prog-mode.Robert Helgesson1-1/+1
Emacs 24.1 introduced the notion of "basic major modes" and among these is prog-mode, see section "23.2.5 Basic Major Modes" in the Emacs manual. The prog-mode basic major mode is recommended as a base for derived major modes that are intended for editing source code.
2014-06-12 Add autoloads, make code more concise & idiomaticSteve Purcell1-78/+55
- Use define-derived-mode to declare nix-mode - Use autoloads to ensure nix-mode is usable (and enabled) without needing `require` - Use set + make-local-variable instead of longer 2-step equivalent
2014-05-13 Prepare nix-mode to be uploaded to marmaladeRicky Elrod1-9/+14
Signed-off-by: Ricky Elrod <ricky@elrod.me>
2014-02-01 Remove AutomakefilesEelco Dolstra1-5/+0
2014-02-01 Build/install manualEelco Dolstra1-0/+1
2012-09-27 Allow dashes in identifiersEelco Dolstra1-1/+1
In Nixpkgs, the attribute in all-packages.nix corresponding to a package is usually equal to the package name. However, this doesn't work if the package contains a dash, which is fairly common. The convention is to replace the dash with an underscore (e.g. "dbus-lib" becomes "dbus_glib"), but that's annoying. So now dashes are valid in variable / attribute names, allowing you to write: dbus-glib = callPackage ../development/libraries/dbus-glib { }; and buildInputs = [ dbus-glib ]; Since we don't have a negation or subtraction operation in Nix, this is unambiguous.
2011-08-06 * Handle <path> syntax.Eelco Dolstra1-0/+2
2011-07-13 * Allow a default value in attribute selection by writingEelco Dolstra1-1/+1
x.y.z or default (as originally proposed in https://mail.cs.uu.nl/pipermail/nix-dev/2009-September/002989.html). For instance, an expression like stdenv.lib.attrByPath ["features" "ckSched"] false args can now be written as args.features.ckSched or false
2011-02-14 make nix-mode provide 'nix-modeFlorian Friesdorf1-0/+2
this enables (require 'nix-mode)
2009-06-18 * Highlight URLs containing "=" properly.Eelco Dolstra1-2/+2
2009-06-18 * Attributes names in attrsets can contain dots now.Eelco Dolstra1-1/+1
2006-10-02 * Finally, a real "let" syntax: `let x = ...; ... z = ...; in ...'.Eelco Dolstra1-2/+2
2006-05-12 * Support for srcdir != builddir (NIX-41).Eelco Dolstra1-1/+1
2004-06-25 * A flag `--keep-going / -k' to keep building goals if one fails, asEelco Dolstra1-0/+1
much as possible. (This is similar to GNU Make's `-k' flag.) * Refactoring to implement this: previously we just bombed out when a build failed, but now we have to clean up. In particular this means that goals must be freed quickly --- they shouldn't hang around until the worker exits. So the worker now maintains weak pointers in order not to prevent garbage collection. * Documented the `-k' and `-j' flags.
2004-06-20 * README for the Emacs mode (written a while ago, but forgot to commit).Eelco Dolstra1-0/+10
2004-06-04 * A Nix mode for Emacs.Eelco Dolstra2-0/+113