unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode
@ 2014-11-26  2:49 Kan-Ru Chen
  2014-11-26 14:32 ` Stefan Monnier
  2014-11-26 22:49 ` Stephen Berman
  0 siblings, 2 replies; 3+ messages in thread
From: Kan-Ru Chen @ 2014-11-26  2:49 UTC (permalink / raw)
  To: 19187


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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode
  2014-11-26  2:49 bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode Kan-Ru Chen
@ 2014-11-26 14:32 ` Stefan Monnier
  2014-11-26 22:49 ` Stephen Berman
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2014-11-26 14:32 UTC (permalink / raw)
  To: Kan-Ru Chen; +Cc: 19187

> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode
  2014-11-26  2:49 bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode Kan-Ru Chen
  2014-11-26 14:32 ` Stefan Monnier
@ 2014-11-26 22:49 ` Stephen Berman
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Berman @ 2014-11-26 22:49 UTC (permalink / raw)
  To: Kan-Ru Chen; +Cc: 19187-done

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-26 22:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26  2:49 bug#19187: 24.4; In todo-mode, key g invokes revert-buffer; buffer reverted to fundamental-mode Kan-Ru Chen
2014-11-26 14:32 ` Stefan Monnier
2014-11-26 22:49 ` Stephen Berman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).