unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Karl Roldan <karlfroldan@gmail.com>
Cc: 73385@debbugs.gnu.org
Subject: bug#73385: 29.4; eshell over tramp with explicit port capf and history error
Date: Sat, 28 Sep 2024 09:36:53 +0200	[thread overview]
Message-ID: <875xqg9qlm.fsf@gmx.de> (raw)
In-Reply-To: <87bk0ilkid.fsf@gmail.com> (Karl Roldan's message of "Fri, 20 Sep 2024 17:52:42 +0800")

Karl Roldan <karlfroldan@gmail.com> writes:

Hi Karl,

> After trying to open a dired buffer /ssh:user@ip#22:~ then executing
> eshell, I noticed that capf and eshell-previous-matching-input (bound to
> M-p) do not work. They seem to work well if port is not explicitly defined.
>
> I enabled toggle-debug-on-error and executed some commands on emacs -Q
> to see the callstack but I'm not very adept at debugging emacs yet.
>
> After M-p:
> Debugger entered--Lisp error: (error "Not found")
>   error("Not found")
>   eshell-previous-matching-input("^/ssh:karl@10\\.1\\.2\\.84#22:~ \\$ " 1)
>   eshell-previous-matching-input-from-input(1)
>   funcall-interactively(eshell-previous-matching-input-from-input 1)
>   command-execute(eshell-previous-matching-input-from-input)
>
> After TAB (completion at point)
> Debugger entered--Lisp error: (error "Invalid variable reference")
>   error("Invalid variable reference")
>   eshell-parse-variable-ref(nil)
>   eshell-parse-variable()
>   eshell-interpolate-variable()
>   run-hook-with-args-until-success(eshell-interpolate-variable)
>   eshell-parse-argument()
>   eshell-parse-arguments(29 #<marker at 56 in *eshell*>)
>   eshell-complete-parse-arguments()
>   pcomplete-parse-arguments(nil)
>   pcomplete-completions()
>   pcomplete-completions-at-point()
>   completion--capf-wrapper(pcomplete-completions-at-point all)
>   completion-at-point()
>   funcall-interactively(completion-at-point)
>   command-execute(completion-at-point)

I can reproduce both problems with Emacs 29. With Emacs 30 (pretest
version), there's no problem. So I guess it is fixed already there.

Do you have a chance to check Emacs 30?

Best regards, Michael.





  reply	other threads:[~2024-09-28  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-20  9:52 bug#73385: 29.4; eshell over tramp with explicit port capf and history error Karl Roldan
2024-09-28  7:36 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
     [not found]   ` <CANQq0qgpGtRCuCzvr=SFmUiXcoOei7D3407FaBYDakgciJHp5Q@mail.gmail.com>
2024-09-30  6:49     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xqg9qlm.fsf@gmx.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=73385@debbugs.gnu.org \
    --cc=karlfroldan@gmail.com \
    --cc=michael.albinus@gmx.de \
    /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 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).