From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#26672: 25.2; Flyspell overlay conflicts with table.el Date: Wed, 26 Apr 2017 15:00:05 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1493244071 28515 195.159.176.226 (26 Apr 2017 22:01:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2017 22:01:11 +0000 (UTC) To: 26672@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 27 00:01:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3Uzh-0007DG-Uq for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Apr 2017 00:01:06 +0200 Original-Received: from localhost ([::1]:57330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3Uzm-0006vJ-2p for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Apr 2017 18:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3Uzg-0006uL-59 for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2017 18:01:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3Uzf-0004p3-Cq for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2017 18:01:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3Uzf-0004oT-1j for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2017 18:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d3Uze-0008EO-N5 for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2017 18:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Apr 2017 22:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149324402031580 (code B ref -1); Wed, 26 Apr 2017 22:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2017 22:00:20 +0000 Original-Received: from localhost ([127.0.0.1]:42103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3Uyy-0008DI-GP for submit@debbugs.gnu.org; Wed, 26 Apr 2017 18:00:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3Uyw-0008D6-PN for submit@debbugs.gnu.org; Wed, 26 Apr 2017 18:00:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3Uyq-0004Hi-Ma for submit@debbugs.gnu.org; Wed, 26 Apr 2017 18:00:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3Uyq-0004Hb-JJ for submit@debbugs.gnu.org; Wed, 26 Apr 2017 18:00:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3Uyp-0006qS-EG for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2017 18:00:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3Uyk-0004BJ-WD for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2017 18:00:11 -0400 Original-Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:35999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3Uyk-0004AT-RB for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2017 18:00:06 -0400 Original-Received: by mail-oi0-x234.google.com with SMTP id w12so17384107oiw.3 for ; Wed, 26 Apr 2017 15:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=cyScinlr2mTHq6RlmrUDXjnUY7QMHi2r9i4fjRKsEhQ=; b=I835rOXVpnTUKTN1m02z/S3RJ3gBN89e6slXfq07nr5+8cGalgQe23fvCkgmkKkzbF T+3eGt8oQjJAp+WDCXX8/727ztYXKhl3sZDZFzek9yMZ28sVDdXRaP2U39uyDdpoUs3O Q7UTjsDCedp16lTOw/9ohjB2+W1+Id0NqR/1A8+0+RRSJ1Fbp6WO1K5Ftc44IjtP/A1l WeyhCJhshunYHJAnZ/ydjeyJQFncHODSHaeSFVeogwvb17T7UF7mcVxlLxA/Y92oMRRo nr9oPygH9BGofBbjq2Ps+HSM67Bk56t4+w9omEvCQUuiLNKKbti97w+NXUowR8lpJdlq HpKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=cyScinlr2mTHq6RlmrUDXjnUY7QMHi2r9i4fjRKsEhQ=; b=chQDIpwKJmrN8piFGLV9tlWGiE8/bPYCfGnP4q1K6UP4PHEHYn/v+pD3ei4Buus7+J mSRaiQMJo2WDINex5RMirN2HqkHyezfZ8YOO78BSkQlBmo9E9UNojr0La2mMVvKZlEwU BdByYWtlKAxp8KGRPciHG0tJrWpj+KgQrhybLMgxyPK9t5VTSDqQGAqVPtznZgXru8FX AbgKn7vBTz+EDm4pqhYNAgdueyomXEIJYU8i8KJ0yeL5SSZmH3bmPSuQ+cSpfsm4GF7n YXEyKLILf2EI1ozHDiZn63H/fNaGKJF1BsA9q6g+6AvFT/Kw/b3VLH+XHN58MBHa5shK Oe1w== X-Gm-Message-State: AN3rC/64vIHzgOtF5R+mq+tpWXceHagUJBOcJksHU5N9UrfzJMa5e5DW m7Zv1rDlAO5S3tAq+zMPkghbHA9FUsgpBn4= X-Received: by 10.157.5.178 with SMTP id 47mr1205716otd.39.1493244005514; Wed, 26 Apr 2017 15:00:05 -0700 (PDT) Original-Received: by 10.157.42.79 with HTTP; Wed, 26 Apr 2017 15:00:05 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:132036 Archived-At: Flyspell's overlay for misspelled words conflicts with table.el table.el adds its keymap as a text property to the text in table cells. When Flyspell detects a misspelled word, it adds an overlay with a keymap binding mouse2 to =E2=80=98flyspell-correct-word=E2=80=99. Apparent= ly, this overlay keymap overrides table.el=E2=80=99s =E2=80=98keymap=E2=80=99 text p= roperty. The effect of this is that pressing TAB to move between table cells will instead insert a literal tab character if your cursor happens to be on a misspelled word. This is extremely annoying. More generally, I=E2=80=99m not sure that an overlay keymap replacing the =E2=80=98keymap=E2=80=99 text property is desired behavior. At the very le= ast, there should be an escape hatch option on the overlay keymap that defers to the =E2=80=98keymap=E2=80=99 text property for cases like Flyspell where re= placing the =E2=80=98keymap=E2=80=99 text property is not desired behavior. I am aware that there=E2=80=99s an option =E2=80=98flyspell-highlight-prope= rties=E2=80=99 to prevent Flyspell adding its overlay if the text has properties, but that=E2=80=99s not really useful since most modes other than perhaps fundam= ental or text will add various properties to text.