From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#22762: 25.1.50; Enhancement/Feature Request: window-local `overlay_arrow_variable_list` Date: Mon, 22 Feb 2016 10:36:04 -0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1456166246 31427 80.91.229.3 (22 Feb 2016 18:37:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 18:37:26 +0000 (UTC) Cc: 22762@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 22 19:37:13 2016 Return-path: Envelope-to: geb-bug-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 1aXvM8-0007ez-Cl for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Feb 2016 19:37:12 +0100 Original-Received: from localhost ([::1]:51191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvM7-0005pk-Tu for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Feb 2016 13:37:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvM1-0005pe-GF for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:37:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXvLy-0005Yp-9v for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:37:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvLx-0005Yf-Uw for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aXvLx-0001Oi-Qd for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:37:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2016 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22762 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22762-submit@debbugs.gnu.org id=B22762.14561661745316 (code B ref 22762); Mon, 22 Feb 2016 18:37:01 +0000 Original-Received: (at 22762) by debbugs.gnu.org; 22 Feb 2016 18:36:14 +0000 Original-Received: from localhost ([127.0.0.1]:38412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXvLC-0001Ng-4I for submit@debbugs.gnu.org; Mon, 22 Feb 2016 13:36:14 -0500 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:40765) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXvL9-0001NQ-U4 for 22762@debbugs.gnu.org; Mon, 22 Feb 2016 13:36:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date; bh=bMV+VVLR/t2v0mGlvlzKIimNyW6KJh4a8edu8k+R3wk=; b=MkduF905vaq/7VOezAj0bDqYVkNFz7azAoDK4yXd4T00OkpcTUQ5Wz1Kx0FrZBZLEr6gOImXcoh2UTcMZI6CGUz4byUqC0306EdQ4WeFOvJuG7eWeuPmYMW0BULaERtT; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:49940 helo=server.private.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aXvL0-0005kK-SU; Mon, 22 Feb 2016 13:36:03 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113483 Archived-At: Because the cursor position remains anchored at a previous position in a non-selected window, my preference would be that the bitmap either remains where it is in the non-selected window OR that it completely disappear until the window is selected again. After evaluating the following example, I move the cursor upwards or downwards with the arrow key and find myself visually distracted by the bitmap moving in the non-selected window -- especially knowing that the cursor is anchored at a different position in that non-selected window. When I switch to the non-selected window, the bitmap jumps back to where the cursor was previously anchored. I like the feature of the `overlay-arrow-variable-list`, but find myself leaning towards using a plain overlay in the fringe with the 'window property to avoid the above-described visual distraction. (add-to-list 'overlay-arrow-variable-list 'hello-world-symbol-triangle) (put 'hello-world-symbol-triangle 'overlay-arrow-bitmap 'right-triangle) (defun my-set-position () (let* ( (pbol (point-at-bol)) (my-point-marker (point-marker)) ) (setq hello-world-symbol-triangle (cond ((bolp) my-point-marker) (t (copy-marker pbol)))))) (add-hook 'post-command-hook 'my-set-position nil t) (switch-to-buffer-other-window (current-buffer)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Mon, 22 Feb 2016 17:59:45 +0200, Eli Zaretskii wrote: > > * * * > > I'm not sure I understand the use case. Could you please describe a > sequence of steps that lead to the confusing display?