From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: font-lock in machine mode of gdba Date: Mon, 18 Oct 2004 15:25:29 +1300 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <16755.10649.857644.666785@farnswood.snap.net.nz> References: <20041018.002930.45492341.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098066699 12070 80.91.229.6 (18 Oct 2004 02:31:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Oct 2004 02:31:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 18 04:31:30 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 1CJNJ3-00081h-00 for ; Mon, 18 Oct 2004 04:31:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJNQK-0001zf-34 for ged-emacs-devel@m.gmane.org; Sun, 17 Oct 2004 22:39:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJNQD-0001zT-8A for emacs-devel@gnu.org; Sun, 17 Oct 2004 22:38:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJNQC-0001z9-Ko for emacs-devel@gnu.org; Sun, 17 Oct 2004 22:38:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJNQC-0001yz-HV for emacs-devel@gnu.org; Sun, 17 Oct 2004 22:38:52 -0400 Original-Received: from [202.124.110.63] (helo=farnswood.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJNIm-00051g-Ex for emacs-devel@gnu.org; Sun, 17 Oct 2004 22:31:13 -0400 Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 6449C62F9B; Mon, 18 Oct 2004 03:25:30 +0100 (BST) Original-To: Masatake YAMATO In-Reply-To: <20041018.002930.45492341.jet@gyve.org> X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28540 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28540 > I've defined font-lock keywords for `gdb-assembler-mode'. Please, > review the patch. I'm afraid the it is too decorative. > > 2004-10-18 Masatake YAMATO > > * progmodes/gdb-ui.el (gdb-ann3): Define a key which toggles > source view and assembler view. > (gdb-assembler-font-lock-keywords): New font lock keywords > definition. > (gdb-assembler-mode): Use 'gdb-assembler-font-lock-keywords'. >... I think it should at least be consistent with asm-mode where keywords like movl, andl, etc are fontified with font-lock-keyword-face and operands and registers are left unfontified. Nick