From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Riza Dindir Newsgroups: gmane.emacs.help Subject: suspend-emacs command Date: Sat, 7 Sep 2024 12:16:22 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40439"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 08 08:45:31 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1snBfu-000ALD-Pu for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Sep 2024 08:45:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snBfD-0006wj-P4; Sun, 08 Sep 2024 02:44:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smrZ0-0002Xk-F7 for help-gnu-emacs@gnu.org; Sat, 07 Sep 2024 05:17:04 -0400 Original-Received: from mail-oa1-x2e.google.com ([2001:4860:4864:20::2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smrYy-0002S7-RO for help-gnu-emacs@gnu.org; Sat, 07 Sep 2024 05:17:02 -0400 Original-Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-277dd69d6d6so2182368fac.0 for ; Sat, 07 Sep 2024 02:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725700619; x=1726305419; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=hfIuJ0GuPqY1Lq2Dn10iWAw+crnFPu35KNT0TSIwSMs=; b=hnDgiap1xJHQ7ucDKqPtMljNMWZyDuc/2UucxK02LUt1tf1Va45ATPgg1MgtwlbIZn LC5kHYvtXRFaOrGsTuUM9GXPquqk1KpAzMW5bn+eEOGKy2fO470NOE+9D4+kpPk4L4JZ Cwl7w+ViEh2FY8ISiBtg981Oq/vo+8SYFR0QJU4v5VKZ4jMa1WDoczbx5/+BScfdu65p lf1bX0207Xddc9F2PvzEDrT0cLzLJf7GYlhuj4I68ZskYzPPXupZfmekH5R4Jinim/LC UlYlvWJai/qe4LcxniQR5R86oSL/vpEHESwKFOjhO6xdwbhvkt41+z5KUjT1/wk3x0Ak HMpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725700619; x=1726305419; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hfIuJ0GuPqY1Lq2Dn10iWAw+crnFPu35KNT0TSIwSMs=; b=aha/TmfcqFNixdGuoRtzAJIpJKSAH9CaN3IeBkiVEGzzEyEt4c1pT9lOVblw7zx6E0 MUioJzygtFYoLbUWHKReAsmui+Dr3bip60Lbx9mO1kkuGBl4N0bWOK7q6CV/X3rpKuDf 8hXIyObG5GGQPSwIZ+1HhzBySKX1FNjFr/qCDSDDpVVoLj4LIcuCLKJiQOU8S1foiVuu lNBbrnkynM49kG/qwFtkE/ZwRXkudLPalvbv81FgSmEEFhjaZUe/MbMf9bVKIdbwXmnM p8HuMdwTpIXYaTQidaOULk1Qj4RpOnyJUgKj5wgrW0omFVzu+MuhYLEt3MWv4wmx6mE6 169A== X-Gm-Message-State: AOJu0YwOdJCJIatneBJ/MmRnbd02d+/K8KohmirpFnUEYs2p9+iRDMCo KdlmXMuMA4ZeyA+D6ZzNVXvVS+JOrU/mvNS+MnpiC0nMY9ckQ9Q8GCB6nV7XXIrNAIHRqJ5LAhV 9FUfTPDt2Rk10q94HXcfzVBmFhkNc4YI/Tv4= X-Google-Smtp-Source: AGHT+IFc48mv36LZQ1bAZY14jFhgU7XWnumm6h3FiZK8WFtSOfaSx+nKm13wLOyMgvezmajWYifBKLCVmjjT+x6e1Sg= X-Received: by 2002:a05:6870:158a:b0:260:25ef:c5a0 with SMTP id 586e51a60fabf-27b82417c52mr2410860fac.5.1725700618735; Sat, 07 Sep 2024 02:16:58 -0700 (PDT) Received-SPF: pass client-ip=2001:4860:4864:20::2e; envelope-from=riza.dindir@gmail.com; helo=mail-oa1-x2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 08 Sep 2024 02:44:46 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147938 Archived-At: Hello. I am running emacs 29.4. I am new to emacs. And I am running emacs using the -nw parameter in the xterm terminal. I wanted to run the example in https://www.gnu.org/software/emacs/manual/html_node/elisp/Suspending-Emacs.html. Have created the suspend-resume-hook as in the example. When I do an M-: and enter the sexp (suspend-emacs "pwd"), I do not see the working directory printed. The hook is written directly to my .emacs.d/init.el file. I am experimenting with emacs. I get the hook to print "Resumed!" though. I also tried running some other command in M-: (suspend-emacs "bash -c echo '111'"). This also does not print anything. Regards