From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: How to "import" font-lock keywords? Date: Wed, 01 Dec 2004 14:52:50 GMT Message-ID: References: <5bf353bb.0412010031.1f4a083b@posting.google.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101914196 32149 80.91.229.6 (1 Dec 2004 15:16:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2004 15:16:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 01 16:16:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZVpN-0007JL-00 for ; Wed, 01 Dec 2004 15:51:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZVys-0006Lf-PZ for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Dec 2004 10:01:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!snoopy.risq.qc.ca!charlie.risq.qc.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:+ta3B6qUDoHZU2VHwl6XVW5MVlc= Original-Lines: 8 Original-NNTP-Posting-Host: 132.204.24.84 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1101912770 132.204.24.84 (Wed, 01 Dec 2004 09:52:50 EST) Original-NNTP-Posting-Date: Wed, 01 Dec 2004 09:52:50 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:127056 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22464 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22464 > I would like to "import" keywords from latex-mode into z-latex-mode, > so that I can reuse the syntax highlighting. Can someone please point > out to me how this can be done? If you use define-derived-mode, that will happen automatically. Stefan