all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: find lulu <tpeplt@gmail.com>, 890@emacsbugs.donarmstrong.com
Subject: bug#890: Problem using `etc/emacs.bash' with EmacsW32
Date: Sat, 06 Sep 2008 14:53:26 +0200	[thread overview]
Message-ID: <48C27D46.6010407@gmail.com> (raw)
In-Reply-To: <6bb3db200809050839l4e90bd50q80eefe4938144df5@mail.gmail.com>

find lulu wrote:
>>>/ I am attempting to use the shell script `emacs.bash' that is provided/
>>
>> Could you explain why you don't ust use emacsclient directly (together
>> with its -a argument)?
> 
> 
> Your question prompts the question "Why does `etc/emacs.bash' exist at all?"
> 
> The reason for `emacs.bash' to exist is to provide a single, consistent
> command for editing a file from the bash shell prompt, namely, 'edit'.
> 
> 
> It is certainly possible to use alternatives to avoid the problems described,
> but if `etc/emacs.bash' is to be included in the Emacs distribution then it
> should work for that distribution.
> 
> In brief, here are the two problems restated (for EmacsW32):
> 
> 
> 1. `etc/emacs.bash' does not check for the file `~/.emacs.d/server/server'
>    that is created when `server-start' is invoked from EmacsW32.  As a result,
>    `emacsclient' is not invoked by the shell function `edit' that is created
> 
>    when `etc/emacs.bash' is sourced.
> 
> 2. When `server-start' (in `lisp/server.el') is invoked during the Emacs
>    shutdown process, it does not remove the file `~/.emacs.d/server/server'
>    that it created when it was initially invoked.  Consequently, additional
> 
>    calls to the shell function 'edit' do not work properly -- namely, `edit'
>    should invoke `emacs' instead of `emacsclient' when there is no instance
>    of the emacs's server running.
> 
> 
> These problems should be fixed so that `edit' works for EmacsW32 as it does
> for Emacs on other platforms.  Some possible fixes were suggested in the
> original problem report.

Is there anything here that is specific to Emacs+EmacsW32?






  reply	other threads:[~2008-09-06 12:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-05 15:39 bug#890: Problem using `etc/emacs.bash' with EmacsW32 find lulu
2008-09-06 12:53 ` Lennart Borgman (gmail) [this message]
2008-09-06 19:41 ` Stefan Monnier
2008-09-06 20:11   ` Lennart Borgman (gmail)
2008-09-06 20:33     ` Juanma Barranquero
2008-09-06 21:46       ` Lennart Borgman (gmail)
2008-09-06 22:06         ` Juanma Barranquero
2011-03-03  6:45           ` Glenn Morris
2008-09-06 21:20   ` martin rudalics
2008-09-07  4:03     ` find lulu
2008-09-07  9:37       ` martin rudalics
2008-09-07 22:01   ` find lulu
  -- strict thread matches above, loose matches on Subject: below --
2008-09-04 19:55 Anonymous Sender
2008-09-05  3:55 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C27D46.6010407@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=890@emacsbugs.donarmstrong.com \
    --cc=tpeplt@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.