From unknown Wed Aug 20 00:02:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#27511 <27511@debbugs.gnu.org> To: bug#27511 <27511@debbugs.gnu.org> Subject: Status: 26.0.50; emacsclient requires file argument Reply-To: bug#27511 <27511@debbugs.gnu.org> Date: Wed, 20 Aug 2025 07:02:50 +0000 retitle 27511 26.0.50; emacsclient requires file argument reassign 27511 emacs submitter 27511 James Nguyen severity 27511 normal tag 27511 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 27 22:04:09 2017 Received: (at submit) by debbugs.gnu.org; 28 Jun 2017 02:04:09 +0000 Received: from localhost ([127.0.0.1]:41362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQ2Ku-0003Bn-L3 for submit@debbugs.gnu.org; Tue, 27 Jun 2017 22:04:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQ2Ks-0003BJ-4t for submit@debbugs.gnu.org; Tue, 27 Jun 2017 22:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQ2Kl-0003k1-7N for submit@debbugs.gnu.org; Tue, 27 Jun 2017 22:04:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQ2Kl-0003jj-3J for submit@debbugs.gnu.org; Tue, 27 Jun 2017 22:03:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQ2Kj-00030H-8V for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 22:03:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQ2Kg-0003bm-0x for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 22:03:57 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40439) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQ2Kf-0003XH-DA for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 22:03:53 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ABB3E20971 for ; Tue, 27 Jun 2017 22:03:51 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 27 Jun 2017 22:03:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=VxX9sLzaLyFZFMWzoFr3Fsmz6B+yEo65fh58fDUVN zI=; b=wJDKwlN3XQ8ThZv90xzVvVtBajcbM9uoWO3Mvs5RkOVRU+lkU09yunx7k W+yGFZiscumXhod2Pl/fnoWMU2wvWt8QwRNVH/Hf2lwyzCrMTWcRRRilVXMy9i8w WykjNa93/wCcE7p3UUzmjvlMkfumnNlHMU2g0xas7WiL5wawWWN9yHFzDZpCjOCu oq9ScTjVtmOTl7FtqxWoQCJxZcymXwvs3MdJXTJ5hPM5GmbatMRRTu6PagV5aqh3 +DC+TThjB+Hb+SSpPm2aSHJej8GMEa364SSl+ChbI1iSY09h3GlCuuoLVqkpcybO I6pRVcgXD/eZMmDjpeG05pZXRV0HQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=VxX9sLzaLyFZFMWzoF r3Fsmz6B+yEo65fh58fDUVNzI=; b=XvdxAcuNYmLqWODpm1FD1yzs69W43PdhfT h2cpEimC8KZ3NH0fWDDfZr/91Wi7vyt9HY2+BXKGpzo5Vki+7fC9oaKa0EgJ+OBi DG+R6/tsSIOFvDZrbKos4V6V5j8K73R0MUMY7mveN71XuSEz0ohoKwimCNCslj8Z /dksgHPIoqoIk180kz2g4BEqtCblFHJCCLz4Y87vrIEPP7ldQJ7EXd00oU9cUAbh aW8Z/7xQzmUWSqSqGx17lbHbdD0fpoOxBf7rXS1z1Ft8rEEqbe5ecqvfsiarQTcS 2DSwK+Z+KOoY8yNSb83hD/+2oPvQu9q6rnHtUd770Y98wGAV4RDw== X-ME-Sender: X-Sasl-enc: zOptGlRMLBhsnHIyTYxdQgMW6CzEAa1GeDdFD3scIuLH 1498615431 Received: from [10.0.1.47] (c-73-231-191-86.hsd1.ca.comcast.net [73.231.191.86]) by mail.messagingengine.com (Postfix) with ESMTPA id 1FDFF7E71B for ; Tue, 27 Jun 2017 22:03:47 -0400 (EDT) From: James Nguyen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: 26.0.50; emacsclient requires file argument Message-Id: Date: Tue, 27 Jun 2017 19:03:45 -0700 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Running emacsclient without specifying a file results in: emacsclient: file name or argument required Try 'emacsclient --help' for more information = https://www.gnu.org/software/emacs/manual/html_node/emacs/Entering-Emacs.h= tml#Entering-Emacs Gives the impression *scratch* should show up instead. (though probably only if running 'emacs' regularly.) In GNU Emacs 26.0.50 (build 4, x86_64-apple-darwin16.5.0, NS = appkit-1504.82 Version 10.12.4 (Build 16E195)) of 2017-06-24 built on jamesretina.local Repository revision: 16d2695674a4c8abbec846c427fe8abef97e07ef Windowing system distributor 'Apple', version 10.3.1504 Recent messages: Setting up indent for shell type zsh Indentation variables are now local. Indentation setup for shell type zsh When done with a buffer, type C-x # Configuring package dired...done Configuring package helm... Configuring package tramp...done Configuring package helm...done (0.457s) Configuring package helm-flx...done Configuring package helm-fuzzier...done Configured using: 'configure --with-ns' Configured features: JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell-script Minor modes in effect: helm-fuzzier-mode: t helm-flx-mode: t helm-mode: t helm-autoresize-mode: t helm--remap-mouse-mode: t shell-dirtrack-mode: t focus-autosave-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t eval-sexp-fu-flash-mode: t flycheck-pos-tip-mode: t flycheck-mode: t shackle-mode: t yas-global-mode: t yas-minor-mode: t global-company-mode: t company-mode: t global-evil-surround-mode: t evil-surround-mode: t global-evil-visualstar-mode: t evil-visualstar-mode: t global-evil-matchit-mode: t evil-matchit-mode: t evil-mode: t evil-local-mode: t global-undo-tree-mode: t undo-tree-mode: t recentf-mode: t ivy-mode: t smartparens-global-mode: t smartparens-mode: t fold-dwim-org/minor-mode: t global-hungry-delete-mode: t hungry-delete-mode: t ws-butler-global-mode: t ws-butler-mode: t show-paren-mode: t whitespace-mode: t global-auto-revert-mode: t winner-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Load-path shadows: = /Users/james/.emacs.d/elpa/26/color-theme-solarized-20160626.743/solarized= -theme hides = /Users/james/.emacs.d/elpa/26/solarized-theme-20170430.800/solarized-theme= ~/.emacs.d/fork/evil/evil hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil ~/.emacs.d/fork/evil/evil-vars hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-vars ~/.emacs.d/fork/evil/evil-types hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-types ~/.emacs.d/fork/evil/evil-states hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-states ~/.emacs.d/fork/evil/evil-search hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-search ~/.emacs.d/fork/evil/evil-repeat hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-repeat ~/.emacs.d/fork/evil/evil-pkg hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-pkg ~/.emacs.d/fork/evil/evil-maps hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-maps ~/.emacs.d/fork/evil/evil-macros hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-macros ~/.emacs.d/fork/evil/evil-jumps hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-jumps ~/.emacs.d/fork/evil/evil-integration hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-integration ~/.emacs.d/fork/evil/evil-ex hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-ex ~/.emacs.d/fork/evil/evil-digraphs hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-digraphs ~/.emacs.d/fork/evil/evil-core hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-core ~/.emacs.d/fork/evil/evil-common hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-common ~/.emacs.d/fork/evil/evil-commands hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-commands ~/.emacs.d/fork/evil/evil-command-window hides = /Users/james/.emacs.d/elpa/26/evil-20170615.1320/evil-command-window Features: (shadow sort mail-extr emacsbug message puny rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils helm-fuzzier helm-flx helm-smex helm-command helm-elisp helm-eval helm-mode helm-files image-dired image-mode tramp tramp-compat tramp-loaddefs trampver parse-time format-spec dired-x dired-aux helm-buffers helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexp helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap helm-utils compile helm-help helm-types helm helm-source eieio-compat helm-multi-match helm-lib dired dired-loaddefs async smex ido shell pcomplete comint ansi-color sh-script smie executable colir counsel jka-compr esh-util term disp-table ehelp server focus-autosave-mode JJ-security rainbow-delimiters evil-cleverparens evil-cleverparens-text-objects evil-cleverparens-util paredit lispyville lispy swiper iedit iedit-lib multiple-cursors-core lispy-inline avy semantic/db eieio-base semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet evil-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff help-fns radix-tree lispy-tags elisp-slime-nav eval-sexp-fu company-quickhelp warnings highlight font-lock+ flycheck-pos-tip pos-tip flycheck json map find-func shackle JJ-extra-lang make-mode JJ-elisp edebug-x edebug which-func imenu JJ-autocomplete elixir-yasnippets yasnippet company-oddmuse company-keywords company-etags etags xref project company-gtags company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-dabbrev-code company-dabbrev company-yasnippet company-bbdb company JJ-evil evil-surround evil-visualstar evil-matchit evil evil-integration evil-maps evil-commands flyspell ispell evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common derived rect evil-digraphs evil-vars undo-tree diff JJ-project recentf tree-widget wid-edit ivy flx delsel ivy-overlay ffap JJ-pair-editing smartparens-config smartparens thingatpt JJ-misc fold-dwim-org fold-dwim hideshow noutline outline windmove hungry-delete ws-butler JJ-platform exec-path-from-shell ls-lisp JJ-defaults paren whitespace autorevert filenotify winner JJ-theme solarized-light-theme solarized color cl-extra help-mode theme-changer solar cal-dst cal-menu calendar cal-loaddefs cl JJ-dependencies hydra ring lv s dash JJ-funcs subr-x use-package diminish bind-key easy-mmode finder-inf edmacro kmacro rx advice slime-autoloads info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs pcase cl-lib time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 756863 475074) (symbols 48 51456 89) (miscs 40 429 1329) (strings 32 126917 238077) (string-bytes 1 4317014) (vectors 16 81734) (vector-slots 8 1505112 226764) (floats 8 797 989) (intervals 56 2507 755) (buffers 976 25)) From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 10:45:36 2017 Received: (at 27511) by debbugs.gnu.org; 28 Jun 2017 14:45:36 +0000 Received: from localhost ([127.0.0.1]:42780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQEDo-0005Mr-CR for submit@debbugs.gnu.org; Wed, 28 Jun 2017 10:45:36 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:35263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQEDm-0005Md-3V for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 10:45:34 -0400 Received: by mail-oi0-f51.google.com with SMTP id c189so43134785oia.2 for <27511@debbugs.gnu.org>; Wed, 28 Jun 2017 07:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=EZKEumlC4DjA61XTu0axsknF1j9vemGNzZ6SKEUYSd4=; b=ElZWT853XIFcroMEeobAnDJHnsRogPNsbXx2zzFwvR+IpZlQT6nKUdM1UH7SqZNh9V qxcDMFVbI/adRHFYRMHYm9yEtEyj/tpR5cnPhiTTKyNkLhEZwnpGXgZdsSKBWQotVnp0 koeWewkpykdvB7q6dDM2cJ5u+m2ZTdQDzKXCPFS10LfEL8aoGwGjehAHQsFXuuKYRZKu YGRfj5oo7wrpIcXAXdY7p7gDDPvjJ9tAmFguXItZjHfgXCxrRcLRyTXnz6AS7VK52kaT lCxLvYfd8dlWbJY9n8GHF2P9SXEhChfop/th4gJlCdmRxKgMN0fOktlggKS5hnueQvLO CMmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=EZKEumlC4DjA61XTu0axsknF1j9vemGNzZ6SKEUYSd4=; b=Fl0Xtz3mh4C/D9j3Vcyzp3nVZu0YMOs07MwBvHVHR2Wz3iMH6hVqooBxnueQYJGEZl M7JkMVN8tGzmF3ybJf0ObOcFZk43CKHAPSOHlU5jMpSL6S+rZDrcpkTPO1woyJDR4wQy YJjgDjIzLkgThHo36Y48wmT4t8rn8o9y1zFn41V4Okdrbc0Odl62osxVsVWZpUGCyjKE hjGW+0+ePhKpCSgOIKhXvnvw0GfAWVb1kq9Fq7Rm0SgnDrGh1Btu4nvNhvwYkX2FknWK 1c8kYVw7KD7vLHiBU0P/FTkvPNqNgVWj65b2JZEqN1JtXZ6beNzIh9KknSVL66VaIrQC GNKw== X-Gm-Message-State: AKS2vOxPakHPOehSAi8AYbPVtHATKDh1h0H3Ok8n3paBDLMMqSShVEaw h9nqc0QYWY3e1IFrCGADtsw+xn41PQ== X-Received: by 10.202.168.130 with SMTP id r124mr6486890oie.91.1498661128253; Wed, 28 Jun 2017 07:45:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.113.91 with HTTP; Wed, 28 Jun 2017 07:45:27 -0700 (PDT) In-Reply-To: References: From: Noam Postavsky Date: Wed, 28 Jun 2017 10:45:27 -0400 X-Google-Sender-Auth: L1xY__iCGFnRMEIC-kaYVJyjSoQ Message-ID: Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument To: James Nguyen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) On Tue, Jun 27, 2017 at 10:03 PM, James Nguyen wrote: > > Running emacsclient without specifying a file results in: > > emacsclient: file name or argument required > Try 'emacsclient --help' for more information > > https://www.gnu.org/software/emacs/manual/html_node/emacs/Entering-Emacs.html#Entering-Emacs > > Gives the impression *scratch* should show up instead. (though probably > only if running 'emacs' regularly.) Which part gives you that impression? Or in other words, what do you want to change? From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 11:00:52 2017 Received: (at 27511) by debbugs.gnu.org; 28 Jun 2017 15:00:52 +0000 Received: from localhost ([127.0.0.1]:42791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQESZ-0005jT-VZ for submit@debbugs.gnu.org; Wed, 28 Jun 2017 11:00:52 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQESY-0005jH-3w for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 11:00:51 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4189420C1A; Wed, 28 Jun 2017 11:00:49 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 28 Jun 2017 11:00:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=C9JhDrUYGmWJqZqTmi PPcsuLy56D6v/QioeKLn/qps4=; b=kujBiCHD02SVW6vIK49gLMfSBt9U1oLKA8 OxNSA1MhUBYMj4iIjegTIm/3IfNqwq1VLrn0CkpFYEbYWcNS3rus8wfEIdos8Kn3 7FkuouGHS5u2o4720H/vzgMlRC8ElNGDNISQZscGdima/uW4jTOE6ci7YHF22M9V tOVFIWXIxBFoJNh702sQ09wy9khGmBFqGSu52xG/KHP0E4S6bhUUmo71DaqFD96/ kb5I0pr21TEj28Rs6n7z1CMPze5KbtmaEwkjxaNIttegz5mcgdLBGqHtFpdcf7Wz /5hQKVMtqhv6Gsu6bzFKNcbc+AVdLzHrHiVCaybGkXuDE3ds8OdA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=C9JhDrUYGmWJqZqTmiPPcsuLy56D6v/QioeKLn/qps4=; b=bmC3sK37 ReSY45aQu6PJyYxzKawz/5oITnQuldyr8H9FstBGzrm9++SrjdkrZxuDpCsU1lyH SFq6cRG7cdN6Dw7Zi1L31D3n8nw5yLCDLDae1ncS/NrM78WGTYi2ckfaxZk/cfHD aKqF+vKNOMsEN18xjMK9K0h1F7ROtDUUbbAjW84h3HrpvUf5ShEo8Ektw9hD4PnJ ws567uWe2aIL/nyIWbI97M7GcTS5/Efli4+She6Vdar4Ik9KiMM+GRfSTDKQuTUF 3vpp40GIhB+PHm1mkFDKZITKP5zJe+PUrmpxZNWG4l1/563W/B4832jf3QDn5CIW slv6GApua4rIkQ== X-ME-Sender: X-Sasl-enc: FWMtzKPQgh4vBxL+9+O97cfUzZJ/q/61viROl/rZ4Fqo 1498662048 Received: from [10.0.1.47] (c-73-231-191-86.hsd1.ca.comcast.net [73.231.191.86]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F49A7E622; Wed, 28 Jun 2017 11:00:47 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument From: James Nguyen In-Reply-To: Date: Wed, 28 Jun 2017 08:00:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Noam Postavsky X-Mailer: Apple Mail (2.3273) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "Emacs simply displays those files; otherwise, it displays a buffer = named *scratch*, which can be used to evaluate Emacs Lisp expressions = interactively." I think it=E2=80=99s preferable it behaves just like regular =E2=80=98emac= s=E2=80=99 does, opening a *scratch* buffer as a fallback.=20 > On Jun 28, 2017, at 7:45 AM, Noam Postavsky = wrote: >=20 > On Tue, Jun 27, 2017 at 10:03 PM, James Nguyen = wrote: >>=20 >> Running emacsclient without specifying a file results in: >>=20 >> emacsclient: file name or argument required >> Try 'emacsclient --help' for more information >>=20 >> = https://www.gnu.org/software/emacs/manual/html_node/emacs/Entering-Emacs.h= tml#Entering-Emacs >>=20 >> Gives the impression *scratch* should show up instead. (though = probably >> only if running 'emacs' regularly.) >=20 > Which part gives you that impression? Or in other words, what do you > want to change? From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 13:03:25 2017 Received: (at 27511) by debbugs.gnu.org; 28 Jun 2017 17:03:25 +0000 Received: from localhost ([127.0.0.1]:42837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQGNB-00008V-DC for submit@debbugs.gnu.org; Wed, 28 Jun 2017 13:03:25 -0400 Received: from limerock04.mail.cornell.edu ([128.84.13.244]:42552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQGN9-000088-PW for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 13:03:24 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v5SH3Hw5012298; Wed, 28 Jun 2017 13:03:17 -0400 Received: from [192.168.0.4] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v5SH3GdV017723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 28 Jun 2017 13:03:17 -0400 Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument To: James Nguyen , Noam Postavsky References: From: Ken Brown Message-ID: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> Date: Wed, 28 Jun 2017 13:03:32 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On 6/28/2017 11:00 AM, James Nguyen wrote: > "Emacs simply displays those files; otherwise, it displays a buffer named *scratch*, which can be used to evaluate Emacs Lisp expressions interactively." > > I think it’s preferable it behaves just like regular ‘emacs’ does, opening a *scratch* buffer as a fallback. I think you're misunderstanding the purpose of emacsclient: $ emacsclient --help Usage: emacsclient [OPTIONS] FILE... Tell the Emacs server to visit the specified files. See https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html#Emacs-Server for typical use cases. Ken From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 13:22:25 2017 Received: (at 27511) by debbugs.gnu.org; 28 Jun 2017 17:22:25 +0000 Received: from localhost ([127.0.0.1]:42847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQGfZ-0000YZ-2M for submit@debbugs.gnu.org; Wed, 28 Jun 2017 13:22:25 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQGfW-0000YQ-EA for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 13:22:23 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E4D2E22182; Wed, 28 Jun 2017 13:22:21 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 28 Jun 2017 13:22:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=RMlGLLPR7uy9lg1RzT OlxcV97QpK/mySOySaO1yYyXE=; b=Ve10/O7VN1QdnV3s2dVWC7rOuuZg64w73z YlKCmE6sPp/MqB8TFajnKUNiKPO6pqXmiHDNNJKI27KK/QXCpInMtIgYnZlGU9Us 4dzEJi4kB+UHthtWr+erILKx/b1dGPMMK9OXqsdsuzzurtS99f0sd/mVpzYm/sxD 8H7vifpUmRYnaWH8NqSfgwGrGBG8HXQJgQVcChfLwescyINqRywRrY36OOvcqvF0 vIakOpXoUh8dwQc1Z8MWEP4Ch6DQ1q0r7w5/z27ax4p7+Wg3okVvjSopR4sr+eMZ 8DFV9xE8TxC7e1x1jQ3I1baKxzi7V1fDTiq79qImvRJE4FKl0ZyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=RMlGLLPR7uy9lg1RzTOlxcV97QpK/mySOySaO1yYyXE=; b=QgB5T6Ms iruoi8VUgad7LJnCzWdhKxKUf83+PN9CSyBpPFZ0GxL5T/5ZkCCQtUPYvrquHB1X 3YiUysPPgQns3xqAzJRl4CfbSapBTayLGpH7GIII1+9S+W2HsPzPSFcqMXnWIMv8 A+AYF+2So9KB5TBgw6/YVvhP1zgdRgwiSlyhWGv68NPQi7CditC3RfMTFWP2E7IS d4kPbsqtxZc13EKZBAmQ+1ibZ73Ux1mMAuZBSIPBx1/+lxjPLbNj1FXVK6Hc04U8 40LGloBVlbXXS37azhiupo7duiRI1ADEGE+yekDSzd+WadGL6WUPUovab0+iuZwu UM++oQQaoC8w3Q== X-ME-Sender: X-Sasl-enc: WyobvpJ0+PSb3/3b0LKwjvC7tUvVcV/OYdv7PxWpNVup 1498670541 Received: from [10.0.1.47] (c-73-231-191-86.hsd1.ca.comcast.net [73.231.191.86]) by mail.messagingengine.com (Postfix) with ESMTPA id 58EED7E8DF; Wed, 28 Jun 2017 13:22:21 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument From: James Nguyen In-Reply-To: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> Date: Wed, 28 Jun 2017 10:22:19 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> To: Ken Brown X-Mailer: Apple Mail (2.3273) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org, Noam Postavsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) At the very least, I understand how to use emacsclient (e.g. to connect = to a running emacs server). I am just wondering if it makes sense to give an error message instead = of `falling back` the way =E2=80=98emacs=E2=80=99 does. (scratch buffer = or title screen (though a title screen might not make sense assuming the = server/emacs instance was already started)). I=E2=80=99ve also been told emacsclient used to be able to handle the = =E2=80=98no file arguments=E2=80=99 case, although I can=E2=80=99t = confirm if this is true or not. = https://www.reddit.com/r/emacs/comments/45mtdz/can_someone_explain_why_ema= csclient_requires_a/ Shows 1 or 2 users being able to use emacsclient without passing a file = argument. > On Jun 28, 2017, at 10:03 AM, Ken Brown wrote: >=20 > On 6/28/2017 11:00 AM, James Nguyen wrote: >> "Emacs simply displays those files; otherwise, it displays a buffer = named *scratch*, which can be used to evaluate Emacs Lisp expressions = interactively." >> I think it=E2=80=99s preferable it behaves just like regular = =E2=80=98emacs=E2=80=99 does, opening a *scratch* buffer as a fallback. >=20 > I think you're misunderstanding the purpose of emacsclient: >=20 > $ emacsclient --help > Usage: emacsclient [OPTIONS] FILE... > Tell the Emacs server to visit the specified files. >=20 >=20 > See = https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.htm= l#Emacs-Server for typical use cases. >=20 > Ken From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 13:35:26 2017 Received: (at 27511) by debbugs.gnu.org; 28 Jun 2017 17:35:26 +0000 Received: from localhost ([127.0.0.1]:42852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQGsA-0000qy-BK for submit@debbugs.gnu.org; Wed, 28 Jun 2017 13:35:26 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:33524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQGs9-0000qm-8H for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 13:35:25 -0400 Received: by mail-oi0-f45.google.com with SMTP id p66so47266180oia.0 for <27511@debbugs.gnu.org>; Wed, 28 Jun 2017 10:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=jgQ2XB0OdnZ278YgevvWvLFG/ronek2Jy2hZk9Xl8s8=; b=Sel3csRZ18HAxgQnS8q/ZnMfQCesZ0iq5ncnNohsMc7JCVQHjA47FI1pTn/yJDComb rDISyhjAGIEiET4zMrZedSlM/U7+NeP2fec2KAFq+NhbB82HwjEK2NhW64VVBV9dA6FI dDdNmA6jYN2mNVKvJytFLOs3oq1xHaN9pXlejfKUhzTKtIm2ELUddKy0iunotRgg6EoI v6iL2kYLtdCvg3u9SJ+O6ZK49aKQcb6DBUluWDLpI3wSc7ejvhje4yo6Vstdh6E4VLGV yPtyDd0SbsNCNRJvSM4RFJ4davadMGdHpXxUr3c4prKpK0cY67tFfhwq94Jx2f9HXolJ BHkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=jgQ2XB0OdnZ278YgevvWvLFG/ronek2Jy2hZk9Xl8s8=; b=iY402cEbBleriTEPuzBQgkjtCILc1wVwYMqWq0bihba1HuWFgxc8wFpEuyrseL+P/d vwe5DdlmyR5ssJ3jbBeg+KCs/QKNYTCgfANeApporTAsTmrT2cmMQYkp+jDNXcDa9Njg oHVsAN21rGWclRuZ4v/RZWuN/IZi0mOogDXj88WE++995/UybXmSf4APND68Kq5AR78y lRjzXBmjcN7Kz7eKmcEDctEwXUz93mwHSLYSRBLin2WKEuOLN8HMu03PQtj06JRjH5jk IOgYbQQUGRc5zFeZYQhzoZlws12Anvv3m0h234EHLd5xrgsgEBU/rxSHZwzVonLVqbYr MPEA== X-Gm-Message-State: AKS2vOzXVzLLgac3f5xX1gAqIU2CEOdFIRp2EaWdBbC5U6tVv08312bg PRF0CVUXdgGmz4pZ82U8ep2fz1rqCA== X-Received: by 10.202.230.139 with SMTP id d133mr6969833oih.110.1498671319487; Wed, 28 Jun 2017 10:35:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.113.91 with HTTP; Wed, 28 Jun 2017 10:35:18 -0700 (PDT) In-Reply-To: <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> From: Noam Postavsky Date: Wed, 28 Jun 2017 13:35:18 -0400 X-Google-Sender-Auth: 63uZdZTYhk3qr4VuczUVtavmWwA Message-ID: Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument To: James Nguyen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 27511 Cc: Ken Brown , 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) On Wed, Jun 28, 2017 at 1:22 PM, James Nguyen wrote: > > I=E2=80=99ve also been told emacsclient used to be able to handle the =E2= =80=98no file arguments=E2=80=99 case, although I can=E2=80=99t confirm if = this is true or not. Does 'emacsclient -c' or 'emacsclient -t' not work for you? From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 19:49:43 2017 Received: (at 27511) by debbugs.gnu.org; 28 Jun 2017 23:49:43 +0000 Received: from localhost ([127.0.0.1]:43119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQMiN-00012S-7C for submit@debbugs.gnu.org; Wed, 28 Jun 2017 19:49:43 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:60013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQMiL-00012K-8q for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 19:49:42 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A0CA221DDD; Wed, 28 Jun 2017 19:49:40 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 28 Jun 2017 19:49:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=PjQguNna4yafu7qAzA 68Z23dgDLjFWS+I7UiyBi0n4A=; b=UJ1kDdHMgZj9A7sXFLkc3suVTiAD2KakGW sYsSD51Duoe+0CSD2JRACbn6ggWo+kGhv9VoD3T2NwzhC3AyWfRzO9tMPkStSVCj SB/RabA78kixH56cUGf/Z3vKC85km021oxoPeyHoWtxeqp0Q4EuDWk+Ueanyqqch OEMqSvBRPFPmD3RumywgCrgJ9sCnNzIku88Ymd92DsMZexDEQVmq+fVaPucGzR98 tCOFp8Qd0Ovo4eXeyEHB8OsMOZKXSweFChEbI9SFrSKljlF3O8oxuDOIcaHX8MwS wJJUD0lQ/J744Hm8llfgrgaDZ5hebfTRK44zPCCz6zWu05lFo2vQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=PjQguNna4yafu7qAzA68Z23dgDLjFWS+I7UiyBi0n4A=; b=dZhpBfK2 iT6dTXm8buRNBWCxCE+zZ0X32tNfFA2kSaxHQeTzW0cgvWmfYbbvxILLcjsGSp0x RaUm3+bokY7C/nGrk0YFGupj/zH8sQMcEgMVepN5/rN4TZDCUIpMqtDN/JNdN75r 8Kt1lZnUHpvdmFNu6Kd53dIKxduevk/8uiRHmOzRNwpkc4mNY6Z86KVAG3pkGtaQ up5jcC5DqRYklUwmBj9ddelVdK166Ir923ujIMpJSVsZHvn7SwDZ7hEqvTIGA8cD qMu55jUToV+9aHgSP7/Mc/SWMMprn4dcCjFSc0WtLgMxA/xXA/J5w9MmBNGOVMIx y71VY9kL9twbKA== X-ME-Sender: X-Sasl-enc: cxCeOf1KK0GmwhigDQ6twI3LDfQP6qyZkJ0zVH6cQ+SE 1498693780 Received: from [10.0.1.47] (c-73-231-191-86.hsd1.ca.comcast.net [73.231.191.86]) by mail.messagingengine.com (Postfix) with ESMTPA id 0E07C24253; Wed, 28 Jun 2017 19:49:39 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument From: James Nguyen In-Reply-To: Date: Wed, 28 Jun 2017 16:49:37 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> To: Noam Postavsky X-Mailer: Apple Mail (2.3273) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: Ken Brown , 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Those work for me but -c creates a new gui frame and -t opens in = terminal. Usually I have a gui client up already and $ emacsclient $FILE is the = only choice that opens it in that current frame. > On Jun 28, 2017, at 10:35 AM, Noam Postavsky = wrote: >=20 > On Wed, Jun 28, 2017 at 1:22 PM, James Nguyen = wrote: >>=20 >> I=E2=80=99ve also been told emacsclient used to be able to handle the = =E2=80=98no file arguments=E2=80=99 case, although I can=E2=80=99t = confirm if this is true or not. >=20 > Does 'emacsclient -c' or 'emacsclient -t' not work for you? From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 21:12:25 2017 Received: (at 27511) by debbugs.gnu.org; 29 Jun 2017 01:12:25 +0000 Received: from localhost ([127.0.0.1]:43192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQO0O-00038B-SC for submit@debbugs.gnu.org; Wed, 28 Jun 2017 21:12:24 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:33875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQO0M-00037x-Sd for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 21:12:23 -0400 Received: by mail-it0-f67.google.com with SMTP id o202so4657846itc.1 for <27511@debbugs.gnu.org>; Wed, 28 Jun 2017 18:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=LcYig2MXFzwk4/jBu8CQaVET24dUOcSyOYg+ttT+8Zs=; b=LZlrJUMpyunDd/dCXURTlZfpVNFLOb+0x0pfFVoMbGtJI8bJw7I1yuf+5ugWUKq0Qu xOs3iOqe1HahBoa+RutxqS2mi4Jc/C8UBjWy5rgITgSoCmydubSIqFaeNvf6TAGLz/x1 +E/HW+XMFiRelVom/0c2+qZ50+Twc5RQvX5u0ItLRpp4+X5WPYWiz9j6CQMnWDxDbZcQ fCOf4eV3ZzyHVCfT4bme75S3WtBLZ6LmfQhG3RAhyY/pTWyvdAl3Khqb0di2favARuXZ +LV7+ppt3Ppp68jsMsmbYFQKq4gRqtRhGAsmj9VBVXG2c6NBIcX3FXvSBqpP+zaqknEw hadQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=LcYig2MXFzwk4/jBu8CQaVET24dUOcSyOYg+ttT+8Zs=; b=TTPonKI3geZ5Nqkeax8KJicwwADacN0lrmwJgLYOSxHDt83vHvVu4zKhVg06EnaZeO HYdamV2OUoF8CnICCyK+2hU9X46SM3PCX8j0wtfyD7Iq4zhjzPQDJho25o0r7A/lz/w8 n9aDO8YnWYiakphZT02oNiRiCLbZpYQ8k/PU17jg5fgmeWLIeGDouiEXtkDxLsReWX41 su9YyVBsdqh8fZ1H7JT3ejb+c5dpm1TFpGnpxwjLzePYpFyb/8oSnTaEwLOGZG+xSusU YgtOR+5fcOzpbU1rdVYaag/LqGRtwFGozrsQHkx1UDzTlL2lLz/0xXC18ZrPVv0jdkJ4 NMWA== X-Gm-Message-State: AKS2vOzjs4Cy9DfMnbCDg3QYnFNd+TTgxUXBuSql/Ft9/oB9i0x/jxVm 1kn6vfnvFPICig== X-Received: by 10.36.17.198 with SMTP id 189mr10700650itf.17.1498698737460; Wed, 28 Jun 2017 18:12:17 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id k94sm2104960ioi.29.2017.06.28.18.12.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Jun 2017 18:12:16 -0700 (PDT) From: npostavs@users.sourceforge.net To: James Nguyen Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> Date: Wed, 28 Jun 2017 21:13:53 -0400 In-Reply-To: <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> (James Nguyen's message of "Wed, 28 Jun 2017 16:49:37 -0700") Message-ID: <87injfmw8e.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: Ken Brown , 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) James Nguyen writes: > Those work for me but -c creates a new gui frame and -t opens in terminal. Oh, all the responses I saw in the reddit thread you linked were using -c or -t, so I thought that's what you wanted. > Usually I have a gui client up already and $ emacsclient $FILE is the > only choice that opens it in that current frame. But it sounds like you're actually after something like emacsclient --eval '(select-frame-set-input-focus (car (frame-list)))' From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 28 23:36:03 2017 Received: (at 27511) by debbugs.gnu.org; 29 Jun 2017 03:36:03 +0000 Received: from localhost ([127.0.0.1]:43252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQQFP-0001ci-DW for submit@debbugs.gnu.org; Wed, 28 Jun 2017 23:36:03 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQQFN-0001cM-G5 for 27511@debbugs.gnu.org; Wed, 28 Jun 2017 23:36:01 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 595762067B; Wed, 28 Jun 2017 23:36:01 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 28 Jun 2017 23:36:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=SeGzKE+Yrq0agBpKNE WcsYdWocC+w1m38vr+GCxXWUU=; b=RAPVBWZiBhx28/xB+wHgDmat5LBQzcvktd OhIfzZncChF6MSl7t3mhSuyMCzQivt/euIEj9NkKMqFspvEW5NasvoOhGVVpb7px oyUjzflXg1rucJunVHOO/7iE4XdOao3Ukj4bjM5l6L5jUmRrg2m4NPQECyZ/HEGW FI/fCpG5IuM8PsukVJIEZ9Fs1L8dEPW7lR7r3cgx87YEn7UiMUFH64J7fyESqdk1 LyADnS6dl4t4vf2yGCGneqyTbsBUzQbbnZ9HJ3gIH8clep7hL8QV/t1T3hQU4dJG hqKxHWP+jkQunq8laH0e+wROCYd5kow+fWFLAZMR33sC6VEevwBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=SeGzKE+Yrq0agBpKNEWcsYdWocC+w1m38vr+GCxXWUU=; b=NyN0DJwi QaipaUaVDjwPvDjJ84+QSNL48GrwLvIxrbjB9Pe8FC8kEAwg8eau6n7WZ67621fq TOOTR216BgX+uXCr3JMPjHOpssaJT+ITWDk7H2nnIEov2XbtTwx+o9BqOjlx2VVy Y8k+TJIJh5BWXUgt41Gd+/3RWiFS+WxqgWtIODFrf7QXnvOsF60gMbs/IWMGJxkc Zuh9S46omp+PPB/nc2QKfQtoqv66x7+5tAhpKws8pWVtQ1OnY4vrJlKcASjkg/2c x8AIz4wZ5QH1rre1BUHyJM33PBnkD1qIZp7sRkhJLS5XEwRR5BeryAwXPpfpXoXZ hWpUhuryP4BGVA== X-ME-Sender: X-Sasl-enc: HjankCPu95S3j/tqIBHuvS5HnrbNaLwa0Wwh499xPm71 1498707361 Received: from [10.0.1.47] (c-73-231-191-86.hsd1.ca.comcast.net [73.231.191.86]) by mail.messagingengine.com (Postfix) with ESMTPA id C410D7E070; Wed, 28 Jun 2017 23:36:00 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument From: James Nguyen In-Reply-To: <87injfmw8e.fsf@users.sourceforge.net> Date: Wed, 28 Jun 2017 20:35:58 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5F318FAC-AA27-4F51-BB51-D41AF464D5AB@fastmail.com> References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> <87injfmw8e.fsf@users.sourceforge.net> To: Noam Postavsky X-Mailer: Apple Mail (2.3273) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: Ken Brown , 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hmnn, yeah sorry for not expounding earlier. That snip you sent doesn=E2=80=99t work the way I want. It just opens = the Gui Emacs up without opening a new scratch buffer. At this point, my takeaway is that we think this is 1. not a bug and 2. = unlikely to have the default change (emacsclient behaving similarly in = spirit to emacs) I will just have to write a bash function that wraps emacsclient and = check for the file arg (or lackof) myself. Thanks Noam for the help. > On Jun 28, 2017, at 6:13 PM, npostavs@users.sourceforge.net wrote: >=20 > James Nguyen writes: >=20 >> Those work for me but -c creates a new gui frame and -t opens in = terminal. >=20 > Oh, all the responses I saw in the reddit thread you linked were using > -c or -t, so I thought that's what you wanted. >=20 >> Usually I have a gui client up already and $ emacsclient $FILE is the >> only choice that opens it in that current frame. >=20 > But it sounds like you're actually after something like >=20 > emacsclient --eval '(select-frame-set-input-focus (car = (frame-list)))' From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 29 08:31:21 2017 Received: (at 27511) by debbugs.gnu.org; 29 Jun 2017 12:31:21 +0000 Received: from localhost ([127.0.0.1]:43532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQYbR-0001D2-4R for submit@debbugs.gnu.org; Thu, 29 Jun 2017 08:31:21 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:35868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQYbP-0001Ci-B5; Thu, 29 Jun 2017 08:31:19 -0400 Received: by mail-it0-f65.google.com with SMTP id k3so125362ita.3; Thu, 29 Jun 2017 05:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=vLA0n7gR3DC11yZznLwItvQuaKD2elA6BRep5h1eHIA=; b=T+vVYdKSpxmyO2vnN9vBCE4leDK0YCOhwlRGBRDoRt9vc7AffE8EtBLL9hgQNTnF5f /lbdqu9FSY+sZcRohNAR7GJrwz6tzjyn5vrF9E0rJaqrU2yD8zk7AHIaFYNnu3mPNwQx q7PTQTGBsGaOsCu6bPG1KBo+kFdbKp0fC7g6HD/mT9y2Bd4oc3YoQeaP/DRZUp6UYuH4 8gYfJ5cBx1CDwjmdSilv5N+CzeOSB1IF7vSk2MjF80JgQj/m09lD6epwfKe8I7Q+3FrH YzG6lDn3hnL6BmC/wA6FHIq68kpz7sN81fHL44IAUxQugwSdQ7KB/pStLivTIkrQIiu6 UDFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=vLA0n7gR3DC11yZznLwItvQuaKD2elA6BRep5h1eHIA=; b=T8v+/Z6fYzYgbLxuhlnd0QMI0Zhjdr3n9qrfzkaC/8+2EOTrHGnJtIGeqW68ZHMyMn 3q0ZQXPReIeg/bCewZRD0gDf4dyt+THkXHbZcipDgXsj+ycIIukL4W+ovPUxlEfmU4DQ +VcQQIOHJqRcyn21t9HJ9a7AmlUoBUxxm7tvJOyqc4Kbnco/1BDoP9PuyEUIHHHVz2ZP I3cnq0MH8FYFuj9zX+8kLGYFEYkbcK6zqFKynOvFOKyEyNZRwBr+f/CQTdVMFRtQf2PD 3dSW4f7lXdezjdDIVFHJ9dZNpdRVg0QjZVE29xqtBs6WazXDIkrDK64cBKiOX44/cJSu Nd1Q== X-Gm-Message-State: AKS2vOyg7FbY9t4X78qLtoMW7J5j/ZAWWO+f7sGeCr9tZLXG+HZinObr QDFpX0Z14n7WOVyX X-Received: by 10.36.89.139 with SMTP id p133mr13592088itb.5.1498739473323; Thu, 29 Jun 2017 05:31:13 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 128sm2694028ioe.6.2017.06.29.05.31.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Jun 2017 05:31:12 -0700 (PDT) From: npostavs@users.sourceforge.net To: James Nguyen Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> <87injfmw8e.fsf@users.sourceforge.net> <5F318FAC-AA27-4F51-BB51-D41AF464D5AB@fastmail.com> Date: Thu, 29 Jun 2017 08:32:48 -0400 In-Reply-To: <5F318FAC-AA27-4F51-BB51-D41AF464D5AB@fastmail.com> (James Nguyen's message of "Wed, 28 Jun 2017 20:35:58 -0700") Message-ID: <87bmp7m0sv.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: Ken Brown , 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) tags 27511 notabug close 27511 quit James Nguyen writes: > That snip you sent doesn=E2=80=99t work the way I want. It just opens the= Gui > Emacs up without opening a new scratch buffer. Oh you want a *new* scratch buffer? As in, you end up with multiple scratch buffers if you run emacsclient several times? > At this point, my takeaway is that we think this is 1. not a bug and > 2. unlikely to have the default change (emacsclient behaving similarly > in spirit to emacs) > > I will just have to write a bash function that wraps emacsclient and > check for the file arg (or lackof) myself. Yeah, changing the defaults is tricky because you have to get a lot of people to agree on what the new default should be. Although it seems to me that the current default of just printing an error message is not especially useful for anyone... From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 29 10:11:30 2017 Received: (at 27511) by debbugs.gnu.org; 29 Jun 2017 14:11:30 +0000 Received: from localhost ([127.0.0.1]:44615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQaAM-0005nC-8Y for submit@debbugs.gnu.org; Thu, 29 Jun 2017 10:11:30 -0400 Received: from limerock03.mail.cornell.edu ([128.84.13.243]:48236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQaAK-0005mz-Nc for 27511@debbugs.gnu.org; Thu, 29 Jun 2017 10:11:29 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v5TEBMPc003561; Thu, 29 Jun 2017 10:11:22 -0400 Received: from [192.168.0.15] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v5TEBK25029352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 29 Jun 2017 10:11:21 -0400 Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument To: npostavs@users.sourceforge.net, James Nguyen References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> <87injfmw8e.fsf@users.sourceforge.net> <5F318FAC-AA27-4F51-BB51-D41AF464D5AB@fastmail.com> <87bmp7m0sv.fsf@users.sourceforge.net> From: Ken Brown Message-ID: Date: Thu, 29 Jun 2017 10:11:19 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <87bmp7m0sv.fsf@users.sourceforge.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On 6/29/2017 8:32 AM, npostavs@users.sourceforge.net wrote> James Nguyen writes: > >> That snip you sent doesn’t work the way I want. It just opens the Gui >> Emacs up without opening a new scratch buffer. > > Oh you want a *new* scratch buffer? As in, you end up with multiple > scratch buffers if you run emacsclient several times? > >> At this point, my takeaway is that we think this is 1. not a bug and >> 2. unlikely to have the default change (emacsclient behaving similarly >> in spirit to emacs) >> >> I will just have to write a bash function that wraps emacsclient and >> check for the file arg (or lackof) myself. > > Yeah, changing the defaults is tricky because you have to get a lot of > people to agree on what the new default should be. Although it seems to > me that the current default of just printing an error message is not > especially useful for anyone... The purpose of emacsclient is to contact an emacs server and give it some action to perform (visit a file, open a new frame, evaluate some lisp, ...). If you run emacsclient with no arguments, you're not specifying any action. I can think of two possibilities for what emacsclient should do in that case: (a) Silently do nothing. (b) Print an error message. I would find it very surprising if emacsclient were to tell the server to create a new buffer when I've specified no action. Ken From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 29 12:48:48 2017 Received: (at 27511) by debbugs.gnu.org; 29 Jun 2017 16:48:48 +0000 Received: from localhost ([127.0.0.1]:44895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQccZ-0002pE-WE for submit@debbugs.gnu.org; Thu, 29 Jun 2017 12:48:48 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQccY-0002p6-34 for 27511@debbugs.gnu.org; Thu, 29 Jun 2017 12:48:46 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 842B720BA1; Thu, 29 Jun 2017 12:48:45 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 29 Jun 2017 12:48:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=bXN2oPeGt4wmhFepgO woq1pQymO3NCMbjeoievtjJ54=; b=A/k6xMdpzElY9zoPnEVJfpTPbsKijbrBtt jYZF480vZjyXk7/ZHimBqwR0hCBGCyciMf5iF4YxPtol9SmmKNvLG3wNEhOxQ1Li p93d0Kw3XdrPb0qJ3cIzqoRXBj1EEoFg26XOuwF72JvYqvjsLWFE1hX9sGMi1vhS ML6cZ7zS+sxvPSSzjkKpm505MJz/8BzsC/OWD3b9+Gycj1tQUhjE2RGaNk6Y0Rvd FztqS8kTyVLMYKQ0mayH46WgyBqohJNdFIF+RpPSgFew5s64OakeYsdRuLEydPlE HR1Pq3bi8pkOXs+IxgO9Rbftni5yXZOhCBge5bL04kmhj8y9aEJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=bXN2oPeGt4wmhFepgOwoq1pQymO3NCMbjeoievtjJ54=; b=ksV1rFsq z4MT12ODxQ9Eaev2Qj/Y+GWHbFIz1sFeuEM4b9hmcAH3o/WE8azk+fNV6sd5V8CO 8cO+WZOYgUy9NEls0aRuBBxdQk9CWRQTtlbxUgv3sFSjLr/ObkvHKw/kBptPA4E1 wfthZOGc8rd4ycziuuo/CYHJoJMfx40hF0I4QFAtLoGZjq7drmtqXWJbZKNj8jQc Z/8WdGeAgwck3Zb+tAv3bkEEL6Bg1jaXZIe9qrweNpPjF+ez1j/Hav2ObbMun0uf cIGE7+uNrJ6njKr5nTk07ssuO6E7UPQuc53LH5UY9cqwMzgqwdC1dq9ENeP6V5Yn 21wPmcgrPaVq7Q== X-ME-Sender: X-Sasl-enc: xezcD/atbZN4zPKiilbbruDXSbzGjkpyJQN6ZwuD/6KI 1498754925 Received: from [10.0.1.47] (c-73-231-191-86.hsd1.ca.comcast.net [73.231.191.86]) by mail.messagingengine.com (Postfix) with ESMTPA id EE24224788; Thu, 29 Jun 2017 12:48:44 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument From: James Nguyen In-Reply-To: Date: Thu, 29 Jun 2017 09:48:44 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <2DC16056-CE99-48EA-BBCE-046F349A4483@fastmail.com> References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> <87injfmw8e.fsf@users.sourceforge.net> <5F318FAC-AA27-4F51-BB51-D41AF464D5AB@fastmail.com> <87bmp7m0sv.fsf@users.sourceforge.net> To: Ken Brown X-Mailer: Apple Mail (2.3273) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) @Noam I=E2=80=99d like it to switch to the scratch buffer if anything and to = create a new one if it doesn=E2=80=99t exist. I should be able to jigger = something up with the =E2=80=94eval option on emacsclient though. Thanks. @Ken Why would you find it surprising? Personally, I like the DWIM style of = many emacs commands. If I ever type =E2=80=98emacsclient=E2=80=99 and = press , DWIM suggests I=E2=80=99m trying to connect to an instance = of an Emacs server. I don=E2=80=99t think I=E2=80=99d ever expect an error message to show = up in that case. Imagine typing =E2=80=98vim=E2=80=99 and being forced = to specify a file. (It=E2=80=99s not lost on my you=E2=80=99ve indicated = they have separate purposes.) At the very least, connecting to the server and doing nothing (similar = to what Noam posted a few messages back) should be similar in spirit to = what you=E2=80=99ve just said. > On Jun 29, 2017, at 7:11 AM, Ken Brown wrote: >=20 > On 6/29/2017 8:32 AM, npostavs@users.sourceforge.net wrote> James = Nguyen writes: >>> That snip you sent doesn=E2=80=99t work the way I want. It just = opens the Gui >>> Emacs up without opening a new scratch buffer. >> Oh you want a *new* scratch buffer? As in, you end up with multiple >> scratch buffers if you run emacsclient several times? >>> At this point, my takeaway is that we think this is 1. not a bug and >>> 2. unlikely to have the default change (emacsclient behaving = similarly >>> in spirit to emacs) >>>=20 >>> I will just have to write a bash function that wraps emacsclient and >>> check for the file arg (or lackof) myself. >> Yeah, changing the defaults is tricky because you have to get a lot = of >> people to agree on what the new default should be. Although it seems = to >> me that the current default of just printing an error message is not >> especially useful for anyone... >=20 > The purpose of emacsclient is to contact an emacs server and give it = some action to perform (visit a file, open a new frame, evaluate some = lisp, ...). If you run emacsclient with no arguments, you're not = specifying any action. I can think of two possibilities for what = emacsclient should do in that case: (a) Silently do nothing. (b) Print = an error message. I would find it very surprising if emacsclient were = to tell the server to create a new buffer when I've specified no action. >=20 > Ken >=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 29 14:11:51 2017 Received: (at 27511) by debbugs.gnu.org; 29 Jun 2017 18:11:51 +0000 Received: from localhost ([127.0.0.1]:44988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQdux-0004jD-De for submit@debbugs.gnu.org; Thu, 29 Jun 2017 14:11:51 -0400 Received: from limerock03.mail.cornell.edu ([128.84.13.243]:54900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQduv-0004iw-EK for 27511@debbugs.gnu.org; Thu, 29 Jun 2017 14:11:49 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v5TIBhNq021729; Thu, 29 Jun 2017 14:11:43 -0400 Received: from [10.128.155.58] (dhcp-gs-6970.eduroam.cornell.edu [10.128.155.58]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v5TIBf9p018229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 29 Jun 2017 14:11:42 -0400 Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument To: James Nguyen References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> <87injfmw8e.fsf@users.sourceforge.net> <5F318FAC-AA27-4F51-BB51-D41AF464D5AB@fastmail.com> <87bmp7m0sv.fsf@users.sourceforge.net> <2DC16056-CE99-48EA-BBCE-046F349A4483@fastmail.com> From: Ken Brown Message-ID: <44a882d6-c201-a05c-26c0-f1b015af0102@cornell.edu> Date: Thu, 29 Jun 2017 14:11:40 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <2DC16056-CE99-48EA-BBCE-046F349A4483@fastmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On 6/29/2017 12:48 PM, James Nguyen wrote: > @Noam > I’d like it to switch to the scratch buffer if anything and to create a new one if it doesn’t exist. I should be able to jigger something up with the —eval option on emacsclient though. > > Thanks. > > @Ken > > Why would you find it surprising? Personally, I like the DWIM style of many emacs commands. If I ever type ‘emacsclient’ and press , DWIM suggests I’m trying to connect to an instance of an Emacs server. What does it mean to connect to a server without asking the server to do something? Does DWIM suggest an obvious guess? One possible guess would be that you forgot to specify a file, in which case an error message (or at least a query) is precisely the right thing. Maybe there are other possible guesses, but I personally wouldn't expect emacsclient to guess that I want the server to do something involving the scratch buffer. > I don’t think I’d ever expect an error message to show up in that case. Imagine typing ‘vim’ and being forced to specify a file. (It’s not lost on my you’ve indicated they have separate purposes.) vim is not a client connecting to a server. A better analogy would be a mail client/server pair. What would you expect a mail client to do if you ask it to connect to an outgoing mail server but you don't specify a message to send? I would expect either (a) the client should do nothing or (b) the client should issue an error message. > At the very least, connecting to the server and doing nothing (similar to what Noam posted a few messages back) should be similar in spirit to what you’ve just said. Noam suggested that you should use 'emacsclient -c' or 'emacsclient -t', neither of which does nothing; they each create a new frame. AFAIU, he didn't suggest that emacsclient should try to guess which of these you want if you don't specify either. As to "connecting to the server and doing nothing", how is this different from just "doing nothing"? I think doing nothing would be acceptable, but I personally find the current behavior to be more friendly (do nothing and explain why). In the mail example, what would it mean for a mail client to connect to a mail server and do nothing? Anyway, it might be time for us to agree to disagree. Ken From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 29 21:06:05 2017 Received: (at 27511) by debbugs.gnu.org; 30 Jun 2017 01:06:05 +0000 Received: from localhost ([127.0.0.1]:45211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQkNo-0000wB-VT for submit@debbugs.gnu.org; Thu, 29 Jun 2017 21:06:05 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:55815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQkNn-0000w3-3r for 27511@debbugs.gnu.org; Thu, 29 Jun 2017 21:06:03 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 85B5E2074E; Thu, 29 Jun 2017 21:06:02 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 29 Jun 2017 21:06:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=NwVZKth6z6roYcO4in kJwGkf8zecewdt30MEBMmdpbk=; b=j3GSkveCUxCf2/SRJlgFzzmxqQ7nTYkieh gCL+2JwS/MODo3PFralsBl1Ztua6mhvk7h+Un3K87TZN+Pggu8/Us/r1FvCHPpMp YKiEEh9SguHxBouq8P5lMCxoHgWSJNMcqfuveMq6J+ZQXCiPbjMPBQ1cU4RiT/44 pQclw2uQe//FJTToXJqikvJ1WqAsTV7OLlQVwn0Mzw35vXa5IHyT5ERmYMUr1wrR swWLZ5N95VTze7gPljHKW4/B/jG28zP4ni41XFVnoVoJqaCgScF+S64TGcgG5yPF yWDbznr3tVv9aSW8LyZNZQfnwC9tsKa2etTwL2+tAVhrPuxLYdSQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=NwVZKth6z6roYcO4inkJwGkf8zecewdt30MEBMmdpbk=; b=JlhXf8PT cCGxP9xJRXzlykBMl4lafcTLTxTczJwD5j2N3iwbEYSzEnPBonBLaDW2y7xbEqKL PRGUm0r4hrnfxgGOZMLX08MmOFoiQD++dMnGUAhCDdkP7mDlaTD5VI3vaYGHz6OG Xaqka/O43+tp0Qk+nmSi0GDdkwlOBry7MAerTk1DF8Jb9r2F2+mCKTHsF+Ibl+Ej 7q+ZWiuwK9apWgc+QgxxgaMPq4sFPx/EkOvKmetmj7LSx3Fycd9P30ukzg7rYmJk XGjmvXI2gqyyX5lSMj0WJI7mi4ZxDJ4itHZ57FyB0Hx7przqR0BBjcrqaC3pmvVs 1GDN2pbhB72y1Q== X-ME-Sender: X-Sasl-enc: 8VVoH43npTKAmZjIjj1d8chrhGGe643UAEM9SPqVE9B9 1498784762 Received: from [10.0.1.47] (c-73-231-191-86.hsd1.ca.comcast.net [73.231.191.86]) by mail.messagingengine.com (Postfix) with ESMTPA id A5E11240B0; Thu, 29 Jun 2017 21:06:01 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug#27511: 26.0.50; emacsclient requires file argument From: James Nguyen In-Reply-To: <44a882d6-c201-a05c-26c0-f1b015af0102@cornell.edu> Date: Thu, 29 Jun 2017 18:06:00 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5db096c1-40c7-6841-f451-a4e8e682484d@cornell.edu> <85C06120-9160-4BC3-8B34-F1A48CFD0057@fastmail.com> <8913FF59-70FA-4A7F-9C2D-CDE862ED8441@fastmail.com> <87injfmw8e.fsf@users.sourceforge.net> <5F318FAC-AA27-4F51-BB51-D41AF464D5AB@fastmail.com> <87bmp7m0sv.fsf@users.sourceforge.net> <2DC16056-CE99-48EA-BBCE-046F349A4483@fastmail.com> <44a882d6-c201-a05c-26c0-f1b015af0102@cornell.edu> To: Ken Brown X-Mailer: Apple Mail (2.3273) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27511 Cc: 27511@debbugs.gnu.org, Noam Postavsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> What does it mean to connect to a server without asking the server to = do something? Does DWIM suggest an obvious guess? One possible guess = would be that you forgot to specify a file, in which case an error = message (or at least a query) is precisely the right thing. Maybe there = are other possible guesses, but I personally wouldn't expect emacsclient = to guess that I want the server to do something involving the scratch = buffer. `Anything` but failing and throwing an error message would be a 'sane = default' (in my opinion). >> vim is not a client connecting to a server. A better analogy would = be a mail client/server pair. What would you expect a mail client to do = if you ask it to connect to an outgoing mail server but you don't = specify a message to send? I would expect either (a) the client should = do nothing or (b) the client should issue an error message. Sure, a mail client/server is a good analogy. If I click 'mail app' in = OSX, it opens up to a list of my emails/inbox (and even queries for = mail!) despite myself not micromanaging that fact. >> Noam suggested that you should use 'emacsclient -c' or 'emacsclient = -t', neither of which does nothing; they each create a new frame. = AFAIU, he didn't suggest that emacsclient should try to guess which of = these you want if you don't specify either. This was what I was referring to. emacsclient --eval '(select-frame-set-input-focus (car (frame-list)))' >> Anyway, it might be time for us to agree to disagree. Agreed. From unknown Wed Aug 20 00:02:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 28 Jul 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator