unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Forrest Sedgwick <fgsedgwick@gmail.com>
Cc: 26701@debbugs.gnu.org
Subject: bug#26701: 25.1; table-fixed-width-mode broken
Date: Wed, 09 Oct 2019 20:51:14 +0200	[thread overview]
Message-ID: <874l0h7nx9.fsf@gnus.org> (raw)
In-Reply-To: <CACazJOXG6obUzHRTdBH2KOzUSxbOp2zwzkq1CD_UBCOVNFQcsA@mail.gmail.com> (Forrest Sedgwick's message of "Wed, 9 Oct 2019 06:05:59 -0700")

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





  reply	other threads:[~2019-10-09 18:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-10-09 16:53   ` Alex Branham
2021-12-01 18:49 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l0h7nx9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=26701@debbugs.gnu.org \
    --cc=fgsedgwick@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).