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:32:14 +0200 Message-ID: <83wn7q7q35.fsf@gnu.org> References: <835yfb7xo6.fsf@gnu.org> <518ded72c33c3608e35a@heytings.org> <83zgcm7rfg.fsf@gnu.org> <518ded72c37782cf8af5@heytings.org> <83y1s67qrg.fsf@gnu.org> <518ded72c3e3303c3aaf@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28461"; 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:33:36 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 1owSel-0007DD-PB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Nov 2022 19:33:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owSeI-0003jM-L3; Sat, 19 Nov 2022 13:33: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 1owSeE-0003j0-RM for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2022 13:33:03 -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 1owSeE-0006Oh-1l for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2022 13:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owSeD-00054t-Qe for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2022 13:33: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:33: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.166888273519467 (code B ref 59388); Sat, 19 Nov 2022 18:33:01 +0000 Original-Received: (at 59388) by debbugs.gnu.org; 19 Nov 2022 18:32:15 +0000 Original-Received: from localhost ([127.0.0.1]:41111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owSdT-00053v-C4 for submit@debbugs.gnu.org; Sat, 19 Nov 2022 13:32:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owSdR-00053i-S4 for 59388@debbugs.gnu.org; Sat, 19 Nov 2022 13:32:14 -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 1owSdM-0006Fk-Da; Sat, 19 Nov 2022 13:32:08 -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=Ra2YTYmMbsylRSKhiDIpk72Ouc86dgjJWfDeriTdplI=; b=E5L3/Sg6iyd2 ZC86P2MNn1JIcFgRZDaAuHLNfH7PZDt1+vS4cFgGFJn5uiLBIaLJVkHFWcEPBRQa2EoGfMDJGCIrI E2HfLD91p/Y5ZrVyFjaaKoD2EPsQ9rs/3LscC55dQdc3X148nM9JnhOa6iZysWrWIHMbUAhsA7yMa tlxW1BUPRnAmOre9U+CZhTGrDLNU1ykKkPRVN+rpKq5UPeWqUCJXVuyEczJuc9XGNIKwnPSEMSq5K 8b1V4tJjugK9QUPG+OLVo/JfdpVKhckk9Knr5U6nrtH65oyu0c4C04suNTs37DitSOSj0V2PBDcqh b3BkKNJVATxq9o1DdRVTjA==; 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 1owSdL-0005Ls-Ss; Sat, 19 Nov 2022 13:32:08 -0500 In-Reply-To: <518ded72c3e3303c3aaf@heytings.org> (message from Gregory Heytings on Sat, 19 Nov 2022 18:21:26 +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:248362 Archived-At: > Date: Sat, 19 Nov 2022 18:21:26 +0000 > From: Gregory Heytings > cc: xerusx@pm.me, 59388@debbugs.gnu.org > > Well, to achieve what he wants Janek would have to do something like > > emacsclient --eval '(progn (find-file "FILE") (goto-char (point-max)))' > > And that also means that the default (waiting) mode of emacsclient is not > available. And that is a problem? This use case is explicitly for human use (in contrast to the +LINE:COLUMN FILE case which is for programs that call $EDITOR). And it is a rare use case on top of that. So why typing a few words is a problem, and why does it justify yet another tweak of the UI? But if we do want to make this easier, I'd go with a new command-line switch, say, "--eob". The Vim way is cryptic and error-prone, so I don't think we should do the same. And I don't see at all why would someone needs to say "N lines from EOF".