Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
bug#4888: 23.1.50; emacsclient vs. daemon
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Tury  
View profile  
 More options Nov 8, 9:22 am
Newsgroups: gnu.emacs.bug
From: Peter Tury <tury.pe...@gmail.com>
Date: Sun, 8 Nov 2009 15:22:16 +0100
Local: Sun, Nov 8 2009 9:22 am
Subject: bug#4888: 23.1.50; emacsclient vs. daemon
Hi,

I found some issues while playing around emacs --daemon.

Here are the first ones.

1.
In (info "(emacs) emacsclient Options") I see:

'As a special exception, if COMMAND is the empty string, then
`emacsclient' starts Emacs in daemon mode and then tries
connecting again.'

This is not really true: as -a has a mandatory, non-empty COMMAND,
it is impossible to call emacsclient this way from command line.

The special exception mentioned above works only if alternate_editor
environment variable is set to empty string.

My suggestion is to
- either change emacsclient.c to accept -a with empty string as COMMAND
or
- state explicitly in Info and in emacsclient.c's help text the way it
really works.

2.
On the same Info page an example is given this way:
'EDITOR="emacsclient --alternate-editor emacs +%d %s"'
I think it should be:
'EDITOR="emacsclient --alternate-editor=emacs +%d %s"'

Thanks anyway,P

----------

In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-08 on transcend-160
Windowing system distributor `The X.Org Foundation', version 11.0.10604000


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan Monnier  
View profile  
 More options Nov 8, 11:41 am
Newsgroups: gnu.emacs.bug
From: Stefan Monnier <monn...@iro.umontreal.ca>
Date: Sun, 08 Nov 2009 11:41:33 -0500
Local: Sun, Nov 8 2009 11:41 am
Subject: bug#4888: 23.1.50; emacsclient vs. daemon

> 'As a special exception, if COMMAND is the empty string, then
> `emacsclient' starts Emacs in daemon mode and then tries
> connecting again.'
> This is not really true: as -a has a mandatory, non-empty COMMAND,
> it is impossible to call emacsclient this way from command line.

This is not true, it shoujld also work if you do

   emacsclient -a '' <blablabla>
or
   emacsclient --alternate-editor '' ...
or
   emacsclient --alternate-editor= ...

> On the same Info page an example is given this way:
> 'EDITOR="emacsclient --alternate-editor emacs +%d %s"'
> I think it should be:
> 'EDITOR="emacsclient --alternate-editor=emacs +%d %s"'

Either way should work,

        Stefan


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google