unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Dismal 1.5.2 Bug Report
@ 2021-07-21 20:08 Oury, Jacob David
  0 siblings, 0 replies; only message in thread
From: Oury, Jacob David @ 2021-07-21 20:08 UTC (permalink / raw)
  To: emacs-devel@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 4274 bytes --]

Hi Stefan,

Sorry for the delay in getting back to you.  While I initially thought everything with Dismal 1.5.2 was working well, I have been finding some issues. I will try to follow the EMACS Bug Tracker style to provide better details on the issue, but I appreciate your patience. I've attached several additional files described below. Hopefully, my bug report proficiency has improved since our last exchange!

  1.  Figures from ... .PDF shows the figures that I reference in the text below
  2.   Emacs_Bug_Report... shows the output from emacs M-x report-emacs-bug
  3.  The three .dis files that I used while creating this bug report.

General description: The Dismal 1.5.2 package fails to properly redraw the content on the screen in response to editing the table. This occurs in new .dis files and in the test file created with M-X dis-test-dismal.

With the test file created by dis-test-dismal, the column headings become distorted as the test data and commands are run. Figure 1 (attached) shows the output of that command. Running the command dis-hard-redraw-row (key = r) in a row will redraw the row and correctly display the content below the column name line. (Figure 2 shows how Figure 1 changed after redrawing each row (hit r while in Row 0, it redraws row and moves cursor down to row 1, repeat). However, the column labels remain broken. After using the command dis-redraw, the column names are properly displayed (Figure 3).

I also encounter this issue with brand new .dis files. I created a new file titled normalization2.dis . This works and displays properly when file is first created. I added a column name to A0 using standard commands: e-your text-enter. This works properly. I move to B0 to add another column name. The name overlaps with Column A's name, but doesn't appear to be an issue. Then I move to C0 to add a 3rd column name after typing the name (e normalization enter) the label for column B disappears and the screen drawing issues occur. Figure 4 shows this.

The dis-redraw command appears to temporarily fix this issue (Figure 5 shows this), but further editing of the document leads back to the same issue. Using that same sheet from Figure 5, I added text entries (letter strings) to cells A1:A10. Dismal worked as expected for every single entry (A1:A9) until entering text into cell A10. After hitting enter for the text entry in cell A10, the display is clobbered (Figure 6). Figure 7 shows the results of dis-redraw on the clobbered page. I was able to replicate this effect with a brand new sheet. One at a time, A0 through A9 are edited (e) and given the entry "dog". Each command works as expected, until cell A10. Upon hitting enter, the screen clobbers and displays nothing except that last entry. You can explore other cells and see that the data appears to still be there, but you need to either hard-redraw the full screen or edit a cell to get the contents to display.

Finally, the redraw issue also occurs when loading a previous file. Figure 8 shows how a previously created .dis file appears immediately after loading. The image might be small, but the cursor is highlighting the 2nd t in "written" along the top of the screen, but the mini-buffer shows that the cursor is in cell A0: Command Name. Again, dis-redraw appears to fix the display issues until further editing clobbers it (Figure 9 shows results of redraw. I was unable to re-clobber this sheet during testing here).

EMACS Version Number: EMACS 27.2 on Windows via the  emacs-27.2-i686-installer.exe available at the main GNU FTP server.
https://ftp.gnu.org/gnu/emacs/windows/emacs-27/

OS Name and Version: In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.19042
System Description: Microsoft Windows 10 Home (v10.0.2009.19042.1052)

Configure Command settings: Default settings, detailed in the attached bug report print out.

No modifications made to EMACS source


Best regards,

Jacob D. Oury
Doctoral Candidate in Informatics
Applied Cognitive Science Lab
Penn State College of Information Sciences and Technology

[-- Attachment #1.2: Type: text/html, Size: 6903 bytes --]

[-- Attachment #2: Emacs_Bug_Report_output 17June21.txt --]
[-- Type: text/plain, Size: 4298 bytes --]

In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.19042
System Description: Microsoft Windows 10 Home (v10.0.2009.19042.1052)

Recent messages:
Dismal mark set.
Copying range B10:B15
Copied range B10:B15
Pasting range B10:B15
Starting to update cycle ... 1 (6 cells)
Updated 1 times.
Inserting 1 row(s)...
Mark set
if: Wrong type argument: number-or-marker-p, --------------+
Redrawing row ... 23 of 22 [9 times]

Configured using:
 'configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: dismal

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail help-fns dismal-metacolumn info
rect warnings dismal pcase keystroke dismal-simple-menus rmatrix heaps
vectors dismal-menu3 make-km-aliases simple-menu dismal-mouse3
dismal-data-structures autoload radix-tree tar-mode cus-edit cus-start
cus-load wid-edit mm-archive message dired dired-loaddefs format-spec
rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs
text-property-search mailabbrev gmm-utils mailheader mm-decode mm-bodies
mm-encode mail-utils mule-util gnutls network-stream url-http mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc
puny url-cache url-auth url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap epg-config time-date
tsdh-dark-theme slime-fancy slime-trace-dialog slime-fontifying-fu
slime-package-fu slime-references slime-compiler-notes-tree
slime-scratch slime-presentations advice bridge slime-macrostep
macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy
slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl elp slime-parse slime
derived cl-extra help-mode edmacro kmacro lisp-mnt gud apropos compile
etags fileloop generator xref project arc-mode archive-mode noutline
outline easy-mmode pp comint ansi-color ring hyperspec thingatpt cl
slime-autoloads finder-inf gnu-elpa-features package easymenu browse-url
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads w32notify w32
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 544643 451283)
 (symbols 48 23582 2)
 (strings 32 122237 75946)
 (string-bytes 1 3182218)
 (vectors 16 40033)
 (vector-slots 8 642371 136366)
 (floats 8 73 469)
 (intervals 56 1942 855)
 (buffers 1000 21))

[-- Attachment #3: Figures from Dismal Troubleshooting 17June21.pdf --]
[-- Type: application/pdf, Size: 153577 bytes --]

[-- Attachment #4: normalization.dis --]
[-- Type: application/octet-stream, Size: 3403 bytes --]

;; -*- Mode: dismal -*-
;; This file was produced for user ouryj by dismal-mode (Vers 1.4)
;; This file written Thu Jun 17 16:18:54 2021
;; dismal-mode Copyright since 1992, Free Software Foundation, Inc.
;; No user serviceable parts, but it is your data.


(setq dis-auto-update t)
(setq dismal-default-column-format [10 2 default])
(setq dismal-column-formats [5 5 [[12 2 default] [9 2 default] [13 2 default] [6 2 default] [16 2 default]] nil])
(setq dismal-formula-cells [15 13 [(4 . 0) (10 . 1) (11 . 1) (13 . 1) (14 . 1) (15 . 1) (16 . 1) (17 . 1) (18 . 1) (19 . 1) (21 . 1) (3 . 0) (22 . 1) nil nil] nil])
(setq dismal-max-row 13)
(setq dismal-max-col 5)
(setq dis-middle-col nil)
(setq dis-page-length 64)
(setq dis-ruler-row -2)
(setq dis-show-ruler t)
(setq dismal-save-compression nil)
(setq dismal-compress-command "compress")
(setq dismal-write-file-version "1.4")
(setq dismal-uncompress-command "compress -d")
(setq dismal-matrix [14 14 [[6 6 [["Command Name" "Command Name" nil nil nil] ["Frequency" "Frequency" nil nil nil] ["Normalization" "Normalization" nil nil nil] ["Length" "Length" nil nil nil] ["Typed Characters" "Typed Characters" nil nil nil] [nil nil nil nil nil]] nil] [2 2 [["Log" "Log" nil nil nil] [20.0 20.0 nil nil nil]] nil] [2 2 [["Learn" "Learn" nil nil nil] [6.0 6.0 nil nil nil]] nil] [2 2 [["Excise-chunks" "Excise-chunks" nil nil nil] [12.0 12.0 nil nil nil]] nil] [2 2 [["Excise-task" "Excise-task" nil nil nil] [5 5 nil nil nil]] nil] [2 2 [["go" "go" nil nil nil] [23.0 23.0 nil nil nil]] nil] [3 3 [["help" "help" nil nil nil] nil [13.7 13.7 nil nil nil]] nil] [3 3 [["excise-all" "excise-all" nil nil nil] nil [5.0 5.0 nil nil nil]] nil] [3 3 [["load" "load" nil nil nil] nil [6.5 6.5 nil nil nil]] nil] [3 3 [["excise" "excise" nil nil nil] nil [10.1 10.1 nil nil nil]] nil] [3 3 [["time" "time" nil nil nil] nil [17.3 17.3 nil nil nil]] nil] [1 1 [[nil nil nil nil nil]] nil] [3 3 [["Total" "Total" nil nil nil] [139.0 139.0 nil nil nil] [100.0 100.0 nil nil nil]] nil] [1 1 [["Your Total" "Your Total" nil nil nil]] nil]] [1 0 [nil] nil]])

;image
        A          B          C        D          E            F     
  +-----------+--------+------------+-----+---------------+---------+
 0 Command NameFrequencyNormalizationLengthTyped Characters          
 1 Log             20.00
 2 Learn            6.00
 3 Excise-chunk    12.00
 4 Excise-task         5
 5 go              23.00
 6 help                         13.70
 7 excise-all                    5.00
 8 load                          6.50
 9 excise                       10.10
10 time                         17.30
11                                   
12 Total          139.00       100.00
13 Your Total                        













































































































































































































































































































                        

[-- Attachment #5: normalization2.dis --]
[-- Type: application/octet-stream, Size: 3226 bytes --]

;; -*- Mode: dismal -*-
;; This file was produced for user ouryj by dismal-mode (Vers 1.4)
;; This file written Thu Jun 17 17:05:07 2021
;; dismal-mode Copyright since 1992, Free Software Foundation, Inc.
;; No user serviceable parts, but it is your data.


(setq dis-auto-update t)
(setq dismal-default-column-format [10 2 default])
(setq dismal-column-formats [1 0 [nil] nil])
(setq dismal-formula-cells [15 9 [(23 . 2) (13 . 1) (14 . 1) (15 . 1) (17 . 1) (18 . 1) (19 . 1) (21 . 1) (22 . 1) nil nil nil nil nil nil] nil])
(setq dismal-max-row 23)
(setq dismal-max-col 3)
(setq dis-middle-col nil)
(setq dis-page-length 64)
(setq dis-ruler-row -2)
(setq dis-show-ruler t)
(setq dismal-save-compression nil)
(setq dismal-compress-command "compress")
(setq dismal-write-file-version "1.4")
(setq dismal-uncompress-command "compress -d")
(setq dismal-matrix [24 24 [[4 4 [["Command Name" "Command Name" nil nil nil] ["Frequency" "Frequency" nil nil nil] ["Normalization" "Normalization" nil nil nil] [nil nil nil (0 . 2) nil]] nil] [2 2 [[nil nil nil nil nil] ["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["cat" "cat" nil nil nil]] nil] [1 1 [["fish" "fish" nil nil nil]] nil] [4 4 [["donkley" "donkley" nil nil nil] nil ["dog" "dog" nil nil nil] ["fish" "fish" nil nil nil]] nil] [3 3 [["dog" "dog" nil nil nil] nil ["dog" "dog" nil nil nil]] nil] [3 3 [["dog" "dog" nil nil nil] nil ["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [3 3 [["dog" "dog" nil nil nil] ["dog" "dog" nil nil nil] [nil nil nil nil nil]] nil] [2 2 [["cat" "cat" nil nil nil] ["dog" "dog" nil nil nil]] nil] [2 2 [["dog" "dog" nil nil nil] ["dog" "dog" nil nil nil]] nil] [4 4 [nil nil ["dog" "dog" nil nil nil] ["dog" "dog" nil nil nil]] nil] [4 4 [["dog" "dog" nil nil nil] nil nil ["dog" "dog" nil nil nil]] nil] [1 0 [nil] nil] [3 3 [["dog" "dog" nil nil nil] ["fish" "fish" nil nil nil] ["cat" "cat" nil nil nil]] nil] [1 0 [nil] nil] [1 0 [nil] nil] [1 0 [nil] nil] [1 0 [nil] nil] [1 0 [nil] nil] [1 0 [nil] nil] [3 3 [nil nil [(+ 2 2) 4 nil 0 nil]] nil]] [1 0 [nil] nil]])

;image
       A         B         C         D     
  +---------+---------+---------+---------+
 0 Command NaFrequency Normalization       
 1           dog                 
 2 dog                           
 3 cat                           
 4 fish                          
 5 donkley             dog       fish      
 6 dog                 dog       
 7 dog                 dog       
 8 dog                                     
 9 dog                                     
10 dog       dog                 
11 cat       dog                           
12 dog       dog                           
13                     dog       dog       
14 dog                           dog       
15                                         
16 dog       fish      cat                 
17                               
18                               
19                               
20                               
21                               
22                               
23                              4                    

[-- Attachment #6: normalization3 --]
[-- Type: application/octet-stream, Size: 1492 bytes --]

;; -*- Mode: dismal -*-
;; This file was produced for user ouryj by dismal-mode (Vers 1.4)
;; This file written Thu Jun 17 17:04:52 2021
;; dismal-mode Copyright since 1992, Free Software Foundation, Inc.
;; No user serviceable parts, but it is your data.


(setq dis-auto-update t)
(setq dismal-default-column-format [10 2 default])
(setq dismal-column-formats [1 0 [nil] nil])
(setq dismal-formula-cells [16 12 [(10 . 1) (11 . 1) (12 . 1) (13 . 1) (14 . 1) (15 . 1) (16 . 1) (17 . 1) (18 . 1) (19 . 1) (21 . 1) (22 . 1) nil nil nil nil] nil])
(setq dismal-max-row 10)
(setq dismal-max-col 0)
(setq dis-middle-col nil)
(setq dis-page-length 64)
(setq dis-ruler-row -2)
(setq dis-show-ruler t)
(setq dismal-save-compression nil)
(setq dismal-compress-command "compress")
(setq dismal-write-file-version "1.4")
(setq dismal-uncompress-command "compress -d")
(setq dismal-matrix [11 11 [[1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil] [1 1 [["dog" "dog" nil nil nil]] nil]] [1 0 [nil] nil]])

;image
 
 
 
 
 
 
 
 
 
 
                                 
 9 dog       
10 dog       
             
             
             

[-- Attachment #7: test.dis --]
[-- Type: application/octet-stream, Size: 2710 bytes --]

;; -*- Mode: dismal -*-
;; This file was produced for user ouryj by dismal-mode (Vers 1.4)
;; This file written Thu Jun 17 17:05:21 2021
;; dismal-mode Copyright since 1992, Free Software Foundation, Inc.
;; No user serviceable parts, but it is your data.


(setq dis-auto-update t)
(setq dismal-default-column-format [10 2 default])
(setq dismal-column-formats [2 2 [nil [15 2 default]] nil])
(setq dismal-formula-cells [16 14 [(4 . 0) (10 . 1) (11 . 1) (12 . 1) (13 . 1) (14 . 1) (15 . 1) (16 . 1) (17 . 1) (18 . 1) (19 . 1) (21 . 1) (3 . 0) (22 . 1) nil nil] nil])
(setq dismal-max-row 22)
(setq dismal-max-col 1)
(setq dis-middle-col nil)
(setq dis-page-length 64)
(setq dis-ruler-row -2)
(setq dis-show-ruler t)
(setq dismal-save-compression nil)
(setq dismal-compress-command "compress")
(setq dismal-write-file-version "1.4")
(setq dismal-uncompress-command "compress -d")
(setq dismal-matrix [23 23 [[2 2 [nil [1 1 nil nil nil]] nil] [1 1 [nil] nil] [2 2 [["flush>" "flush>" ((4 . 0)) nil right] ["<Left just" "<Left just" nil nil nil]] nil] [2 2 [[(+ 2 3) 5 nil 0 nil] ["a full 15 widee" "a full 15 widee" nil nil nil]] nil] [1 1 [[(dismal-r-c- 2 0) "flush>" nil 0 center]] nil] [1 0 [nil] nil] [1 0 [nil] nil] [1 0 [nil] nil] [1 0 [nil] nil] [1 0 [nil] nil] [2 2 [[1 1 ((10 . 1)) nil nil] [(dismal-r-c- 10 0) 1 nil 0 nil]] nil] [2 2 [[2 2 ((11 . 1)) nil nil] [(dismal-r-c- 11 0) 2 nil 0 nil]] nil] [2 2 [[3 3 ((12 . 1)) nil nil] [(dismal-r-c- 12 0) 3 nil 0 nil]] nil] [2 2 [[4 4 ((13 . 1)) nil nil] [(dismal-r-c- 13 0) 4 nil 0 nil]] nil] [2 2 [[5 5 ((14 . 1)) nil nil] [(dismal-r-c- 14 0) 5 nil 0 nil]] nil] [2 2 [[6 6 ((15 . 1)) nil nil] [(dismal-r-c- 15 0) 6 nil 0 nil]] nil] [2 2 [[nil nil ((16 . 1)) nil nil] [(dismal-r-c- 16 0) 0 nil 0 nil]] nil] [2 2 [[nil nil ((17 . 1)) nil nil] [(dismal-r-c- 17 0) 0 nil 0 nil]] nil] [2 2 [[nil nil ((18 . 1)) nil nil] [(dismal-r-c- 18 0) 0 nil 0 nil]] nil] [2 2 [[nil nil ((19 . 1)) nil nil] [(dismal-r-c- 19 0) 0 nil 0 nil]] nil] [1 0 [nil] nil] [2 2 [[nil nil ((21 . 1)) nil nil] [(dismal-r-c- 21 0) 0 nil 0 nil]] nil] [2 2 [[nil nil ((22 . 1)) nil nil] [(dismal-r-c- 22 0) 0 nil 0 nil]] nil]] [1 0 [nil] nil]])

;image
        B       
 --------------+
               1
                
 <Left just     
 a full 15 widee
 
 
 
 
 
 
10          1              1
11          2              2
12          3              3
13          4              4
14          5              5
15          6              6
16                         0
17                         0
18                         0
19                         0
20                          
21                      0
                           0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-21 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 20:08 Dismal 1.5.2 Bug Report Oury, Jacob David

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).