Questions tagged [case-folding]
The case-folding tag has no usage guidance.
23
questions
0
votes
2
answers
29
views
how to make magit log search case-insensitive
How would I make magit log searches case insensitive.. I see references in emacs to transient:magit-log-refresh:--regexp-ignore-case but not sure how to turn it on.
0
votes
0
answers
51
views
Fully case insensitive org property search
I would like to be able to perform fully case insensitive searches of properties and their values in my org files, and have the results presented in a sparse tree.
For example, if I have sections ...
1
vote
2
answers
135
views
Single letter abbrev and expansion case
If I define an abbrev like wo -> without, and then type Wo, it's expanded to Without, starting with a capital letter. This is the behavior that I want.
However, I'd like to define the abbrev t ->...
0
votes
1
answer
44
views
How can I use 'transients' in 'magit' to enable case-insensitive search? [closed]
I got it working a year ago, then my machine died. I've been unable to figure out the interface to transient.
When I view the levels (green and red, with numbers in them), I hit '-i' but see an error '...
0
votes
1
answer
114
views
How can I recursively find and replace text in case sensetive?
I am using combination of following solutions in order to find-and-replace matched text in all Python files:
Using Emacs to recursively find and replace in text files not already open
How can I ...
0
votes
1
answer
83
views
How can I query replace region from top case-sensitively?
I am using following answer to search and replace a word in the entire buffer:
(defun query-replace-region-or-from-top ()
(interactive)
(progn
(let ((orig-point (point)))
(if (use-...
2
votes
2
answers
810
views
How do I search/replace with case sensitive search?
In emacs I'm using M-% to replace occurrences of b_abcd (of which there are only a few) with B_abcd (of which there are very many). Currently Emacs asks if it's OK to replace at each B_abcd, which ...
0
votes
1
answer
118
views
How to query-replace with exact match with the exact given word in case-sensetive manner?
I have HELLOWORLD string inside my file.
My setup:
(defun my-find-orgfiles ()
(interactive)
(setq toggle-case-fold-search 0) ; Turn Off Smart Case Sensitivity
(find-name-dired "~/folder&...
3
votes
1
answer
278
views
How to ignore case when switching buffers?
I want to open a buffer called Echo.md and switch-buffer (C-x b) does not auto-complete it when I type echo because of the case. But find-file does auto-complete from lower-case to upper-case. The ...
0
votes
1
answer
99
views
Why after search-toggle-case-fold text is select?
windows 10, emacs 26.1
I want to set I-search case sensitive mode.
Before:
M-x isearch-toggle-case-fold
after:
Now it's search in case sensitive mode. Nice.
But why it select text?
P.S. If I ...
0
votes
2
answers
607
views
I-search - case sensitive
windows 10, emacs 26.1
When I use I-search, then Emacs ignore case sensitive.
but I need case sensitive I-search
2
votes
3
answers
558
views
Highlight regexp case insensitive
Is there a way to use highlight-regexp in a case-insensitive way? I'm parenthesizing an expression in my regexp and refer to it using \1 later and I want to match this regardless of case. I'm trying ...
1
vote
1
answer
431
views
Case-sensitive search and replace in elisp in spacemacs
Running Spacemacs v.0.200.13 on emacs 25.2.2 on Kubuntu 18.04.
Consider the following code:
(defun xx-ll ()
(interactive)
(save-excursion
(goto-char (point-min))
(xx-replace-...
0
votes
1
answer
158
views
case-fold-search apparently not taking effect in re-search-forward
I wrote the following command to do a regexp replacement in a region.
(defun camel-case-to-underscore (a b &optional use-dash)
(interactive "r")
(save-excursion
(let ((sep (if use-dash "-...
5
votes
2
answers
186
views
How to turn every ALL CAP word in a buffer into Title case?
I need to fix a large .bib file where all proper names are in ALL CAPITALS (thanks ProQuest!)
Is there an elisp function that searches a buffer/region for words in all capitals and turns all ...