bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10494: 24.0.92; Syntax table and non-ASCII character interaction


From: npostavs
Subject: bug#10494: 24.0.92; Syntax table and non-ASCII character interaction
Date: Sat, 13 Aug 2016 17:42:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
>
> How about mentioning describe-categories as well?

Okay, so:

diff --git i/src/category.c w/src/category.c
index 4397f66..8315797 100644
--- i/src/category.c
+++ w/src/category.c
@@ -336,6 +336,8 @@ DEFUN ("modify-category-entry", Fmodify_category_entry,
 the current buffer's category table.
 CHARACTER can be either a single character or a cons representing the
 lower and upper ends of an inclusive character range to modify.
+CATEGORY must be a category name (a character between ` ' and `~').
+Use `describe-categories' to see existing category names.
 If optional fourth argument RESET is non-nil,
 then delete CATEGORY from the category set instead of adding it.  */)
   (Lisp_Object character, Lisp_Object category, Lisp_Object table, Lisp_Object 
reset)


>
>> > Anyway, my point is that these char-tables should really be treated as
>> > read-only by Lisp applications.
>> 
>> Right, but I think this bug is about the user modifying stuff.
>
> Which is even less recommendable, IMO.  How many users really
> understand the implications?

Well, they might find what the implications are by trying it :)

Anyway, do you think there is anything else to do about this bug?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]