GNU bug report logs - #15265
Emacsclient (Win32) has no "ignore parameter" parameter

Previous Next

Package: emacs;

Reported by: jens.k.loewe <at> googlemail.com (Jens K. Loewe)

Date: Wed, 4 Sep 2013 15:55:02 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 15265 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: jens.k.loewe <at> googlemail.com (Jens K. Loewe)
Cc: 15265 <at> debbugs.gnu.org
Subject: Re: bug#15265: Emacsclient (Win32) has no "ignore parameter" parameter
Date: Thu, 15 Jul 2021 07:54:51 +0200
jens.k.loewe <at> googlemail.com (Jens K. Loewe) writes:

> I would like to replace notepad.exe calls on Windows with emacsclientw
> calls. A common workaround for that is to use the "Debugger" registry
> entry [1] which sends all calls to notepad.exe to a "debugger" process -
> usually another text editor.
>
> This, however, also sends a "notepad.exe" parameter to the given client,
> so if I define the notepad.exe debugger as "emacsclientw -na
> runemacs.exe", it opens notepad.exe (as text) in Emacs.
>
> GVim, for example, just ignores that parameter, other text editors like
> Notepad2 and AkelPad use a "/z" parameter, meaning "ignore the next
> parameter", for that. In emacsclientw, my chosen workaround is to add
> the "-F" parameter. [2] This is a dirty solution but it somehow works.
>
> So my feature request is: Add a parameter to emacsclientw which means
> "ignore the following parameter". :-)

(I'm going through old bug reports that unfortunately got little response at
the time.)

I think that this sounds like too specialised behaviour to warrant
adding a new parameter to emacsclient.  It should be trivial to write a
wrapper script that does exactly what you want here (i.e., just call
emacsclient without the first parameter).

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.