GNU bug report logs - #10494
24.0.92; Syntax table and non-ASCII character interaction

Previous Next

Package: emacs;

Reported by: Aaron Ecay <aaronecay <at> gmail.com>

Date: Fri, 13 Jan 2012 08:42:01 UTC

Severity: wishlist

Tags: confirmed, notabug

Merged with 13129, 30815

Found in versions 24.0.92, 24.1, 25.1, 26.0.91

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Aaron Ecay <aaronecay <at> gmail.com>
Cc: 10494 <at> debbugs.gnu.org
Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction
Date: Fri, 13 Jan 2012 11:45:21 +0100
Aaron Ecay <aaronecay <at> gmail.com> writes:

> M-x text-mode
> don't
> C-a M-f
>   -> (as expected, the cursor moves to the end of the line)
> RET RET
> don M-x ucs-insert 2019 t
>   -> (text in buffer: "don’t")
> C-a M-f
>   -> (cursor is on the quotation mark, as expected)
> M-: (modify-syntax-entry ?’ "w" text-mode-syntax-table)
> C-a M-f
>   -> (BUG: cursor is on quotation mark, which should count as part of the word)

?’ isn't of the same script as the surrounding characters, so there are
word boundaries before and after it.  See also
word-combining-categories.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 7 years and 64 days ago.

Previous Next


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