GNU bug report logs - #22762
25.1.50; Enhancement/Feature Request: window-local `overlay_arrow_variable_list`

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Keith David Bershatsky <esq@HIDDEN>; dated Mon, 22 Feb 2016 01:51:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 22762 <at> debbugs.gnu.org:


Received: (at 22762) by debbugs.gnu.org; 22 Feb 2016 18:36:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 22 13:36:14 2016
Received: from localhost ([127.0.0.1]:38412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aXvLC-0001Ng-4I
	for submit <at> debbugs.gnu.org; Mon, 22 Feb 2016 13:36:14 -0500
Received: from cobb.liquidweb.com ([50.28.13.150]:40765)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <esq@HIDDEN>) id 1aXvL9-0001NQ-U4
 for 22762 <at> 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;
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 <esq@HIDDEN>)
 id 1aXvL0-0005kK-SU; Mon, 22 Feb 2016 13:36:03 -0500
Date: Mon, 22 Feb 2016 10:36:04 -0800
Message-ID: <m2y4ack2y3.wl%esq@HIDDEN>
From: Keith David Bershatsky <esq@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#22762: 25.1.50; Enhancement/Feature Request: window-local
 `overlay_arrow_variable_list`
MIME-Version: 1.0 (generated by   - "")
Content-Type: text/plain; charset=US-ASCII
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-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 22762
Cc: 22762 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22762; Package emacs. Full text available.

Message received at 22762 <at> debbugs.gnu.org:


Received: (at 22762) by debbugs.gnu.org; 22 Feb 2016 16:00:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 22 11:00:05 2016
Received: from localhost ([127.0.0.1]:38230 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aXsu4-0005nm-Tm
	for submit <at> debbugs.gnu.org; Mon, 22 Feb 2016 11:00:05 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49572)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1aXsu2-0005mR-J0
 for 22762 <at> debbugs.gnu.org; Mon, 22 Feb 2016 11:00:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1aXstu-0001AK-Ab
 for 22762 <at> debbugs.gnu.org; Mon, 22 Feb 2016 10:59:57 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38440)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1aXstu-0001AG-7C; Mon, 22 Feb 2016 10:59:54 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1183
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1aXstt-00085M-J4; Mon, 22 Feb 2016 10:59:53 -0500
Date: Mon, 22 Feb 2016 17:59:45 +0200
Message-Id: <83ziuslor2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Keith David Bershatsky <esq@HIDDEN>
In-reply-to: <m2fuwlpl8j.wl%esq@HIDDEN> (message from Keith David
 Bershatsky on Sun, 21 Feb 2016 17:49:48 -0800)
Subject: Re: bug#22762: 25.1.50; Enhancement/Feature Request: window-local
 `overlay_arrow_variable_list`
References: <m2fuwlpl8j.wl%esq@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 22762
Cc: 22762 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sun, 21 Feb 2016 17:49:48 -0800
> From: Keith David Bershatsky <esq@HIDDEN>
> 
> As an enhancement/feature request, perhaps the Emacs team would consider adding support for window-local `overlay_arrow_variable_list` similar to placing a 'window property on a regular overlay.
> 
> It is visually confusing to see the same buffer displayed in more than one window because the NON-selected window displays a moving fringe cursor indicator, which does not coincide with where the cursor is in that particular window.  When switching to the other window, the fringe indicator jumps to the correct location where the cursor is.

I'm not sure I understand the use case.  Could you please describe a
sequence of steps that lead to the confusing display?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22762; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Feb 2016 01:50:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 21 20:50:03 2016
Received: from localhost ([127.0.0.1]:36723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aXfdT-00040Z-3q
	for submit <at> debbugs.gnu.org; Sun, 21 Feb 2016 20:50:03 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59219)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <esq@HIDDEN>) id 1aXfdR-000401-RI
 for submit <at> debbugs.gnu.org; Sun, 21 Feb 2016 20:50:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1aXfdL-0004Yx-4j
 for submit <at> debbugs.gnu.org; Sun, 21 Feb 2016 20:49:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56005)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1aXfdL-0004Yt-1P
 for submit <at> debbugs.gnu.org; Sun, 21 Feb 2016 20:49:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50190)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1aXfdJ-00037N-SE
 for bug-gnu-emacs@HIDDEN; Sun, 21 Feb 2016 20:49:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1aXfdG-0004YN-KD
 for bug-gnu-emacs@HIDDEN; Sun, 21 Feb 2016 20:49:53 -0500
Received: from cobb.liquidweb.com ([50.28.13.150]:43368)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1aXfdG-0004YJ-Bt
 for bug-gnu-emacs@HIDDEN; Sun, 21 Feb 2016 20:49:50 -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:To:From:Message-ID:Date;
 bh=4gln/HyK+TN9CEuNskIM25Ojtx+fkao2eU2EMNAayVo=; 
 b=jsXD/fmV0DCmY9kgUg2i8Jjfv2aP0COxYVqvI+RSVYecrOv8n0wa89HqMpzFY8GZSeg3PPF1ibqt1TNnRuLQG7wNx8Rx++syG8OElGjcDnz7MvHcYW3/OLwxCmmz0bJf;
Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:52927
 helo=server.private.localhost)
 by cobb.liquidweb.com with esmtp (Exim 4.82)
 (envelope-from <esq@HIDDEN>) id 1aXfdE-00083k-1R
 for bug-gnu-emacs@HIDDEN; Sun, 21 Feb 2016 20:49:48 -0500
