Closed super-tomcat closed 3 years ago
Okay i managed to solve this by using intern and symbol-name.
What was happening is that i am using a copy of the buffer-list (or so i thought) and when an isearch is started, then cancelled, the text properties of the search were being left in the buffer-list... i tried everything to create a copy of the buffer-list, including append and copy-sequence but none of them worked... is this because what ever changes are made in the copy goes through to the original list? If it is then its very annoying part of lisp!
I could have used this to clean up the Isearch properties left in the buffer-list, but it seemed like overkill and i wanted a better solution...
(dolist (x (buffer-list)) (remove-text-properties 0 (length (buffer-name x)) '(face nil) (buffer-name x)))
Anyway as first stated i managed to use intern on the buffer names then symbol-name which broke the link.
Is there a way to clear a previous Isearch before creating a popup with popup menu*?
I ask because i see the previous Isearch characters highlighted in a new popup even when that popup is not in Isearch mode, see attached, the pic shows a popup that is not in Isearch mode yet the previous Isearch characters (which was a *) are still highlighted?