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: Sat, 19 Nov 2022 20:03:15 +0200 Message-ID: <83zgcm7rfg.fsf@gnu.org> References: <835yfb7xo6.fsf@gnu.org> <518ded72c33c3608e35a@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7837"; mail-complaints-to="usenet@ciao.gmane.io" Cc: xerusx@pm.me, 59388@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 19 19:04:26 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 1owSCX-0001oa-TG for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Nov 2022 19:04:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owSCE-0007FE-SF; Sat, 19 Nov 2022 13:04:06 -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 1owSCA-0007Ea-K4 for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2022 13:04:04 -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 1owSCA-0006WO-Al for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2022 13:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owSC9-0004Nb-QQ for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2022 13:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Nov 2022 18:04:01 +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.166888100216789 (code B ref 59388); Sat, 19 Nov 2022 18:04:01 +0000 Original-Received: (at 59388) by debbugs.gnu.org; 19 Nov 2022 18:03:22 +0000 Original-Received: from localhost ([127.0.0.1]:41063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owSBV-0004Mi-Uf for submit@debbugs.gnu.org; Sat, 19 Nov 2022 13:03:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owSBQ-0004MR-EW for 59388@debbugs.gnu.org; Sat, 19 Nov 2022 13:03:19 -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 1owSBL-0006S7-0x; Sat, 19 Nov 2022 13:03:11 -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=YgjXftTsydnV+fLpnsblPqG8qaTYVXOmnc5yVgTwP5Q=; b=p6anrmjT9+aY T/WHJJnU7o4pqPUPb/sNgmKoezlagNLpgW9F3KkdIml1tpFJI6Cz+EGL37FLCbnheXtsFsmSB9TSZ 767pEwsaMUOGa+KyuJjfdqE/3qQpHalGSVNZjRoYSSVF954PZ5nx+2AEL35d5CigROBNySDCcUFgx +voS5Eox7mvjgPFRheDmfWKPQQX7KhnD4JfV5GK4vO5Xig8n3Zto3GJZUUSBMLq3hcgL5tXMHEw2h iydckht8jPzBsULWodjWRxOKX8LmJNW1ud9AizIvipf2r5Xz8mkcNfBdCbh8gVG9iBbVdVSG9uw6h dt9hRrgJfN4MVlS35XJz5A==; 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 1owSBK-0006CH-HC; Sat, 19 Nov 2022 13:03:10 -0500 In-Reply-To: <518ded72c33c3608e35a@heytings.org> (message from Gregory Heytings on Sat, 19 Nov 2022 17:10:02 +0000) 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:248357 Archived-At: > Date: Sat, 19 Nov 2022 17:10:02 +0000 > From: Gregory Heytings > cc: Janek F , 59388@debbugs.gnu.org > > >> I don't think there is any option right now to start emacsclient on the > >> last line of the file, barring adding lots of 9's. > > > > What about the --eval command-line option of emacsclient? > > > > It's not very convenient, you'd have to put the filename inside the > expression. You are probably assuming something very specific about the expression after --eval. > What do you think of the attached patch? I see no important use cases for this generalization.