From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Subject: Call for testers for GNU Hyperbole 5.12, a large, useful Emacs package Date: Wed, 15 Jun 2016 17:50:28 +0300 Message-ID: <838ty6ecaz.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1466002197 28082 80.91.229.3 (15 Jun 2016 14:49:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2016 14:49:57 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rswgnu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 15 16:49:50 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bDC8b-0001Gq-Bc for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2016 16:49:49 +0200 Original-Received: from localhost ([::1]:42654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDC8a-0002vr-GA for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2016 10:49:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDC8R-0002va-5l for emacs-devel@gnu.org; Wed, 15 Jun 2016 10:49:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDC8L-00031x-GD for emacs-devel@gnu.org; Wed, 15 Jun 2016 10:49:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDC8L-00031f-Cl; Wed, 15 Jun 2016 10:49:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1610 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bDC8J-00029T-I3; Wed, 15 Jun 2016 10:49:31 -0400 In-reply-to: (message from Robert Weiner on Wed, 15 Jun 2016 00:32:55 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204390 Archived-At: > From: Robert Weiner > Date: Wed, 15 Jun 2016 00:32:55 -0400 > Cc: emacs-devel > > > (require 'package) > > (setq package-check-signature nil > > package-enable-at-startup nil) ;; Prevent double loading of libraries > > (add-to-list 'package-archives '("RSW-Packages" > > . "http://www.plasmas.biz/rswe/") t) > > (package-initialize) > > (unless (package-installed-p 'hyperbole) > > (if (not (display-graphic-p)) > > ;; Installation of Hyperbole requires a non-dumb terminal > > ;; instance of Emacs, i.e. under a window system. > > (progn (message "(Hyperbole): Run Emacs under a window system to install Hyperbole") > > (beep) > > (sit-for 4)) > > (package-refresh-contents) > > (package-install 'hyperbole))) > > Yuck! > > As I was saying...:) Yes, I dislike this too. It is just temporary but most of it is just to ensure people have > package set up correctly. > Really, you should be able to just set an archive path and then call package-install and the right things should > happen but that is not the case presently. > > There's gotta be a better way. > > We are open to suggestions. Why do you need that? IOW, what doesn't work on a TTY frame? I don't expect to see any real problems, since in a modern Emacs version most features "just work" on TTY frames. Colors, menus, dialogs, mouse, everything. There could be some old code you have that fails because it uses low-level or obsolescent APIs, but that's about all I'd expect. So please tell why you needed to enforce display-graphic-p.