Subject: bug#19187: closed (Re: bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 26 Nov 2014 22:51:02 +0000

Your bug report

#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
19187: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19187
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode
From: Stephen Berman <[email-masked]>
To: Kan-Ru Chen (陳侃如) <[email-masked]>
Cc: [email-masked]
Date: Wed, 26 Nov 2014 23:49:47 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Wed, 26 Nov 2014 10:49:52 +0800 Kan-Ru Chen (陳侃如) <[email-masked]> 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.

Subject: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode
From: Kan-Ru Chen (陳侃如) <[email-masked]>
To: [email-masked]
Date: Wed, 26 Nov 2014 10:49:52 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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