From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#14325: 24.3; cc-mode does not initialize correctly w/ -batch Date: Wed, 01 May 2013 08:51:56 +0200 Organization: Linux Private Site Message-ID: <87mwsfnqer.fsf@Rainer.invalid> References: <878v3z29r2.fsf@Rainer.invalid> <6m38u7plnh.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1367391163 12512 80.91.229.3 (1 May 2013 06:52:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 May 2013 06:52:43 +0000 (UTC) To: 14325@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 01 08:52:42 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UXQuA-0008Bd-A5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 May 2013 08:52:42 +0200 Original-Received: from localhost ([::1]:60223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXQuA-0001PI-06 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 May 2013 02:52:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXQu5-0001P2-Uc for bug-gnu-emacs@gnu.org; Wed, 01 May 2013 02:52:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXQu4-00016O-UE for bug-gnu-emacs@gnu.org; Wed, 01 May 2013 02:52:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXQu3-000166-FS; Wed, 01 May 2013 02:52:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UXQuU-0008Ew-7M; Wed, 01 May 2013 02:53:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <878v3z29r2.fsf@Rainer.invalid> Resent-From: Achim Gratz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 01 May 2013 06:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14325 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136739116631628 (code B ref -1); Wed, 01 May 2013 06:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 May 2013 06:52:46 +0000 Original-Received: from localhost ([127.0.0.1]:53213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UXQuD-0008Dy-1l for submit@debbugs.gnu.org; Wed, 01 May 2013 02:52:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55786) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UXQu9-0008Dl-7b for submit@debbugs.gnu.org; Wed, 01 May 2013 02:52:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXQtg-00012U-QD for submit@debbugs.gnu.org; Wed, 01 May 2013 02:52:13 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:41565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXQtg-00012Q-ND for submit@debbugs.gnu.org; Wed, 01 May 2013 02:52:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXQtf-0001Oz-Ls for bug-gnu-emacs@gnu.org; Wed, 01 May 2013 02:52:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXQte-000123-37 for bug-gnu-emacs@gnu.org; Wed, 01 May 2013 02:52:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXQtd-00011j-RV for bug-gnu-emacs@gnu.org; Wed, 01 May 2013 02:52:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UXQta-0007cW-Up for bug-gnu-emacs@gnu.org; Wed, 01 May 2013 08:52:06 +0200 Original-Received: from pd9eb2d1e.dip0.t-ipconnect.de ([217.235.45.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 May 2013 08:52:06 +0200 Original-Received: from Stromeko by pd9eb2d1e.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 May 2013 08:52:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb2d1e.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:284KwYmRhutvKs0+kX68q4JedFM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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.x 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:73864 Archived-At: Glenn Morris writes: > Minimal example: > > ./src/emacs -Q -batch --eval \ > '(progn (find-file "./src/emacs.c") (font-lock-fontify-buffer))' > > Ie, a use of font-lock that does not first call font-lock-mode-hook. Why is that hook skipped? And what would be the correct workaround? > This was already fixed once: > http://lists.gnu.org/archive/html/emacs-diffs/2012-02/msg00114.html > > but reverted: > http://lists.gnu.org/archive/html/emacs-diffs/2012-02/msg00348.html > > There was some kerfluffle about it: > http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00380.html I seeā€¦ maybe a consensus might be reached this time. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds