unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* call-process xwininfo's problem
@ 2021-04-22  2:49 tumashu
  2021-04-22  4:54 ` Jean Louis
  0 siblings, 1 reply; 3+ messages in thread
From: tumashu @ 2021-04-22  2:49 UTC (permalink / raw)
  To: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

Hello:


How to let below work?

   

     (call-process "xwininfo" nil t nil (format "-display %s -id %s" (frame-parameter nil 'display) (frame-parameter nil 'window-id)))


thanks!

[-- Attachment #2: Type: text/html, Size: 513 bytes --]

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

* Re: call-process xwininfo's problem
  2021-04-22  2:49 call-process xwininfo's problem tumashu
@ 2021-04-22  4:54 ` Jean Louis
  2021-04-22  5:35   ` tumashu
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Louis @ 2021-04-22  4:54 UTC (permalink / raw)
  To: tumashu; +Cc: emacs-devel@gnu.org

* tumashu <tumashu@163.com> [2021-04-22 05:50]:
> How to let below work?
> 

Like this:

(call-process "xwininfo" nil t nil "-display" (frame-parameter nil 'display) "-id" (frame-parameter nil 'window-id)))



-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




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

* Re:Re: call-process xwininfo's problem
  2021-04-22  4:54 ` Jean Louis
@ 2021-04-22  5:35   ` tumashu
  0 siblings, 0 replies; 3+ messages in thread
From: tumashu @ 2021-04-22  5:35 UTC (permalink / raw)
  To: Jean Louis; +Cc: emacs-devel@gnu.org

>
>(call-process "xwininfo" nil t nil "-display" (frame-parameter nil 'display) "-id" (frame-parameter nil 'window-id)))

works well, thanks!

>
>
>
>-- 
>Jean
>

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

end of thread, other threads:[~2021-04-22  5:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22  2:49 call-process xwininfo's problem tumashu
2021-04-22  4:54 ` Jean Louis
2021-04-22  5:35   ` tumashu

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).