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
16
votes
3answers
2k views

How to start ediff-ing a file that has git conflict markers in it?

Following an attempted git merge on the commandline, my file now has standard conflict markers in it which emacs has helpfully reloaded (reverted?) in the buffer. How do I start some kind of merging ...
7
votes
1answer
3k 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 ...
6
votes
1answer
6k 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 ...
4
votes
2answers
666 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 ...
4
votes
2answers
953 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, ...
4
votes
2answers
163 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 ...
3
votes
2answers
964 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 ...
3
votes
3answers
841 views

How do I turn-off smartparens when using prelude?

I find smartparens awkward. It's easier for me to type the matching paren/quote than to arrow over or C-f over. I want to turn off smartparens everywhere. I'm using prelude though and I can see that ...
3
votes
1answer
569 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 ...
2
votes
1answer
130 views

How can I save eshell alias settings when using prelude?

Second day using Emacs. I've forked the Prelude GitHub project and I'm storing my settings in the personal folder as instructed in the documentation. I would like to be able to use my eshell ...
2
votes
1answer
42 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 ...
2
votes
1answer
72 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-...
2
votes
1answer
525 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 ...
1
vote
1answer
1k 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 "...
1
vote
1answer
475 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 ...
1
vote
1answer
711 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 ...
1
vote
1answer
179 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 ...
1
vote
1answer
93 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?...
1
vote
1answer
594 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 ...
1
vote
1answer
204 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 ...
1
vote
2answers
222 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: (...
1
vote
1answer
74 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 ...
1
vote
1answer
150 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 ...
1
vote
0answers
30 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 ...
1
vote
2answers
202 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 ...
1
vote
0answers
65 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 ...
1
vote
0answers
203 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-...
1
vote
0answers
471 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-...
1
vote
1answer
265 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() ...
1
vote
0answers
239 views

Unable to get backtrace for error

I have installed paredit & need to turnoff smartparens. I checked this answer and I have added (advice-add #'smartparens-mode :before-until (lambda (&rest args) t)) to my prelude starter ...
0
votes
1answer
471 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 ...
0
votes
1answer
553 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 ...
0
votes
1answer
62 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....
0
votes
2answers
134 views

Emacs Prelude key binding for bury-buffer

Does Emacs Prelude provide a key binding for bury-buffer, which I use very frequently?
0
votes
1answer
34 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. ...
0
votes
1answer
131 views

prelude 80 column dispay off

How can I as an emacs prelude (-nw) user turn off the 80 column warning highlight seen here:
0
votes
2answers
108 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> &...
0
votes
2answers
121 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 ...
0
votes
1answer
300 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 ...
0
votes
2answers
121 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 ...
0
votes
1answer
30 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?
0
votes
0answers
7 views

Inverse Video Text Menu Bar with Prelude Emacs?

I am trying out Emacs Prelude for the first time and so far like it. It succeeds in "modernizing" Emacs without altering it's behavior drastically for established users of Emacs and Emacs keybindings. ...
0
votes
1answer
31 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 ...
0
votes
0answers
31 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-...
0
votes
0answers
30 views

How to disable helm completion for vc-git-grep

I recently started using helm and I like it for certain things but it has broken vc-git-grep for me. I have M-. bound to vc-git-grep and my fingers have a strong muscle memory. It usually pulls a ...
0
votes
0answers
128 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-...
0
votes
0answers
121 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 *** ...
0
votes
0answers
68 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-...
0
votes
0answers
55 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 ...
0
votes
1answer
241 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 ...