<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp/eshell, branch scratch/obarray</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>When deleting output in Eshell, optionally add it to the kill ring.</title>
<updated>2024-02-16T02:25:21+00:00</updated>
<author>
<name>Tomas Volf</name>
</author>
<published>2024-02-16T02:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=572d58b5e8d0f1f1244b9ccab8f02c4f50ca8d12'/>
<id>572d58b5e8d0f1f1244b9ccab8f02c4f50ca8d12</id>
<content type='text'>
* lisp/eshell/esh-mode.el (eshell-kill-output): Rename to...
(eshell-delete-output): ... this, for consistency with 'comint-mode',
and accept KILL argument.  Update callers.

Copyright-paperwork-exempt: yes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/eshell/esh-mode.el (eshell-kill-output): Rename to...
(eshell-delete-output): ... this, for consistency with 'comint-mode',
and accept KILL argument.  Update callers.

Copyright-paperwork-exempt: yes
</pre>
</div>
</content>
</entry>
<entry>
<title>; Compute the list of symbols for 'eshell-eval-using-options' once</title>
<updated>2024-02-13T20:27:38+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2024-02-13T20:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=160165e8a97cfa3f3ffd803be373a3b34ed87597'/>
<id>160165e8a97cfa3f3ffd803be373a3b34ed87597</id>
<content type='text'>
* lisp/eshell/esh-opt.el (eshell--get-option-symbols): New function...
(eshell-eval-using-options): ... use it.
(eshell--do-opts, eshell--process-args): Take OPTION-SYMS.

* test/lisp/eshell/esh-opt-tests.el (esh-opt-test/process-args):
(esh-opt-test/process-args-parse-leading-options-only):
(esh-opt-test/process-args-external): Pass OPTION-SYMS in.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/eshell/esh-opt.el (eshell--get-option-symbols): New function...
(eshell-eval-using-options): ... use it.
(eshell--do-opts, eshell--process-args): Take OPTION-SYMS.

* test/lisp/eshell/esh-opt-tests.el (esh-opt-test/process-args):
(esh-opt-test/process-args-parse-leading-options-only):
(esh-opt-test/process-args-external): Pass OPTION-SYMS in.
</pre>
</div>
</content>
</entry>
<entry>
<title>Document arguments to Eshell's built-in commands</title>
<updated>2024-02-05T05:12:42+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2023-08-16T01:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5c43ef86bf169a79b87bd082d2f884757f7c2efc'/>
<id>5c43ef86bf169a79b87bd082d2f884757f7c2efc</id>
<content type='text'>
* lisp/eshell/em-unix.el (eshell/ln): LINK_NAME is required.

* lisp/eshell/esh-ext.el (eshell/addpath):
* lisp/eshell/esh-var.el (eshell/env): Improve help strings slightly.

* doc/misc/eshell.texi (Scripts): Explain $0, $1, etc.
(Dollars Expansion): Use "@dots{}" instead of "...".
(Built-ins, Tramp extensions, Extra built-in commands): Document
command-line arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/eshell/em-unix.el (eshell/ln): LINK_NAME is required.

* lisp/eshell/esh-ext.el (eshell/addpath):
* lisp/eshell/esh-var.el (eshell/env): Improve help strings slightly.

* doc/misc/eshell.texi (Scripts): Explain $0, $1, etc.
(Dollars Expansion): Use "@dots{}" instead of "...".
(Built-ins, Tramp extensions, Extra built-in commands): Document
command-line arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix typos</title>
<updated>2024-02-04T10:06:50+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2024-02-04T08:48:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=fc8b09484a2fbe182a0351c47afc3bf71f3b2a1b'/>
<id>fc8b09484a2fbe182a0351c47afc3bf71f3b2a1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; * lisp/eshell/em-unix.el (eshell/cp, eshell/ln): Delete extra space.</title>
<updated>2024-02-03T09:52:30+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-02-03T09:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=37efb63a3df969fb2eeed70dfe7fcf6c187e05be'/>
<id>37efb63a3df969fb2eeed70dfe7fcf6c187e05be</id>
<content type='text'>
Bug#68862.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug#68862.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in Eshell's "du" command</title>
<updated>2024-01-30T01:33:35+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2024-01-30T01:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a470dfb7f8a0f6d561b1f7c9665408d73b578e18'/>
<id>a470dfb7f8a0f6d561b1f7c9665408d73b578e18</id>
<content type='text'>
This option is supposed to be "--si", for "International System of
Units", not "--is".

* lisp/eshell/em-unix.el (eshell/du): Change "is" to "si".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option is supposed to be "--si", for "International System of
Units", not "--is".

