Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [prelude]

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

0
votes
0answers
12 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
52 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
19 views

What does “2.87 Mail” mean in prelude?

I installed Prelude, It has a long modeline -UU-:**--F1 gtd.org All of 768 (1,1) (Org FlyC- company ivy EditorConfig ws Projectile[-] super-save Pre WK (*) Abbrev) [???] 10:21PM 2.87 ...
0
votes
0answers
49 views

Display the time on the left of the mode line

I start emacs from the prelude project but found its mode line annoying, -UU-:----F1 gtd.org All of 684 (19,0) (Org FlyC- company ivy EditorConfig ws Projectile[-] super-save Pre WK (*...
0
votes
1answer
41 views

prelude 80 column dispay off

How can I as an emacs prelude (-nw) user turn off the 80 column warning highlight seen here:
4
votes
2answers
120 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 ...
1
vote
0answers
23 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
116 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
42 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
126 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-...
0
votes
1answer
299 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
0answers
83 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
1answer
54 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
98 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> &...
6
votes
1answer
2k 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 ...
0
votes
0answers
50 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-...
1
vote
1answer
172 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 ...
0
votes
2answers
103 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
0answers
49 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
31 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
2answers
77 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 ...
1
vote
1answer
287 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
votes
1answer
103 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
1
vote
0answers
357 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-...
0
votes
1answer
196 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 ...
1
vote
2answers
166 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
219 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() ...
2
votes
1answer
55 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-...
1
vote
1answer
532 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 ...
3
votes
1answer
3k 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 ...
5
votes
2answers
637 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 ...
1
vote
1answer
142 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 ...
0
votes
1answer
75 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 ...
4
votes
1answer
406 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 ...
3
votes
2answers
861 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 ...
1
vote
1answer
897 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 "...
0
votes
1answer
1k 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/...
0
votes
1answer
291 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 ...
1
vote
1answer
67 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 ...
0
votes
2answers
105 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
384 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
26 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?
1
vote
1answer
86 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
584 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
127 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 ...
4
votes
2answers
835 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, ...
1
vote
1answer
465 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 ...
2
votes
1answer
124 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 ...
1
vote
0answers
226 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 ...
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 ...