From: Lars Ingebrigtsen <larsi@gnus.org>
To: Chunyang Xu <mail@xuchunyang.me>
Cc: 26057@debbugs.gnu.org
Subject: bug#26057: 25.1; 'M-x eshell-source-file' fails
Date: Fri, 26 Jul 2019 14:15:24 +0200 [thread overview]
Message-ID: <87blxhm1pf.fsf@mouse.gnus.org> (raw)
In-Reply-To: <m2lgsc16gr.fsf@xuchunyang.me> (Chunyang Xu's message of "Sat, 11 Mar 2017 17:57:24 +0800")
Chunyang Xu <mail@xuchunyang.me> writes:
> After I open Eshell, the eshell-source-file is available as an
> interactive command and in (info "(eshell) Scripts") it says
>
> Scripts are invoked from Eshell with ‘source’, or from anywhere in Emacs
> with ‘eshell-source-file’.
>
> so it looks like to me I can run
>
> M-x eshell-source-file RET /tmp/foo.esh RET
[...]
> it fails by showing the following in the echo area
>
> eshell-source-file: No catch for tag: eshell-replace-command, (let
[...]
> I don't really sure about the purpose of making eshell-source-file
> interactive, maybe it is a bug?
It looks like the interactive spec has always been there (at least since
2000), but that function can't possibly work as an interactive command.
So, as you say, I think it's a bug, and I've now removed the interactive
spec from the function on the Emacs trunk.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2019-07-26 12:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-11 9:57 bug#26057: 25.1; 'M-x eshell-source-file' fails Chunyang Xu
2019-07-26 12:15 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87blxhm1pf.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=26057@debbugs.gnu.org \
--cc=mail@xuchunyang.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.