From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: `auto-dim-other-windows` -- scrutiny invited Date: Sat, 6 Apr 2013 12:23:02 -0700 Message-ID: <455F042688BE441BB2DFAF1738A476FC@us.oracle.com> References: <87ehersl1c.fsf@wanadoo.es><4CAC0625449A4494938E732EF60CC5E3@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365278388 26423 80.91.229.3 (6 Apr 2013 19:59:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 19:59:48 +0000 (UTC) To: "'Stefan Monnier'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 06 21:59:51 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 1UOZH8-0007UX-MG for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Apr 2013 21:59:46 +0200 Original-Received: from localhost ([::1]:44747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOYi9-0006Qy-Fr for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Apr 2013 15:23:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOYhu-0006Qh-Sq for help-gnu-emacs@gnu.org; Sat, 06 Apr 2013 15:23:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOYhq-0001Pw-8X for help-gnu-emacs@gnu.org; Sat, 06 Apr 2013 15:23:22 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:33205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOYhq-0001PX-1p for help-gnu-emacs@gnu.org; Sat, 06 Apr 2013 15:23:18 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r36JNEaH015789 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 6 Apr 2013 19:23:15 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r36JNDcf016792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 6 Apr 2013 19:23:14 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r36JNDGi002742; Sat, 6 Apr 2013 19:23:13 GMT Original-Received: from dradamslap1 (/10.159.165.22) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 06 Apr 2013 12:23:13 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac4y+lM834FNTAuwTuu/hErWiSk3FAAALtEQ X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:90007 Archived-At: > > The goal was to make it more obvious at a really quick > > glance where the cursor is. > > Maybe a different approach would work then: assuming that > when actively > using Emacs you know where the cursor is, the problem should mostly be > to find the cursor when coming back to Emacs. > > In that case, maybe you could make the cursor in the selected window > "annoyingly" visible (along the lines of hl-line, for example) after > some idle time. Which is *exactly* what automatic crosshairs-when-idle highlighting does, as I reported earlier. The cursor position is shown with cross-the-window crosshairs, but only after an idle delay and only until you are no longer idle. It's simple to try it, to see. And the code is easy to understand, if you want to do something different but similar using a timer. Just load the code and `M-x toggle-crosshairs-when-idle': code: http://www.emacswiki.org/emacs-en/download/crosshairs.el description+screenshot: http://www.emacswiki.org/emacs/CrosshairHighlighting