From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#64903: 28.2; completion-at-point deletes next line(s) when completing a single character in elisp Date: Sun, 3 Sep 2023 02:43:17 -0700 Message-ID: References: <83lef1l2pl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17793"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64903-done@debbugs.gnu.org, Thalis Charakas To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 03 11:44:07 2023 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 1qcjeJ-0004Vt-D0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Sep 2023 11:44:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcje5-0005sN-Kh; Sun, 03 Sep 2023 05:43:53 -0400 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 1qcje4-0005rG-Ev for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:43:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcje4-0007oD-6r for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:43:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcjeE-0001vh-E3 for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:44:02 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Sep 2023 09:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 64903@debbugs.gnu.org, stefankangas@gmail.com, thales1@protonmail.com Original-Received: via spool by 64903-done@debbugs.gnu.org id=D64903.16937342167352 (code D ref 64903); Sun, 03 Sep 2023 09:44:02 +0000 Original-Received: (at 64903-done) by debbugs.gnu.org; 3 Sep 2023 09:43:36 +0000 Original-Received: from localhost ([127.0.0.1]:39560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjdo-0001uW-FD for submit@debbugs.gnu.org; Sun, 03 Sep 2023 05:43:36 -0400 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:44504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjdm-0001uG-HM for 64903-done@debbugs.gnu.org; Sun, 03 Sep 2023 05:43:34 -0400 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fe27849e6aso809017e87.1 for <64903-done@debbugs.gnu.org>; Sun, 03 Sep 2023 02:43:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693734198; x=1694338998; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=ZZlt85zi7zseYJ/iQ//Jn7znpBDYoh/JN6JK3EfrD1k=; b=Hj/ZYipNa6yrmUo64YfTG72prg2mX7n0Ry/uIBOdws7PaF5Eq4MOZAu8vbk0Jg5s/T dSzfUfrlQy9V/CgBIo62cWkg2DKMSYE2BuhYR9gW0mvuvey4wAob8dDdCEh77uyciO3R zwH9pQGghBjgo+qIFrsB7jy8J0aJ+4gbsJ00H3HQ7NvQugd5QVu1B+ac8ijqvGV8yB9Q Dyb2+CgRbOKiijmSlMCeleoQeibHWwQbGohi22BlaY1Eyf1kJ1eSCzqfTYCVazZ1/I5f 6qoL1rRb+N9ya06VJzsnDtCg7OHp08mGed5GXNp6SUuT11GfEHlj606bRiWNU8aFoGGw rZcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693734198; x=1694338998; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZZlt85zi7zseYJ/iQ//Jn7znpBDYoh/JN6JK3EfrD1k=; b=IFPF/EYD4kQNO2t/neLoI9wV9N3/nJPGRhJ0U9VSW5uDcasFFBCQQ65ZqY0NhqZhrj FxMz2OrdXiApLoGjl9S9DUylzNmSv3vSuZ0ZkFJ2lILhhVlX1nL3loJzP0J5DFwAKTpf kTCx9vnmgb+tqm4+StpAeC1JpiFv55/uDg9tXnn7LCG6GdHHWTLSc4X39CQ8/H6RcYoR SpORCwZK0rjaQNyV01EZIjVfyIVhypjluHpP8zD3UD6wjeWrjaVdxEoOp93vfrVayNqu 6NrlhGl2292qc/m98gZ86aOLo0IOIMkHYrjtkG56+oNniXd5hwuRTqkK8h+n1HsFsBDe GzMg== X-Gm-Message-State: AOJu0YwI/uKJaJX1VPljanOpDOfu4Zat/Y2mZOg+CiVHIXsMDkzRIeM9 gd0ujhhmEKG66PkzDP9esmBNWzBhzEftAP0NYI0khNGf+2k= X-Google-Smtp-Source: AGHT+IF/C5CTzEAvciEsIrofZOXdnRopb65fnhJQeA5HUzegUZI1gD1nTDmkO21eMVePMuSo4/JxgUtwknGWVDcd39M= X-Received: by 2002:ac2:53af:0:b0:500:7dc0:b0b2 with SMTP id j15-20020ac253af000000b005007dc0b0b2mr4431224lfh.28.1693734198088; Sun, 03 Sep 2023 02:43:18 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 02:43:17 -0700 In-Reply-To: <83lef1l2pl.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Jul 2023 19:49:10 +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:269122 Archived-At: Eli Zaretskii writes: >> Date: Thu, 27 Jul 2023 16:10:23 +0000 >> From: Thalis Charakas via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> This bug happens with "emacs -q -Q" >> >> When completing a single character with completion-at-point (M-C-i) in elsip, >> after you select the desiered completion, it is inserted in the buffer >> but some of the following lines are deleted. This does not happen when >> the line has two characters. >> >> Examples are with "emacs -q -Q" >> >> Example 1: >> - Write "(setq foo nil)" in scratch. >> - Go to the line before that and type "(". >> - Press M-C-i. >> - Select any outecome. >> The (setq foo nil) is no longer there. > > Why do you consider this a bug? The documentation of the command > says: > > Perform completion on the text around point. > > It doesn't tell what it considers to be "text around point", but why > shouldn't it consider the line you say is deleted as "text around > point", and therefore replace it with the completion candidate you > select from the list? More information was requested, but none was given within 5 weeks, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report.