Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
2
votes
Check if a buffer's name ends with `.org`
The main ingredient you missed is progn. This could happen to Elisp beginners, who do not yet understand the syntax of if.
Here is the correct code. Notice that progn evaluates its arguments, and ret …
4
votes
Accepted
How can I change the parentheses highlight style?
If you don't want such highlighting at all then turn off show-paren-mode.
If you do want it, but you want it to use a different color:
Put your cursor on that highlighted text and hit C-u C-x =. Ne …
0
votes
Blinking Paren Mode
You pointed to a page that mentions option blink-matching-paren, but you apparently are not using it. Try using it: M-x customize-option blink-matching-paren.
C-h v blink-matching-paren tells you:
bl …
1
vote
Move point inwards while counting number of nested parentheses without throwing an error
I'd probably just use this. But all of the answers provided so far are pretty much the same. The idea is, in each iteration, to increment and return the counter but "handle" a down-list error by ret …
1
vote
Completion to set style
Your code has a couple of problems.
Option show-paren-style expects a symbol, not a string.
So (a) change your defcustom to use symbols, and (b) use intern on the value returned by completing-read (w …