all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: jens.k.loewe@googlemail.com (Jens K. Loewe)
Cc: 15265@debbugs.gnu.org
Subject: bug#15265: Emacsclient (Win32) has no "ignore parameter" parameter
Date: Thu, 15 Jul 2021 07:54:51 +0200	[thread overview]
Message-ID: <87czrkp1ec.fsf@gnus.org> (raw)
In-Reply-To: <87ppsoelbt.fsf@googlemail.com> (Jens K. Loewe's message of "Wed,  04 Sep 2013 16:02:46 +0200")

jens.k.loewe@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





      parent reply	other threads:[~2021-07-15  5:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ppsoelbt.fsf@googlemail.com>
2013-09-04 16:07 ` bug#15265: Emacsclient (Win32) has no "ignore parameter" parameter Glenn Morris
2021-07-15  5:54 ` Lars Ingebrigtsen [this message]

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=87czrkp1ec.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=15265@debbugs.gnu.org \
    --cc=jens.k.loewe@googlemail.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.