GNU bug report logs - #72667
31.0.50; gud-print moves the cursor after execution

Previous Next

Package: emacs;

Reported by: TatriX <tatrics <at> gmail.com>

Date: Fri, 16 Aug 2024 11:39:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: TatriX <tatrics <at> gmail.com>
Cc: 72667 <at> debbugs.gnu.org
Subject: Re: bug#72667: 31.0.50; gud-print moves the cursor after execution
Date: Sat, 17 Aug 2024 17:14:58 +0300
[Please use Reply All to reply, to keep the bug tracker CC'ed.]

> From: TatriX <tatrics <at> gmail.com>
> Date: Sat, 17 Aug 2024 15:41:54 +0200
> 
> > May I ask why you use gud-print and not gud-tooltip-mode?  The latter
> > will allow you to show values of variables without moving point.
> 
> I do use it sometimes. Most of the time I just switch to *gud* buffer
> and print the values manually, which requires quite some window
> switching.
> 
> I suppose what I would prefer is to be able to run something similar to
> gud-print which would ask me for an expression, defaulting to whatever
> is near the point. Still, moving the point is undesirable since it
> changes what is in focus.
> 
> I tried to change the behavior myself, but couldn't find what actually
> moves the point.

I think it happens in gud-refresh.




This bug report was last modified 361 days ago.

Previous Next


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