Re: Emacsclient bug in sid

2023-09-04 Thread Michel Verdier
hing, I would use the emacsclient command in the terminal. >> `emacsclient -c -a ""` somehow does the work, but it occupies the terminal >> until the new emacsclient frame is killed, and that is the reason why I >> added the `-n` flag. > > An emacs daemon is now provided by d

Re: Emacsclient bug in sid

2023-09-04 Thread Dominique Dumont
On Friday, 1 September 2023 04:37:37 CEST Wang Yizhen wrote: > Whenever I finished editing, I would delete the frame while keeping the > emacs running as daemon in the background. And next time when I wish to > edit anything, I would use the emacsclient command in the terminal. > `em

Re: Emacsclient bug in sid

2023-09-01 Thread Michel Verdier
On 2023-08-31, Charles Curley wrote: > You need an emacs process running in order to use emacsclient. It need > not be a daemon. -a="" will launch a daemon process if there isn't a > process already running, daemon or otherwise. emacs is enough if you put start-server in

Re: Emacsclient bug in sid

2023-08-31 Thread John Hasler
> I would use the emacsclient command in the terminal. `emacsclient -c > -a ""` somehow does the work, but it occupies the terminal until the > new emacsclient frame is killed, Try emacsclient -c -a "" & -- John Hasler j...@sugarbit.com Elmwood, WI USA

Re: Emacsclient bug in sid

2023-08-31 Thread Wang Yizhen
> > After upgraded to emacs 29.1+1-5, I found that the emacsclient > > command is not working. More specifically, the following command > > hangs emacs in daemon forever and no emacs frame pops up: > > > > > > ``` > > > > emacsclient -c -a "&

Re: Emacsclient bug in sid

2023-08-31 Thread Wang Yizhen
> After upgraded to emacs 29.1+1-5, I found that the emacsclient > command is not working. More specifically, the following command > hangs emacs in daemon forever and no emacs frame pops up: > > > ``` > > emacsclient -c -a "" -n > > ``` What exactly

Re: Emacsclient bug in sid

2023-08-31 Thread Max Nikulin
On 01/09/2023 00:10, Wang Yizhen wrote: emacsclient -c -a "" -n Instead of --alternate-editor= I would consider socket activation by systemd user session. It ensures that emacs server process is started in controlled environment that does not depend on caller process. You may

Re: Emacsclient bug in sid

2023-08-31 Thread Charles Curley
On Thu, 31 Aug 2023 23:59:11 +0200 Michel Verdier wrote: > According to your link and what I do myself I think you need to have a > daemon running. And emacsclient -a="" launches it if it's missing. You need an emacs process running in order to use emacsclient. It nee

Re: Emacsclient bug in sid

2023-08-31 Thread Michel Verdier
On 2023-08-31, Charles Curley wrote: > Having set up to use emacsclient, you (or more likely, programs > you use such as a mail reader) can then call emacsclient so you can then > edit files from that program in emacs. If you do it that way, you don't > get (or need) an ins

Re: Emacsclient bug in sid

2023-08-31 Thread Cindy Sue Causey
On 8/31/23, Wang Yizhen wrote: > > I recently noticed a bug for the emacs package in sid. I have not > reported a bug before, so I wrote this email to seek for help. > > After upgraded to emacs 29.1+1-5, I found that the emacsclient command > is not working. More specifica

Re: Emacsclient bug in sid

