advising-functions 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

2

Solved

I use an Emacs mode to annotate some of my files (the actual mode is not important). It's supplied as a library and comes with compiled lisp code (of course). I want to modify its behavior by overr...
French asked 21/7, 2016 at 17: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

2

Solved

I love emacs. I love regexs. I hate emacs' regex syntax - the need to escape grouping parens and braces, that you dont escape literal parens, the lack of predefined character classes, etc. Can I r...
Eyehole asked 18/5, 2009 at 17:59

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

My windows configuration looks like this: +----------+-----------+ | | | | | | | | | | | | | | | | +-----------+ | | | +----------+-----------+ And I use the lower right window for spec...
Pankhurst asked 16/6, 2009 at 15:5

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.