manateelazycat/aweshell

eshell-complete-parse-arguments: Args out of range: 0, 0

fhdhsni opened this issue · 4 comments

Hi. After I installed aweshell, when I open eshell, I get

eshell-complete-parse-arguments: Args out of range: 0, 0

emacs version: GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-07-05
Sorry, I really don't know what other information I should provide.

Please try
M-x toggle-debug-on-error

Then paste content of buffer Backtrace here.

This is the content of buffer Backtrace:

Debugger entered--Lisp error: (args-out-of-range 0 0)
  get-text-property(0 comment)
  eshell-complete-parse-arguments()
  pcomplete-parse-arguments(nil)
  pcomplete-completions()
  (setq eshell-did-you-mean--all-commands (pcomplete-completions))
  (if eshell-did-you-mean--all-commands nil (setq eshell-did-you-mean--all-commands (pcomplete-completions)))
  eshell-did-you-mean--get-all-commands()
  run-hooks(eshell-first-time-mode-hook)
  eshell-mode()
  eshell(nil)
  funcall-interactively(eshell nil)
  call-interactively(eshell record nil)
  command-execute(eshell record)
  execute-extended-command(nil "eshell" "eshell")
  funcall-interactively(execute-extended-command nil "eshell" "eshell")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

@fhdhsni Can you try this patch ?
c0850fe

Thank you. It works. :)