Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [filtering]

The tag has no usage guidance.

2
votes
2answers
99 views

How keep only duplicate lines?

Emacs 26.1. Windows 10 In buffer I has text like this: 3333333 1111111 $PAC_LTC 1337_BTC 1337_LTC 404_BTC 42_BTC 222222 42_LTC 808_ETH 8BIT_BTC ...
1
vote
0answers
25 views

org-mode: Duplicate tag groups when filtering agenda

When filtering org-agenda by tags using org-agenda-filter-by-tag, tag groups specified in org-tag-alist show up multiple times. org-agenda-filter-by-tag uses the variable org-tag-alist-for-agenda, ...
2
votes
1answer
524 views

Error in process filter

I am trying to play with the make-process function and get information from it. I am getting some errors in my process filter that I am having trouble understanding. When I run my ceedling-version ...
0
votes
0answers
37 views

isearch-forward, call-interactively, and isearch-filter-predicate

Here are two use cases where I call isearch-forward with some filter predicate. (let ((isearch-filter-predicate (lambda (a b) nil))) (funcall 'isearch-forward)) (let ((isearch-filter-predicate (...
1
vote
1answer
51 views

ibuffer hide beginning of lines

When I press C-x C-b I get ibuffer (installed as part of prelude I think) I like to press backtick and get the Filename/Process displayed. Another SE answer helped me with that. (ibuffer hide columns)...
1
vote
1answer
173 views

Spacemacs+magit+helm checkout hide branches

Due to my workflow I have a lot of branches that I don't want to see in the magit helm checkout window. Is there a way to hide some branches here, preferably with a regexp?
0
votes
2answers
65 views

How do I filter an alist to just the properties I care about?

To effectively use a service's API, I'm leveraging json-read to turn the JSON response into an understandable data structure: (let ((json-object-type 'alist) (json-array-type 'list) (...
1
vote
0answers
112 views

Org-Agenda day agenda filtered by tags OR'ed

A custom Agenda view can be filtered by tags AND'ed, e.g. show entries having both play AND read tags, like this: (setq org-agenda-custom-commands '(("p" "play AND read" agenda "" ((org-agenda-...
3
votes
2answers
62 views

Builtin Filter Algorithm

In 25.1 there is (still) no builtin algorithm named filter. Why? What should I use instead? I think I've read somewhere that a standardized filter algorithm should be added to Emacs.
1
vote
2answers
208 views

Standard emacs lisp function for “collect-if”

Is there a standard emacs-lisp function replacement for (defun collect-if (PREDICATE LIST) (loop for el in LIST if (funcall PREDICATE el) collect el)) Example toy application: Extract the odd ...