[Top][All Lists]

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

RE: 23.0.60; kbd returns wrong value

From: Drew Adams
Subject: RE: 23.0.60; kbd returns wrong value
Date: Sat, 17 May 2008 22:32:11 -0700

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

See my previous message in reply to David, and my followup to that. Like David's
suggestion for the regexp, yours fails for "C-x <":

(edmacro-parse-keys "C-x <") gives "^X" (control-x character).

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

Then what is that part of the code for? Addin some comments to the code would
help understanding.

reply via email to

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