unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to force emacs to start in graphics mode?
@ 2006-07-26 20:07 Anton V. Belyaev
  2006-07-26 21:29 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Anton V. Belyaev @ 2006-07-26 20:07 UTC (permalink / raw)


I've build a CVS version of emacs

Here is the config:
./configure --with-x-toolkit=gtk --with-xft=yes
--prefix=/home/anton/local/

But when I'm trying to run ~/local/bin/emacs it starts in text mode in
the console.

Is there any way to force emacs use graphics mode?
Or to find out what it lacks to use graphics?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to force emacs to start in graphics mode?
  2006-07-26 20:07 How to force emacs to start in graphics mode? Anton V. Belyaev
@ 2006-07-26 21:29 ` Peter Dyballa
       [not found] ` <mailman.4515.1153949392.9609.help-gnu-emacs@gnu.org>
  2006-07-27  7:58 ` Reiner Steib
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2006-07-26 21:29 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 26.07.2006 um 22:07 schrieb Anton V. Belyaev:

> But when I'm trying to run ~/local/bin/emacs it starts in text mode in
> the console.
>
> Is there any way to force emacs use graphics mode?

Could you launch X11 and set the DISPLAY environment variable in the  
shell from which you try to launch GNU Emacs? Alternatively you can  
tell GNU Emacs via -d a particular display to show up.

--
Greetings

   Pete

There is no worse tyranny than to force a man to pay for what he does  
not want merely because you think it would be good for him.
                                            -- Robert Heinlein

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to force emacs to start in graphics mode?
       [not found] ` <mailman.4515.1153949392.9609.help-gnu-emacs@gnu.org>
@ 2006-07-27  5:49   ` Anton V. Belyaev
  2006-07-27  8:28     ` Peter Dyballa
  0 siblings, 1 reply; 5+ messages in thread
From: Anton V. Belyaev @ 2006-07-27  5:49 UTC (permalink / raw)


I dont think it is really needed:

the old emacs 21, which resides at usr/bin, starts from the
same console in graphics mode.

Peter Dyballa wrote:
> Am 26.07.2006 um 22:07 schrieb Anton V. Belyaev:
>
> > But when I'm trying to run ~/local/bin/emacs it starts in text mode in
> > the console.
> >
> > Is there any way to force emacs use graphics mode?
>
> Could you launch X11 and set the DISPLAY environment variable in the
> shell from which you try to launch GNU Emacs? Alternatively you can
> tell GNU Emacs via -d a particular display to show up.
>
> --
> Greetings
>
>    Pete
>
> There is no worse tyranny than to force a man to pay for what he does
> not want merely because you think it would be good for him.
>                                             -- Robert Heinlein

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to force emacs to start in graphics mode?
  2006-07-26 20:07 How to force emacs to start in graphics mode? Anton V. Belyaev
  2006-07-26 21:29 ` Peter Dyballa
       [not found] ` <mailman.4515.1153949392.9609.help-gnu-emacs@gnu.org>
@ 2006-07-27  7:58 ` Reiner Steib
  2 siblings, 0 replies; 5+ messages in thread
From: Reiner Steib @ 2006-07-27  7:58 UTC (permalink / raw)


On Wed, Jul 26 2006, Anton V. Belyaev wrote:

> I've build a CVS version of emacs

,----[ INSTALL.CVS ]
| Questions, requests, and bug reports about the CVS versions of Emacs
| should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help
| or gnu.emacs.bug.  Ideally, use M-x report-emacs-bug RET which will
| send it to the proper place.
`----

> Here is the config:
> ./configure --with-x-toolkit=gtk --with-xft=yes
> --prefix=/home/anton/local/
>
> But when I'm trying to run ~/local/bin/emacs it starts in text mode in
> the console.
>
> Is there any way to force emacs use graphics mode?
> Or to find out what it lacks to use graphics?

Look at the configure output.  My crystal ball says that it couldn't
locate the X11 (and GTK?) development libraries and therefore your
emacs was compiled without X11 support.

,----[ INSTALL ]
| * GNU/Linux development packages
| 
| Many GNU/Linux systems do not come with development packages by
| default; they just include the files that you need to run Emacs, but
| not those you need to compile it.  For example, to compile Emacs with
| X11 support, you may need to install the special `X11 development'
| package.  For example, in April 2003, the package names to install
| were `XFree86-devel' and `Xaw3d-devel' on RedHat.  On Debian, the
| packages necessary to build the installed version should be
| sufficient; they can be installed using `apt-get build-dep emacs21' in
| Debian 3 and above.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to force emacs to start in graphics mode?
  2006-07-27  5:49   ` Anton V. Belyaev
@ 2006-07-27  8:28     ` Peter Dyballa
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2006-07-27  8:28 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 27.07.2006 um 07:49 schrieb Anton V. Belyaev:

> the old emacs 21, which resides at usr/bin, starts from the
> same console in graphics mode.

Then you should check which libraries both emacs executables are  
using (nm can do that). It might be easier to check the output from  
the configure step whether X11 could be determined at all. (Therefore  
*I* am configuring in a shell inside GNU Emacs.)

Since you mentioned in your first eMail that you were compiling with  
GTK you should watch what your CPU is doing: there are GTK  
applications that use fontconfig, for example an xterm. Such an  
application can decide that it's not the right moment now to become  
visible and starts to rebuild fonts cache files -- it can take many  
minutes, 15 or 20 or 30 ...

The next is the use of the xft interface -- I think it's  
experimental, and so this list is not the right one to discuss  
problems with it. Somewhere inside this distribution you'll find some  
hints which list is right, hopefully.

--
Greetings

   Pete


"Evolution"            o           __o                     _o _
           °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-27  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-26 20:07 How to force emacs to start in graphics mode? Anton V. Belyaev
2006-07-26 21:29 ` Peter Dyballa
     [not found] ` <mailman.4515.1153949392.9609.help-gnu-emacs@gnu.org>
2006-07-27  5:49   ` Anton V. Belyaev
2006-07-27  8:28     ` Peter Dyballa
2006-07-27  7:58 ` Reiner Steib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).