unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37507: 26.3; Non-number value for `fill-column' causes wrong-type-arg error for `C-h f'
@ 2019-09-24 18:23 Drew Adams
  2019-09-24 18:30 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Drew Adams @ 2019-09-24 18:23 UTC (permalink / raw)
  To: 37507

`fill-column' is supposed to have an integer value > 0.

But if it has a non-numeric value then other functions can barf, unless
they watch out for that.

E.g.

emacs -Q

(setq fill-column nil)

C-h f forward-char ; raises error

That happens because `describe-function-1` calls
`fill-region-as-paragraph`, which ultimately calls
`fill-match-adaptive-prefix`, which barfs when it tries to add the
result of `current-fill-column` (nil) to integers.

This is a regression from older releases.


In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.17763
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-19  0:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-24 18:23 bug#37507: 26.3; Non-number value for `fill-column' causes wrong-type-arg error for `C-h f' Drew Adams
2019-09-24 18:30 ` Drew Adams
2019-09-24 19:53 ` Noam Postavsky
2019-09-24 20:49   ` Drew Adams
2019-09-25  6:37   ` Eli Zaretskii
2019-10-19  0:35 ` Stefan Kangas

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).