tablist icon indicating copy to clipboard operation
tablist copied to clipboard

Only one filter per mode is stored in tablist-named-filter

Open a13 opened this issue 4 years ago • 0 comments

Sorry if I do it the wrong way, but documentation isn't clear here.

What I'm trying to do is to add multiple filters interactively

  1. interactively tablist-edit-filter, put something like name == tmp there
  2. name it qaz with tablist-name-current-filter as a result, tablist-named-filter is ((navigel-tablist-mode ("qaz" == "name" "tmp")))

so everything looks fine, and (tablist-filter-names) returns ("qaz")

now I'm trying to add another filter

  1. interactively tablist-edit-filter, put something like name == opt there
  2. name it wsx with tablist-name-current-filter

expected result:

(tablist-filter-names) returns ("qaz wsx")

actual result (tablist-filter-names) returns ("wsx")

non-interactive tablist-put-named-filter works the same way - it stores the last filter only

I use tablist-20200427.2205 from MELPA.

a13 avatar Feb 25 '21 22:02 a13