From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#16458: 24.3.50; Slow update of region higlight when Follow mode is used Date: Wed, 15 Jan 2014 22:12:53 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f234b55ab63c904f008c5cf X-Trace: ger.gmane.org 1389820446 31789 80.91.229.3 (15 Jan 2014 21:14:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2014 21:14:06 +0000 (UTC) To: 16458@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 15 22:14:12 2014 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 1W3Xms-00034N-5w for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jan 2014 22:14:10 +0100 Original-Received: from localhost ([::1]:57236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xmr-0001PN-Ml for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jan 2014 16:14:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xmm-0001Lc-5L for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2014 16:14:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Xmk-00080h-Ic for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2014 16:14:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xmk-00080T-6r for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2014 16:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W3Xmj-0000uL-S3 for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2014 16:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Jan 2014 21:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13898203853396 (code B ref -1); Wed, 15 Jan 2014 21:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jan 2014 21:13:05 +0000 Original-Received: from localhost ([127.0.0.1]:52486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3Xln-0000sh-Uc for submit@debbugs.gnu.org; Wed, 15 Jan 2014 16:13:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57829) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3Xlk-0000sB-Mq for submit@debbugs.gnu.org; Wed, 15 Jan 2014 16:13:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Xli-0007kN-QH for submit@debbugs.gnu.org; Wed, 15 Jan 2014 16:13:00 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xli-0007kI-Fe for submit@debbugs.gnu.org; Wed, 15 Jan 2014 16:12:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xlg-0000bs-SK for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2014 16:12:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Xlf-0007jI-B7 for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2014 16:12:56 -0500 Original-Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:39439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Xle-0007j8-Vd for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2014 16:12:55 -0500 Original-Received: by mail-wi0-f180.google.com with SMTP id d13so2818750wiw.1 for ; Wed, 15 Jan 2014 13:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FdjEckJ0Sg9MDqDSuGAR1v6C5e7bLUNm5t+nw2/rC5c=; b=WqCO3Z4DKLS9yiG+QLwSK+Riozn2PuVirYDGRK21tsE0J8U0aKUoNwNrb/rN7uiiCT jmXrDuki78EAkqRMtfBadMkGE5kbeLezewwp6Chk4LNjpAi0wYL5Nr9kTa79s0jCVseD dpY8drTux0teqw9ieR2OcMazfBcYfBT36KD3NoyH6xQkMRxRxHaRsbC8l++Bkv89jDeC PiZlTIKGuyTkzdOJ7iEq/an7SR9SGZ3fTnOSfTXbNPjt0VFDaja5JwujXAiA3p+POVkZ 8qGby7wTLELOOUWY9S3XCnfcWexoAsT7wza2oR+5D+sBhekUnNkqs1JJoF/fNlFHd3G4 xlmg== X-Received: by 10.180.106.200 with SMTP id gw8mr4426446wib.50.1389820373589; Wed, 15 Jan 2014 13:12:53 -0800 (PST) Original-Received: by 10.216.187.199 with HTTP; Wed, 15 Jan 2014 13:12:53 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:83559 Archived-At: --e89a8f234b55ab63c904f008c5cf Content-Type: text/plain; charset=ISO-8859-1 From: Anders Lindgren To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Slow update of region higlight when Follow mode is used --text follows this line-- When Follow mode is enabled, the region highlight does not update as fast as it normally does. Steps to repeat: emacs -Q C-h t M-x follow-delete-other-windows-and-split RET C-SPC Press and hold C-n, release it when the cursor is halfway down the window. Here, the region highlight does not follow the cursor, it appears a second or so after the key was released. Just as a reference, do the same without follow-mode: M-x follow-mode RET Press and hold C-n and run the cursor to the end of the window. This time the region highlight follows the cursor as it is moved around. It's hard to tell when this problem was introduced, as both cursor movement and region highlight first worked, then both were broken (slow), then cursor movement were corrected. -- Anders Lindgren In GNU Emacs 24.3.50.3 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2014-01-14 on macpro.lan Repository revision: 116025 agustin.martin@hispalinux.es-20140114105028-pui5ej728y7cbpt3 Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns' Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: follow-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-h t C-SPC x f o l l o w - m o d e x f o l l o w - d e x C-SPC C-SPC x f o l l o w - m o C-SPC C-x 1 x r e p o r t - e m Recent messages: Preparing tutorial ... Mark set Follow mode enabled You can run the command `follow-delete-other-windows-and-split' with C-c . 1 Follow mode disabled Mark set [3 times] Follow mode enabled Mark set is undefined M-o f is undefined Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils follow tutorial help-mode easymenu time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process cocoa ns multi-tty emacs) --e89a8f234b55ab63c904f008c5cf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
From: Anders Lindgren <anders@macpro.lan>
=
Subject: 24.3.50; Slow update of region higlight when Follow mod= e is used
--text follows this line--

