From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#10334: 24.0.92; Doc fix Date: Thu, 23 Feb 2012 21:35:36 +0100 Message-ID: References: <83d3bjymox.fsf@gnu.org> <87ty3hblpu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330029399 5997 80.91.229.3 (23 Feb 2012 20:36:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2012 20:36:39 +0000 (UTC) Cc: 10334@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 23 21:36:38 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S0fP3-0000zZ-Sj for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2012 21:36:38 +0100 Original-Received: from localhost ([::1]:47153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0fP3-0005a2-8Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2012 15:36:37 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0fOz-0005Zf-OV for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 15:36:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0fOy-0002UE-JM for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 15:36:33 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0fOy-0002U8-Hv for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 15:36:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S0fRN-0005T4-S6 for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 15:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2012 20:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10334-submit@debbugs.gnu.org id=B10334.133002949520959 (code B ref 10334); Thu, 23 Feb 2012 20:39:01 +0000 Original-Received: (at 10334) by debbugs.gnu.org; 23 Feb 2012 20:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:53048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0fQc-0005Rz-Cc for submit@debbugs.gnu.org; Thu, 23 Feb 2012 15:38:15 -0500 Original-Received: from mail-tul01m020-f172.google.com ([209.85.214.172]:54391) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0fQZ-0005Rm-IZ for 10334@debbugs.gnu.org; Thu, 23 Feb 2012 15:38:12 -0500 Original-Received: by obbwd15 with SMTP id wd15so1763784obb.3 for <10334@debbugs.gnu.org>; Thu, 23 Feb 2012 12:35:36 -0800 (PST) Received-SPF: pass (google.com: domain of dmoncayo@gmail.com designates 10.182.192.36 as permitted sender) client-ip=10.182.192.36; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dmoncayo@gmail.com designates 10.182.192.36 as permitted sender) smtp.mail=dmoncayo@gmail.com; dkim=pass header.i=dmoncayo@gmail.com Original-Received: from mr.google.com ([10.182.192.36]) by 10.182.192.36 with SMTP id hd4mr1111984obc.60.1330029336245 (num_hops = 1); Thu, 23 Feb 2012 12:35:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=T9//yHHc2scwndMJrejd59YrYEi763hG/k78XwYBvRE=; b=E7OdepiSVJLN8q5s1xH2c7WxyvlDkYp18V35Poy53wTGf3+zN6Wa8Ni9X39sJejNZP VsFXTQgcbnWFjNpnrrDvDPOeksYmxz33QeSqOxM+fkmllvH2eG2D/7rN81N2pb/cFTH4 J5OZNK9zqwezT/D9+hd03xGNIfmb4Gag5Be70= Original-Received: by 10.182.192.36 with SMTP id hd4mr971604obc.60.1330029336187; Thu, 23 Feb 2012 12:35:36 -0800 (PST) Original-Received: by 10.60.42.193 with HTTP; Thu, 23 Feb 2012 12:35:36 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57151 Archived-At: >> Thanks, I've committed the various fixed you pointed out in this thread >> to the trunk. > > Thanks Chong. =A0But I wonder why you didn't mention anything about the > major-mode re-setting that may take place after you save the new > buffer to a file. Ping. I think that the explanation about the new buffer's major mode would be more complete if we mention that the major mode may change when the buffer is saved to a file. For example: =3D=3D=3D modified file 'doc/emacs/buffers.texi' --- doc/emacs/buffers.texi 2012-02-09 06:43:23 +0000 +++ doc/emacs/buffers.texi 2012-02-23 20:28:35 +0000 @@ -106,7 +106,9 @@ determines the new buffer's major mode; the default value is Fundamental mode. @xref{Major Modes}. One reason to create a new buffer is to use it for making temporary notes. If you try to save -it, Emacs asks for the file name to use. +it, Emacs asks for the file name to use, and the buffer's major mode +is re-established taking that file name into account (@pxref{Choosing +Modes}). @kindex C-x @key{LEFT} @kindex C-x @key{RIGHT} --=20 Dani Moncayo