annotate tests/reproduce-bugs.el @ 278:90d73dddcdc4 r21-0b37

Import from CVS: tag r21-0b37
author cvs
date Mon, 13 Aug 2007 10:31:29 +0200
parents 850242ba4a81
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
1 ;;; reproduce-bugs.el --- reproduce bugs in XEmacs;
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
2
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
3 ;; Copyright (C) 1997 Free Software Foundation, Inc.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
4 ;; Copyright (C) 1997 Sun Microsystems, Inc.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
5
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
6 ;; Keywords: bugs, crash, burn, die, croak, munge
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
7
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
8 ;; This file is part of XEmacs.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
9
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
10 ;; This file is free software; you can redistribute it and/or modify it
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
11 ;; under the terms of the GNU General Public License as published by
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
13 ;; any later version.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
14
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
15 ;; XEmacs is distributed in the hope that it will be useful, but
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
18 ;; General Public License for more details.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
19
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
21 ;; along with XEmacs; see the file COPYING. If not, write to the Free
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
22 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
23 ;; 02111-1307, USA.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
24
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
25 ;;; Synched up with: Not in FSF.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
26
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
27 ;;; Commentary:
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
28
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
29 ;; Reproduce XEmacs bugs, so that they can get fixed.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
30 ;; Especially, make XEmacs crash.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
31 ;; You may need to use a debug version of XEmacs to reproduce some of these.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
32
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
33 ;; Several global keybindings are created, each of which exhibits a bug.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
34
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
35 ;; For XEmacs maintainers and other masochists.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
36
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
37 ;; It's a bad idea to rely on code in this file continuing to work in
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
38 ;; the same way. :-)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
39
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
40 ;;; Code:
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
41
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
42 (defvar bug-hashtable (make-hashtable 10))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
43
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
44 (defmacro defbug (bug-number &rest body)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
45 `(puthash ,bug-number (lambda () ,@body) bug-hashtable))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
46
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
47 (put 'defbug 'lisp-indent-function 'defun)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
48
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
49 (defconst bug-buffer
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
50 (save-excursion
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
51 (set-buffer (get-buffer-create "*Bug*"))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
52 (erase-buffer)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
53 (current-buffer)))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
54
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
55 ;;;####autoload
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
56 (defun reproduce-bug (number)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
57 "Reproduce XEmacs bugs, so that they can get fixed.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
58 Especially, make XEmacs crash.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
59 See reproduce-bugs.el for bug descriptions and bug numbers.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
60 A debug version of XEmacs may be needed to reproduce some bugs."
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
61 (interactive "nBug Number: ")
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
62 (funcall (gethash number bug-hashtable)))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
63
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
64 ;;; Change this to your preferred key-binding
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
65
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
66 (global-set-key [(control ?Z)] 'reproduce-bug)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
67
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
68 ;;;; Bugs follow:
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
69
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
70 ;;; ------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
71 ;;; Crash on trace-function
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
72 ;;; Fatal error: assertion failed, file src/eval.c, line 1405, abort()
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
73 (defbug 1
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
74 (trace-function 'record-buffer bug-buffer)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
75 (pop-to-buffer bug-buffer))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
76
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
77
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
78 ;;; ------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
79 ;;; Crashes with stack overflow
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
80 ;;; Should give error via barf-if-buffer-read-only
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
81 ;;; Fatal error: assertion failed, file src/eval.c, line 1874, abort()
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
82 ;; This bug has been fixed. -sb
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
83 (defbug 2
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
84 (switch-to-buffer bug-buffer)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
85 ;; The following line should contain a number of eight-bit characters
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
86 (insert "²èÌÌËè¤Î°ÜÆ°¤Ï¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£º£Å٤ϡ¢²èÌ̤ÎÃæ¤Ç¡¢ÆÃÄê¤Î¾ì")
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
87 (setq buffer-read-only t)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
88 (ignore-errors
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
89 (encode-coding-region (point-min) (point-max) 'euc-japan))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
90 (garbage-collect))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
91
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
92
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
93 ;;; ------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
94 ;;; Crashes in debug version only
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
95 ;;; Fatal error: assertion failed, file src/objects.h, line 149,
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
96 ;;; RECORD_TYPEP (_obj, lrecord_font_instance) || MARKED_RECORD_P (_obj)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
97 (defbug 3
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
98 (let (glyph ext)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
99 (make-face 'adobe-symbol-face)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
100 (set-face-font
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
101 'adobe-symbol-face
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
102 "-adobe-symbol-medium-r-normal--*-140-*-*-p-*-adobe-fontspecific")
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
103 (setq glyph (make-glyph (list (vector 'string
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
104 :data (char-to-string ?\xD3)))))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
105 (set-glyph-face glyph 'adobe-symbol-face)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
106 (setq ext (make-extent 14 18))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
107 (set-extent-property ext 'begin-glyph glyph)))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
108
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
109
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
110 ;;; ------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
111 ;;; (maybe?) crash koi8
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
112 ;;; ACCL: Invalid command (c)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
113 ;;; With debugging on, crashes as follows:
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
114 ;;; Fatal error: assertion failed, file src/lisp.h, line 1227, INTP (obj)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
115 (defbug 5
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
116 ;;(load "cyrillic")
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
117 ;;(load "cyrillic-hooks")
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
118 (princ (decode-coding-string "\xe1" 'koi8)))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
119
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
120
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
121 ;;; ------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
122 ;;; Completely Uninterruptible hang in re-search-backward (Was: java-mode)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
123 (defbug 6
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
124 (switch-to-buffer bug-buffer)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
125 (insert "{
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
126 public static void main(String[] args) throws java.io.IOException
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
127 {
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
128 }
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
129 }
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
130 ")
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
131 (goto-char (point-min))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
132 (search-forward "{" nil nil 2)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
133 (backward-char)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
134 (re-search-backward
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
135 "^\\s(\\|\\(^[ \t]*\\(\\(\\(public\\|protected\\|static\\)\\s-+\\)*\\(\\(\\([[a-zA-Z][][_$.a-zA-Z0-9]*[][_$.a-zA-Z0-9]+\\|[[a-zA-Z]\\)\\s-*\\)\\s-+\\)\\)?\\(\\([[a-zA-Z][][_$.a-zA-Z0-9]*\\s-+\\)\\s-*\\)?\\([_a-zA-Z][^][ \t:;.,{}()=]*\\|\\([_$a-zA-Z][_$.a-zA-Z0-9]*\\)\\)\\s-*\\(([^);{}]*)\\)?\\([] \t]*\\)\\(\\s-*\\<throws\\>\\s-*\\(\\([_$a-zA-Z][_$.a-zA-Z0-9]*\\)[, \t\n\r\f]*\\)+\\)?\\s-*\\)\\s("))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
136
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
137
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
138 ;;; ------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
139 ;;; regexp crash
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
140 ;; This doesn't crash for me. -sb
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
141 (defbug 7
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
142 (string-match "\\(\\s-\\|$\\)" "å"))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
143
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
144
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
145 ;;;; -------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
146 ;;;; Bugs below this line have been fixed.
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
147 ;;;; Keep these for regression testing
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
148 ;;;; -------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
149
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
150
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
151 ;;; ------------------------------------------------------------------
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
152 ;;; Infinite recursion crash - Segmentation Fault
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
153 (defbug 4
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
154 (switch-to-buffer bug-buffer)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
155 (insert "abcdefg")
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
156 (setq e (make-extent 1 4))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
157 (set-extent-property e 'face 'bold)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
158 (set-extent-property e 'duplicable t)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
159 (set-extent-property e 'replicating t)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
160 (insert (buffer-string))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
161 (delete-region 8 9))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
162
203
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
163 (defbug 5
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
164 (interactive)
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
165 (with-temp-buffer
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
166 (insert "abc")
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
167 (forward-char -1)
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
168 (subst-char-in-region 1 4 ?b ?\344)
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
169 (if (not (= (point) 3))
850242ba4a81 Import from CVS: tag r20-3b28
cvs
parents: 102
diff changeset
170 (message "Bug! point should equal 3 but is %d" (point)))))
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
171
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
172 ;;; crash popup frames FIXED
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
173 ;;(global-set-key
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
174 ;; [(alt meta control f12)]
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
175 ;; (lambda ()
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
176 ;; (interactive)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
177 ;; (let ((f (selected-frame)))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
178 ;; (make-frame `(popup ,(selected-frame)))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
179 ;; (make-frame)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
180 ;; (sit-for 0)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
181 ;; (delete-frame f)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
182 ;; (save-buffers-kill-emacs))))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
183
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
184 ;;; crash on delete-frame-hook - FIXED!
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
185 ;;(global-set-key
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
186 ;; [(alt meta control f10)]
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
187 ;; (lambda ()
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
188 ;; (interactive)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
189 ;; (setq delete-frame-hook
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
190 ;; (lambda (frame)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
191 ;; (select-frame frame)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
192 ;; (kill-buffer (window-buffer (frame-selected-window frame)))))))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
193
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents:
diff changeset
194 ;;; reproduce-bugs.el ends here