Date: Sun, 21 Feb 2016 17:49:48 -0800
Message-ID: <m2fuwlpl8j.wl%esq@HIDDEN>
From: Keith David Bershatsky <esq@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.1.50; Enhancement/Feature Request: window-local
 `overlay_arrow_variable_list`
MIME-Version: 1.0 (generated by   - "")
Content-Type: text/plain; charset=US-ASCII
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 - 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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

As an enhancement/feature request, perhaps the Emacs team would consider adding support for window-local `overlay_arrow_variable_list` similar to placing a 'window property on a regular overlay.

It is visually confusing to see the same buffer displayed in more than one window because the NON-selected window displays a moving fringe cursor indicator, which does not coincide with where the cursor is in that particular window.  When switching to the other window, the fringe indicator jumps to the correct location where the cursor is.

Thanks,

Keith

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

In GNU Emacs 25.1.50.15 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549))
 of 2016-02-21 built on server.private
Repository revision: 5a0472e8ea9128f75bca04f5f65682ae8280c208
Windowing system distributor 'Apple', version 10.3.1038
Configured using:
 'configure --with-ns --without-imagemagick --enable-checking=glyphs
 CPPFLAGS=-I/Users/HOME/.0.data/.0.emacs/macports/include
 LDFLAGS=-L/Users/HOME/.0.data/.0.emacs/macports/lib'

Configured features:
JPEG RSVG DBUS NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  value of $LANG: en_US
  locale-coding-system: utf-8-unix

Major mode: Z-name-down

Minor modes in effect:
  tabbar-mode: t
  ml-mode: t
  hl-mode: t
  sd-mode: t
  buffer-read-only: t

Recent messages:

Load-path shadows:
None found.

Features:
(shadow emacsbug message mml mml-sec epa epg mm-decode mm-bodies
mm-encode gmm-utils mailheader sendmail add-log pp .multiple_cursors
gud lawlist-ztree lawlist-ys lawlist-ws lawlist-wl elmo-imap4
elmo-localdir modb-standard modb-legacy elmo-internal elmo-flag
mmelmo-imap mmelmo-buffer elsp-generic mel-u epg-config lawlist-w3m
doc-view jka-compr image-mode ccl lawlist-vl lawlist-view lawlist-undo
lawlist-txt lawlist-tm lawlist-tex compare-w diff-mode lawlist-tabbar
lawlist-speedbar lawlist-shell info esh-groups ehelp ange-ftp
lawlist-sgml lawlist-sb lawlist-ruler lawlist-replace
lawlist-rectangle lawlist-re-builder lawlist-python skeleton
lawlist-profiler lawlist-print lawlist-php lawlist-perl lawlist-parens
lawlist-org lawlist-calendar org-agenda org org-macro org-footnote
org-pcomplete org-list org-faces org-entities org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src
ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs
find-func holidays hol-loaddefs cal-menu calendar cal-loaddefs
lawlist-neotree lawlist-movement lawlist-mouse lawlist-ml lawlist-misc
lawlist-messages lawlist-mc lawlist-markdown noutline outline
lawlist-lorem lawlist-linum lawlist-keymap lawlist-js json map
thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs lawlist-ispell lawlist-isearch
lawlist-info lawlist-imenu lawlist-ibuffer lawlist-hl lawlist-grep
lawlist-git pcvs-util ido seq server conf-mode lawlist-framebufs
lawlist-frame lawlist-fm lawlist-env lawlist-elscreen lawlist-elisp
lawlist-dv lawlist-image lawlist-files zeroconf dbus xml lawlist-ds
lawlist-dired dired dired-loaddefs format-spec lawlist-diff
lawlist-desktop frameset lawlist-saveplace lawlist-debug
lawlist-window debug lawlist-css smie lawlist-compile rx lawlist-color
lawlist-cm lawlist-cc-mode lawlist-cc-awk lawlist-font-lock cl-macs
lawlist-cc-fonts lawlist-cc-guess lawlist-cc-menus lawlist-cc-align
lawlist-cc-cmds lawlist-cc-styles lawlist-cc-engine lawlist-cc-langs
lawlist-cc-vars lawlist-cc-defs lawlist-cc-bytecomp lawlist-calc
lawlist-calc+ lawlist-bk lawlist-bc lawlist-bbdb gnus nnheader subr-x
wid-edit mail-parse rfc2231 mailabbrev mail-extr rfc822 timezone
lawlist-minibuffer gv lawlist-auth gnus-util rmail rmail-loaddefs
rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr
password-cache lawlist-as lawlist-archive lawlist-apropos lawlist-+
lawlist-lcl byte-opt bytecomp byte-compile cl-extra cconv lawlist-help
disp-table easy-mmode edmacro kmacro quail help-mode easymenu
cl-loaddefs cl-lib pcase derived advice shell pcomplete comint
ansi-color ring savehist time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core term/tty-colors frame
cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
minibuffer cl-preloaded nadvice loaddefs button faces cus-face
macroexp files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
dbusbind kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
nil




Acknowledgement sent to Keith David Bershatsky <esq@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#22762; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.