emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; kbd returns wrong value


From: Stefan Monnier
Subject: Re: 23.0.60; kbd returns wrong value
Date: Sat, 17 May 2008 23:12:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> (string-match "[^ \t\n\f<]+\\|<[^>]+>" ...

To avoid problems with C-x < and such, I'd recomment

> (string-match "[^ \t\n\f<]+\\|<[^ \n>]\\(?:[^>]*[^ >\n]\\)?>" ...

So there can be spaces in symbols, but not as first or last char.

The handling of "C-x <<" and such shouldn't matter because these aren't
valid anyway.


        Stefan




reply via email to

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