[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70573: 30.0.50; Setting gud-gud-lldb-command-name does not take effe
From: |
Eli Zaretskii |
Subject: |
bug#70573: 30.0.50; Setting gud-gud-lldb-command-name does not take effect |
Date: |
Thu, 25 Apr 2024 22:01:38 +0300 |
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Date: Thu, 25 Apr 2024 19:56:12 +0200
>
>
> 1. emacs -Q
> 2. (setq gud-gud-lldb-command-name "hansi")
> 3. M-x lldb RET
>
> The new command name "hansi" is not used when prompting the user.
It looks like this part:
(interactive (list (gud-query-cmdline 'lldb)))
is the culprit: the minor-mode, which is the argument to
gud-query-cmdline, should be 'gud-lldb, not 'lldb. Here's my
evidence:
(when (and gud-comint-buffer
(buffer-name gud-comint-buffer)
(get-buffer-process gud-comint-buffer)
(with-current-buffer gud-comint-buffer (eq gud-minor-mode
'gud-lldb)))
Btw, this line seems also to be confused wrt the name of
gud-minor-mode:
(setq-local gud-minor-mode 'lldb)