all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15265: Emacsclient (Win32) has no "ignore parameter" parameter
       [not found] <87ppsoelbt.fsf@googlemail.com>
@ 2013-09-04 16:07 ` Glenn Morris
  2021-07-15  5:54 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-09-04 16:07 UTC (permalink / raw)
  To: 15265


This report came via an unusual email address (moderators.isc.org), and
so ended up in the wrong package. (Please send bug reports by mail, not
by newsgroup.) Resending so that it appears on the bug-gnu-emacs list:


From: jens.k.loewe@googlemail.com (Jens K. Loewe)
Subject: Emacsclient (Win32) has no "ignore parameter" parameter

Probably this is rather a feature request than a bug report (there is no
gnu.emacs.requests group AFAICS):

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". :-)


[1] http://stackoverflow.com/questions/2984846/set-image-file-execution-options-will-always-open-the-named-exe-file-as-defaul
[2] http://img203.imageshack.us/img203/1294/itu.png





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#15265: Emacsclient (Win32) has no "ignore parameter" parameter
       [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
  1 sibling, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-15  5:54 UTC (permalink / raw)
  To: Jens K. Loewe; +Cc: 15265

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-15  5:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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

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.