From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.bugs Subject: bug#18183: 24.3; table-fixed-width-mode fails with kill/yank Date: Sun, 6 Dec 2020 04:06:48 -0500 Message-ID: <20201206090648.n23pfcopzkalkwqb@E15-2016.optimum.net> References: <53DE7C34.6030304@gmx.com> <87y2idizbd.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="776"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: 18183@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 06 10:07:50 2020 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 1klq1F-000067-1G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 10:07:49 +0100 Original-Received: from localhost ([::1]:55258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klq1D-0000ty-JA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 04:07:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klq0V-0000th-9P for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 04:07:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klq0U-0003oU-Ls for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 04:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klq0U-0007Ph-Gz for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 04:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Dec 2020 09:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18183 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 18183-submit@debbugs.gnu.org id=B18183.160724562028489 (code B ref 18183); Sun, 06 Dec 2020 09:07:02 +0000 Original-Received: (at 18183) by debbugs.gnu.org; 6 Dec 2020 09:07:00 +0000 Original-Received: from localhost ([127.0.0.1]:48864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klq0R-0007PQ-WB for submit@debbugs.gnu.org; Sun, 06 Dec 2020 04:07:00 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:52945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klq0Q-0007PD-6e for 18183@debbugs.gnu.org; Sun, 06 Dec 2020 04:06:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607245611; bh=Ul3boIpANLN1jWZMdRQxVFzUeQ2uIrm0hzA9MVIs07E=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=gc26RBAav76KtWZ/4JyFe/Su/tE1ffJn3BwmlvDnBjLYuO2VL7bG7Ea/wMyAJAwZ1 jE0dwl/Yfw1oYgRzqGWmtOY2guL3674yAOXD1NsWdpjw1AU8EReD+A/48Sh8Sp1fUA LaXcv63+TH99GQ2l/vNjp6+JF6/HFt5iRVUz4wmE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MZCb5-1khnXm1WfB-00VAEg; Sun, 06 Dec 2020 10:06:51 +0100 Content-Disposition: inline In-Reply-To: <87y2idizbd.fsf@gnus.org> X-Provags-ID: V03:K1:Y2x87soNYxDtY2th65asnCrlGqu/DyVtlpZaBdZcyooJz3tyCGM S1F2FcVxp/1iNDeyRdUpnSwT12e0KG+EjtpiHgdscb+yOxt5Qry7XoruDqa475h8rzsrEvO eOOPw3lhKr30R2VsvpPk++p4DG5enm+bUILPiExXH+WLUoUmDfLQF3qV+QO5BnxaQwGiGBI eYEZatM82p/I7Gy19uovg== X-UI-Out-Filterresults: notjunk:1;V03:K0:AVKKOn1zlpo=:uPtuKEU3CykioHG9zqx/DS E3ZJU4uR8By9cRfaR57xWubRsrnH3UCMMqcHxvmg6bZlbq9Zzj6nNvo3fXXAA4s4MambP4wyL McVEL0G6ebTBGV2nHG6wjur2LlPtSNqwluPeMpkrsrK8X+KJHn5zctudb7H6OLNmNrq5kzk+I gEsm3aRPAhuriHfUVv1J/JBi4dMxp6ITv0t8RY1CQSBxJ6fy+koYGzKzKrXBaLlvv9b/q3MkJ 5gwQtRAIfhaYezcI37rRXsVncuFpvfvlIhbwfrePD8UrqmdA8GY+jsuL61QikSvHSjDTNAfcs aF0BHpja0BWstfzzOgzUk5KlDoYcPQnBgolWGLoPcxi82YaaIGgqU59IZmzVcFyiNv3ZV9PqF TQ5AFPUf2rTG9W3GuqTTq6k4dXJ7UuO+VtFpUOfIqquFYIJGK2qLBkTk32BPVsX9ET7CFzEBS Y7i6IKRrzWMY6sU5Ie0vf+5Wn+8/jz61oTsRzo9dJreU4edUAHyMN3dE1zfB0peDMUBlckPRG nnAtoOwohlGlITg9SNnALJaq0vwqhf1BnpwOKJKjeMKHSWhiSS3mLfeX5Jilmjd8X7I0UEpz9 nrW3/YGbJ02Wq2Ap7+4x2t56CHGZ6fgn/xM2JN3gjwJpJSlnkQ4hMoMOgzJZ5WbHUFOiFpnA0 RxTMk0kqcv1zGJ1BYu3+JhKPNDZnRXKw6a2TVPwZQqHVgJ39uTJXZWgz51pmepg/tAJgy0PUu a0nWoLxiDZmTNzJaqqiXXaH6q/c0Ul7UvKKzxFDkt3oJWLKTf1Tc5mcXx2jzJw2h5lQb3NxA 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" Xref: news.gmane.io gmane.emacs.bugs:195072 Archived-At: On 2020-12-04 12:29, Lars Ingebrigtsen wrote: > Boruch Baum writes: > > > typing directly into a cells in tables does not change the size of the > > cell when table-fixed-width-mode is set; however, yanking and killing > > within a cell does change the size of the cell. > > (This bug report unfortunately got no response at the time.) > > Do you have a recipe, starting from "emacs -Q", to reproduce this bug? Yes. A form of this bug is reproducible in emacs-snapshot, inconsistencies of mode's definition, so I'm providing a recipe for the simplest case, tested in an October version of emacs-snapshot. After opening a fresh emacs: 1) find an org-mode file 2) create an org-mode heading line just to show you're in org mode, eg * foo 3) M-x table-fixed-width-mode 4) Verify by evaluating table-fixed-width-mode and getting a 't' result 5) Create a table, using the defaults of M-x table-insert 6) C-c ' to edit the current table cell 7) Insert a string greater than the cell width. The expected behavior is "A word that is too long to fit in a cell is chopped into multiple lines". Note that is not the case within the cell editor pop-up buffer. Rather the cell width is expanded. 8) Save your cell-edit changes using C-c '. Note the persistence of the unexpected behavior. My vague vague memory of the distant past when I submitted the bug report was that the unexpected behavior was different, as described in my initial report, but some form of that original bug remains, just now it's more consistent, and behaves just as badly whether inserting or yanking text into a cell. At this point, since the behavior is consistent, a lazy way to 'fix' the bug might be to just change the docstring... =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0