From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: new buffer - should its mode reflect its name when the name matches auto-mode-alist? Date: Fri, 25 Sep 2009 00:07:04 +0300 Organization: JURTA Message-ID: <878wg4rqjz.fsf@mail.jurta.org> References: <7b501d5c0909220747m71565340m36be3026f91f5db8@mail.gmail.com> <230CB35D6D9A419EB943F0A276A78B72@us.oracle.com> <7dbe73ed0909231350i107db072rd17a9e9b45c225e3@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253827066 26540 80.91.229.12 (24 Sep 2009 21:17:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2009 21:17:46 +0000 (UTC) Cc: Deniz Dogan , Drew Adams , emacs-devel@gnu.org To: Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 24 23:17:38 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mqvh4-0005TU-3o for ged-emacs-devel@m.gmane.org; Thu, 24 Sep 2009 23:17:38 +0200 Original-Received: from localhost ([127.0.0.1]:57873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqvh3-0003gt-A2 for ged-emacs-devel@m.gmane.org; Thu, 24 Sep 2009 17:17:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mqvgy-0003gb-KP for emacs-devel@gnu.org; Thu, 24 Sep 2009 17:17:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mqvgt-0003g0-UC for emacs-devel@gnu.org; Thu, 24 Sep 2009 17:17:32 -0400 Original-Received: from [199.232.76.173] (port=48350 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqvgt-0003fu-RU for emacs-devel@gnu.org; Thu, 24 Sep 2009 17:17:27 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:51637 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mqvgt-0005Yy-Jb for emacs-devel@gnu.org; Thu, 24 Sep 2009 17:17:27 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.70.149.cable.starman.ee [82.131.70.149]) by mx1.starman.ee (Postfix) with ESMTP id C1BC73F4163; Fri, 25 Sep 2009 00:17:21 +0300 (EEST) In-Reply-To: <7dbe73ed0909231350i107db072rd17a9e9b45c225e3@mail.gmail.com> (Mathias Dahl's message of "Wed, 23 Sep 2009 22:50:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115595 Archived-At: > I would like this behaviour too. From time to time I also do this and > it is a tiny annoyance that I have to save the file and then revert it > to get the default mode loaded. Of course I sometimes enable the mode > manually as well but for some files I do not always know the mode name. We could add all possible modes to the main menu to allow enabling them easily from the menu. -- Juri Linkov http://www.jurta.org/emacs/