NonGNU ELPA - yaml-mode


Major mode for editing YAML files
yaml-mode-0.0.16.tar (.sig), 2023-Oct-03, 40.0 KiB
Vasilij Schneidermann <>
Browse ELPA's repository
CGit or Gitweb

To install this package from Emacs, use package-install or list-packages.

Full description

    I have not used emacs and this library for a long time,
    so I recruit maintainers or collaborators for all yaml-mode users.
    If you are interested in maintaining or collaborating with this library,
    please contact me.

    yaml-mode - Simple major mode to edit YAML file for emacs

    Emacs 24.1

    To install, just drop this file into a directory in your
    `load-path' and (optionally) byte-compile it.  To automatically
    handle files ending in '.yml', add something like:

    (require 'yaml-mode)
    (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))

    to your .emacs file.

    Unlike python-mode, this mode follows the Emacs convention of not
    binding the ENTER key to `newline-and-indent'.  To get this
    behavior, add the key definition to `yaml-mode-hook':

    (add-hook 'yaml-mode-hook
      '(lambda ()
        (define-key yaml-mode-map "\C-m" 'newline-and-indent)))

    yaml-mode is major mode for emacs.

    You can install yaml-mode typing below.

        % make
        % make install


        % make PREFIX=/your/home/dir
        % make install PREFIX=/your/home/dir

    see SYNOPSIS.

    Yoshiki Kurihara <> Copyright (C) 2010 by Free Software
    Foundation, Inc.

    This file is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This file is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with GNU Emacs.  If not, see <>.

Old versions

yaml-mode-0.0.15.tar.lz2021-Aug-2913.1 KiB


0.0.16 Wed Sep 20 00:01:32 CEST 2023
	* Do not modify the buffer in `yaml-indent-line` unless necessary
	(Konstantin Kharlamov)
	* More tests (Vasilij Schneidermann)
	* Add unit test and github actions (Shohei YOSHIDA)
	* Fix syntax highlighting in presence of inline comments (liuyinz)
	* Fix byte-compile warning (Shohei YOSHIDA)
	* Upgrade license to GPLv3 (Stefan Kangas)
	* Turn on lexical binding (Daniel Mendler)
	* Add magic-mode-list entry (Ville Skyttä)
0.0.15 Mon Nov  9 11:22:02 CET 2020
	* Fix propertization for lists of dicts with literal block (Ben
	* Exclude newline from `yaml-nested-map-re` (Vasilij
	* Fix indent after comment line (Adam Hess)
	* Speed up syntax-propertize-function in files with large JSON
	strings (Dmitry Gutov)
	* Fix maintainer email (Vasilij Schneidermann)
	* Fix typos (Jonas Bernoulli, Damien Cassou)
0.0.14 Tue Jun 25 19:21:12 CET 2019
	* Adjust filling in comment to behave as in text modes (Tim
	* Improve block literal fontification (wasamasa)
	* Support escaped quote in a single quoted string (Väinö Järvelä)
	* Support double quote in implicit keys (Väinö Järvelä)
	* Support non-whitespace preceded apostrophe (Väinö Järvelä)
	* Support for apostrophe in words (Väinö Järvelä)
	* Don't consider a line a document delimiter if it has
	leading whitespace (Jonathan Frederickson)
	* Treat alias nodes as punctuation (Wilfred Hughes)
0.0.13 Fri Nov 4 22:23:34 CET 2016
	* Derive from text-mode, adjustments to major mode definition
	* Inclusion of longstanding PRs (wasamasa)
	* Improved comment highlighting (wasamasa)
	* Add *.raml to auto-mode-alist (Ville Skyttä)
	* Map both DEL and <backspace> to electric backspace (forcer)
	* Change dashes from word to symbol syntax (forcer)
0.0.12 Mon Aug 17 05:34:37 UTC 2015
        * Enable encrypted yamls. (rhoml)
        * Use font-lock-flush when available. (tarsius)
        * Improve paragraph filling of block literals. (wentasah)
0.0.11 Tue Nov 25 08:35:56 GMT 2014
        * Fix incorrect highlighting of colons in comments. (Wilfred)
0.0.10 Mon Aug 25 04:06:50 GMT 2014
        * Remove default C-j binding. (barrkel)
0.0.9  Mon Mar 11 12:43:23 2013
        * Fix anchor name can contain '_'. (Monson Shao)
        * `checkdoc' nits (including the `checkdoc-autoload' extension).
          (Samuel Bronson)
        * Enable yaml-mode for *.yaml files. (Georgi Valkov)
0.0.8  Tue Feb 28 13:06:42 2012
        * Replaced `last-command-char` to `last-command-event` (sugyan)
        * Ignore *.elc in .gitignore (semperos)
        * Added autoload comments. (arthuraa)
0.0.7  Thu Aug 5 14:35:14 2010 JST
       	* Fixed bug for 5th level's indentation becomes TAB character.
          See YAML spec 1.2 section 5.5. White Space Characters (ochko)
0.0.6  Mon Mar 1 20:16:29 2009 JST
        * The dash (-) is a word character.
          See YAML spec 1.2 section 5.6 (Remco van 't Veer)
0.0.5  Mon Dec 21 2009
        - Provide outline of yaml document via imenu (Tim Harper)
0.0.4  Mon Apr 20 16:46:13 2009 JST
        - Patch from knagano and mad-p. Fixed font-lock bugs(#4)
        * Move to
          New repogitory is
0.0.3  Thu Jan 25 15:36:51 2007 JST
	- Patch from Julian Scheid. Fixed comment highlighting bugs
	  using this idea. #2
	* Fixed comment-start bugs.
	  See also
	* Fixed few keywords regex.
	* Fixed little bugs #1
0.0.2  Fri Aug 25 18:04:01 2006 JST
	- Patch from Marshall T. Vandegrift. Added lots of features.
	* Added face used for YAML node anchors and aliases to
	* Added face used for YAML tags to `font-lock-type-face'.
0.0.1  Fri Jan 21 03:18:00 2006 JST
	- original version