From nexus.sorostm.ro!done@nexus.sorostm.ro  Sat Oct 12 06:53:13 1996
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[nil "Sat" "12" "October" "1996" "15:46:52" "+0200" "Dan Nicolaescu" "done@nexus.sorostm.ro" "<ABiNt8sWQH@nexus.sorostm.ro>" "41" "redisplay?? or menu bug in emacs-19.34" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from mailer.sorostm.ro (mailer.sorostm.ro [193.226.98.3]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id GAA12311 for <voelker@cs.washington.edu>; Sat, 12 Oct 1996 06:53:08 -0700
Received: from nexus.UUCP (uucp@localhost) by mailer.sorostm.ro (8.6.11/8.6.11) with UUCP id PAA27441 for voelker@cs.washington.edu; Sat, 12 Oct 1996 15:49:26 +0200
Received: by nexus.sorostm.ro (dMail for Windows v1.2b3, 29Mar96);           Sat, 12 Oct 1996 15:46:52 +0200
References: <199608301937.MAA41785@joker.cs.washington.edu>
Organization: softNRG
Message-Id: <ABiNt8sWQH@nexus.sorostm.ro>
X-Mailer: dMail [Demos Mail for Windows v1.2b3]
Lines: 41
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: x-uuencode
From: done@nexus.sorostm.ro (Dan Nicolaescu)
To: voelker@cs.washington.edu
Subject: redisplay?? or menu bug in emacs-19.34
Date: Sat, 12 Oct 1996 15:46:52 +0200 (GMT)

Hi Geoff!

Here is the problem:
emacs-version "GNU Emacs 19.34.1 (i386-*-win954.0) of Tue Aug 27 1996 on DONE"

_______bug.el_______________
(defun my-truncate ()
  (interactive)
  (setq truncate-lines (not truncate-lines))
  (auto-show-mode (if truncate-lines 1 -1))
  )

(defun my-truncate-hook ()
   (define-key c++-mode-map [menu-bar c my-truncate]
     '("Toggle tuncate" . my-truncate))
   (remove-hook 'c-mode-common-hook 'ins-uncomment-c-hook))

(add-hook 'c-mode-common-hook 'my-truncate-hook)
_________end of bug.el_______________________

Do:
emacs -no-site-file -no-init-file -load bug.el

C-x C-f A_C++_FILE_with_long_lines.cpp

With the mouse select the "Toggle truncate" menu item from the C++ menu entry.

At first nothing happens, but if you press C-v then the buffer is redisplayed correctly
(ie the lines are truncated)

Note that if you do M-x my-truncate RET the buffer is imediately displayed correctly.

I have sent you a bug report at the end of August about another bug menus, related
with Simon Marshall's lazy-lock and flashparen.el, did you do anything about that?
Or should I send it again?

Best wishes,

	Dan



