From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: [PATCH 2/3] octave.el: Do not highlight prompt. Date: Wed, 02 Oct 2013 22:37:35 +0200 Message-ID: <2642842.msFOBIbVqS@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1380747091 3719 80.91.229.3 (2 Oct 2013 20:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2013 20:51:31 +0000 (UTC) Cc: Leo Liu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 02 22:51:34 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VRTOO-0006tt-UP for ged-emacs-devel@m.gmane.org; Wed, 02 Oct 2013 22:51:33 +0200 Original-Received: from localhost ([::1]:38258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRTOO-0007ua-JK for ged-emacs-devel@m.gmane.org; Wed, 02 Oct 2013 16:51:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRTB7-0005hY-Nm for emacs-devel@gnu.org; Wed, 02 Oct 2013 16:37:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRTB1-00006M-5Q for emacs-devel@gnu.org; Wed, 02 Oct 2013 16:37:49 -0400 Original-Received: from ptmx.org ([178.63.28.110]:59634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRTB0-00006C-Qm for emacs-devel@gnu.org; Wed, 02 Oct 2013 16:37:43 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 49F342AC36; Wed, 2 Oct 2013 22:37:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WAlH5JzigNRA; Wed, 2 Oct 2013 22:37:37 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id 6E7862ABFC; Wed, 2 Oct 2013 22:37:37 +0200 (CEST) User-Agent: KMail/4.10.5 (Linux/3.8.0-30-generic; KDE/4.10.5; x86_64; ; ) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163813 Archived-At: `comint-mode' takes care of that for us. * lisp/progmodes/octave.el (inferior-octave-font-lock-keywords): Do not highlight prompt. Signed-off-by: R=C3=BCdiger Sonderfeld --- lisp/progmodes/octave.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el index b200327..4a17258 100644 --- a/lisp/progmodes/octave.el +++ b/lisp/progmodes/octave.el @@ -664,10 +664,8 @@ (defface inferior-octave-warning-face '((t :inheri= t warning)) :version "24.4") =20 (defvar inferior-octave-font-lock-keywords - (list - (cons inferior-octave-prompt 'font-lock-type-face) - '("^\\(?:parse \\)?error:" . 'inferior-octave-error-face) - '("^warning:" . 'inferior-octave-warning-face)) + '(("^\\(?:parse \\)?error:" . 'inferior-octave-error-face) + ("^warning:" . 'inferior-octave-warning-face)) ;; Could certainly do more font locking in inferior Octave ... "Additional expressions to highlight in Inferior Octave mode.") =20 --=20 1.8.4