From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs Subject: bug#46621: Copy line Date: Mon, 22 Feb 2021 17:28:39 +0100 Message-ID: References: <87tuq99ova.fsf@mail.linkov.net> <87y2fkrypp.fsf@gnus.org> <87ft1qq4b6.fsf@gnus.org> <87o8ge8ugr.fsf@mail.linkov.net> <87im6lls1r.fsf@mail.linkov.net> <87sg5o8nk9.fsf@mail.linkov.net> <83eeh8w1jz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36875"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 46621@debbugs.gnu.org Cancel-Lock: sha1:+pV6/2aAG+GOVUrFUqZVL54Akrs= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 22 17:37:03 2021 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 1lEECl-0009TS-2W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 17:37:03 +0100 Original-Received: from localhost ([::1]:53040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEECj-0002Y5-Er for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 11:37:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEE61-0005hJ-BM for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:30:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEE5y-0005Gz-36 for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:30:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEE5y-0001wc-0D for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:30:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87tuq99ova.fsf@mail.linkov.net> Resent-From: Helmut Eller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2021 16:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46621 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16140113527376 (code B ref -1); Mon, 22 Feb 2021 16:30:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Feb 2021 16:29:12 +0000 Original-Received: from localhost ([127.0.0.1]:57358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEE5A-0001ut-0L for submit@debbugs.gnu.org; Mon, 22 Feb 2021 11:29:12 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEE4u-0001uC-7t for submit@debbugs.gnu.org; Mon, 22 Feb 2021 11:29:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEE4t-00049N-5j for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:28:56 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:54698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEE4r-00057E-Pc for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:28:54 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lEE4p-0009o0-Ll for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 17:28:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:200598 Archived-At: On Mon, Feb 22 2021, Eli Zaretskii wrote: > More importantly, I see no description of the situations where such a > copy is needed, so it is hard to analyze reason about the necessity. One example where copy-line would be useful is editing configuration files. E.g. /etc/ssh/sshd_config list many options with the default value but as comments, like so: #SyslogFacility AUTH #LogLevel INFO ... other options ... Now, if I want to change LogLevel to say DEBUG, I would copy the line, keep the original, and edit the copied line. Not hard to do in Emacs, but somehow the vi way of doing this feels more efficient. Helmut