GNU bug report logs - #20493
25.0.50; next-error in change-log-mode can hide its buffer

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sun, 3 May 2015 14:05:02 UTC

Severity: minor

Found in version 25.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20493 in the body.
You can then email your comments to 20493 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20493; Package emacs. (Sun, 03 May 2015 14:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitry Gutov <dgutov <at> yandex.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 03 May 2015 14:05:03 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; next-error in change-log-mode can hide its buffer
Date: Sun, 03 May 2015 17:04:00 +0300
next-error-function in *compile* or *grep* works in a certain way:

- It doesn't open the locations when the *compile* buffer is selected,
  it just jumps between them in that buffer.

- When *compile* is visible but displayed a different window, pressing
  C-x ` will never display the "next error" on top of *compile*. So the
  latter always stays visible.

Neither is true of change-log-next-error.

I think we need more consistency in this.

In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
 of 2015-05-02 on axl
Windowing system distributor `The X.Org Foundation', version 11.0.11601901
System Description:	Ubuntu 14.10




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20493; Package emacs. (Mon, 04 May 2015 22:19:02 GMT) Full text and rfc822 format available.

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

From: Ted Zlatanov <tzz <at> lifelogs.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 20493 <at> debbugs.gnu.org
Subject: Re: bug#20493: 25.0.50;
 next-error in change-log-mode can hide its buffer
Date: Mon, 04 May 2015 18:18:11 -0400
On Sun, 03 May 2015 17:04:00 +0300 Dmitry Gutov <dgutov <at> yandex.ru> wrote: 

DG> next-error-function in *compile* or *grep* works in a certain way:
DG> - It doesn't open the locations when the *compile* buffer is selected,
DG>   it just jumps between them in that buffer.

DG> - When *compile* is visible but displayed a different window, pressing
DG>   C-x ` will never display the "next error" on top of *compile*. So the
DG>   latter always stays visible.

DG> Neither is true of change-log-next-error.

DG> I think we need more consistency in this.

Is the question whether `next-error' should jump to files directly like
a bookmark or jump between navigation bookmarks that then have to be
explicitly activated with RET or something else?

I always prefer the latter, personally.

Ted




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20493; Package emacs. (Mon, 04 May 2015 22:25:03 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Ted Zlatanov <tzz <at> lifelogs.com>
Cc: 20493 <at> debbugs.gnu.org
Subject: Re: bug#20493: 25.0.50;
 next-error in change-log-mode can hide its buffer
Date: Tue, 5 May 2015 01:24:48 +0300
On 05/05/2015 01:18 AM, Ted Zlatanov wrote:

> Is the question whether `next-error' should jump to files directly like
> a bookmark or jump between navigation bookmarks that then have to be
> explicitly activated with RET or something else?

I guess it would be hard to create those "bookmarks" in a ChangeLog 
buffer anyway. So maybe this part is not fixable.

The second problem is more of an issue for me, and I don't see any heavy 
obstacles.




Reply sent to Juri Linkov <juri <at> linkov.net>:
You have taken responsibility. (Tue, 17 Apr 2018 21:26:02 GMT) Full text and rfc822 format available.

Notification sent to Dmitry Gutov <dgutov <at> yandex.ru>:
bug acknowledged by developer. (Tue, 17 Apr 2018 21:26:02 GMT) Full text and rfc822 format available.

Message #16 received at 20493-done <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 20493-done <at> debbugs.gnu.org
Subject: Re: bug#20493: 25.0.50;
 next-error in change-log-mode can hide its buffer
Date: Tue, 17 Apr 2018 23:55:06 +0300
> next-error-function in *compile* or *grep* works in a certain way:
>
> - It doesn't open the locations when the *compile* buffer is selected,
>   it just jumps between them in that buffer.
>
> - When *compile* is visible but displayed a different window, pressing
>   C-x ` will never display the "next error" on top of *compile*. So the
>   latter always stays visible.
>
> Neither is true of change-log-next-error.
>
> I think we need more consistency in this.

This is finally implemented.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20493; Package emacs. (Fri, 20 Apr 2018 07:58:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 20493 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: Re: bug#20493: 25.0.50;
 next-error in change-log-mode can hide its buffer
Date: Fri, 20 Apr 2018 10:57:55 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Date: Tue, 17 Apr 2018 23:55:06 +0300
> Cc: 20493-done <at> debbugs.gnu.org
> 
> > next-error-function in *compile* or *grep* works in a certain way:
> >
> > - It doesn't open the locations when the *compile* buffer is selected,
> >   it just jumps between them in that buffer.
> >
> > - When *compile* is visible but displayed a different window, pressing
> >   C-x ` will never display the "next error" on top of *compile*. So the
> >   latter always stays visible.
> >
> > Neither is true of change-log-next-error.
> >
> > I think we need more consistency in this.
> 
> This is finally implemented.

Thanks, but I think the documentation that accompanies these changes
should be augmented/improved:

  . next-error-select-buffer should be documented in the Emacs manual
  . the doc string of next-error-select-buffer should be expanded to
    explain the effect of selecting a buffer.  The current text is
    quite cryptic, IMO: "set it as the last used."  The meaning of
    "last used" in this context should be explained.
  . next-error-find-buffer-function should perhaps be mentioned in the
    Emacs manual and/or the ELisp manual.
  . the doc string of next-error-find-buffer-function should describe
    the arguments with which it is called, what possible values it can
    return, and the meaning of each returned value.

TIA




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20493; Package emacs. (Sat, 21 Apr 2018 19:54:02 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20493 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: Re: bug#20493: 25.0.50;
 next-error in change-log-mode can hide its buffer
Date: Sat, 21 Apr 2018 22:53:05 +0300
>> This is finally implemented.
>
> Thanks, but I think the documentation that accompanies these changes
> should be augmented/improved:
>
>   . next-error-select-buffer should be documented in the Emacs manual
>   . the doc string of next-error-select-buffer should be expanded to
>     explain the effect of selecting a buffer.  The current text is
>     quite cryptic, IMO: "set it as the last used."  The meaning of
>     "last used" in this context should be explained.
>   . next-error-find-buffer-function should perhaps be mentioned in the
>     Emacs manual and/or the ELisp manual.
>   . the doc string of next-error-find-buffer-function should describe
>     the arguments with which it is called, what possible values it can
>     return, and the meaning of each returned value.

Done.  I'll try not to forget about updating the documentation and NEWS
for future changes.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20493; Package emacs. (Sun, 22 Apr 2018 17:43:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 20493 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: Re: bug#20493: 25.0.50;
 next-error in change-log-mode can hide its buffer
Date: Sun, 22 Apr 2018 20:41:46 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 20493 <at> debbugs.gnu.org,  dgutov <at> yandex.ru
> Date: Sat, 21 Apr 2018 22:53:05 +0300
> 
> >   . next-error-select-buffer should be documented in the Emacs manual
> >   . the doc string of next-error-select-buffer should be expanded to
> >     explain the effect of selecting a buffer.  The current text is
> >     quite cryptic, IMO: "set it as the last used."  The meaning of
> >     "last used" in this context should be explained.
> >   . next-error-find-buffer-function should perhaps be mentioned in the
> >     Emacs manual and/or the ELisp manual.
> >   . the doc string of next-error-find-buffer-function should describe
> >     the arguments with which it is called, what possible values it can
> >     return, and the meaning of each returned value.
> 
> Done.  I'll try not to forget about updating the documentation and NEWS
> for future changes.

Thanks.

When you describe new commands and variables, please make sure they
are indexed (I added index entries for the ones you documented in this
changeset).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 21 May 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 30 days ago.

Previous Next


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