From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Advice on troubleshooting function to "unscroll" Date: Sun, 25 Jan 2015 16:03:41 -0800 (PST) Message-ID: References: <54C5577D.4030700@gmail.com> <871tmih6w0.fsf@wmi.amu.edu.pl> <54C56827.6030802@gmail.com> <54C5748E.4060605@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1422230653 14198 80.91.229.3 (26 Jan 2015 00:04:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 00:04:13 +0000 (UTC) To: Will Monroe , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 01:04:09 2015 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 1YFX9z-0005rQ-Sp for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 01:04:08 +0100 Original-Received: from localhost ([::1]:39371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFX9y-00088L-Ue for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 19:04:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFX9l-00083i-Uv for help-gnu-emacs@gnu.org; Sun, 25 Jan 2015 19:03:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFX9i-0006HS-PJ for help-gnu-emacs@gnu.org; Sun, 25 Jan 2015 19:03:53 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:22241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFX9i-0006HH-IT for help-gnu-emacs@gnu.org; Sun, 25 Jan 2015 19:03:50 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t0Q03gME030485 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Jan 2015 00:03:43 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0Q03fM0002067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 26 Jan 2015 00:03:41 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0Q03eU0008395; Mon, 26 Jan 2015 00:03:40 GMT In-Reply-To: <54C5748E.4060605@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102268 Archived-At: > why did scroll-up-command work where the still useful but not > appropriate scroll-up did not? That was already answered, and I thought that you understood the answer. The problem was that the code checked whether the current command was `scroll-up', and it of course never would be. `scroll-up' is called by `scroll-up-command', but only the latter, never the former, is invoked by you interactively, i.e., as a command. Variables `this-command' and `last-command' are only set to functions when they are invoked as commands. > And if I'm being honest about why I did not go to Edebug it's because I > was anticipating great difficulty reading the backtrace statements. I > thought my problem might be compounded by a more general illiteracy in > that regard... The Emacs manual sends you to the Elisp manual, node `Edebug', for information about using that debugger. That section of the Elisp manual is like a mini-manual about Edebug. Why it does not send you instead to the Elisp manual node `Debugger' (which has title "The Lisp Debugger"), I don't know. That node covers the regular debugger (i.e., `debug'). `debug' is older than `edebug'. Perhaps the person who wrote `edebug' decided to send readers of the Emacs manual to learn about Edebug. ;-) (In older versions of Emacs, e.g. Emacs 20, there was no link from the Emacs manual to the Elisp manual for either the regular Lisp debugger or Edebug, but there were multiple mentions of using the former - and only no mention of Edebug, except to say that edebug.el was contributed by Daniel LaLiberte.)