In the modeline, XEmacs shows the percentage of the file which is
before the current scroll position. When XEmacs loads the test file
described below, it shows the wrong percentage.
The test file in question is very large (32 MB). To reproduce this
bug, please recreate this large file by running the following C++
program:
#include <fstream.h>
int main() {
ofstream of("testfile");
for (int i = 0; i < 500000; i++)
of <<
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n";
}
1. Load "testfile" into XEmacs.
2. Type M-> to go to the end of the buffer. Then it says "Bot".
3. Type M-v to scroll backwards. Then it says, "31". But I think it
should say 99%.
In addition to the number being wrong, another problem is that the percent
sign is missing.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux
reliant.ca.metsci.com 2.2.9 #2 SMP Mon May 17 11:53:40 PDT 1999 i686
unknown
./configure '--prefix=/reliant/bjacob/xemacs'
XEmacs 21.1.12 "Channel Islands" configured for `i686-pc-linux'.
Where should the build process find the source code? /reliant/bjacob/xemacs-21.1.12
What installation prefix should install use? /reliant/bjacob/xemacs
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
Load-Path Lisp Shadows:
----------------------
(/sumatra/bjacob/xemacs/lib/xemacs/xemacs-packages/lisp/vc/vc
/sumatra/bjacob/xemacs/lib/xemacs/xemacs-packages/lisp/vc-cc/vc
/sumatra/bjacob/xemacs/lib/xemacs/xemacs-packages/lisp/vc/vc-hooks
/sumatra/bjacob/xemacs/lib/xemacs/xemacs-packages/lisp/vc-cc/vc-hooks
/sumatra/bjacob/xemacs/lib/xemacs/xemacs-packages/lisp/xemacs-base/xpm-button
/sumatra/bjacob/xemacs/lib/xemacs-21.1.12/lisp/xpm-button)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.08 :type regular)
(xemacs-devel :version 1.29 :type single-file)
(xemacs-base :version 1.44 :type regular)
(w3 :version 1.16 :type regular)
(vm :version 6.96 :type regular)
(viper :version 1.21 :type regular)
(view-process :version 1.1 :type regular)
(vhdl :version 1.11 :type regular)
(vc-cc :version 1.14 :type regular)
(vc :version 1.24 :type regular)
(tpu :version 1.11 :type regular)
(tooltalk :version 1.12 :type regular)
(tm :version 1.24 :type regular)
(time :version 1.1 :type regular)
(textools :version 1.11 :type regular)
(text-modes :version 1.27 :type single-file)
(texinfo :version 1.19 :type regular)
(supercite :version 1.16 :type regular)
(strokes :version 1.07 :type regular)
(speedbar :version 1.17 :type regular)
(sounds-wav :version 1.09 :type regular)
(sounds-au :version 1.09 :type regular)
(slider :version 1.12 :type regular)
(sh-script :version 1.12 :type regular)
(sgml :version 1.07 :type regular)
(semantic :version 1.02 :type regular)
(scheme :version 1.1 :type regular)
(rmail :version 1.11 :type regular)
(reftex :version 1.21 :type regular)
(psgml :version 1.2 :type regular)
(ps-print-nomule :version 1.03 :type regular)
(prog-modes
:version
1
.3
:type
single-file)
(pcl-cvs :version 1.5 :type regular)
(pc :version 1.18 :type single-file)
(os-utils :version 1.24 :type single-file)
(net-utils :version 1.27 :type single-file)
(misc-games :version 1.14 :type single-file)
(mine :version 1.13 :type regular)
(mh-e :version 1.12 :type regular)
(mew :version 1.11 :type regular)
(mailcrypt :version 2.05 :type regular)
(mail-lib :version 1.31 :type regular)
(jde :version 1.23 :type regular)
(ispell :version 1.2 :type regular)
(ilisp :version 1.13 :type regular)
(igrep :version 1.07 :type regular)
(idlwave :version 1.22 :type regular)
(hm--html-menus :version 1.15 :type regular)
(gnus :version 1.51 :type regular)
(gnats :version 1.11 :type regular)
(games :version 1.12 :type regular)
(fsf-compat :version 1.07 :type single-file)
(frame-icon :version 1.08 :type regular)
(forms :version 1.12 :type regular)
(footnote :version 1.12 :type regular)
(eudc :version 1.32 :type regular)
(eterm :version 1.12 :type regular)
(emerge :version 1.08 :type regular)
(elib :version 1.07 :type single-file)
(eicq :version 1.02 :type regular)
(efs :version 1.21 :type regular)
(edt :version 1.1 :type regular)
(edit-utils :version 1.53 :type single-file)
(ediff :version 1.26 :type regular)
(edebug :version 1.11 :type regular)
(dired :version 1.08 :type regular)
(debug :version 1.12 :type regular)
(crisp :version 1.11 :type regular)
(cookie :version 1.12 :type regular)
(cc-mode :version 1.21 :type regular)
(calendar :version 1.15 :type regular)
(calc :version 1.13 :type regular)
(c-support :version 1.15 :type single-file)
(bbdb :version 1.1 :type regular)
(auctex :version 1.22 :type regular)
(apel :version 1.19 :type regular)
(ada :version 1.09 :type regular)
(Sun :version 1.12 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail efs-cu zenirc-autoloads
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
slider-autoloads sh-script-autoloads sgml-autoloads semantic-autoloads
scheme-autoloads rmail-autoloads reftex-autoloads psgml-autoloads
ps-print-nomule-autoloads prog-modes-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
emerge-autoloads elib-autoloads eicq-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
dired-autoloads debug-autoloads crisp-autoloads cookie-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads bbdb-autoloads auctex-autoloads apel-autoloads
ada-autoloads Sun-autoloads Standard-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 menubar-items x-menubar mouse mode-motion
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete help-nomule derived frame text-props cus-start custom
widget cl-extra mini-cl cl cl-19 packages backquote very-early-lisp
lucid-scrollbars cut-buffer lucid-menubars xface athena-dialogs x
tty-frames tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses menubar berkeley-db md5 xemacs tiff png
gif jpeg xpm lisp-float-type linux dialog devices window-system
c-balloon-help)
Recent keystrokes:
-----------------
C-x C-f t e TAB f TAB RET M-> M-v C-x k RET misc-u
ser
Recent messages (most recent first):
-----------------------------------
Parsing /sumatra/bjacob/.mailrc...
Loading mail-abbrevs...done
Loading mail-abbrevs...
Loading xemacsbug...done
Loading xemacsbug...
Loading efs-cu...done
Loading efs-cu...