[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


In ZWEI in System 79.29, ZMail 40.7, Remote-File 2.0, LMFILE-Remote 5.3,
microcode 849, 60.45Hz, on Lisp Machine Four:

Using the System key (or Terminal-S or the system menu's Select)
to switch between ZMACS and CONVERSE or ZMAIL, the buffer's
*FILL-COLUMN* is not being reset properly.  For example, in a
plain system (no init file), do:

(defun TEXT-MODE-HOOK ()
  (setq zwei:*fill-column* (* 65. 8.)))

(defun LISP-MODE-HOOK ()
  (setq zwei:*fill-column* (* 90. 8.)))

(setq zwei:text-mode-hook 'text-mode-hook
      zwei:lisp-mode-hook 'lisp-mode-hook)

Now do System-E and Meta-X Lisp Mode.  Fill column is now at 90
columns.  Do System-C to enter CONVERSE, which initially turns on
Text mode (but only on CONVERSE startup I guess), setting fill
column to 65 columns.  System-E back to ZMACS and you'll find
that fill column is 65, not 90, columns.

Still within ZMACS, do M-X Lisp Mode to fix that, and System-C
back to CONVERSE -- now CONVERSE's fill column is wrong, at 90.

It looks like not everything per-buffer is being reset when a
Zwei-based subsystem is selected.  (Though I notice that the Tab
key's binding, for one, is correctly reset.)