GNU bug report logs - #19187
24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode

Previous Next

Package: emacs;

Reported by: Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>

Date: Wed, 26 Nov 2014 02:51:02 UTC

Severity: normal

Found in version 24.4

Done: Stephen Berman <stephen.berman <at> gmx.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 19187 in the body.
You can then email your comments to 19187 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#19187; Package emacs. (Wed, 26 Nov 2014 02:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 26 Nov 2014 02:51:02 GMT) Full text and rfc822 format available.

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

From: Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; In todo-mode, key g invokes revert-buffer;
 buffer reverted to fundamental-mode
Date: Wed, 26 Nov 2014 10:49:52 +0800
In special-mode ?g is bound to `revert-buffer'. But todo mode doesn't
recognize files with extension \.todo nor files under `todo-directory'
should be opened in TODO mode so the file was reverted to
fundamental-mode.

IMO `todo-mode' should do the necessary setup to make the buffer a todo
mode buffer. Or rebind ?g to update/reload the current todo file.

Kanru


In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.3)
 of 2014-10-26 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11601901
System Description:	Debian GNU/Linux testing (jessie)

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=uim
  locale-coding-system: utf-8-unix

Major mode: Todo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19187; Package emacs. (Wed, 26 Nov 2014 14:33:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Kan-Ru Chen (陳侃如) <kanru <at> byebi.wara.tw>
Cc: 19187 <at> debbugs.gnu.org
Subject: Re: bug#19187: 24.4; In todo-mode, key g invokes revert-buffer;
 buffer reverted to fundamental-mode
Date: Wed, 26 Nov 2014 09:32:37 -0500
> IMO `todo-mode' should do the necessary setup to make the buffer a todo
> mode buffer. Or rebind ?g to update/reload the current todo file.

Agreed,


        Stefan




Reply sent to Stephen Berman <stephen.berman <at> gmx.net>:
You have taken responsibility. (Wed, 26 Nov 2014 22:51:02 GMT) Full text and rfc822 format available.

Notification sent to Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>:
bug acknowledged by developer. (Wed, 26 Nov 2014 22:51:02 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>
Cc: 19187-done <at> debbugs.gnu.org
Subject: Re: bug#19187: 24.4; In todo-mode, key g invokes revert-buffer;
 buffer reverted to fundamental-mode
Date: Wed, 26 Nov 2014 23:49:47 +0100
On Wed, 26 Nov 2014 10:49:52 +0800 Kan-Ru Chen (陳侃如) <kanru <at> kanru.info> wrote:

> In special-mode ?g is bound to `revert-buffer'. But todo mode doesn't
> recognize files with extension \.todo nor files under `todo-directory'
> should be opened in TODO mode so the file was reverted to
> fundamental-mode.
>
> IMO `todo-mode' should do the necessary setup to make the buffer a todo
> mode buffer. Or rebind ?g to update/reload the current todo file.

Fixed in emacs-24.  Thanks for the report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Dec 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 184 days ago.

Previous Next


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