<p dir="auto">I use Emacs 24.3.1 under Windows 7 x64. When I <code class="notranslate">M-x shell</code> and <code class="notranslate">julia</code> to execute julia.exe (not via ESS), there are several problems:</p>
<ul dir="auto">
<li>There is no splash.</li>
<li>There is no prompt.</li>
<li>Expression ending with a semicolon still shows its value.</li>
<li>Type <code class="notranslate">?help</code> gives <code class="notranslate">ERROR: syntax: extra token "help" after end of expression</code></li>
</ul>
<p dir="auto">Here's how it looks in Emacs:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3741290/4517693/f66f9c50-4c4d-11e4-8057-4e5474104c80.png"><img src="https://cloud.githubusercontent.com/assets/3741290/4517693/f66f9c50-4c4d-11e4-8057-4e5474104c80.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">If I execute julia.exe from cmd then everything is fine:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3741290/4517694/fc8ac812-4c4d-11e4-9924-194b93d93051.png"><img src="https://cloud.githubusercontent.com/assets/3741290/4517694/fc8ac812-4c4d-11e4-9924-194b93d93051.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Here is my <code class="notranslate">versioninfo(true)</code>:</p>
<blockquote>
<p dir="auto">Julia Version 0.3.0<br>
Commit 7681878 (2014-08-20 20:43 UTC)<br>
Platform Info:<br>
System: Windows (x86_64-w64-mingw32)<br>
CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz<br>
WORD_SIZE: 64<br>
Microsoft Windows [Version 6.1.7601]<br>
uname: MINGW32_NT-6.1 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown<br>
Memory: 3.7029266357421875 GB (298.31640625 MB free)<br>
Uptime: 92575.65727 sec<br>
Load Avg:  0.0  0.0  0.0<br>
Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz:<br>
speed         user       nice        sys       idle        irq ticks</p>
<h1 dir="auto">1  2594 MHz    5419973          0    3710124   83446276      41761 ticks</h1>
<h1 dir="auto">2  2594 MHz    1938640          0    <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/31343564dc4140bdf9a5d8bc9a08b27fc8e512fd/hovercard" href="https://github.com/JuliaLang/julia/commit/31343564dc4140bdf9a5d8bc9a08b27fc8e512fd"><tt>3134356</tt></a>   87502879    1550400 ticks</h1>
<h1 dir="auto">3  2594 MHz    4817014          0    3269203   84489533      24772 ticks</h1>
<h1 dir="auto">4  2594 MHz    1013819          0     626765   90935042      21231 ticks</h1>
<p dir="auto">BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)<br>
LAPACK: libopenblas<br>
LIBM: libopenlibm<br>
LLVM: libLLVM-3.3<br>
Environment:<br>
CLASSPATH = .;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip<br>
HOMEDRIVE = C:<br>
HOMEPATH = \Users\X230<br>
JULIA_PKGDIR = C:\Users\X230.julia<br>
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC<br>
Package Directory: C:\Users\X230.julia</p>
</blockquote>
<p dir="auto">Any idea how to fix it? Thanks!</p>
<p dir="auto">Currently</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; complex(1.0) / (Inf + Inf*im)
NaN + NaN*im"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">complex</span>(<span class="pl-c1">1.0</span>) <span class="pl-k">/</span> (<span class="pl-c1">Inf</span> <span class="pl-k">+</span> <span class="pl-c1">Inf</span><span class="pl-k">*</span>im)
<span class="pl-c1">NaN</span> <span class="pl-k">+</span> <span class="pl-c1">NaN</span><span class="pl-k">*</span>im</pre></div>
<p dir="auto">but the result should be a complex 0.  According to the comments, division between <code class="notranslate">ComplexF64</code> is based on <a href="https://arxiv.org/abs/1210.4539" rel="nofollow">https://arxiv.org/abs/1210.4539</a>, but I'm not sure how to fix the algorithm to deal with this.</p>
<p dir="auto">This is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="375156128" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/29840" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/29840/hovercard" href="https://github.com/JuliaLang/julia/issues/29840">#29840</a> (but that issue has been hidden by using <code class="notranslate">inv</code> in PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="452740428" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/32252" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/32252/hovercard" href="https://github.com/JuliaLang/julia/pull/32252">#32252</a>).  This is not a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248153544" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/23134" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/23134/hovercard" href="https://github.com/JuliaLang/julia/issues/23134">#23134</a> as that issue was about the case where the numerator is real.</p>