From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9214: `fundamental-mode-hook' not run when setting up `fundamental-mode' under certain circumstances; Info documentation incorrect Date: Sun, 29 Jan 2012 23:16:11 -0500 Message-ID: References: <87wrex4ejy.fsf@gmail.com> <87k44c3yg7.fsf@gnu.org> <87wr8bzic0.fsf@gmail.com> <87obtnqo9w.fsf@gnu.org> <87pqe2zcvg.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327897025 25568 80.91.229.3 (30 Jan 2012 04:17:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2012 04:17:05 +0000 (UTC) Cc: Juanma Barranquero , Chong Yidong , 9214@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 30 05:17:04 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 1Rrifs-0007P0-Nz for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2012 05:17:00 +0100 Original-Received: from localhost ([::1]:49675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrifr-0001kj-Re for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jan 2012 23:16:59 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrifp-0001ke-8u for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 23:16:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrifn-0008Js-U1 for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 23:16:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrifn-0008Jm-Oa for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 23:16:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rrifu-0004Fg-N3 for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 23:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2012 04:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9214 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9214-submit@debbugs.gnu.org id=B9214.132789698816297 (code B ref 9214); Mon, 30 Jan 2012 04:17:02 +0000 Original-Received: (at 9214) by debbugs.gnu.org; 30 Jan 2012 04:16:28 +0000 Original-Received: from localhost ([127.0.0.1]:44415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrifL-0004Eo-Gd for submit@debbugs.gnu.org; Sun, 29 Jan 2012 23:16:27 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:30805) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrifJ-0004EZ-J4 for 9214@debbugs.gnu.org; Sun, 29 Jan 2012 23:16:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAKYYJk9FpZaC/2dsb2JhbABDrlqBBoFyAQEEAVYjBQsLNAcLFBgNJIgPt3uIZQQOAgIDBwIEBQEDAgMMBgkDAYQYAgQDg1YEiD+ac4RX X-IronPort-AV: E=Sophos;i="4.71,590,1320642000"; d="scan'208";a="160091866" Original-Received: from 69-165-150-130.dsl.teksavvy.com (HELO pastel.home) ([69.165.150.130]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 29 Jan 2012 23:16:11 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 94B1158ECC; Sun, 29 Jan 2012 23:16:11 -0500 (EST) In-Reply-To: <87pqe2zcvg.fsf@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Sun, 29 Jan 2012 17:34:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) 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:56208 Archived-At: > Exactly. I need a way to run code for _any_ new buffer (I don't really > need to run the code for temporary buffers which never get any user > interaction, but I don't think there is a way to set those apart), no There is a way: whether they call a major-mode function or not. Of course, some packages may erroneously forget to call a major-mode function for those buffers, but the problem is in those packages. Stefan