emacs-devel
[Top][All Lists]
Advanced

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

Re: Subject: Call for testers for GNU Hyperbole 5.12, a large, useful Em


From: Eli Zaretskii
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

> From: Robert Weiner <address@hidden>
> Date: Wed, 15 Jun 2016 00:32:55 -0400
> Cc: emacs-devel <address@hidden>
> 
>  > (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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]