From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59388: Open emacsclient file at last line Date: Mon, 21 Nov 2022 15:35:04 +0200 Message-ID: <831qpw4eif.fsf@gnu.org> References: <835yfb7xo6.fsf@gnu.org> <518ded72c33c3608e35a@heytings.org> <83zgcm7rfg.fsf@gnu.org> <518ded72c37782cf8af5@heytings.org> <4dff4be5-8c53-8d8b-e912-1cf2bb3dff98@gmail.com> <83k03q7khf.fsf@gnu.org> <834juu6qfg.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, gregory@heytings.org, xerusx@pm.me, 59388@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 21 14:42:25 2022 Return-path: Envelope-to: geb-bug-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 1ox745-0005Gg-4C for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Nov 2022 14:42:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ox6y7-0007qO-EI; Mon, 21 Nov 2022 08:36:15 -0500 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 1ox6xv-0007lc-O2 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2022 08:36:10 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ox6xu-0007XL-BP for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2022 08:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ox6xu-0000mB-7Y for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2022 08:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Nov 2022 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59388 X-GNU-PR-Package: emacs Original-Received: via spool by 59388-submit@debbugs.gnu.org id=B59388.16690377022874 (code B ref 59388); Mon, 21 Nov 2022 13:36:02 +0000 Original-Received: (at 59388) by debbugs.gnu.org; 21 Nov 2022 13:35:02 +0000 Original-Received: from localhost ([127.0.0.1]:45788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox6wv-0000kD-II for submit@debbugs.gnu.org; Mon, 21 Nov 2022 08:35:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox6ws-0000ju-Ug for 59388@debbugs.gnu.org; Mon, 21 Nov 2022 08:34:59 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox6wm-00075l-QR; Mon, 21 Nov 2022 08:34:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tLDjhhJ2aY1aEn1hdSAujHTyR9GmwKJnJkvpoPQkIdk=; b=XW7gbzTgnuOP Gfwoov8SC132GBRScHQyIf02jl65C6WCOjgwbZSVoufZ6sfDzRb9SS/ZnciePUh6QCfY5JLY1lW22 oglUSy5HpCg0xLN+IwLaQn+pfX4A1hreZ+hLTsUDHHFUOR5a+k1xcGsWZH0WUQKn0I5+wEXOgv6fj joJdVF/wLA1meCaexkP4O/wtn7jD/CQi0f/VC0X/34xspd2lcrf7sFIqOpQNxaStXtSOpYRtRCTOz XvDgWmBKnWvJ4jAGXt5p52wPX4AnW3BtXhveFb6W0ia+EnifLvvNOq7gZCYnSjlee4CYx2b+1TRD1 gcU2469GTnAPUlXCoEEGpg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox6wm-0007O6-4t; Mon, 21 Nov 2022 08:34:52 -0500 In-Reply-To: (message from Jean Louis on Mon, 21 Nov 2022 11:52:48 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248530 Archived-At: > Date: Mon, 21 Nov 2022 11:52:48 +0300 > From: Jean Louis > Cc: Eli Zaretskii , gregory@heytings.org, xerusx@pm.me, > 59388@debbugs.gnu.org > > * Jim Porter [2022-11-20 21:51]: > > Assuming it's possible, I think the most flexible, obvious, and > > consistent[1] way for it to work would be to obey the order of the > > arguments. So "emacsclient --funcall func file.txt" calls func and then > > visits file.txt, whereas "emacsclient file.txt --funcall func" visits > > file.txt and then calls func. > > I am sure that `-e' can be used to do that all. I guess you haven't read the discussion, because this was mentioned up-thread, and we still arrived at the above after talking about it.