GNU bug report logs -
#20871
25.0.50; fill-single-char-nobreak-p does not recognize a single-letter word when it is preceded by an open paren
Previous Next
Reported by: Marcin Borkowski <mbork <at> mbork.pl>
Date: Mon, 22 Jun 2015 10:21:02 UTC
Severity: normal
Found in version 25.0.50
Fixed in version 27.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Marcin Borkowski <mbork <at> mbork.pl>
> Cc: 20871 <at> debbugs.gnu.org
> Date: Wed, 27 Apr 2016 09:02:36 +0200
>
> >> I see. So you suggest that instead of patching
> >> `fill-single-char-nobreak-p' I should have provided another function,
> >> customized for Polish?
> >
> > Yes, I think so. There's already fill-french-nobreak-p, why shouldn't
> > there be a Polish predicate?
>
> I attach a new patch. Is it better now?
Yes, thanks.
Just one comment, for your consideration:
> + (looking-at "[^[:alpha:]][[:alpha:]]")))
You should be aware that starting with Emacs 25.1 [:alpha:] matches a
very large class of characters, some of them having nothing in common
with those used in Polish. So perhaps it is better to use '\cl'
instead, which will only capture Latin characters? Just a thought --
your call.
This bug report was last modified 5 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.