unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
blob aaecc7f7422fc3c43e30850bf264456194674a2c 554 bytes (raw)
name: test/lisp/progmodes/ruby-mode-resources/ruby-indent-simplified.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
 
4 +
  5 +
  6 +
  7

foo = obj.bar { |m| tee(m) } +
  obj.qux { |m| hum(m) }

foo(a,
    b)

foo.
  bar
  .baz

method arg1,                   # bug#15594
  method2 arg2,
  arg3

zzz = method (a + b),
  c, :d => :e,
  f: g

qux = foo.fee ?
  bar :
  tee

foo2 =
  subject.
  update(
    2
  )

bar.foo do
  bar
end

bar.foo(tee) do
  bar
end

bar.foo(tee) {
  bar
}

# Endless methods.
class Bar
  def foo(abc) = bar +
    baz
end

x.foo do
  foo
end.bar do
  bar
end

# Local Variables:
# ruby-method-params-indent: t
# ruby-indent-simplified: t
# End:

debug log:

solving aaecc7f7422 ...
found aaecc7f7422 in https://yhetil.org/emacs-bugs/c8a360cb-a5e3-7a1d-79ef-5e2c6114a9e9@yandex.ru/

applying [1/1] https://yhetil.org/emacs-bugs/c8a360cb-a5e3-7a1d-79ef-5e2c6114a9e9@yandex.ru/
diff --git a/test/lisp/progmodes/ruby-mode-resources/ruby-indent-simplified.rb b/test/lisp/progmodes/ruby-mode-resources/ruby-indent-simplified.rb
new file mode 100644
index 00000000000..aaecc7f7422

Checking patch test/lisp/progmodes/ruby-mode-resources/ruby-indent-simplified.rb...
Applied patch test/lisp/progmodes/ruby-mode-resources/ruby-indent-simplified.rb cleanly.

index at:
100644 aaecc7f7422fc3c43e30850bf264456194674a2c	test/lisp/progmodes/ruby-mode-resources/ruby-indent-simplified.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).