Mathieu Marques
  • Member for 7 years, 2 months
  • Last seen more than a month ago
Modify Theme Colors/Font Weight
Accepted answer
3 votes

You were missing a parameter when calling set-face-attribute. Also, the value for weight is a symbol and not a string. (set-face-attribute 'font-lock-type-face nil :weight 'normal) Here is a list of ...

View answer
Turn on auto-fill-mode when editing a commit message with Magit?
Accepted answer
1 votes

I had comment-auto-fill-only-comments set to t. Since Magit commit buffer supports comments, it won't auto-fill. (use-package git-commit   :ensure nil   :preface   (defun me/git-commit-set-fill-...

View answer
Function to duplicate and mark duplicated text
Accepted answer
0 votes

Went with this method because @JohnKitchin's leaves the region open. ie. Moving point de/increases the region. (defun me/duplicate-downward (begin end) (interactive "r") (let (deactivate-mark (...

View answer
After installing an icon font, propertize still show unknown characters
Accepted answer
0 votes

(insert (propertize "\xf004" 'face 'mdi-face)))

View answer
Persp-mode doesn't recover last activated perspective and doesn't restore all buffers
Accepted answer
2 votes

Due to the lack of support for this package, I'm now using desktop and eyebrowse which I think is a better alternative. Here is my configuration for the 2: https://github.com/angrybacon/dotemacs/blob/...

View answer
Powerline: how to show whether buffer is modified more prominently
Accepted answer
3 votes

I use spaceline. Basically it's built on top of powerline and let you build your mode-line by adding several segments one after the other (in both left and right sections). For instance, the ...

View answer
How to customize Helm buffers' mode-line
Accepted answer
1 votes

Spaceline helped me customize the mode-line for Helm buffers (uses helm-alive-p).

View answer
Conflict between emmet-mode and yasnippet, same trigger key
Accepted answer
4 votes

I ended up using hippie-expand which is built-in to Emacs (24+?). emmet-mode (use-package emmet-mode :defer t :init (add-hook 'css-mode-hook 'emmet-mode) (add-hook 'sgml-mode-hook 'emmet-...

View answer
How to add branch label next to projectile string with smart-mode-line
Accepted answer
0 votes

No other way (that I know of) than writing a custom mode-line customizing mode-line-format. Here is how I did it. And to strip the backend string ("Git" from "Git:master"): (defadvice vc-mode-line (...

View answer
When should I use with-eval-after-load in my configuration files?
Accepted answer
1 votes

Turns out it had nothing to do with helm initialization (or little). In my everlasting quest to optimize Emacs' start-up time, I have moved all of interface related things at the very beginning of my ...

View answer
How to open helm-imenu in existing buffer
Accepted answer
1 votes

What I want doesn't seem possible, that is, without adding some logic between change of active buffer. What was bothering me was the lack of consistency. I am satisfied with: (setq helm-always-two-...

View answer
Emacs gets really slow when trying to compute battery status within mode-line-format
Accepted answer
0 votes

Shamelessly taken from smart-mode-line.el:1592. The defadvice will colorize the battery load string before every call to battery-update. (defadvice battery-update (before my/pl-colorize-battery-...

View answer
Persistent effects on overwriting faces
Accepted answer
3 votes

Found help on GitHub, here is what should be done when attempting at removing a property: (set-face-attribute 'helm-selection nil :underline 'unspecified) See the GitHub issue: https://github.com/...

View answer