[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51869: [PATCH] Add emacs-vala-mode
From: |
Liliana Marie Prikler |
Subject: |
bug#51869: [PATCH] Add emacs-vala-mode |
Date: |
Tue, 16 Nov 2021 20:41:13 +0100 |
User-agent: |
Evolution 3.34.2 |
Hi,
Am Dienstag, den 16.11.2021, 18:12 +0000 schrieb Vivien Kraus:
> + (home-page "https://github.com/rrthomas/vala-mode")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url home-page)
> + (commit commit)))
Sorry, I didn't look close enough. Please avoid pulling home-page up,
it's not meant to be used as git-reference url.
> + (emacs-substitute-sexps "vala-mode.el"
> + (";; Support multiline strings" 'disabled.)
> + ("(defcustom vala-multiline-strings nil"
> + "This variable is ignored.")))))))
This inserts mostly bogus into the file rather than killing the sexps
as it should. The payload for just killing the entire sexp which
starts with leading-regexp would be (if I constructed this correctly,
untested):
(progn (goto-char (point-min))
(re-search-forward ,leading-regexp)
(goto-char (match-beginning 0))
(kill-sexp))
Don't forget to basic-save-buffer :)
Cheers