GNU bug report logs - #26701
25.1; table-fixed-width-mode broken

Previous Next

Package: emacs;

Reported by: Forrest Sedgwick <fgsedgwick <at> gmail.com>

Date: Fri, 28 Apr 2017 19:34:01 UTC

Severity: minor

Tags: confirmed

Found in versions 25.1, 24.3

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26701 in the body.
You can then email your comments to 26701 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#26701; Package emacs. (Fri, 28 Apr 2017 19:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Forrest Sedgwick <fgsedgwick <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 28 Apr 2017 19:34:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Forrest Sedgwick <fgsedgwick <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; table-fixed-width-mode broken
Date: Fri, 28 Apr 2017 12:27:10 -0700
1. emacs -Q
2. M-x insert-table in the scratch buffer, accept defaults
3. M-x table-fixed-width-mode
4. Type a word longer than column width, table automatically expands
instead of breaking word.



In GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-11-15 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 10.0.14393
Configured using:
 'configure --without-dbus --without-compress-install 'CFLAGS=-O2
 -static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
  table-fixed-width-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
You can run the command ‘table-insert’ with M-x ta-i RET
Table-Fixed-Width mode enabled in current buffer
You can run the command ‘table-fixed-width-mode’ with C-c C-c !
Table-Fixed-Width mode enabled in current buffer

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode cl-loaddefs pcase
cl-lib mail-prsvr mail-utils rect tabify table easymenu time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
w32notify w32 multi-tty make-network-process emacs)

Memory information:
((conses 16 94533 4946)
 (symbols 56 20106 0)
 (miscs 48 45 105)
 (strings 32 17152 3215)
 (string-bytes 1 473598)
 (vectors 16 12354)
 (vector-slots 8 432367 4494)
 (floats 8 162 54)
 (intervals 56 296 59)
 (buffers 976 20))




bug Marked as found in versions 24.3. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 28 Apr 2017 21:09:02 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 28 Apr 2017 21:09:02 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 28 Apr 2017 21:09:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26701; Package emacs. (Wed, 09 Oct 2019 07:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 26701 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Forrest Sedgwick <fgsedgwick <at> gmail.com>
Cc: 26701 <at> debbugs.gnu.org
Subject: Re: bug#26701: 25.1; table-fixed-width-mode broken
Date: Wed, 09 Oct 2019 09:58:48 +0200
Forrest Sedgwick <fgsedgwick <at> gmail.com> writes:

> 1. emacs -Q
> 2. M-x insert-table in the scratch buffer, accept defaults
> 3. M-x table-fixed-width-mode
> 4. Type a word longer than column width, table automatically expands
> instead of breaking word.

(I'm going through old Emacs bug reports that unfortunately got no
response at the time.)

I tried reproducing this, but I apparently have no such command as
`M-x insert-table'.  What does it do?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26701; Package emacs. (Wed, 09 Oct 2019 13:07:02 GMT) Full text and rfc822 format available.

Message #17 received at 26701 <at> debbugs.gnu.org (full text, mbox):

From: Forrest Sedgwick <fgsedgwick <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 26701 <at> debbugs.gnu.org
Subject: Re: bug#26701: 25.1; table-fixed-width-mode broken
Date: Wed, 9 Oct 2019 06:05:59 -0700
Hi Lars,

My apologies, it was "table-insert," not "insert-table."  It sets up
an ASCII table:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Table-Creation.html#Table-Creation

I had forgotten I filed this report!

Best Regards,
-Forrest


On Wed, Oct 9, 2019 at 12:58 AM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> Forrest Sedgwick <fgsedgwick <at> gmail.com> writes:
>
> > 1. emacs -Q
> > 2. M-x insert-table in the scratch buffer, accept defaults
> > 3. M-x table-fixed-width-mode
> > 4. Type a word longer than column width, table automatically expands
> > instead of breaking word.
>
> (I'm going through old Emacs bug reports that unfortunately got no
> response at the time.)
>
> I tried reproducing this, but I apparently have no such command as
> `M-x insert-table'.  What does it do?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26701; Package emacs. (Wed, 09 Oct 2019 16:54:01 GMT) Full text and rfc822 format available.

Message #20 received at 26701 <at> debbugs.gnu.org (full text, mbox):

From: Alex Branham <alex.branham <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 26701 <at> debbugs.gnu.org, Forrest Sedgwick <fgsedgwick <at> gmail.com>
Subject: Re: bug#26701: 25.1; table-fixed-width-mode broken
Date: Wed, 09 Oct 2019 12:53:11 -0400
On Wed 09 Oct 2019 at 09:58, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Forrest Sedgwick <fgsedgwick <at> gmail.com> writes:
>
>> 1. emacs -Q
>> 2. M-x insert-table in the scratch buffer, accept defaults
>> 3. M-x table-fixed-width-mode
>> 4. Type a word longer than column width, table automatically expands
>> instead of breaking word.
>
> (I'm going through old Emacs bug reports that unfortunately got no
> response at the time.)
>
> I tried reproducing this, but I apparently have no such command as
> `M-x insert-table'.  What does it do?

I think it's M-x table-insert now. I can reproduce this bug, FWIW.
Weirdly, too, the text takes a bit to appear although the cursor moves
forward.

Alex




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26701; Package emacs. (Wed, 09 Oct 2019 18:52:01 GMT) Full text and rfc822 format available.

Message #23 received at 26701 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Forrest Sedgwick <fgsedgwick <at> gmail.com>
Cc: 26701 <at> debbugs.gnu.org
Subject: Re: bug#26701: 25.1; table-fixed-width-mode broken
Date: Wed, 09 Oct 2019 20:51:14 +0200
Forrest Sedgwick <fgsedgwick <at> gmail.com> writes:

> My apologies, it was "table-insert," not "insert-table."  It sets up
> an ASCII table:

Ah, thanks.  I've never used this before...

[...]

>> > 1. emacs -Q
>> > 2. M-x insert-table in the scratch buffer, accept defaults
>> > 3. M-x table-fixed-width-mode
>> > 4. Type a word longer than column width, table automatically expands
>> > instead of breaking word.

I can reproduce the bug in Emacs 27, and looking at the code in
`table--cell-insert-char', it's just not used when inserting a
character -- even if the mode is on, words are never broken.

The code has been substantially rewritten over the years, and my guess
is that one of the rewrites made the code that actually did the
fixed-width-mode went missing, but finding what commit did this is
rather difficult.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26701; Package emacs. (Wed, 01 Dec 2021 18:50:02 GMT) Full text and rfc822 format available.

Message #26 received at 26701 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Forrest Sedgwick <fgsedgwick <at> gmail.com>
Cc: 26701 <at> debbugs.gnu.org
Subject: Re: bug#26701: 25.1; table-fixed-width-mode broken
Date: Wed, 01 Dec 2021 19:49:34 +0100
Forrest Sedgwick <fgsedgwick <at> gmail.com> writes:

> 1. emacs -Q
> 2. M-x insert-table in the scratch buffer, accept defaults
> 3. M-x table-fixed-width-mode
> 4. Type a word longer than column width, table automatically expands
> instead of breaking word.

I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 26701 <at> debbugs.gnu.org and Forrest Sedgwick <fgsedgwick <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 01 Dec 2021 18:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Dec 2021 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.