Questions tagged [prelude]

Prelude is an enhanced Emacs configuration that should make your experience with Emacs both more pleasant and more powerful.

Filter by
Sorted by
Tagged with
1 vote
1 answer
210 views

Override minor mode map based on major mode

Emacs Prelude binds C-a to crux-move-beginning-of-line using the following in its prelude-mode minor mode map: (define-key map (kbd "C-a") 'crux-move-beginning-of-line) It works good for ...
foki's user avatar
  • 876
1 vote
1 answer
35 views

How to unbind `C--` from being the shortcut for scaling font size (`text-scale-decrease`)

The org manual states: To mark a task with a repeater as DONE, use {{{kbd(C-- 1 C-c C-t)}}}, i.e., ~org-todo~ with a numeric prefix argument of =-1=. However, I can't manage to do this as my C-- is ...
Emmanuel Goldstein's user avatar
1 vote
2 answers
189 views

Flycheck Error Messages are cutoff by edge of window

I'm using Prelude Emacs. I could've sworn there was a simple option to allow the error tooltip to use multiple lines instead of 1, but I can't find it and my error messages get cut off by the window's ...
ZacharyFontenot's user avatar
1 vote
1 answer
323 views

Whitespace mode settings on per major mode basis

When I open the Linux Kernel code, my default indentation conflicts with the desired formatting of the Kernel. I use Emacs Prelude, so I added the settings from this link to my c-mode-common-hook. I ...
foki's user avatar
  • 876
2 votes
1 answer
184 views

Prelude: How to add smartparens key bindings to C-c prefix?

I am using Emacs with Prelude. When I hit C-c prefix in a clojure buffer, I would like to show a smartparens key bindings. Like in screenshot below I would like to to add entry for smartparens key ...
Imaxd's user avatar
  • 123
0 votes
0 answers
82 views

Writing file when switching buffer

I'm using a rather stock Prelude emacs version with super-save disabled, but still whenever I change buffers using C-x o, whatever buffer I currently have focused writes to disk. I still want the auto-...
FullOnFlatWhite's user avatar
0 votes
0 answers
428 views

Whats the recommended way to install yasnippet for an emacs prelude user?

Is doing mkdir ~/.emacs.d/personal/snippets/ the correct way and putting snippets there? I've been reading https://github.com/bbatsov/prelude/issues/98 What I did: ;; personal.el (prelude-require-...
american-ninja-warrior's user avatar
0 votes
1 answer
489 views

prelude 80 column dispay off

How can I as an emacs prelude (-nw) user turn off the 80 column warning highlight seen here:
american-ninja-warrior's user avatar
5 votes
2 answers
400 views

Help! Emacs empty my 1 year org file

I have used Emacs Org mode for my notes for several years, and I use Prelude configured with evil. Everything works fine. Until a few minutes ago, I found the note file is empty of content. and the ...
chiangxinyu's user avatar
1 vote
0 answers
33 views

Weird autocompletion when writing a decimal number in helm-mode

I am using Emacs Prelude with Helm activated. While using Emacs IPython Notebook and julia-mode, I get an annoying auto-complete buffer pop up, when I am trying to type a decimal number, see figure ...
crlb's user avatar
  • 111
2 votes
3 answers
509 views

How to override projectile keybind for custom one?

I am currently using emacs out of prelude and with helm-projectile enabled in my setup. Recently I added helm-ls-git to my stack too and noticed that the function helm-browse-project is more ...
Rigotti's user avatar
  • 153
1 vote
0 answers
113 views

How to set Haskell indentation with Prelude

I'm using Prelude and Haskell mode and trying to set the indentation. The default indentation gives me the following: main = do contents <- getContents print (sumFile contents) where sumFile ...
jay's user avatar
  • 111
1 vote
0 answers
306 views

ivy-hydra: error upon C-o

While trying to figure out another problem. I was advised to use the ivy-hydra package. By default, it appears that ivy-hydra is NOT included with prelude-ivy. So I did a package-install ret ivy-...
Angelo's user avatar
  • 261
3 votes
1 answer
1k views

prelude-ivy: How to select and open multiple files

I have installed Ivy (along with Swiper and Counsel) as part of Prelude by doing a (require 'prelude-ivy) in my prelude-modules.el file. It seems to work, but I am not able to figure out how to do ...
Angelo's user avatar
  • 261
0 votes
0 answers
266 views

why does emacs sometimes prepend asterisks to org mode headings

When I open this file in emacs https://raw.githubusercontent.com/limist/literate-programming-examples/master/01-clojure-literate-ants/literate-ants.org I see emacs is showing me ** lines as *** lines....
american-ninja-warrior's user avatar
0 votes
1 answer
78 views

In what order are Lisp files evaluated in this scenario?

Suppose I structure my Emacs (prelude) customizations like this guy: https://github.com/NicholasKirchner/prelude/tree/master/personal What is the load order of these files (for example)? gnus-init....
american-ninja-warrior's user avatar
0 votes
2 answers
125 views

can I quickly clean up html files with emacs (prelude)

How do you clean up an html file? For example, this file has one too many empty line between the div tags. I would like cleanup to leave only one blank line there. <html> <body> &...
american-ninja-warrior's user avatar
8 votes
1 answer
5k views

How to fix "Symbol's function definition is void: org-babel-get-header"

How do you trouble shoot this? (trying to run a sh block async) #+BEGIN_SRC sh /tmp/7.sh ...
american-ninja-warrior's user avatar
0 votes
0 answers
257 views

How do you properly bounce emacs installed via home-brew on macOS

I just added a snippet to my ~/prelude/personal/personal.el Time to activate it. In the past I've found that brew services restart emacs doesn't work out. So, While inside the emacsclient, if I do M-...
american-ninja-warrior's user avatar
1 vote
1 answer
240 views

Running emacs client: how do you know if the init files had errors loading

I use emacs 25, in nw mode, with "alias emacs='emacsclient -nw'" When I add something to my personal.el, I do brew services restart emacs My issue is, if I make a big blunder inside my personal.el ...
american-ninja-warrior's user avatar
0 votes
2 answers
265 views

Emacs Prelude key binding for bury-buffer

Does Emacs Prelude provide a key binding for bury-buffer, which I use very frequently?
american-ninja-warrior's user avatar
0 votes
0 answers
99 views

Turn off prelude intellisense

In emacs prelude ruby mode, how I tell emacs to not do intellisense dropdown suggestions? It breaks my flow. Because I have to press an additional key to break out of that menu. What I tried: google ...
american-ninja-warrior's user avatar
0 votes
1 answer
50 views

Make prelude C-a go to the absolute beginning of the line

Emacs prelude "smartens" C-a by rebinding it to "crux-move-beginning-of-line" My muscle memory likes the vanilla emacs setting better, where C-a moves point to the absolute beginning of the line. ...
american-ninja-warrior's user avatar
0 votes
2 answers
546 views

how do you turn off smart brackets//parenthesis in prelude

I hate it when prelude auto adds the ending } when I type { (this is ruby mode) This is very common, for example typing ( auto adds a ) This is really annoying when trying to edit code, or a lot of ...
american-ninja-warrior's user avatar
2 votes
1 answer
1k views

Filter out special buffers in buffer list

When I used vanilla Emacs, C-xC-bT showed me the list of files I had open, with special buffers filtered out. Recently I switched to Emacs Prelude, which uses ibuffer, and I'm not sure why the ...
american-ninja-warrior's user avatar
-1 votes
1 answer
253 views

how bind `C-c g g` to `vc-git-grep`

How can I bind C-c g g to vc-git-grep ? So far I tried ;; in scratch buffer (global-set-key (kbd "C-c g g") 'vc-git-grep) ;; then M-x eval-region ;; then switch to another buffer ;; C-c g g
american-ninja-warrior's user avatar
1 vote
0 answers
811 views

Init using org-babel-tangle with Emacs Prelude

Trying to convert my personal configuration for Emacs Prelude to use an org-based config. Looked around for a couple of days on this site, github and elsewhere but have not found a way to get org-...
rustynail's user avatar
0 votes
2 answers
403 views

How to disable Prelude Emacs and use system-wide Emacs

I have installed Prelude Emacs by using wget --no-check-certificate https://github.com/bbatsov/prelude/raw/master/utils/installer.sh -O - | sh. I am using Debian and new to Emacs. Now whenever I run ...
ofenerci's user avatar
  • 327
1 vote
2 answers
443 views

Unset key in Prelude

I'm trying to remap <C-right> key action from sp-forward-slurp-sexp, which is set in Prelude by default, to right-word. I tried to put that code in my init.el in .emacs.d/personal folder: (...
Flowneee's user avatar
  • 237
1 vote
1 answer
481 views

How to debug c-mode-common-hook that doesn't fire

I'm using prelude mode, and in a file .emacs.d/personal/old-settings.el I have, amongst other things: (global-set-key (kbd "C-c C-c") 'comment-region) (add-hook 'c-mode-common-hook (lambda() ...
tlrrd's user avatar
  • 13
2 votes
1 answer
129 views

Disable subword-mode for some languages in Prelude

I have found subword-mode to interfere negatively with my flow, specially when using drag-stuff, and I'd like to disable it, if not globally, at least for a couple of languages. I have tried (subword-...
MLProgrammer-CiM's user avatar
3 votes
1 answer
1k views

Projectile: show project open buffers when switching project

I have a very large project and generally I work on multiple related projects simultaneously. While switching project I have to type full name everytime (multiple similar named files under different ...
Pavan's user avatar
  • 31
12 votes
1 answer
16k views

Wrap lines at 80 characters

I'm using emacs 25.1.1 with the prelude config. In Atom I used to have a setting that made my lines wrap at 80 characters (without cutting words) for better readability. I've searched on the web for ...
José María's user avatar
4 votes
2 answers
744 views

Fresh install of emacs 24.5.1 and Prelude not working because melpa wont download on OS X 10.11.2

I have a fresh install of Emacs 24.5.1 on OS X 10.11.2 and when I install prelude (https://github.com/bbatsov/prelude) via the recommended auto-magic way (curl -L https://git.io/epre | sh) then open ...
sbditto85's user avatar
  • 143
1 vote
1 answer
354 views

Where does tramp store ssh hosts?

Recently on startup I started getting an OpenSSH dialog warning me of an unknown host key. I then allowed it to store the key, and now I get a a password window at startup. So then I went and ...
zippy's user avatar
  • 111
0 votes
1 answer
121 views

How do I configure emacs to stop adding an extra closing bracket when hitting space?

I'm using web-mode to edit my erb files. When I type <% emacs (or web-mode) adds a closing %> bracket. But when I type a space after the percent sign (i.e. %), an additional %> bracket is ...
Son of the Wai-Pan's user avatar
3 votes
1 answer
1k views

C-M-d not working on Emacs GUI OSX using Mac Command key as Meta

I'm using Emacs GUI on OSX and I've remapped Cmd key to meta by adding the following to a ~/.emacs.d/personal/misc.el file on prelude: (setq mac-command-modifier 'meta) Whereas C-M-u works as ...
Galder Zamarreño's user avatar
3 votes
2 answers
2k views

TLS connection to Melpa.org hanging on prelude

I've enabled some new packages in bbatsov's prelude and when I restart the emacs daemon, it hangs endlessly starting up showing this: Prelude is powering up... Be patient, Master g! Loading personal ...
Galder Zamarreño's user avatar
1 vote
1 answer
2k views

Changing default font for GUI in bbatsov's prelude

I'm using bbatsov's prelude and I'm trying to change default font for when I'm running a GUI emacsclient window. I've added the following to my ~/.emacs.d/personal/preludes: (set-default-font "...
Galder Zamarreño's user avatar
0 votes
1 answer
2k views

How to load self package with use-package?

I use Prelude, and I want to use use-package for loading and configuring my personal config files. In ~/.emacs.d/personal/load-private-config.el, my code is below: (like https://github.com/jwiegley/...
zwb's user avatar
  • 123
0 votes
1 answer
417 views

lost ability to paste in to mini buffer

After switching to gui version of emacs and also installing prelude with helm everywhere, I have lost the ability to paste stuff in to the search prompt. So before, I could mark a word, copy to ...
american-ninja-warrior's user avatar
1 vote
1 answer
103 views

How do I get rid of unwanted binding of the TAB key?

Recently my TAB key started acting very strange. At the left end of the line it indents my code normally, which it should also do if I hit TAB anywhere in the line. But now, if I'm in the middle of ...
chetstone's user avatar
  • 113
0 votes
2 answers
165 views

Get web-mode to ignore file extension and racket-mode to honor it

I use both web-mode and racket-mode often. I am also using Pollen, a Racket language for processing text. Pollen uses compound file extensions like: pynchon.html.pm stephenson.css.pp wallace.html.pmd ...
Darren Newton's user avatar
1 vote
1 answer
921 views

How do I disable the colored marks that appear next to changed lines when using git?

I am using orgmode and after I put my files under git I see some lines that appear next to lines that have changed. They are red, green or blue. I would like to disable this but have no idea how they ...
Jason Mirk's user avatar
0 votes
1 answer
38 views

Insert saved macro [duplicate]

I created a new macro and saved to .emacs/init.el: (fset 'foobar [?f ?o ?o return ?b ?a ?r return]) How can I use this macro after restarting emacs?
a--m's user avatar
  • 103
1 vote
1 answer
102 views

Disable double x shortcut in Prelude

I have setup prelude and the setup is just great. There is one thing that bothers me: whenever I type double x, emacs opens helm-mode-execute-extended-command. Is there a way to disable this shortcut?...
Beginner's user avatar
  • 2,641
1 vote
1 answer
624 views

Make a monolithic personal config compatible with Prelude and Spacemacs

I'm refactoring my config from a monolithic init file (a .org that is tangled) to something more modular. In the same time, I am trying out Prelude and Spacemacs, and I feeling it very likely to use ...
AdrieanKhisbe's user avatar
1 vote
1 answer
293 views

Diagnose laggy typing in csharp-mode

At the weekend I wiped my dotfiles and replaced them with prelude. I do most of my work in C#, so I've got csharp-mode installed. Typing in c# is laggy, in a painful bursty way. A few words come out ...
tenpn's user avatar
  • 395
5 votes
3 answers
2k views

How do I turn off syntax coloring for lines that exceed the word-limit in prelude?

I'm using Prelude v 1.0.0. I want to turn off the syntax coloring when my lines exceed a certain word-limit. I don't know where that setting is set. Thanks! EDIT: I should be more precise. Prelude, ...
Son of the Wai-Pan's user avatar
2 votes
1 answer
804 views

Enable whitespace-mode with Prelude in C++-mode

With a vanilla install of Prelude and with C++-mode as my major mode, M-x whitespace-mode no longer shows whitespace characters. I get a message indicating that I am toggling whitespace-mode on and ...
Praxeolitic's user avatar