* bug#26701: 25.1; table-fixed-width-mode broken
@ 2017-04-28 19:27 Forrest Sedgwick
2019-10-09 7:58 ` Lars Ingebrigtsen
2021-12-01 18:49 ` Lars Ingebrigtsen
0 siblings, 2 replies; 6+ messages in thread
From: Forrest Sedgwick @ 2017-04-28 19:27 UTC (permalink / raw)
To: 26701
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))
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#26701: 25.1; table-fixed-width-mode broken
2017-04-28 19:27 bug#26701: 25.1; table-fixed-width-mode broken Forrest Sedgwick
@ 2019-10-09 7:58 ` Lars Ingebrigtsen
2019-10-09 13:05 ` Forrest Sedgwick
2019-10-09 16:53 ` Alex Branham
2021-12-01 18:49 ` Lars Ingebrigtsen
1 sibling, 2 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-09 7:58 UTC (permalink / raw)
To: Forrest Sedgwick; +Cc: 26701
Forrest Sedgwick <fgsedgwick@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#26701: 25.1; table-fixed-width-mode broken
2019-10-09 7:58 ` Lars Ingebrigtsen
@ 2019-10-09 13:05 ` Forrest Sedgwick
2019-10-09 18:51 ` Lars Ingebrigtsen
2019-10-09 16:53 ` Alex Branham
1 sibling, 1 reply; 6+ messages in thread
From: Forrest Sedgwick @ 2019-10-09 13:05 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 26701
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@gnus.org> wrote:
>
> Forrest Sedgwick <fgsedgwick@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#26701: 25.1; table-fixed-width-mode broken
2019-10-09 13:05 ` Forrest Sedgwick
@ 2019-10-09 18:51 ` Lars Ingebrigtsen
0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-09 18:51 UTC (permalink / raw)
To: Forrest Sedgwick; +Cc: 26701
Forrest Sedgwick <fgsedgwick@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#26701: 25.1; table-fixed-width-mode broken
2019-10-09 7:58 ` Lars Ingebrigtsen
2019-10-09 13:05 ` Forrest Sedgwick
@ 2019-10-09 16:53 ` Alex Branham
1 sibling, 0 replies; 6+ messages in thread
From: Alex Branham @ 2019-10-09 16:53 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 26701, Forrest Sedgwick
On Wed 09 Oct 2019 at 09:58, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Forrest Sedgwick <fgsedgwick@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#26701: 25.1; table-fixed-width-mode broken
2017-04-28 19:27 bug#26701: 25.1; table-fixed-width-mode broken Forrest Sedgwick
2019-10-09 7:58 ` Lars Ingebrigtsen
@ 2021-12-01 18:49 ` Lars Ingebrigtsen
1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-01 18:49 UTC (permalink / raw)
To: Forrest Sedgwick; +Cc: 26701
Forrest Sedgwick <fgsedgwick@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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-12-01 18:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-28 19:27 bug#26701: 25.1; table-fixed-width-mode broken Forrest Sedgwick
2019-10-09 7:58 ` Lars Ingebrigtsen
2019-10-09 13:05 ` Forrest Sedgwick
2019-10-09 18:51 ` Lars Ingebrigtsen
2019-10-09 16:53 ` Alex Branham
2021-12-01 18:49 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).