From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rami A Newsgroups: gmane.emacs.help Subject: shortcut to compile "highlighted text" Date: Sat, 30 Mar 2013 01:29:22 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1364653599 17457 80.91.229.3 (30 Mar 2013 14:26:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Mar 2013 14:26:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 30 15:27:06 2013 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 1ULwkJ-0002c5-Ky for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Mar 2013 15:27:03 +0100 Original-Received: from localhost ([::1]:53815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULwjv-0001us-89 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Mar 2013 10:26:39 -0400 X-Received: by 10.224.219.146 with SMTP id hu18mr3822486qab.3.1364632163288; Sat, 30 Mar 2013 01:29:23 -0700 (PDT) X-Received: by 10.50.236.101 with SMTP id ut5mr103421igc.17.1364632163025; Sat, 30 Mar 2013 01:29:23 -0700 (PDT) Original-Path: usenet.stanford.edu!t2no26798846qal.0!news-out.google.com!v17ni6816qad.0!nntp.google.com!ca1no17367570qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=148.87.19.198; posting-account=HZ4YzgoAAABkTSCruZ7Bs4hufjlOUmBF Original-NNTP-Posting-Host: 148.87.19.198 User-Agent: G2/1.0 Injection-Date: Sat, 30 Mar 2013 08:29:23 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:197545 X-Mailman-Approved-At: Sat, 30 Mar 2013 10:26:21 -0400 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:89816 Archived-At: I have F4 being shortcut for the compile command: (global-set-key [f4] 'compile) But I have to type the tag I am looking for after pressing F4. Is there a way to highlight the symbol in the code and have a shortcut that does the compilation right away?