From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Colin Yates Newsgroups: gmane.emacs.help Subject: Re: Automatically highlighting the symbol under point Date: Fri, 21 Aug 2015 21:34:09 +0100 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 1440189271 20991 80.91.229.3 (21 Aug 2015 20:34:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 20:34:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: John Mastro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 22:34:25 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 1ZSt15-0002hs-1x for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 22:34:23 +0200 Original-Received: from localhost ([::1]:43555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSt14-0005Vr-Ep for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 16:34:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSt0t-0005V8-Mb for help-gnu-emacs@gnu.org; Fri, 21 Aug 2015 16:34:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSt0s-0006By-JW for help-gnu-emacs@gnu.org; Fri, 21 Aug 2015 16:34:11 -0400 Original-Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:35221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSt0s-0006Bu-EZ for help-gnu-emacs@gnu.org; Fri, 21 Aug 2015 16:34:10 -0400 Original-Received: by iodt126 with SMTP id t126so94560397iod.2 for ; Fri, 21 Aug 2015 13:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OslIEA6gvIuonLTXIz8W+6GUOKrhxlQDfpV2JFqT6dg=; b=X1ZVnj6eovKCf+0Y95vpLD4UEmDQPBllIcJIjy315OR/hoR8cEekQz1KNxMkAYhi/p JXHoCx8kWZWeavPqqrCkewQdaStEl7PBaH65iaY+PTnm+TKgQQ2vuChQFmpYJ5LbZdNI NKzcPnaV5jkSwZdM2+lXVo1D4TobWzXX4kNTIQ2PTINJ3QX3Lrfq40jQQw3shCHvh35P sa0LFM4bgJpxaZK4hI9b/anDNYgh+t+NulKzNoE5Jv/VGyb2NrLdmyEnV/XyIwZZAC8Y oFnVN2L+PxVH24bzHxJUQ0wVs7R8GA8+E/K9npcRuh96qv7l5fXJGC4upFM+Qyuit1k6 c4qA== X-Received: by 10.107.3.149 with SMTP id e21mr8196452ioi.19.1440189249987; Fri, 21 Aug 2015 13:34:09 -0700 (PDT) Original-Received: by 10.64.101.201 with HTTP; Fri, 21 Aug 2015 13:34:09 -0700 (PDT) Original-Received: by 10.64.101.201 with HTTP; Fri, 21 Aug 2015 13:34:09 -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:4001:c06::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:106757 Archived-At: Thanks John. On 21 Aug 2015 21:32, "John Mastro" wrote: > >> Ideally, I would like it to automatically highlight the symbol under > >> point all the time, or at least when in a programming mode - is that > >> possible and any prior art you can point me at? > > > > Check out `idle-highlight-mode' (available in MELPA) for that: > > https://github.com/nonsequitur/idle-highlight-mode > > After you install it, you can active it in programming modes with > something like this: > > (defun my-programming-config () > (idle-highlight-mode 1)) > > (add-hook 'prog-mode-hook #'my-programming-config) > > -- > john > >