From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#46621: Copy line Date: Thu, 23 Jun 2022 11:22:29 +0200 Message-ID: <87tu8bwx7u.fsf@gmail.com> References: <87tuq99ova.fsf@mail.linkov.net> <07496A25-CD5D-46E6-8F1C-7BD29143F3C8@acm.org> <87o7yoyj38.fsf@gnus.org> <449B2624-107D-4083-AE74-989F39C93936@acm.org> <871qvkvft6.fsf@gnus.org> <181B4CC3-B934-45AE-A7E8-9AF2B70C302E@acm.org> <87bkum1eyc.fsf@gnus.org> <861qvikk4l.fsf@mail.linkov.net> <87zgi5uyr1.fsf@gnus.org> <86o7yl9oc4.fsf@mail.linkov.net> <878rppuo9j.fsf@gnus.org> <87wnd8r4v2.fsf@codeisgreat.org> <87y1xnzuog.fsf@gnus.org> <87a6a3ree0.fsf@codeisgreat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11561"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46621@debbugs.gnu.org, Lars Ingebrigtsen , Pankaj Jangid To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 23 11:23:16 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 1o4J3U-0002l5-Ad for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 11:23:16 +0200 Original-Received: from localhost ([::1]:35934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4J3S-0003zi-Og for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 05:23:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4J3G-0003xq-Sw for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2022 05:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4J3G-0003sL-L1 for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2022 05:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4J3G-0006Yf-Fs for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2022 05:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Jun 2022 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46621 X-GNU-PR-Package: emacs Original-Received: via spool by 46621-submit@debbugs.gnu.org id=B46621.165597616225164 (code B ref 46621); Thu, 23 Jun 2022 09:23:02 +0000 Original-Received: (at 46621) by debbugs.gnu.org; 23 Jun 2022 09:22:42 +0000 Original-Received: from localhost ([127.0.0.1]:37373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4J2w-0006Xn-Gj for submit@debbugs.gnu.org; Thu, 23 Jun 2022 05:22:42 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:53049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4J2r-0006XX-Kg for 46621@debbugs.gnu.org; Thu, 23 Jun 2022 05:22:41 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id q15so10651048wmj.2 for <46621@debbugs.gnu.org>; Thu, 23 Jun 2022 02:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=KRfwraz68Xnzyu8WvmSYmrEl9Q8XckQwHs8LQnV7srQ=; b=IGfhjAaPx8awBpL1oZzaXQc21mIUyKaExalbq3KdACuQ9dhaJ0VQFUkVH7/aaxAE3I FGgbqQ3kyWhtAoYcXlhNX3cMV0yz9w7pMmeC0U90Z4PVCqI4jWmcKWxtL0OPRCTf6Adv 338ua3F7ennG7Z9dMyoeD8IOh7NPs9VZrXfim67YEXPoC2FrPnzpoQLOGPZuhDz4sEpC /+k3x/Gh5/1xoCl1g5Pw8Q60+NXazOjNux78rB3MFC0nwqF2IaT+8TWjSaVZz+tEUiru kqtnhFlYkKY9cJ2c/DpO8oIO19vIMBiTRJtUsxRXcblq8Z2STR1ry34SIUemSLwHvzpa nRxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=KRfwraz68Xnzyu8WvmSYmrEl9Q8XckQwHs8LQnV7srQ=; b=XlMEBw7cBn5ufxC5o7xCwyOA3hHZX6c/Nhqx5eOmBAzoGGXSK+vQCexZJJXU458do3 RutVuT2XrSuWvWkZTywLfzFMbpuZIsDBHREYJGJHCG7DeMkSzs2FyS8ZuDkd0GvAUfV8 AnA1wdtVqSu+rhXJbOZjyvPbkrHfZlvimFgaXyetBZ+JlL3yT1z4V3VdELuYptCFAgZs UVXnu+IteSwAoPqBqnhNGVz23GwIlNfw/NupV/czRCEVxK1OKE5mAevgcwMpCJv5P0z6 zKX3OvO/UBbcbbLeJOE4yRo6KqRZWlYBTlYle63u3ED9Q7c8aZZZ7g7UG0KIDrsFOlwF wr5Q== X-Gm-Message-State: AJIora+W7WtCHlFIN3jBRa+RpIcMRHEnTpBCgGiKANO+t9TdRAT7H/4l YeW+gb7N1kbz7VyyjsXZWfo= X-Google-Smtp-Source: AGRyM1tdT8gSJKZRTKsVHyjzM/2gDfL9m3FwBdRIkYWIioJuUXGvAIm4tfQ5XniF+O9Ipt8pFcf/JQ== X-Received: by 2002:a05:600c:1f0f:b0:39e:f836:d7eb with SMTP id bd15-20020a05600c1f0f00b0039ef836d7ebmr3128253wmb.160.1655976151563; Thu, 23 Jun 2022 02:22:31 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:7da1:5829:f7f3:85f2]) by smtp.gmail.com with ESMTPSA id m3-20020a7bcf23000000b0039c457cea21sm2311041wmg.34.2022.06.23.02.22.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 02:22:30 -0700 (PDT) In-Reply-To: (Andreas Schwab's message of "Thu, 23 Jun 2022 10:17:04 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:235093 Archived-At: >>>>> On Thu, 23 Jun 2022 10:17:04 +0200, Andreas Schwab s= aid: Andreas> On Jun 23 2022, Pankaj Jangid wrote: >> Lars Ingebrigtsen writes: >>=20 >>>> Behaviour could be different, depending upon what programming cons= truct >>>> your are in. For example, in C, >>>>=20 >>>> #include >>>> #include >>>> ... >>>>=20 >>>> if I have to include a new library I=E2=80=99ll go to line-no 2 ca= ll >>>> duplicate-line and then I want the point at the end. >>>=20 >>> But why do you want point at the end? You want to edit those dupli= cated >>> lines, presumably. >>=20 >> Yes I want to edit it from the end. Andreas> duplicate-line should keep point at the same column. duplicate-line-pre-hook and duplicate-line-post-hook anyone? =F0=9F=98=9B Seriously, it=CA=BCs a primitive operation, so Andreas is right. Anyone who wants to customize the behaviour can advise it. Robert --=20