When Follow mode i= s enabled, the region highlight does not update as fast as it normally does= .

Steps to repeat:

=A0 = =A0 emacs -Q
=A0 =A0 C-h t
=A0 =A0 M-x=A0follow-delete-other-windows-and-= split RET
=A0 =A0 C-SPC
=A0 =A0 Press and hold C-n, =A0= release it when the cursor is halfway down the window.

=
=A0 =A0 Here, the region highlight does not follow the cursor, it appe= ars a second or so after the key was released.

=A0 =A0 Just as a reference, do the same without follow= -mode:

=A0 =A0 M-x follow-mode RET
=A0 = =A0 Press and hold C-n and run the cursor to the end of the window.

=A0 =A0 This time the region highlight follows the cursor as it is mov= ed around.

It's hard to tell when this problem= was introduced, as both cursor movement and region highlight first worked,= then both were broken (slow), then cursor movement were corrected.

=A0 =A0 -- Anders Lindgren

In GNU Emacs 24.3.50.3 (x86_64-apple-darwin13.0.0, NS apple-app= kit-1265.00)
=A0of 2014-01-14 on macpro.lan
Repository = revision: 116025 agustin.martin@hispalinux.es-20140114105028-pui5ej728y7cbp= t3
Windowing system distributor `Apple', version 10.3.1265
= Configured using:
=A0`configure --with-ns'

Important settings:
=A0 value of $LC_CTYPE: UTF-8
=A0 locale-coding-system: utf-8-unix

Major mode: F= undamental

Minor modes in effect:
=A0 fo= llow-mode: t
=A0 tooltip-mode: t
=A0 electric-indent-mo= de: t
=A0 mouse-wheel-mode: t
=A0 tool-bar-mode: t
=A0 m= enu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global= -font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-co= mposition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:
C-h t C-SPC <down> <down= > <down> <down> <down> <down>=A0
<down> <down> <down> <down> <down> <d= own> <down> <escape>=A0
x f o l l o w - m o d e &l= t;return> <down> <down> <down>=A0
<down&g= t; <down> <down> <down> <down> <down> <dow= n> <down>=A0
<down> <escape> x f o l l o w - d e <tab> <return= >=A0
<up> <up> <up> <up> <up> &l= t;up> <up> <up> <up> <up> <up>=A0
<up> <down> <down> <down> <down> <down>= <down> <down>=A0
<down> <down> <down&= gt; <down> <escape> x <up> <up> <return>=A0
<up> <up> <up> <up> <up> <up> <= up> <up> <up> <up> <up>=A0
<down>= ; <S-down> <S-down> <S-down> <S-down> <S-down>= ;=A0
<S-down> <S-down> <S-down> <S-down> <S-down= > <S-down>=A0
<S-up> <S-up> <S-up> <= ;S-up> <S-up> <S-up> <S-up> <S-up>=A0
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up&g= t; <S-up> <up>=A0
<up> <up> C-SPC <dow= n> <down> <down> <down> <down>=A0
<= down> <down> <down> <down> <down> <down> C= -SPC <up>=A0
<up> <up> <up> <up> <up> <up> <= up> <up> <up> <escape>=A0
x f o l l o w - m = o <tab> <return> C-SPC <down> <down>=A0
&= lt;down> <down> <down> <down> <down> <down>= ; <down> <down>=A0
<down> <s-escape> C-x 1 <escape> x r e p o r t - e= =A0
m <tab> <return>

Recent = messages:
Preparing tutorial ...
Mark set
Fol= low mode enabled
You can run the command `follow-delete-other-windows-and-split' wi= th C-c . 1
Follow mode disabled
Mark set [3 times]
Follow mode enabled
Mark set
<s-escape> is = undefined
M-o f is undefined

Load-path shadows:
None found.

Features:
(shadow sort gn= us-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec= mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
=
help-fns mail-prsvr mail-utils follow tutorial help-mode easymenu
time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-ty= pe
mwheel ns-win tool-bar dnd fontset image regexp-opt fringe
t= abulated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese=
tibetan thai tai-viet lao korean japanese hebrew greek romanian = slovak
czech european ethiopic indian cyrillic chinese case-table= epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base= 64
format env code-pages mule custom widget hashtable-print-reada= ble
backquote make-network-process cocoa ns multi-tty emacs)
--e89a8f234b55ab63c904f008c5cf--