From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Apply Emacs-Lisp `font-lock' rules to a string Date: Mon, 24 Aug 2015 13:40:22 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1440448865 17029 80.91.229.3 (24 Aug 2015 20:41:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2015 20:41:05 +0000 (UTC) Cc: Alexander Shukaev To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 24 22:41:05 2015 Return-path: Envelope-to: geh-help-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 1ZTyYB-0002Jw-6s for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 22:41:03 +0200 Original-Received: from localhost ([::1]:56696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTyYA-0001fd-O5 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 16:41:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTyXr-0001eS-I3 for help-gnu-emacs@gnu.org; Mon, 24 Aug 2015 16:40:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTyXq-0005bF-Og for help-gnu-emacs@gnu.org; Mon, 24 Aug 2015 16:40:43 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:36002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTyXq-0005aj-0l for help-gnu-emacs@gnu.org; Mon, 24 Aug 2015 16:40:42 -0400 Original-Received: by oiev193 with SMTP id v193so88268914oie.3 for ; Mon, 24 Aug 2015 13:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5upkgDeqImVxFHjxmuk0bAvla2G8Ef9EitpADwGrGxY=; b=Wwo1Uo5/jXtHrkBeDHIO7EkqRECFbFVLEEMNU1Fuf9DO5h/l2JzxuPQHvHw5uqxeiz LXgvmhZFV+Wzs0NGTlx+8yieSP67Oq+Dm2I2qDsSCIolQvA7mHwdjbZ563U7IJxeCg8y hdpk7x7qUvO5T89PDgYJKSqHYO7JmD0VOfgEosO4dH37MQV7BO4mte0X27WQp8+qiNZf RuWXSt5zvlFHB2zvv8cIZ2iOr4HbyiYi/IPFj4FMrvPcJJOi9B4kGb3ZCtfkCK8lccvi oe96fC6pqE0ltaEqcV6UBQbmIdU7Vv3kITRNJLD67UNNs1usfMfvPgB4LWYzgwew9YCc 6r4g== X-Received: by 10.202.91.87 with SMTP id p84mr21899685oib.80.1440448841472; Mon, 24 Aug 2015 13:40:41 -0700 (PDT) Original-Received: by 10.76.168.70 with HTTP; Mon, 24 Aug 2015 13:40:22 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106819 Archived-At: > (minibuffer-message > (my-font-lock-string #'emacs-lisp-mode "\"\\\\(1\\\\|2\\\\)\"")) Oops, got the arguments backward there: (minibuffer-message (my-font-lock-string "\"\\\\(1\\\\|2\\\\)\"" #'emacs-lisp-mode)) -- john