2023-08-31 Thread Charles Curley
On Fri, 1 Sep 2023 01:10:46 +0800 Wang Yizhen wrote: > After upgraded to emacs 29.1+1-5, I found that the emacsclient > command is not working. More specifically, the following command > hangs emacs in daemon forever and no emacs frame pops up: > > > ``` > >

Re: Emacsclient bug in sid

2023-08-31 Thread Michael Kjörling
On 1 Sep 2023 01:10 +0800, from wang1zhe...@gmail.com (Wang Yizhen): > I recently noticed a bug for the emacs package in sid. I have not reported a > bug before, so I wrote this email to seek for help. See https://www.debian.org/Bugs/ for information on the Debian bug tracking process, including t

Emacsclient bug in sid

2023-08-31 Thread Wang Yizhen
Dear Debian-user group: I recently noticed a bug for the emacs package in sid. I have not reported a bug before, so I wrote this email to seek for help. After upgraded to emacs 29.1+1-5, I found that the emacsclient command is not working. More specifically, the following command hangs

Re: Emacsclient problem after upgrade

2012-04-02 Thread Johann Spies
On Mon, Apr 02, 2012 at 11:41:10AM +0200, Johann Spies wrote: > I will try out the ubuntu patch. I tried building a new package using the Ubuntu sources, but that did not solve the problem. Installing the Ubuntu package directly, solved it however. Regards Johann -- Johann Spies

Re: Emacsclient problem after upgrade

2012-04-02 Thread Johann Spies
On Mon, Apr 02, 2012 at 10:43:52AM +0200, Vincent Lefevre wrote: > After upgrading what? A Debian/unstable machine? Yes. > If this is the case > and libglib2.0-0 was upgraded, you might be affected by the following > bug: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=91 > Thanks f

Re: Emacsclient problem after upgrade

2012-04-02 Thread Vincent Lefevre
After upgrading what? A Debian/unstable machine? If this is the case and libglib2.0-0 was upgraded, you might be affected by the following bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=91 (note that I wasn't using emacsclient, just emacs). -- Vincent Lefèvre - Web:

Emacsclient problem after upgrade

2012-04-02 Thread Johann Spies
he daemon is running and if I try to run emacsclient -nw nothing happens. I saw that a file was created in /tmp/emacs1000/server When I try 'emacsclient -c -f /tmp/emacs1000' I get 'emacsclient: invalid configuration info' and when I try 'emacsclient -c -f /tmp/emacs

Re: emacs -nw and emacsclient

2003-11-24 Thread Cristian Gutierrez
Alex Malinovich <[EMAIL PROTECTED]> writes: >Now if what you want is to run a REMOTE emacsclient and have it connect >to a LOCAL instance of emacs using X forwarding, I don't think it can >be done. The X forwarding only forwards the DISPLAY. The PROCESS >continues to ru

Re: scripting gnuclient and emacs for mutt [ was: emacsclient -nw]

2003-11-21 Thread Matt Price
On Thu, Nov 20, 2003 at 10:56:01AM -0600, Lucas Bergman wrote: > Matt Price <[EMAIL PROTECTED]> writes: > > > David Z Maze wrote: > > > > is it possible in bash to test whether a comand has actually worked? > > The '||' operator does this, like: > > #!/bin/sh > gnuclient "$@" || xemacs -noma

Re: scripting gnuclient and emacs for mutt [ was: emacsclient -nw]

2003-11-20 Thread Lucas Bergman
Matt Price <[EMAIL PROTECTED]> writes: > David Z Maze wrote: > > > See earlier commentary about XEmacs; gnuclient(1) is the XEmacs > > equivalent to emacsclient, and it does claim to support a -nw > > option. I could see things being unhappy if you set $EDITOR to

Re: scripting gnuclient and emacs for mutt [ was: emacsclient -nw]

2003-11-20 Thread Matt Price
On Thu, Nov 20, 2003 at 04:29:39PM +, Colin Watson wrote: > On Thu, Nov 20, 2003 at 10:49:45AM -0500, Matt Price wrote: > > is it possible in bash to test whether a comand has actually worked? > > I feel like I've seen such tests, but I tried one and can't make it > > work for me: > > > > #!

Re: scripting gnuclient and emacs for mutt [ was: emacsclient -nw]

2003-11-20 Thread Colin Watson
On Thu, Nov 20, 2003 at 10:49:45AM -0500, Matt Price wrote: > is it possible in bash to test whether a comand has actually worked? > I feel like I've seen such tests, but I tried one and can't make it > work for me: > > #! /bin/bash > if [ 'gnuclient -q $*' ]; then That's definitely wrong: 'gnu

scripting gnuclient and emacs for mutt [ was: emacsclient -nw]

2003-11-20 Thread Matt Price
can run in X or not in X. ('xemacs -nw' works; 'emacs' with $DISPLAY > set will pop up an X window.) Hey, I really hadn't understood this, thanks, this helps! > See earlier commentary about XEmacs; gnuclient(1) is the XEmacs > equivalent to emacsclient, and it d

Re: emacs -nw and emacsclient

2003-11-20 Thread Matt Price
On Wed, Nov 19, 2003 at 01:23:56AM -0600, Alex Malinovich wrote: > On Tue, 2003-11-18 at 22:23, Matt Price wrote: > > That is, I'd like to have something along the lines of > > "emacsclient -nw" as my default editor. But as far as I can tell this > > opti

Re: emacs -nw and emacsclient

2003-11-19 Thread David Z Maze
the various emacsen; xemacs also comes with a lot more bundled packages. It seems like FSF Emacs 21 ('emacs') has feature-crept up to about the same place as XEmacs these days; I generally use XEmacs (when I use any Emacs at all) since that's what's familiar, though my dotfiles d

Re: emacs -nw and emacsclient

2003-11-19 Thread Alex Malinovich
ten write mail via ssh with X forwarding enabled, so if Xemacs > starts up in this situation I'm left with a hofrribly slow editor). > > Everywhere I look it says I should use emacsclient to manage multiple > emacs sessions. And I'd love to, isnce its way fast and it'

emacs -nw and emacsclient

2003-11-18 Thread Matt Price
this situation I'm left with a hofrribly slow editor). Everywhere I look it says I should use emacsclient to manage multiple emacs sessions. And I'd love to, isnce its way fast and it's great to be able to access all my buffers. But I want the textfile or mail to show up in the

Re: emacsclient

2002-06-17 Thread Andras BALI
On 17 Jun 2002, Tiarnan O Corrain wrote: > a question for the emacs-heads on the list: is there any way to get an > emacsclient process to connect to an emacs running on a remote host? I > can't find any answers in the documentation, but I think it should be > possible. T

emacsclient

2002-06-17 Thread Tiarnan O Corrain
Hi debian-users, a question for the emacs-heads on the list: is there any way to get an emacsclient process to connect to an emacs running on a remote host? I can't find any answers in the documentation, but I think it should be possible. Any ideas? -- Tiarnan O Corrain (tiarnan.o&#

Re: gnuclient vs emacsclient

2000-06-30 Thread Ian Zimmerman
a file. Timothy> I could not get gnuclient to work! More information, please? Do you (gnuserv-start) in your .emacs? Timothy> Secondly, How can I bring a file in as readonly from Timothy> emacsclient or gnuclient? With emacsclient, AFAIK there's no way but of course you can make your

gnuclient vs emacsclient

2000-06-30 Thread Timothy C. Phan
Hi, What is the diff between the two? I could not get gnuclient to work! Secondly, How can I bring a file in as readonly from emacsclient or gnuclient? TIA! --- tcp

Re: emacsclient in XEmacs

1998-09-20 Thread Ole J. Tetlie
[EMAIL PROTECTED] (Ole J. Tetlie) | | Does XEmacs (20.4) have any functionality similar to | (server-start)/emacsclient in GNU Emacs? Sorry, I found it. If anyone else wants to know, it's (gnuserv-start) and gnuclient. -- [EMAIL PROTECTED] [-: .elOle. :-] [EMAIL PROTECTED]

emacsclient in XEmacs

1998-09-20 Thread Ole J. Tetlie
Does XEmacs (20.4) have any functionality similar to (server-start)/emacsclient in GNU Emacs? (With this feature you can let external programs open a file in an already running Emacs instead of starting their own. If this doesn't exist I'll throw away any plans of switching.)

Re: emacsclient

1997-07-17 Thread H Huang
On Wed, 16 Jul 1997, Joey Hess wrote: > Hi, emacs semi-newbie here.. > > I want to use emacsclient, so I added this to my .emacs file: > > (load-library "server") > (server-start) > Try using gnuserv/gnuclient. Add the following line to .emacs: (gnuserv-start

emacsclient

1997-07-17 Thread Joey Hess
Hi, emacs semi-newbie here.. I want to use emacsclient, so I added this to my .emacs file: (load-library "server") (server-start) But when emaics loads, it says "Server subprocess exited", and xmacsclient complains that the server isn't running. What do I need to do?