https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2016-09-23T08:30:57Z
Ruby Issue Tracking System
Ruby master - Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
https://bugs.ruby-lang.org/issues/12785?journal_id=60609
2016-09-23T08:30:57Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul></ul><p>Does <code>save-buffer</code> in Emacs 25.1 print nothing?<br>
Or did it fail?</p>
Ruby master - Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
https://bugs.ruby-lang.org/issues/12785?journal_id=60619
2016-09-23T17:29:51Z
znz (Kazuhiro NISHIYAMA)
<ul></ul><p>I check with following diff, file is saved.</p>
<pre><code class="diff syntaxhl" data-language="diff"><span class="gh">diff --git a/test/misc/test_ruby_mode.rb b/test/misc/test_ruby_mode.rb
index a91e1c2..36009f8 100644
</span><span class="gd">--- a/test/misc/test_ruby_mode.rb
</span><span class="gi">+++ b/test/misc/test_ruby_mode.rb
</span><span class="p">@@ -35,6 +35,8 @@</span> def run_emacs(src, *exprs)
output = IO.popen([*EMACS, tmp.path, *exprs, err:[:child, :out]], "r") {|e| e.read}
tmp.open
result = tmp.read
<span class="gi">+ puts src
+ puts result
</span> return result, output
ensure
tmp.close!
</code></pre>
<p>And I found document change of <code>write-region</code>.</p>
<p>Emacs 25.1.1:</p>
<blockquote>
<p>If VISIT is neither t nor nil nor a string, or if Emacs is in batch mode,<br>
do not display the "Wrote file" message.</p>
</blockquote>
<p>Emacs 24.5.1:</p>
<blockquote>
<p>If VISIT is neither t nor nil nor a string,<br>
that means do not display the "Wrote file" message.</p>
</blockquote>
<p>And ChangeLog message: <a href="https://github.com/emacs-mirror/emacs/blob/65dc67c87553bec4c8b36432246b13f09d653118/src/ChangeLog.13#L1758-L1761" class="external">https://github.com/emacs-mirror/emacs/blob/65dc67c87553bec4c8b36432246b13f09d653118/src/ChangeLog.13#L1758-L1761</a></p>
<blockquote>
<p>batch write-region no longer says "Wrote FOO"<br>
This cuts down on 'make' chatter a bit.</p>
<ul>
<li>fileio.c (Fwrite_region):<br>
Don't output "Wrote /whatever/foo.elc" if noninteractive.</li>
</ul>
</blockquote>
Ruby master - Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
https://bugs.ruby-lang.org/issues/12785?journal_id=60620
2016-09-24T01:19:48Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>Applied in changeset r56224.</p>
<hr>
<p>test_ruby_mode.rb: fix for Emacs 25.1</p>
<ul>
<li>test/misc/test_ruby_mode.rb (assert_indent): since write-region<br>
in Emacs 25.1 no longer displays the "Wrote file" message, shows<br>
the explicit message to check if successfully finished.<br>
<a href="/issues/12785">[ruby-core:77355]</a> [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: misc/test_ruby_mode.rb failed with emacs 25.1.1 (Closed)" href="https://bugs.ruby-lang.org/issues/12785">#12785</a>]</li>
</ul>
Ruby master - Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
https://bugs.ruby-lang.org/issues/12785?journal_id=61505
2016-11-15T05:47:14Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Backport</strong> changed from <i>2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN</i> to <i>2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED</i></li></ul>
Ruby master - Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
https://bugs.ruby-lang.org/issues/12785?journal_id=62266
2016-12-27T09:17:27Z
usa (Usaku NAKAMURA)
usa@garbagecollect.jp
<ul><li><strong>Backport</strong> changed from <i>2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED</i> to <i>2.1: REQUIRED, 2.2: DONE, 2.3: REQUIRED</i></li></ul><p>ruby_2_2 r57207 merged revision(s) 56224.</p>
Ruby master - Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
https://bugs.ruby-lang.org/issues/12785?journal_id=62898
2017-02-07T16:38:57Z
nagachika (Tomoyuki Chikanaga)
nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.1: REQUIRED, 2.2: DONE, 2.3: REQUIRED</i> to <i>2.1: REQUIRED, 2.2: DONE, 2.3: DONE</i></li></ul><p>ruby_2_3 r57565 merged revision(s) 56224.</p>