unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob 0a50b0e3624e06375ca212447d2601ef98ebbb1c 1500 bytes (raw)
name: gnu/packages/patches/vala-mode-fix.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
 
From 68db3ae7410a7d89e606e1916240193b96ab335e Mon Sep 17 00:00:00 2001
From: Vivien <vivien@pruneau.lan>
Date: Mon, 15 Nov 2021 13:55:58 +0000
Subject: [PATCH] Revert "vala-mode: support multiline strings"

This reverts commit 671c287ba9cb81dcf6e9485e6ccc60bc2b7aba14.
---
 vala-mode.el | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/vala-mode.el b/vala-mode.el
index 8c4da4c..22c6e49 100644
--- a/vala-mode.el
+++ b/vala-mode.el
@@ -259,14 +259,6 @@ casts and declarations are fontified.  Used on level 2 and higher."
 (c-lang-defconst c-opt-cpp-prefix
   vala "\\s *#\\s *")
 
-;; Support multiline strings
-;;
-;; FIXME: This allows any string to be multiline. Currently, c-mode only
-;; supports a single-character prefix to denote a multiline string, so the
-;; real fix will be harder.
-(c-lang-defconst c-multiline-string-start-char
-  vala vala-multiline-strings)
-
 ;; Vala uses the following assignment operators
 (c-lang-defconst c-assignment-operators
   vala '("=" "*=" "/=" "%=" "+=" "-=" ">>=" "<<="
@@ -428,15 +420,6 @@ casts and declarations are fontified.  Used on level 2 and higher."
   :type 'hook
   :group 'c)
 
-(defcustom vala-multiline-strings nil
-  "Whether to enable support for multiline strings.
-
-It can conflict with some other Emacs functionality, such as the
-automatic insertion of closing quotes `electric-pair-mode'."
-  :type 'bool
-  :group 'vala)
-
-
 ;;; The entry point into the mode
 ;;;###autoload
 (defun vala-mode ()
-- 
2.33.1


debug log:

solving 0a50b0e362 ...
found 0a50b0e362 in https://yhetil.org/guix-bugs/87pmr14ipx.fsf@planete-kraus.eu/

applying [1/1] https://yhetil.org/guix-bugs/87pmr14ipx.fsf@planete-kraus.eu/
diff --git a/gnu/packages/patches/vala-mode-fix.patch b/gnu/packages/patches/vala-mode-fix.patch
new file mode 100644
index 0000000000..0a50b0e362

1:24: trailing whitespace.
 
1:39: trailing whitespace.
 
1:52: trailing whitespace.
-- 
Checking patch gnu/packages/patches/vala-mode-fix.patch...
1:54: new blank line at EOF.
+
Applied patch gnu/packages/patches/vala-mode-fix.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 0a50b0e3624e06375ca212447d2601ef98ebbb1c	gnu/packages/patches/vala-mode-fix.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).