Skip to content

counsel-yank-pop ignores some kill-ring entries #973

Closed
@ghost

Description

I've noticed that counsel-yank-pop seems to not display some entries from the kill-ring. I don't know the exact criteria, but it seems to ignore short entries that contain contain non-ASCII characters.

For example, the following kill-ring entries do not appear in the counsel-yank-pop completion list:

"•"
"×"
"©" 

The entries:

"• "
"× "
"© " 

are similarly ignored. However the entries:

"• abcd"
"× abcd"
"© abcd"

and

"•
×
©"

all appear in the list as expected.

Also, an unrelated question:- if I do an accidental yank-pop (via M-y), Emacs tells me that the "Previous command was not a yank". However, the behaviour of counsel-yank-pop is different, bringing up the completion list regardless of the previous command. Can I change this?

If it matters, I'm running swiper 0.9.0 and mac-port Emacs 25.2.1 on macOS 10.12.4, although I see the same result on GNU NS Emacs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions