all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 7a9d123f6e2cfcbd2369bfcd2085ba6ce802f176 556 bytes (raw)
name: test/indent/ruby.rb 	 # 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
 
# Don't mis-match "sub" at the end of words.
a = asub / aslb + bsub / bslb;

b = %Q{This is a "string"}
c = %w(foo
 bar
 baz)
d = %!hello!

# Don't propertize percent literals inside strings.
"(%s, %s)" % [123, 456]

# Nor inside comments.
x = # "tot %q/to"; =
y = 2 / 3

# A "do" after a slash means that slash is not a division, but it doesn't imply
# it's a regexp-ender, since it can be a regexp-starter instead!
x = toto / foo; if /do bar/ then
                  toto = 1
                end

# Some Cucumber code:
Given /toto/ do
  print "hello"
end

debug log:

solving 7a9d123 ...
found 7a9d123 in https://yhetil.org/emacs/5029CC7A.4060001@yandex.ru/ ||
	https://yhetil.org/emacs/4F9C5108.8090008@yandex.ru/
found c4a747a in https://git.savannah.gnu.org/cgit/emacs.git
preparing index
index prepared:
100644 c4a747a1c7841a0e8abe75732e814e33d000e901	test/indent/ruby.rb

applying [1/1] https://yhetil.org/emacs/5029CC7A.4060001@yandex.ru/
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index c4a747a..7a9d123 100644

Checking patch test/indent/ruby.rb...
Applied patch test/indent/ruby.rb cleanly.

skipping https://yhetil.org/emacs/4F9C5108.8090008@yandex.ru/ for 7a9d123
index at:
100644 7a9d123f6e2cfcbd2369bfcd2085ba6ce802f176	test/indent/ruby.rb

(*) 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.