defadvice Questions
3
Solved
I'm trying to make the kill ring essentially ignore whitespace only entries (tabs, newlines, just spaces, etC), I'm fairly new to elisp and I'm pretty sure the way to do is by doing defadvice but I...
Tambac asked 24/8, 2012 at 2:43
2
Solved
Goal: I want to have show-trailing-whitespace enabled for all buffers save a few. Exceptions posing a problem are *Shell Command Output* and its cousin *Async Shell Command*.
I usually have show-t...
Jeb asked 16/10, 2012 at 10:59
5
Solved
What I'd like to do is intelligently pre-set a buffer-local default value for the string argument to the compile function.
Right now compile.el defaults to using "make" as the command. I can set ...
Sclerous asked 20/11, 2010 at 15:32
4
Solved
When I do a C-u C-SPC, emacs takes me to "where I was before". Subsequent C-u C-SPC presses go back up previous places.
That is damn great, and I use it a lot.
But something always bugged me : The...
Addendum asked 27/7, 2012 at 13:39
1
Solved
In an answer, I noticed:
;; Align with spaces only
(defadvice align-regexp (around align-regexp-with-spaces)
"Never use tabs for alignment."
(let ((indent-tabs-mode nil))
ad-do-it))
(ad-activat...
Jaffna asked 6/6, 2012 at 19:55
4
Solved
In python-mode, there is a function called py-execute-region which sends a highlighted region of code to the Python buffer for evaluation. After evaluation, the cursor is in the Python buffer, but ...
Prelusive asked 13/9, 2009 at 4:52
1
© 2022 - 2024 — McMap. All rights reserved.