unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9?
@ 2003-04-05 13:55 D. D. Brierton
  2003-04-05 20:09 ` Jonathan
  0 siblings, 1 reply; 7+ messages in thread
From: D. D. Brierton @ 2003-04-05 13:55 UTC (permalink / raw)


I've just installed Red Hat 9 having been a long time Mandrake user.
Mandrake ship an RPM for gnuserv for GNU Emacs, but Red Hat 9 doesn't have
one. Any suggestions for where I might find one, or is there some new
feature in 21.2.1 that makes it obsolete?

TIA, Darren

-- 
======================================================================
D. D. Brierton            darren@dzr-web.com           www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
======================================================================

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

* Re: gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9?
  2003-04-05 13:55 gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9? D. D. Brierton
@ 2003-04-05 20:09 ` Jonathan
  2003-04-05 20:47   ` D. D. Brierton
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan @ 2003-04-05 20:09 UTC (permalink / raw)


"D. D. Brierton" <darren@dzr-web.com> writes:

> I've just installed Red Hat 9 having been a long time Mandrake user.
> Mandrake ship an RPM for gnuserv for GNU Emacs, but Red Hat 9 doesn't have
> one. Any suggestions for where I might find one, or is there some new
> feature in 21.2.1 that makes it obsolete?
> 
> TIA, Darren

Does it have emacsclient instead?

-- 
Jonathan 

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

* Re: gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9?
  2003-04-05 20:09 ` Jonathan
@ 2003-04-05 20:47   ` D. D. Brierton
  2003-04-05 20:59     ` Jonathan
  0 siblings, 1 reply; 7+ messages in thread
From: D. D. Brierton @ 2003-04-05 20:47 UTC (permalink / raw)


On Sat, 05 Apr 2003 20:09:01 +0000, Jonathan wrote:

> Does it have emacsclient instead?

Ooh ... yes, it does:

    $ rpm -ql emacs | grep emacsclient
    /usr/bin/emacsclient
    /usr/share/emacs/21.2/etc/emacsclient.1

I'm unfamiliar with emacsclient - what does one have to put in ~/.emacs to
get it to work?

    $ emacsclient test.txt
    emacsclient: can't find socket; have you started the server?

(The above tried with an already running emacs.)

Best, Darren

-- 
======================================================================
D. D. Brierton            darren@dzr-web.com           www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
======================================================================

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

* Re: gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9?
  2003-04-05 20:47   ` D. D. Brierton
@ 2003-04-05 20:59     ` Jonathan
  2003-04-05 21:25       ` D. D. Brierton
                         ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jonathan @ 2003-04-05 20:59 UTC (permalink / raw)


"D. D. Brierton" <darren@dzr-web.com> writes:

> On Sat, 05 Apr 2003 20:09:01 +0000, Jonathan wrote:
> 
> > Does it have emacsclient instead?
> 
> Ooh ... yes, it does:
> 
>     $ rpm -ql emacs | grep emacsclient
>     /usr/bin/emacsclient
>     /usr/share/emacs/21.2/etc/emacsclient.1
> 
> I'm unfamiliar with emacsclient - what does one have to put in ~/.emacs to
> get it to work?
> 
>     $ emacsclient test.txt
>     emacsclient: can't find socket; have you started the server?
> 
> (The above tried with an already running emacs.)
> 
> Best, Darren
> 

Just put:

(server-start) 

or from an already running emacs: M-x server-start

Then you can use 'emacsclient' or, as I prefer, 'emacsclient
--nowait'. I don't seem to have a man page on it, but there is some info
on this somewhere in the emacs manual, if I remember correctly.

-- 
Jonathan 

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

* Re: gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9?
  2003-04-05 20:59     ` Jonathan
@ 2003-04-05 21:25       ` D. D. Brierton
  2003-04-06  7:25       ` maierh
  2003-04-06 11:35       ` François Fleuret
  2 siblings, 0 replies; 7+ messages in thread
From: D. D. Brierton @ 2003-04-05 21:25 UTC (permalink / raw)


On Sat, 05 Apr 2003 20:59:00 +0000, Jonathan wrote:

> Just put:
> 
> (server-start)
> 
> or from an already running emacs: M-x server-start
> 
> Then you can use 'emacsclient' or, as I prefer, 'emacsclient --nowait'. I
> don't seem to have a man page on it, but there is some info on this
> somewhere in the emacs manual, if I remember correctly.

That did the trick! Wonderful!

Thanks, Darren

-- 
======================================================================
D. D. Brierton            darren@dzr-web.com           www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
======================================================================

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

* Re: gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9?
  2003-04-05 20:59     ` Jonathan
  2003-04-05 21:25       ` D. D. Brierton
@ 2003-04-06  7:25       ` maierh
  2003-04-06 11:35       ` François Fleuret
  2 siblings, 0 replies; 7+ messages in thread
From: maierh @ 2003-04-06  7:25 UTC (permalink / raw)


Jonathan <js@nomensa.com> writes:

> Then you can use 'emacsclient' or, as I prefer, 'emacsclient
> --nowait'. I don't seem to have a man page on it, but there is some info
> on this somewhere in the emacs manual, if I remember correctly.

Only for clarification, the option is '--no-wait'.
Harald

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

* Re: gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9?
  2003-04-05 20:59     ` Jonathan
  2003-04-05 21:25       ` D. D. Brierton
  2003-04-06  7:25       ` maierh
@ 2003-04-06 11:35       ` François Fleuret
  2 siblings, 0 replies; 7+ messages in thread
From: François Fleuret @ 2003-04-06 11:35 UTC (permalink / raw)


Hi,

js@nomensa.com wrote on 05 Apr 2003 21:59:00 MET:

> "D. D. Brierton" <darren@dzr-web.com> writes:
> > 
> > I'm unfamiliar with emacsclient - what does one have to put in ~/.emacs to
> > get it to work?
> 
> Just put:
> 
> (server-start) 

I like to add also :

(add-hook 'server-switch-hook 'raise-frame)

So that the frame raises automatically when you invoke emacsclient.

Regards,

FF

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

end of thread, other threads:[~2003-04-06 11:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-05 13:55 gnuserv/gnuclient for GNU Emacs 21.2.1 on Red Hat 9? D. D. Brierton
2003-04-05 20:09 ` Jonathan
2003-04-05 20:47   ` D. D. Brierton
2003-04-05 20:59     ` Jonathan
2003-04-05 21:25       ` D. D. Brierton
2003-04-06  7:25       ` maierh
2003-04-06 11:35       ` François Fleuret

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).