From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#14616: 24.3.50; Excessive cursor movement on non-X Emacs Date: Mon, 05 Aug 2013 21:10:37 +0200 Message-ID: References: <83y5a0ka99.fsf@gnu.org> <83ip10hlyr.fsf@gnu.org> <83hafqz8uo.fsf@gnu.org> <83wqo8vvyb.fsf@gnu.org> <83fvuuws3k.fsf@gnu.org> <83mwp1z7dm.fsf@gnu.org> <83a9l0yxom.fsf@gnu.org> <83ehaayk6d.fsf@gnu.org> <83fvuovuvx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375729938 20694 80.91.229.3 (5 Aug 2013 19:12:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 19:12:18 +0000 (UTC) Cc: 14616@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 05 21:12:18 2013 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 1V6QCX-0007On-Ku for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 21:12:17 +0200 Original-Received: from localhost ([::1]:41744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QCW-00038g-V7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 15:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QCN-0002wg-Vf for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 15:12:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6QCI-0001Nv-3X for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 15:12:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QCI-0001Nn-0J for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 15:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V6QCH-0006O8-Kb for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 15:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Aug 2013 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14616 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137572988824501 (code B ref -1); Mon, 05 Aug 2013 19:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Aug 2013 19:11:28 +0000 Original-Received: from localhost ([127.0.0.1]:41661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6QBj-0006N6-9Z for submit@debbugs.gnu.org; Mon, 05 Aug 2013 15:11:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54735) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6QBg-0006Mm-87 for submit@debbugs.gnu.org; Mon, 05 Aug 2013 15:11:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6QBN-00019P-S3 for submit@debbugs.gnu.org; Mon, 05 Aug 2013 15:11:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QBN-00019J-M8 for submit@debbugs.gnu.org; Mon, 05 Aug 2013 15:11:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QBH-0001qU-VV for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 15:11:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6QB7-00012o-Sr for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 15:10:59 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6QB7-00012H-HK; Mon, 05 Aug 2013 15:10:49 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1V6QAv-0006oa-GW; Mon, 05 Aug 2013 21:10:37 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEUkGSYRCAx9a4kLAwWI xZBkAAACMUlEQVQokSXQwUsUYRgG8Gc2l10HYmNxCASZSoJxO3czZlzddpkOjoOfC4LMsW27SLiX aJlNXQpJ6hB4CXIwcfbr0MljqIQQi8FqbZLQP9BphRm9+PH2WccfzwvPwwunQpRfvb92YD4gRJVz cpcn1g6oQuiNxHTUhF72KgL5jTPT3exreplKjOzW0U4+SGsi8zgGf9M2Eaj+hTkcIUzvUSnI7/TE pwgIimSPTF8tdvQSeMOnWy/rZbJ8A+2QRCL0hEjfM8A/0oUaWn6UGJLYokjli8EP+20L/P0lQv48 NxCAmxRVeehqQBJzGsVVHpAAanCSkdLmQewgdQwr1VEX+VbNUigG9K67zjcZO/clfDpr5TaZJyQU oouW22B+XZ7pNMZCD5rwJTxxnXJeRxMkIeKeWR0vjcfkdxFPdjJ/+ul7XDcl5pwr7RJ9OV0wGY5r znDbpoeno/VLfFs/sf3i6ehvhuLUzAdHNfcP3x1OI+VMhO7gTmHq1S8JKxsOzn4usNUjhuRudsWe 3S6UJyMNSafRqtrbe6miHH0tu46werczvi9hgfMgV5tXepqDCah8eSNeSM8nHZAzAOZFcwnNsEAW mM9YeabpLsLvKErBMcCCafkCu69hDaRdzZB4ZtyAkRrLa3YT6Kzw0H7BbM0NZE8uTGL10GYMCize QP12t0RC8ueKmtAf6XtE1MVZOue+/po5lmDoqa39mycZ+pfsukulO0/1/xh7sjTZPzjkC1+wvxRl F/54nWmNAAAAAElFTkSuQmCC X-Now-Playing: Zomby's _With Love (2)_: "Soliloquy" X-Hashcash: 1:23:130805:eliz@gnu.org::bWBoKx/9avTPnb6l:00000Atm/ X-Hashcash: 1:23:130805:bug-gnu-emacs@gnu.org::2lNF5ThOYEEp91ry:0000000000000000000000000000000000000000CPUD In-Reply-To: <83fvuovuvx.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Aug 2013 21:45:54 +0300") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1V6QAv-0006oa-GW MailScanner-NULL-Check: 1376334637.62123@Pssqf+NsxiNNx5kVw04+Nw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:76973 Archived-At: Eli Zaretskii writes: > What does frame-list return after you start emacs -nw like that? (frame-list) => (# #) (mapcar (lambda (f) (pp (frame-parameters) (current-buffer))) (frame-list)) => ((buried-buffer-list #) (buffer-list # # # #) (minibuffer . #) (name . "F1") (mouse-color . "red") (cursor-type . box) (unsplittable) (modeline . t) (width . 142) (height . 25) (font . "tty") (background-color . "unspecified-bg") (tool-bar-lines . 0) (menu-bar-lines . 0) (vertical-scroll-bars) (cursor-color . "white") (foreground-color . "unspecified-fg") (background-mode . dark) (display-type . color) (tty . "/dev/tty") (tty-type . "xterm")) ((buried-buffer-list #) (buffer-list # # # #) (minibuffer . #) (name . "F1") (mouse-color . "red") (cursor-type . box) (unsplittable) (modeline . t) (width . 142) (height . 25) (font . "tty") (background-color . "unspecified-bg") (tool-bar-lines . 0) (menu-bar-lines . 0) (vertical-scroll-bars) (cursor-color . "white") (foreground-color . "unspecified-fg") (background-mode . dark) (display-type . color) (tty . "/dev/tty") (tty-type . "xterm")) >> 0x0000000000420725 in do_switch_frame (frame=12659685, track=1, >> for_deletion=0, norecord=12571250) at frame.c:844 >> 844 SET_FRAME_VISIBLE (XFRAME (frame), 1); > > We are close. What I need to know now is what is 'frame" and what is > 'top_frame' at this point. You can define this as the watchpoint's > commands: > > > pp frame > > pp top_frame > > continue > > end > > Then run the recipe again, and let's see what this shows. Uhm. I think I must have done something wrong... I get the stuff at the end in the backtrace file, and the following in gdb interactively: # # (gdb) Must be lacking a "cont" somewhere... Anyway, are those the values you wanted? Log file: Hardware watchpoint 4: ((struct frame *) 0xc12be0)->garbaged Old value = 1 New value = 0 clear_garbaged_frames () at xdisp.c:10729 10729 f->resized_p = 0; Continuing. Hardware watchpoint 4: ((struct frame *) 0xc12be0)->garbaged Old value = 0 New value = 1 0x0000000000420725 in do_switch_frame (frame=12659685, track=1, for_deletion=0, norecord=12571202) at frame.c:844 844 SET_FRAME_VISIBLE (XFRAME (frame), 1); Hardware watchpoint 4: ((struct frame *) 0xc12be0)->garbaged Old value = 1 New value = 0 clear_garbaged_frames () at xdisp.c:10729 10729 f->resized_p = 0; Continuing. Hardware watchpoint 4: ((struct frame *) 0xc12be0)->garbaged Old value = 0 New value = 1 0x0000000000420725 in do_switch_frame (frame=12659685, track=1, for_deletion=0, norecord=12571250) at frame.c:844 844 SET_FRAME_VISIBLE (XFRAME (frame), 1); Hardware watchpoint 4: ((struct frame *) 0xc12be0)->garbaged Old value = 1 New value = 0 clear_garbaged_frames () at xdisp.c:10729 10729 f->resized_p = 0; Continuing. Hardware watchpoint 4: ((struct frame *) 0xc12be0)->garbaged -- (domestic pets only, the antidote for overdose, milk.) No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html