Article View: gnu.epoch.misc
Article #1376Intermittent bug (I think!)
From: & Inder
Date: Fri, 22 May 1992 15:35
Date: Fri, 22 May 1992 15:35
30 lines
1699 bytes
1699 bytes
I am using Epoch 4.0 Beta Patchlevel 0.
In an attempt to make it easier to produce indented text, I have written
various small pieces of Lisp to change the behaviour of various keys.
In doing so, I have managed to create a situation where
(current-indentation) does not return the right answer.
Specifically, when (current-indentation) is called on the last line of the
file, and that line is blank (i.e. has no printing characters on it), then
it SOMETIMES returns the wrong answer. I am not sure what other
condition is necessary, but when it gets into "getting it wrong" mode,
it gets it wrong consistently, returning a "stable" wrong answer that
appears to be three characters (i.e. one user-defined tab-stop) further
over than is should be.
Has anybody seen anything like this before? Can anybody suggest what
might be kicking it in to the mode?
Robert
--
---------------------------------------------------------------------------
Robert Inder, Human Communications Research Centre, University of Edinburgh
2, Buccleuch Place, Edinburgh, EH8 9LW Scotland +44 31 650 4449
Technical Details
Message-ID:
<ROBERT.92May22163518@compton.cogsci.ed.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!edcastle!edcogsci!cogsci!robertShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,aeb485518800b28,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1992-05-22 09:52:42 PST Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!edcastle!edcogsci!cogsci!robert From: robert@cogsci.ed.ac.uk (& Inder) Newsgroups: gnu.epoch.misc Subject: Intermittent bug (I think!) Message-ID: <ROBERT.92May22163518@compton.cogsci.ed.ac.uk> Date: 22 May 92 15:35:18 GMT Sender: robert@cogsci.ed.ac.uk Distribution: gnu Organization: Centre for Cognitive Science, University of Edinburgh Lines: 30