GNU bug report logs - #53367
29.0.50; tramp-debug-buffer-command-completion-p fails in empty buffers

Previous Next

Package: emacs;

Reported by: Koen van Greevenbroek <koenvg <at> posteo.net>

Date: Wed, 19 Jan 2022 14:29:03 UTC

Severity: normal

Merged with 53405, 53593

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 53367 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Koen van Greevenbroek <koenvg <at> posteo.net>
Cc: 53367 <at> debbugs.gnu.org
Subject: Re: bug#53367: 29.0.50; tramp-debug-buffer-command-completion-p
 fails in empty buffers
Date: Wed, 19 Jan 2022 17:18:20 +0100
Koen van Greevenbroek <koenvg <at> posteo.net> writes:

Hi Koen,

> Starting from `emacs -Q`:
> 1. Evaluate the following:
> (require 'tramp)
> (setq read-extended-command-predicate
>       #'command-completion-default-include-p)
> 2. Open any empty buffer.
> 3. Press 'M-x TAB' to trigger a completion.
>
> We get the following message: "read-extended-command-predicate:
> tramp-setup-debug-buffer: Args out of range: #<buffer *scratch*>, 1,
> 10".

Thanks for the bug report and the analysis! I've fixed this in master.

> Cheers,
>
> Koen

Best regards, Michael.




This bug report was last modified 3 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.