From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lorentey@elte.hu (=?iso-8859-2?Q?L=F5rentey_K=E1roly?=) Newsgroups: gmane.emacs.devel,gmane.emacs.multi-tty Subject: Viper face support on ttys? (Re: viper-color-defined-p) Date: Sun, 11 Jul 2004 00:50:22 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87hdt7ale1.fsf@t.email.ne.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1089508429 795 80.91.224.253 (11 Jul 2004 01:13:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jul 2004 01:13:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jul 11 03:13:40 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BjSuS-0003DI-00 for ; Sun, 11 Jul 2004 03:13:40 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BjSuR-0005ht-00 for ; Sun, 11 Jul 2004 03:13:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjSwg-0004At-Un for emacs-devel@quimby.gnus.org; Sat, 10 Jul 2004 21:15:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BjSwX-0004Am-BQ for emacs-devel@gnu.org; Sat, 10 Jul 2004 21:15:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BjSwV-0004Aa-Lo for emacs-devel@gnu.org; Sat, 10 Jul 2004 21:15:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjSwV-0004AX-Ht for emacs-devel@gnu.org; Sat, 10 Jul 2004 21:15:47 -0400 Original-Received: from [157.181.1.137] (helo=mx1.elte.hu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BjSu3-0007xa-KM for emacs-devel@gnu.org; Sat, 10 Jul 2004 21:13:15 -0400 Original-Received: from mailbox1.caesar.elte.hu (mailbox1.caesar.elte.hu [157.181.151.157]) by mx1.elte.hu (Postfix) with ESMTP id 7C613D54B0; Sun, 11 Jul 2004 03:13:08 +0200 (CEST) Original-Received: from eris (line-70-210.dial.freestart.hu [213.197.70.210]) by mailbox1.caesar.elte.hu (Postfix) with ESMTP id 7B991A00E320; Sun, 11 Jul 2004 03:13:07 +0200 (CEST) Original-Received: by eris (Postfix, from userid 1000) id E9FF747D0E; Sun, 11 Jul 2004 00:50:22 +0200 (CEST) Original-To: multi-tty@lists.fnord.hu In-Reply-To: <87hdt7ale1.fsf@t.email.ne.jp> (IRIE Tetsuya's message of "Sat, 19 Jun 2004 19:32:22 +0900") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=2.646, required 5.9, RCVD_IN_DYNABLOCK 2.55, RCVD_IN_SORBS 0.10 X-ELTE-SpamLevel: ss X-ELTE-SpamScore: 2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25570 gmane.emacs.multi-tty:13 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25570 --=-=-= Sorry for the long response time! IRIE Tetsuya writes: > I have problem if using viper. > > 1. emacs -q -nw > 2. M-x server-start > 3. M-x viper-mode > 4. emacsclient -d :0.0& > 5. some action on X frame (e.g. C-xC-f, M-x foo...) > 6. viper-save-cursor-color: Symbol's function definition is void: viper-color-defined-p The error appeared because Viper thinks that Emacs still does not have support for faces on tty devices. I committed the following patch as patch-214, but I think it should also be included in CVS. (The bug is not triggered in CVS, but the patch enables face support there, too.) --=-=-= Content-Type: text/x-patch Content-Disposition: inline *** orig/lisp/emulation/viper-init.el --- mod/lisp/emulation/viper-init.el *************** *** 97,103 **** (defun viper-has-face-support-p () (cond ((viper-window-display-p)) (viper-force-faces) ! (viper-emacs-p (memq (viper-device-type) '(pc))) (viper-xemacs-p (memq (viper-device-type) '(tty pc))))) --- 97,103 ---- (defun viper-has-face-support-p () (cond ((viper-window-display-p)) (viper-force-faces) ! (viper-emacs-p (memq (viper-device-type) '(nil pc))) (viper-xemacs-p (memq (viper-device-type) '(tty pc))))) --=-=-= Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable 2004-07-11 K=E1roly L=F5rentey * lisp/emulation/viper-init.el (viper-has-face-support-p): Acknowledge that Emacs has face support on ttys. --=20 K=E1roly --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--