Skip to content

Tags: spotify/dockerfile-mode

Tags

v1.9

Toggle v1.9's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Remove obsolete function calls

In Emacs 29.1 the `point-at-bol` and `point-at-eol` functions are
obsolete. This removes the following warnings when compiling the file:

    In dockerfile-indent-line-function:
    dockerfile-mode.el:159:41: Warning: ‘point-at-bol’ is an obsolete function (as
        of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
    dockerfile-mode.el:163:37: Warning: ‘point-at-eol’ is an obsolete function (as
        of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
    dockerfile-mode.el:164:32: Warning: ‘point-at-eol’ is an obsolete function (as
        of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
    dockerfile-mode.el:166:27: Warning: ‘point-at-bol’ is an obsolete function (as
        of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.

It is safe to use these new functions as they were introduced as of
Emacs 20.

v1.8

Toggle v1.8's commit message
Fix: remove repeated switch in docstring

v1.7

Toggle v1.7's commit message
updating build string example

v1.6

Toggle v1.6's commit message
Add --pull and --force-rm switches toggling defcustoms.

v1.5

Toggle v1.5's commit message
Added version and URL header

v1.4

Toggle v1.4's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: false positives caused by auto-mode-alist pattern

The old pattern would match the following filenames:

- *Dockerfile
- *Dockerfile.*

This is because the pattern does not start with a slash indicating the
beginning of the basename. Personally this led to a few false positives,
like for example "siren-dockerfile.el" that sets up and configures
dockerfile-mode in my Emacs configuration.

This change restricts the patterns to:

- Dockerfile
- Dockerfile.*
- *.dockerfile

I believe this is still wide enough to capture all common naming
conventions for Dockerfiles.

v1.3

Toggle v1.3's commit message
Remove keybinding to #'dockerfile-test-function

v1.2

Toggle v1.2's commit message
Merge pull request #19 from giuseppe/giuseppe/color-label

dockerfile-mode.el: add LABEL to the list of known keywords

v1.1

Toggle v1.1's commit message
Merge pull request #10 from j0ni/accommodate-ethan-wspace

Correctly set require-final-newline

v1.0

Toggle v1.0's commit message
Added copy and onbuild commands