From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Help debugging erratic cursor movement Date: Thu, 9 Jun 2016 16:20:01 -0700 Message-ID: References: <877fdymbqs.fsf@RV515.tompa.tv> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1465514456 9017 80.91.229.3 (9 Jun 2016 23:20:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 23:20:56 +0000 (UTC) Cc: Bastian Beischer , Tomas Nordin To: Help-Gnu-Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 10 01:20:56 2016 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 1bB9Ft-0007zc-Co for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jun 2016 01:20:53 +0200 Original-Received: from localhost ([::1]:37564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB9Fs-0001N5-HX for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Jun 2016 19:20:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB9FP-0001Mz-Vd for help-gnu-emacs@gnu.org; Thu, 09 Jun 2016 19:20:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB9FO-00036y-40 for help-gnu-emacs@gnu.org; Thu, 09 Jun 2016 19:20:22 -0400 Original-Received: from mail-yw0-x22d.google.com ([2607:f8b0:4002:c05::22d]:36511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB9FN-00036U-VL for help-gnu-emacs@gnu.org; Thu, 09 Jun 2016 19:20:22 -0400 Original-Received: by mail-yw0-x22d.google.com with SMTP id x189so52092794ywe.3 for ; Thu, 09 Jun 2016 16:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yeRHn723PMw8K8/6jWMimHU5yKAA64Xx2sfvyrZ3rCI=; b=L/GK1Xag5ZY78LNpKzhpoMjgMQyHqL7174p5ouOkoZS0tzF3xhY1c1nlIhZvkoGrh2 YG3YLldAUAqz/MOpO0axAdkrMiUj7Ps3KtqxEdM29OoOrhITUHH1DR81HHulQCVfpMJF lQA4zUFPLXQqH/H2tAJlAh6H/5D+6kbLu8VoPGE+SKJzAaTTK/fTHfya/EnZ81qw9LDE yLD9OkdZyXydy1o9MLqpSEaNq5NBPBvOUwySCqqJpGYHH+i5AHX5AGC6UshfM1cT5NRI 9QT0VgMKhxprIc0hUWbkSim7L2SV/saR2meE+qSQyy8Sz8xTRZLET2MGZDlC4BZ1ZvoM kJoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yeRHn723PMw8K8/6jWMimHU5yKAA64Xx2sfvyrZ3rCI=; b=VdLs4avZFIhm/aiBbfBQJdIDue6KIykU3t/Yc7aWYhgGF5zq9zvYHwWUJkbQuQWcqO VO9jfOKcARZDQK7nTy0M5iCzvFQLIpltRhPrG1bnWCFMMAWYKH2dMfyEdDEHqcsoEpN3 wcIjFwf4vnn6Q+1dOMxohmc3kWSQfKb0vuc47Slf7JjUJcwfFpbdpxf0Cqo1tDrbwG6N 1Q/GMjvzWC1+seBETk5V/edDIWW7/T8DBXvEXihHoOtt2zto+LaCWZeBoi1bb7jHvYYu GBswKfOrk0lnTbgADrzHHrdW6QoapX+XxsFfu7yQdCUra0n3htmNO+P/C9HZtFw9yFLg sVlg== X-Gm-Message-State: ALyK8tJ+feWgbanfbqN3qD5WRu8Xw7sIPmHA7WZj6VNKftox+4WBFw0XdqgkDmsQi0jm48QedEpGBOozdh5Q4A== X-Received: by 10.129.70.198 with SMTP id t189mr7871654ywa.98.1465514421375; Thu, 09 Jun 2016 16:20:21 -0700 (PDT) Original-Received: by 10.37.98.205 with HTTP; Thu, 9 Jun 2016 16:20:01 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::22d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110404 Archived-At: Bastian Beischer wrote: > Unfortunately I still don't have recipe to reproduce the issue. I > learned about 'debug-on-entry', though. Unfortunately the piece of > code that is causing the problem does not call goto-char (inferred by > using '(debug-on-entry 'goto-char)' and waiting for bug to happen -> > no debug backtrace) :-( If the problem function is compiled, it may use `goto-char' but still not trigger `debug-on-entry', because the compiled code would use the goto-char bytecode instruction rather than the actual function. You can get around this by using C-M-x on the defun of any functions you consider candidates. That will cause Emacs to interpret those functions rather than running their bytecode. (You could even do that for whole source files by using `eval-buffer'). John