Skip to main content

Questions tagged [search]

Questions about search mechanics inside of Emacs.

Filter by
Sorted by
Tagged with
0 votes
1 answer
141 views

In a very long text, I'd like to search for strings with the following properties: Starts with (let's say) #. Ends with (let's say) @. Does not contain # or @. Does not contain the substring (let's ...
pglpm's user avatar
  • 397
0 votes
0 answers
23 views

I'm using doom emacs, which has in-built configuration to search for text in buffers with key binding / (evil-ex-search-forward). Once I search, I can hit RET and use either n or S-n to cycle through ...
Gangula's user avatar
  • 429
3 votes
2 answers
148 views

To reproduce, press C-s, fill in a search string which occurs more than once in the rest of the file, then press C-s again. At this point I would expect backspace to delete the last character of the ...
l0b0's user avatar
  • 150
0 votes
1 answer
69 views

I'm using helm-swoop to search within the current buffer using regular expressions. My goal is to find lines containing a whitespace character followed immediately by the digit 4. Consider a buffer ...
Jason Hunter's user avatar
  • 1,246
1 vote
1 answer
162 views

I can't find TAB characters with the regular expression \t. When I press C-M-s followed by \t, Emacs only finds characters t. I'm working with version 28.2 on macOS Monterey.
Marcello's user avatar
2 votes
1 answer
158 views

I'd like my fixed-string searches to be always case insensitive, my regexp searches to be always case sensitive, and I don't want search-upper-case to change the case of my search strings. This should ...
Arch Stanton's user avatar
  • 1,856
2 votes
0 answers
71 views

If I have a file like this foo bar bat hukarz foo bar bat , then I would like to be made aware that there is one region that is identical to another region foo bar bat The reason is that I have have ...
Jason Hunter's user avatar
  • 1,246
0 votes
1 answer
68 views

I am writing a function that needs to move the character back to the first ")" character. However, in the middle there might be a "()" characters, I do NOT want the cursor to go ...
Peter Petigru's user avatar
-1 votes
1 answer
48 views

I grep Common Lisp code base and extract usage of the symbol I am interested in analysing. Then I copy it to scratchpad to clean up the grep. I know of sorting lines and removing duplicates, but ...
ruby_object's user avatar
0 votes
1 answer
222 views

Problem: lets say I want to search for all meetings I attended last March. I can search for date ranges in my archive file using a sparse-tree search (M-x org-sparse-tree D) but I can't figure out how ...
cochrane12's user avatar
0 votes
2 answers
232 views

I have a file, and I want to search if a given file has a string. I want to call that function from an elisp function. AFAIK, all the grep family of functions open a new buffer. I only need to know if ...
Peter Petigru's user avatar
0 votes
1 answer
89 views

As part of my efforts to spruce up my elisp fundas, I am trying to implement the basic algorithms in elisp. I have done for binary search program as follows, (defun bnry-srch (vctr itm strt end) &...
Saravana's user avatar
  • 2,139
1 vote
3 answers
389 views

In 'Emacs org-mode' i can create links to headings and other things where I want to jump quickly. How can I create a link in 'Emacs org-mode' which opens a certain search agenda? At the moment I have ...
MostlyHarmless's user avatar
0 votes
1 answer
96 views

I'm trying to implement a login system with emacs lisp, the login system has a hidden input field that's initially empty and is filled by a piece of javascript code when submitting. I'm currently ...
ygy's user avatar
  • 103
0 votes
0 answers
55 views

I'm just going through an old Latex-text I've written and wanted to use regexp-replace to make any pair of brackets containing at least one other pair of brackets into a \left(.*\right)-expression. ...
Alexander Praehauser's user avatar

15 30 50 per page
1
2 3 4 5
22