From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero 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 00:34:53 +0100 Message-ID: References: <87wrex4ejy.fsf@gmail.com> <87k44c3yg7.fsf@gnu.org> <87wr8bzic0.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327793770 28690 80.91.229.3 (28 Jan 2012 23:36:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2012 23:36:10 +0000 (UTC) Cc: 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 Sun Jan 29 00:36:09 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 1RrHoW-0006nP-Bi for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jan 2012 00:36:08 +0100 Original-Received: from localhost ([::1]:60997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrHoV-0005qL-Hr for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jan 2012 18:36:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrHoS-0005q5-0Q for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2012 18:36:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrHoQ-0001gl-Ia for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2012 18:36:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrHoQ-0001gb-Cc for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2012 18:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RrHoQ-0003Ij-Bc for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2012 18:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Jan 2012 23:36: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.132779374412663 (code B ref 9214); Sat, 28 Jan 2012 23:36:02 +0000 Original-Received: (at 9214) by debbugs.gnu.org; 28 Jan 2012 23:35:44 +0000 Original-Received: from localhost ([127.0.0.1]:42544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrHo7-0003IC-Sj for submit@debbugs.gnu.org; Sat, 28 Jan 2012 18:35:44 -0500 Original-Received: from mail-pw0-f44.google.com ([209.85.160.44]:56920) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrHo3-0003Hx-FZ for 9214@debbugs.gnu.org; Sat, 28 Jan 2012 18:35:43 -0500 Original-Received: by pbdu7 with SMTP id u7so2131284pbd.3 for <9214@debbugs.gnu.org>; Sat, 28 Jan 2012 15:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=RqhAJISeSIpstwnNs62PfRxzFkCdNKndDCmc+/SE8bA=; b=Oj3JnJqo+fQXWoFY4jKlLVukRcu9gVletTr4cV1NMOdHlCPVpUzUKqIUtEVy7CwlaC h8pSub8LKpEHh9AHhiUbyBJzm1YeAzVqn3Y/dxDqhOCT8PQxrUha7A7QaRmlQDd7cp/8 +VDo2WfnLkSZIraxL/GGiTiQYKscobEXT0+uw= Original-Received: by 10.68.226.135 with SMTP id rs7mr27758402pbc.9.1327793733174; Sat, 28 Jan 2012 15:35:33 -0800 (PST) Original-Received: by 10.143.37.9 with HTTP; Sat, 28 Jan 2012 15:34:53 -0800 (PST) In-Reply-To: <87wr8bzic0.fsf@gmail.com> 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:56155 Archived-At: 2012/1/28 =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec : > And, how can I run code whenever a new buffer is setup (in > fundamental-mode), if `fundamental-mode-hook' is not meant for that? You can perhaps fake it with some combination of (setq-default major-mode my-fundamental-mode), `buffer-list-update-hook', and advices. It won't be pretty, though. =C2=A0 =C2=A0 Juanma