From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: n179911 Newsgroups: gmane.emacs.help Subject: highlight all lines with a certain prefix Date: Sun, 5 Jul 2009 23:13:04 -0700 Message-ID: <3b9893450907052313g39937432ja25e27f1ed360735@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246939008 31638 80.91.229.12 (7 Jul 2009 03:56:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2009 03:56:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 07 05:56:41 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MO1nN-00027F-1E for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 05:56:41 +0200 Original-Received: from localhost ([127.0.0.1]:42713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MO1nM-0003yX-Ey for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Jul 2009 23:56:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNhRv-00055b-49 for help-gnu-emacs@gnu.org; Mon, 06 Jul 2009 02:13:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNhRp-00050R-Oe for help-gnu-emacs@gnu.org; Mon, 06 Jul 2009 02:13:10 -0400 Original-Received: from [199.232.76.173] (port=44935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNhRp-00050O-Fg for help-gnu-emacs@gnu.org; Mon, 06 Jul 2009 02:13:05 -0400 Original-Received: from mail-qy0-f183.google.com ([209.85.221.183]:50217) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNhRp-0000V1-4f for help-gnu-emacs@gnu.org; Mon, 06 Jul 2009 02:13:05 -0400 Original-Received: by qyk13 with SMTP id 13so3992754qyk.14 for ; Sun, 05 Jul 2009 23:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=TcOJH0vxjygQpAtN1KBdcvV6FZE8s7hkq+aJAmQnwlc=; b=rGnZsH6uev4Z0U5UJtto2+fWWW49CXyCb9oZRN/xBujbww91BZVu4rByf7AzyJDlq5 n4kdnMI38Hzm7fNCXqe94lJebglC13Jk1CtFbUDZygmv0Jto1NMfK9RoaiID1oBn6qwV Os99GveF/ZUpZa215rUtNfLAgH8Svx8TXHDok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=qiXUpEpaD8+Pc3XHZvGJBPul8sZeqVejtCJdO7j9YK5nQpYJbXnhMMCulZDDMV0Dip dq3LSAhQM0snNiTVOCkz8ZareBfLujOlHYatmM+UHfgpJmUjWZPA++qVqbcwJjc4b1uk s3UBovpbUIYsnt92zW3WrxN9KW2yyYtB5YwcY= Original-Received: by 10.224.60.206 with SMTP id q14mr4336059qah.334.1246860784402; Sun, 05 Jul 2009 23:13:04 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 06 Jul 2009 23:55:28 -0400 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: news.gmane.org gmane.emacs.help:65807 Archived-At: Hi, In emacs, is there a way which highlight lines with certain prefix in a file? For example I want to highlight all lines with '-' or ' -' (a lot of spaces followed by a '-' of a file? Thank you.