From unknown Sun Aug 17 09:11:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9870 <9870@debbugs.gnu.org> To: bug#9870 <9870@debbugs.gnu.org> Subject: Status: Completion breaks text properties Reply-To: bug#9870 <9870@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:11:42 +0000 retitle 9870 Completion breaks text properties reassign 9870 emacs submitter 9870 =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec severity 9870 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 18:19:33 2011 Received: (at submit) by debbugs.gnu.org; 25 Oct 2011 22:19:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIpLJ-0007l5-69 for submit@debbugs.gnu.org; Tue, 25 Oct 2011 18:19:33 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIpLF-0007km-OS for submit@debbugs.gnu.org; Tue, 25 Oct 2011 18:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIpJY-0001NJ-3V for submit@debbugs.gnu.org; Tue, 25 Oct 2011 18:17:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:36086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIpJX-0001Mb-Dj for submit@debbugs.gnu.org; Tue, 25 Oct 2011 18:17:43 -0400 Received: from eggs.gnu.org ([140.186.70.92]:59380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIpJV-0007rR-F1 for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 18:17:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIpJT-0001Jo-6k for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 18:17:41 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:46422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIpJR-0001HC-IG for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 18:17:38 -0400 Received: by faat2 with SMTP id t2so1325555faa.0 for ; Tue, 25 Oct 2011 15:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=OPg6HhGnyDwM+HYCoBHJdmgldf8M0mMgoMPYWq1WvEY=; b=wZ11IajyAuJbs8zTuuXMJVnJUTQUnxf7gsNUOFsb+CYlCqNLnLpKINoBdI4nkqXFMz rs71zP2y3MM+0VXvz9TjKqKkN/9pz/4+P8W/zIah2urvfXkX638mezFstXukiXrBiJaE BE9ADQjVtiVXbUQJYVHVWU4cCIuJFXYuf6uzU= Received: by 10.223.4.215 with SMTP id 23mr54108733fas.8.1319581055334; Tue, 25 Oct 2011 15:17:35 -0700 (PDT) Received: from localhost (176.119.broadband10.iol.cz. [90.177.119.176]) by mx.google.com with ESMTPS id y2sm80179fag.12.2011.10.25.15.17.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Oct 2011 15:17:32 -0700 (PDT) From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: bug-gnu-emacs Subject: Completion breaks text properties Date: Wed, 26 Oct 2011 00:11:47 +0200 Message-ID: <87k47s4t7g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) In-buffer completion as performed by `completion-at-point' is really just another form of user text insertion (i.e., typing) and should respect text properties just as `self-insert-command' does. But it doesn't. Replacing `insert' with `insert-and-inherit' inside `completion--replace' seems to fix things for me. --=20 =C5=A0t=C4=9Bp=C3=A1n From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 19:20:34 2011 Received: (at 9870) by debbugs.gnu.org; 25 Oct 2011 23:20:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIqIL-0000js-Si for submit@debbugs.gnu.org; Tue, 25 Oct 2011 19:20:33 -0400 Received: from fencepost.gnu.org ([140.186.70.10] ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIqIJ-0000jj-Vs for 9870@debbugs.gnu.org; Tue, 25 Oct 2011 19:20:33 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RIqGh-0004E4-G8; Tue, 25 Oct 2011 19:18:51 -0400 From: Glenn Morris To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Subject: Re: bug#9870: Completion breaks text properties References: <87k47s4t7g.fsf@gmail.com> X-Spook: virus North Korea emc Cocaine chameleon man Mahmoud X-Ran: 5HDifZ;">$QDd`8ud2pVD;0!k$QVz0:`E(mlnqCMuMy]<)rT\M:\C)Au(^Hv*;i6Kp~n|) X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 25 Oct 2011 19:18:51 -0400 In-Reply-To: <87k47s4t7g.fsf@gmail.com> (=?utf-8?B?IsWgdMSbcMOhbiBOxJtt?= =?utf-8?B?ZWMiJ3M=?= message of "Wed, 26 Oct 2011 00:11:47 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9870 Cc: 9870@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: > Replacing `insert' with `insert-and-inherit' inside > `completion--replace' seems to fix things for me. This was done last week. 2011-10-17 Stefan Monnier * minibuffer.el (completion--replace): Inherit surrounding properties (bug#114). From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 19:37:46 2011 Received: (at 9870-done) by debbugs.gnu.org; 25 Oct 2011 23:37:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIqZ0-00017h-Nk for submit@debbugs.gnu.org; Tue, 25 Oct 2011 19:37:46 -0400 Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIqYy-00017U-DH for 9870-done@debbugs.gnu.org; Tue, 25 Oct 2011 19:37:45 -0400 Received: by faas12 with SMTP id s12so1081323faa.3 for <9870-done@debbugs.gnu.org>; Tue, 25 Oct 2011 16:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=HLpi0LXuqnTfPJCJ8ikZ2NY1I/FiMPTKox4HloU4lMI=; b=OzVA5SC4879tQM8A48bBha9sKyaDZ6dXnAMmJ0O82fUh6UU48WSmLPKSz3Zyqy0PCK /h+N2ofeu6vXiDlPgK42DXoXp98ZOXkLa1uuYARL5rG1YmWNRMrwK7gN50xz2XPoDPAu 5iNsXiq/RK7lF5lQvsq9glHnWYyI+qD/i5eiU= Received: by 10.223.15.13 with SMTP id i13mr18140874faa.36.1319585759103; Tue, 25 Oct 2011 16:35:59 -0700 (PDT) Received: from localhost (176.119.broadband10.iol.cz. [90.177.119.176]) by mx.google.com with ESMTPS id j5sm429204faf.14.2011.10.25.16.35.57 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Oct 2011 16:35:57 -0700 (PDT) Date: Wed, 26 Oct 2011 01:30:12 +0200 From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: Glenn Morris Subject: Re: bug#9870: Completion breaks text properties Message-ID: <20111025233012.GH11154@headley> References: <87k47s4t7g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 9870-done Cc: 9870-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) On Tue, Oct 25, 2011 at 07:18:51PM -0400, Glenn Morris wrote: > This was done last week. > > 2011-10-17 Stefan Monnier > > * minibuffer.el (completion--replace): Inherit surrounding properties > (bug#114). Great, thank you! (And sorry for the noise.) -- Štěpán From unknown Sun Aug 17 09:11:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Nov 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator