[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit 88a5cf7 139/224: Be explicit about Transient Mark
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit 88a5cf7 139/224: Be explicit about Transient Mark Mode in `paredit-wrap-*' tests. |
Date: |
Sat, 7 Aug 2021 09:22:36 -0400 (EDT) |
branch: elpa/paredit
commit 88a5cf7a242f3e6b37ae5d2229b718948e32a5db
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>
Be explicit about Transient Mark Mode in `paredit-wrap-*' tests.
Ignore-this: 1295ab71a3e11223dd5dfca96c6a8292
darcs-hash:20110411232248-00fcc-5bbb48a3bfcddbd0dbd836df292c2059966ec413
---
test.el | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/test.el b/test.el
index 179527f..6cc5462 100644
--- a/test.el
+++ b/test.el
@@ -158,7 +158,7 @@ Four arguments: the paredit command, the text of the buffer
'(("(foo #\\|( )" "(foo #\\()\n|")
("(foo|\n ) ;bar" "(foo) ;bar\n|")
("((foo|\n) (bar))" "((foo)\n |(bar))")))
-
+
(paredit-test-bracketed '((paredit-wrap-round ?\( ?\))
(paredit-wrap-square ?\[ ?\])
(paredit-wrap-curly ?\{ ?\})
@@ -166,9 +166,25 @@ Four arguments: the paredit command, the text of the buffer
)
'(("|foo" "(|foo)")
("|foo bar" "(|foo) bar")
- ("|foo bar baz" "(|foo) bar baz")
- ("|foo bar_" "(|foo bar)")
- ("|foo bar_ baz" "(|foo bar) baz")))
+ ("|foo bar baz" "(|foo) bar baz")))
+
+(let ((transient-mark-mode t))
+ (paredit-test-bracketed '((paredit-wrap-round ?\( ?\))
+ (paredit-wrap-square ?\[ ?\])
+ (paredit-wrap-curly ?\{ ?\})
+ ;; (paredit-wrap-angled ?\< ?\>)
+ )
+ '(("|foo bar_" "(|foo bar)")
+ ("|foo bar_ baz" "(|foo bar) baz"))))
+
+(let ((transient-mark-mode nil))
+ (paredit-test-bracketed '((paredit-wrap-round ?\( ?\))
+ (paredit-wrap-square ?\[ ?\])
+ (paredit-wrap-curly ?\{ ?\})
+ ;; (paredit-wrap-angled ?\< ?\>)
+ )
+ '(("|foo bar_" "(|foo) bar")
+ ("|foo bar_ baz" "(|foo) bar baz"))))
(let ((current-prefix-arg '(4)))
(paredit-test 'paredit-wrap-sexp
- [nongnu] elpa/paredit d681e3c 111/224: Check for expected errors in `paredit-forward-delete'., (continued)
- [nongnu] elpa/paredit d681e3c 111/224: Check for expected errors in `paredit-forward-delete'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 5dc93f9 114/224: Omit redundant `paredit-forward-delete' test., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 0cd0011 109/224: Implement expected errors in test suite., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 8ee8f13 118/224: Fix `paredit-insert-pair' when buffer ends with no-newline comment., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit fc78011 121/224: Tweak `paredit-check-region' and `paredit-region-ok-p'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 621be23 124/224: Add some tests for recent changes to deletion and killing commands., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit fac925d 125/224: Tweak safe region deletion., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 8d87576 129/224: Fix logic in checking region deletion across comment boundaries., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 4723fb3 132/224: Add and fix some tests for `(' and `)' while in a character literal., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 5558fd0 137/224: Make `paredit-in-char-p' work recursively., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 88a5cf7 139/224: Be explicit about Transient Mark Mode in `paredit-wrap-*' tests.,
ELPA Syncer <=
- [nongnu] elpa/paredit d80a9db 141/224: Fail early in `paredit-convolute-sexp'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 2ec6000 145/224: Fix error message in `paredit-test'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 6f2677b 148/224: Tweak `paredit-convolute-sexp' a little and add some tests for it., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit d54ea28 149/224: Add a trivial shell script to generate paredit.html., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 540bc9c 153/224: Remove unnecessarily nasty text about reporting bugs., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit b02f509 156/224: New file NEWS from paredit.release., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit b647a1a 158/224: Bump copyright year on test.el to 2013., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f25cd3b 159/224: Add a zillion paredit-kill tests. Fix a tiny bug they revealed., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 460254d 162/224: Fix paredit-doublequote inside a string escape., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit db82936 163/224: Make `paredit-forward' and `paredit-backward' move out of strings., ELPA Syncer, 2021/08/07