From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#9870: Completion breaks text properties Date: Wed, 26 Oct 2011 00:11:47 +0200 Message-ID: <87k47s4t7g.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1319581122 11415 80.91.229.12 (25 Oct 2011 22:18:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 22:18:42 +0000 (UTC) To: 9870@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 00:18:38 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIpKP-0002zP-71 for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2011 00:18:37 +0200 Original-Received: from localhost ([::1]:59587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIpKN-00084N-SD for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 18:18:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIpKF-000815-VS for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 18:18:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIpKB-0001fA-DX for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 18:18:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIpKB-0001ew-6g for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 18:18:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RIpLm-0007lp-8N for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 18:20:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.131958117329830 (code B ref -1); Tue, 25 Oct 2011 22:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2011 22:19:33 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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= Original-Received: by 10.223.4.215 with SMTP id 23mr54108733fas.8.1319581055334; Tue, 25 Oct 2011 15:17:35 -0700 (PDT) Original-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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 25 Oct 2011 18:20:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53131 Archived-At: 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