Re: [PATCH v2] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-15 Thread Ihor Radchenko
"Christopher M. Miles" writes: >> I do not think that we need to care about the value of >> `org-use-fast-tag-selection'. Instead, just >> >> 1. If the total number of tags does not exceed >>`org-fast-tag-selection-maximum-tags', display them all. >> 2. If the total number of tags is

Re: [PATCH v2] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-15 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> You are almost there. >>> Just run your code only when (lentgh> fulltable 26). >>> >>> Of course, 26 should be a defcustom rather than a hard-coded constant. >>> And do the same for `org-fast-todo-selection'. >> >> Ok, I added

Re: [PATCH v2] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-15 Thread Ihor Radchenko
"Christopher M. Miles" writes: >> You are almost there. >> Just run your code only when (lentgh> fulltable 26). >> >> Of course, 26 should be a defcustom rather than a hard-coded constant. >> And do the same for `org-fast-todo-selection'. > > Ok, I added defcustom option, and add cl-case