🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99352

cursor-in-echo-area Not Working

#99352
From: Frank P. Bresz
Date: Mon, 01 Oct 1990 19:00
35 lines
1734 bytes
In GNU Emacs 18.55.7 of Tue Jul 31 1990 on ittc (berkeley-unix)

Hello,
	The variable in the subject line doesn't seem to be working when I
am running an X version of emacs although it works just fine when I run
under a std terminal.  I have the following function which works great on a
regular terminal i.e. xterm on another machine yet when I run Xemacs it
doesn't seem to work properly.

	P.S.  The function is a gross disgusting hack (I know) but it does
what I want.

(defun sccs-y-or-n-p (arg)
  (let ((cursor-in-echo-area t)
	(ans)
	(res))
    (message (concat arg " (y or n) "))
    (while (not (memq ans '(?\177 ?  ?n ?N ?Y ?y)))
      (setq ans (read-char))
      (setq res
	    (if (memq ans '(?\177 ?n))
		nil
	      (if (= ?N ans)
		  (progn
		    (sccs-off)
		    nil)
		(if (memq ans '(?  ?y ?Y))
		    t)))))
  res))

| ()  ()  () | Frank P. Bresz   | Westinghouse Electric Corporation
|  \  /\  /  | fpb@ittc.wec.com | ITTC Simulators Department
|   \/  \/   | uunet!ittc!fpb   | Those who can, do. Those who can't, simulate.
| ---------- | (412)733-6749    | My opinions are mine, WEC don't want 'em.
Technical Details
Message-ID: <9010011900.AA14079@ittc.wec.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ittc.wec.com!fpb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,8584b3bb2603e157,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-10-01 17:15:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ittc.wec.com!fpb
From: fpb@ittc.wec.com (Frank P. Bresz)
Newsgroups: gnu.emacs.bug
Subject: cursor-in-echo-area Not Working
Message-ID: <9010011900.AA14079@ittc.wec.com>
Date: 1 Oct 90 19:00:39 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Westinghouse, ITTC, Pgh, PA.
Lines: 35
Posted: Mon Oct  1 20:00:39 1990