From unknown Sat Aug 16 18:38:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9870: Completion breaks text properties Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Oct 2011 22:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9870@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs Received: via spool by submit@debbugs.gnu.org id=B.131958117329830 (code B ref -1); Tue, 25 Oct 2011 22:20:02 +0000 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?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= 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-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 unknown Sat Aug 16 18:38:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9870: Completion breaks text properties Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Oct 2011 23:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Cc: 9870@debbugs.gnu.org Received: via spool by 9870-submit@debbugs.gnu.org id=B9870.13195848342847 (code B ref 9870); Tue, 25 Oct 2011 23:21:02 +0000 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 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-Attribution: GM Date: Tue, 25 Oct 2011 19:18:51 -0400 In-Reply-To: <87k47s4t7g.fsf@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s 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-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 unknown Sat Aug 16 18:38:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Subject: bug#9870: closed (Re: bug#9870: Completion breaks text properties) Message-ID: References: <20111025233012.GH11154@headley> <87k47s4t7g.fsf@gmail.com> X-Gnu-PR-Message: they-closed 9870 X-Gnu-PR-Package: emacs Reply-To: 9870@debbugs.gnu.org Date: Tue, 25 Oct 2011 23:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1319585882-4349-1" This is a multi-part message in MIME format... ------------=_1319585882-4349-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #9870: Completion breaks text properties which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 9870@debbugs.gnu.org. --=20 9870: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9870 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1319585882-4349-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1319585882-4349-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1319585882-4349-1--