* lisp/eshell/em-unix.el (eshell/du): Change "is" to "si".
</pre>
</div>
</content>
</entry>
<entry>
<title>In Eshell, don't expand quoted tildes into a user's home directory</title>
<updated>2024-01-29T00:02:05+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2023-09-03T05:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d2abe91d4bf68f20e4b1cd39f88ed98fd5731524'/>
<id>d2abe91d4bf68f20e4b1cd39f88ed98fd5731524</id>
<content type='text'>
* lisp/eshell/em-dirs.el (eshell-parse-user-reference): Don't expand
quoted tildes.

* test/lisp/eshell/em-dirs-tests.el
(em-dirs-test/expand-user-reference/local)
(em-dirs-test/expand-user-reference/quoted): New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/eshell/em-dirs.el (eshell-parse-user-reference): Don't expand
quoted tildes.

* test/lisp/eshell/em-dirs-tests.el
(em-dirs-test/expand-user-reference/local)
(em-dirs-test/expand-user-reference/quoted): New tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>In Eshell, allow an escaped newline at the end of a command</title>
<updated>2024-01-28T23:54:46+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2024-01-28T23:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1f5a13d5843306af2e6a74fbdfd6d00af8804a23'/>
<id>1f5a13d5843306af2e6a74fbdfd6d00af8804a23</id>
<content type='text'>
Normally, "echo&lt;RET&gt;" runs the command "echo".  Likewise,
"echo\&lt;RET&gt;&lt;RET&gt;" should too: we escape the first newline, and then
the second one is unescaped and should send the command input to
Eshell.  Previously, you had to press RET a third time, but now it
works as expected.

* lisp/eshell/esh-arg.el (eshell-looking-at-backslash-return): Make
obsolete.
(eshell-parse-backslash): A backslash sequence is only incomplete if
there's nothing at all after it.

* test/lisp/eshell/esh-arg-tests.el (esh-arg-test/escape/newline)
(esh-arg-test/escape-quoted/newline): Remove inaccurate comment;
escaped newlines are always special.
(esh-arg-test/escape/trailing-newline): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Normally, "echo&lt;RET&gt;" runs the command "echo".  Likewise,
"echo\&lt;RET&gt;&lt;RET&gt;" should too: we escape the first newline, and then
the second one is unescaped and should send the command input to
Eshell.  Previously, you had to press RET a third time, but now it
works as expected.

* lisp/eshell/esh-arg.el (eshell-looking-at-backslash-return): Make
obsolete.
(eshell-parse-backslash): A backslash sequence is only incomplete if
there's nothing at all after it.

* test/lisp/eshell/esh-arg-tests.el (esh-arg-test/escape/newline)
(esh-arg-test/escape-quoted/newline): Remove inaccurate comment;
escaped newlines are always special.
(esh-arg-test/escape/trailing-newline): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Be more strict with command arguments for a few Eshell commands</title>
<updated>2024-01-28T06:21:29+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2023-08-16T01:52:11+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c4d16909fa4c30fd5f11bd66de7936790349cb7d'/>
<id>c4d16909fa4c30fd5f11bd66de7936790349cb7d</id>
<content type='text'>
* lisp/eshell/em-dirs.el (eshell/pwd):
* lisp/eshell/em-unix.el (eshell/whoami):
* lisp/eshell/esh-proc.el (eshell/jobs): Don't accept arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/eshell/em-dirs.el (eshell/pwd):
* lisp/eshell/em-unix.el (eshell/whoami):
* lisp/eshell/esh-proc.el (eshell/jobs): Don't accept arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support setting umask symbolically in Eshell</title>
<updated>2024-01-28T06:21:23+00:00</updated>
<author>
<name>Jim Porter</name>
</author>
<published>2023-03-05T06:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a3cd284b90edcc7e06b21110cdbf55d11fb6fd0d'/>
<id>a3cd284b90edcc7e06b21110cdbf55d11fb6fd0d</id>
<content type='text'>
* lisp/eshell/em-basic.el (eshell/umask): Handle setting umask
symbolically, and make setting umask take precedence over "-S".

* test/lisp/eshell/em-basic-tests.el
(em-basic-test/umask-print-numeric, em-basic-test/umask-read-symbolic,
em-basic-test/umask-set): Rename to...
(em-basic-test/umask/print-numeric)
(em-basic-test/umask/print-symbolic, em-basic-test/umask/set-numeric):
... these.
(em-basic-test/umask/set-symbolic, em-basic-test/umask/set-with-S):
New tests.

* etc/NEWS: Announce this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/eshell/em-basic.el (eshell/umask): Handle setting umask
symbolically, and make setting umask take precedence over "-S".

* test/lisp/eshell/em-basic-tests.el
(em-basic-test/umask-print-numeric, em-basic-test/umask-read-symbolic,
em-basic-test/umask-set): Rename to...
(em-basic-test/umask/print-numeric)
(em-basic-test/umask/print-symbolic, em-basic-test/umask/set-numeric):
... these.
(em-basic-test/umask/set-symbolic, em-basic-test/umask/set-with-S):
New tests.

* etc/NEWS: Announce this change.
</pre>
</div>
</content>
</entry>
</feed>
