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: Automatically highlighting the symbol under point Date: Fri, 21 Aug 2015 13:31:55 -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 1440189148 19165 80.91.229.3 (21 Aug 2015 20:32:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 20:32:28 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 22:32:28 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 1ZSszD-0001ZG-P9 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 22:32:27 +0200 Original-Received: from localhost ([::1]:43550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSszC-0004mg-Tr for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 16:32:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSsz2-0004m3-A6 for help-gnu-emacs@gnu.org; Fri, 21 Aug 2015 16:32:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSsz1-0004rN-E4 for help-gnu-emacs@gnu.org; Fri, 21 Aug 2015 16:32:16 -0400 Original-Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:33566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSsz1-0004r2-9f for help-gnu-emacs@gnu.org; Fri, 21 Aug 2015 16:32:15 -0400 Original-Received: by obbhe7 with SMTP id he7so68403795obb.0 for ; Fri, 21 Aug 2015 13:32:14 -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 :content-type; bh=X7ro/KXReZ0TdL8h5JDy501s6dvqOuCcf21o3ByskIo=; b=Uuqxr7aFZtSYPt81Od49KymOeqMe/VOz9NPKEXMmIzVvr1ymMDr/iRtw//fvxIu/Xz Yt75e4jfTOxQAc3J6vqbZHeSsyvDE6Jl+X+dMXIEKlCbkCD1iSe4mR7Y9JKDtqNM2H+K jGLgNLCguBMW/48Had/pgStzisQi/MO56k/CDsU8N0zGzCnG4yHZJcLTJE8L4zqtM9+H +HwdZVgSJ5Kd2E5xM1EpGKnbZjZCIJHb6JcfA8PTX3SLo7qTuWnjj9EdUcYcey4DaLz0 yHqapGPjdI5GubgQKKymar29A0dlVzo+ZvzZQns4VVju47iWbjj1ShOGQvK8PHl/qEoq p0jA== X-Received: by 10.60.142.170 with SMTP id rx10mr9409132oeb.28.1440189134551; Fri, 21 Aug 2015 13:32:14 -0700 (PDT) Original-Received: by 10.76.168.70 with HTTP; Fri, 21 Aug 2015 13:31:55 -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:c01::234 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:106756 Archived-At: >> 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