technomancy / emacs-starter-kit
- Source
- Commits
- Network (253)
- Issues (8)
- Downloads (0)
- Wiki (4)
- Graphs
-
Branch:
master
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
All the code you need to get started, with an emphasis on dynamic languages.
-
What do you think, couldn't an enabled
longlines-modebe a sensible default for the starter kit? I was just editing a LaTeX document and it became pretty annoying to go through the longer lines of my text and I had to do some research on how to get this right in Emacs.As far as I understand, this is a minor mode that would have to be enabled by a hook. Maybe there is a global hook or something, that would enable it for every buffer, so this works like in every other text editor…
Comments
-
fresh install of emacs and emacs-starter-kit. upon loading I get turn-on-paredit: Symbol's function definition is void: paredit-mode
Comments
technomancy
Tue May 26 14:08:05 -0700 2009
| link
Fixed in 0eb65fe; thanks for the heads up.
technomancy
Tue May 26 14:08:18 -0700 2009
| link
... and closing!
-
For some reason I cannot get it to work on OSX. Here is what I have:
/Users/jason/.emacs.d/emacs-starter-kit
I git cloned the emacs-starter-kit to get the directory. I started up emacs (Aqua Emacs) and tried M-x package and nothing. I tried M-x clojure and nothing
I am a complete Emacs newbie, so help is appreciated! Thanks!
Comments
Try copying the contents of emacs-starter-kit to ~/.emacs.d. I think that's what we're supposed to do (worked on Ubuntu 8.10) but it's not explicitly clear in the docs ;0)
jasoncwarner
Sun Jul 19 18:52:58 -0700 2009
| link
I've tried both methods but neither seem to work...
I've tried it on Mac OS X 10.4 and it works, so I am sorry I cannot offer any more advice on that issue :0(
I encountered the same problem as the original poster when I set up the starter kit. It appears that Aquamacs does not look in .emacs.d/ by default. If you want something that works out of the box, I recommend downloading from here: http://emacsformacosx.com/
technomancy
Mon Sep 07 15:05:19 -0700 2009
| link
If someone can provide instructions that work for Aquamacs, I will add them to the README. The Starter Kit is designed to work with GNU Emacs though.
After you've set up .emacs.d/ properly, you can create a one line .emacs file with: (load "~/.emacs.d/init.el"). Maybe in future updates Aquamacs will correctly check in the .emacs.d/ directory, but for now this hack works.
-
See line 38 of find-recursive, in elpa-to-submit/nxhtml/related/find-recursive.el. Apparently, the author wants it to be replaced by find-files-in-project.el.
Comments
technomancy
Mon Sep 07 15:20:30 -0700 2009
| link
Update to the latest nxhtml fixed this; thanks.
-
suggestion: change key binding for 'menu-bar-mode
1 comment Created 3 months ago by sinewalkerthe key binding overwrites the default Emacs f1 help prefix, which is widely documented in a lot of the sources that are read by Emacs noobs.
perhaps change this binding to M-f10: the F10 key traditionally accesses the menus on GUIs like Windows and Mac, as well as older TUIs like DOS (Turbo Vision derivatives). It is likely this key binding will be familiar, and just as memorable as F1.
Here's a patch:
--- starter-kit-bindings.el (revision 2)
+++ starter-kit-bindings.el (working copy)
@@ -15,7 +15,7 @@
(global-set-key (kbd "C-c n") 'cleanup-buffer)
;; Turn on the menu bar for exploring new modes -(global-set-key [f1] 'menu-bar-mode) +(global-set-key [(meta f10)] 'menu-bar-mode)
;; Font size (define-key global-map (kbd "C-+") 'text-scale-increase)
Comments
technomancy
Mon Sep 07 15:03:02 -0700 2009
| link
Good point. I've bound it to C-f10 since my WM binds M-f10 already. I had forgotten that F1 was mentioned in the Emacs docs.
-
starter-kit-misc.el tries to set a face that no longer exists
1 comment Created 3 months ago by bartvandendriesscheI'm fairly new to emacs, so i might be mistaken here, but after merging my fork with your current head, I was getting errors trying to open files with mumamo mode.
Basically it would say that there was no face named 'mumamo-background-chunk-submode'.
I resolved the issue by editing the starter-kit-misc.el file and setting 'mumamo-background-chunk-submode1' instead of 'mumamo-background-chunk-submode'.
Seems like the new nxhtml splits out 'mumamo-background-chunk-submode' into 4 different chunk-submodes now.
Comments
technomancy
Tue Sep 08 09:19:19 -0700 2009
| link
Thanks for this catch; seems like the upgrade to nxhtml-mode changed the load order of nxhtml and mumamo.
-
Curly brace no longer "auto-closes" in clojure with Paredit
5 comments Created 3 months ago by sethtrainComments
technomancy
Thu Sep 10 14:28:51 -0700 2009
| link
Can you provide more details? It works for me.
Maybe it is how i set up clojure, i don't use the clojure-install or whatever; i download the files into a separate directory (http://github.com/sethtrain/emacs-starter-kit/blob/57a83d6598ca52614cef8cfc4c74b0b4bf457cbb/seth/clojure.el) but it does still break for me. When I am in a .clj file the "(" auto-closes but the "{" doesn't and it did a couple days ago.
Looks like this has to do with the version of paredit. When I look at the clojure library it is setup to use the curly brace "auto close" for paredit >= 21 and the version that is in elpa is 20. When removing that it works but that is always downloaded when I restart emacs.
I have fixed this, it can be found at: http://github.com/sethtrain/emacs-starter-kit
technomancy
Wed Oct 14 10:25:47 -0700 2009
| link
I'm slow; just merged the patch.
-
Hi,
Is it possible to use a different cperl-mode than the one you've added in ~/.emacs.d/elpa-to-submit? I would prefer to use this version http://github.com/jrockway/cperl-mode (it has some more features not in the main cperl-mode). I have tried copying this version into ~/.emacs.d/elpa-to-submit and restarting emacs but that does not seem to work.
What gives? Is there something else I ought to be doing?
Thanks
Comments
technomancy
Sun Sep 20 14:36:16 -0700 2009
| link
Please contact the author of cperl-mode and ask him to submit it as an ELPA package. Once it's in ELPA, I will remove it from elpa-to-submit and you can install it that way.
-
Is there anyone planning to create a starter-kit-php.el
It would be cool to work together.
Comments
technomancy
Sun Sep 20 14:33:48 -0700 2009
| link
If you can, please try to improve php-mode.el itself or work with the nxhtml project to improve mumamo integration since the starter kit bundles nxhtml. If you do have some stuff that wouldn't be suitable for either of those places, I would take a patch adding it directly to the starter kit.
-
I'm running emacs 23.1.5 compiled from source for Max OS 10.5.8.
I checked out the latest emacs-starter-kit from github and get the following error:
Debugger entered--Lisp error: (void-function idle-highlight)
(idle-highlight 1) (lambda nil (paredit-mode 1) (idle-highlight 1) (run-coding-hook))() run-hooks(emacs-lisp-mode-hook lisp-interaction-mode-hook) apply(run-hooks (emacs-lisp-mode-hook lisp-interaction-mode-hook)) run-mode-hooks(lisp-interaction-mode-hook) lisp-interaction-mode() command-line() normal-top-level()When I use an earlier version of the emacs-starter-kit, I do not get this error.
Any help would be greatly appreciated.
Comments
technomancy
Sun Sep 20 14:37:12 -0700 2009
| link
This is probably coming from an ELPA bug. Can you delete the ~/.emacs.d/elpa directory and restart Emacs? The idle-highlight function is provided by an elpa package, not by the starter kit itself.
-
starter kit killed my meta key osx 10.6.2
3 comments Created 2 months ago by russellsimpkinsThe starter kit appears to work fine, but it managed to kill the mapping for the meta key to my Apple (command) key. Given there's so many files, any hints as to what might be killing my key? I have tried http://emacsformacosx.com/ and the carbon release - both are affected equally. I compiled emacs from source, but that one's meta key is not mapped to the command key.
thanks
russComments
technomancy
Wed Oct 14 10:51:49 -0700 2009
| link
I don't have a Mac, so I can't test this, but it seems like it shouldn't be able to do that. If you launch Emacs with the -Q flag, it will ignore the starter kit as well as all your dotfiles; maybe you could try that to confirm what's causing the problem? Otherwise you could try asking in #emacs on freenode.
russellsimpkins
Wed Oct 14 12:08:55 -0700 2009
| link
thanks - i'm just having newbie key confusion.
technomancy
Fri Oct 16 14:54:38 -0700 2009
| link
OK, cool.
-
Setting proxy on EmacsW32 when using emacs-starter-kit
1 comment Created 2 months ago by cristobalitoI'm behind a proxy and when trying to install the emacs-starter-kit, I get the warnings (errors) below. Does anyone know how I can resolve this?
Thanks,
Chris
Warnings
Warning (initialization): An error occurred while loading `c:/Documents and Settings/xxx/Application Data/.emacs.d/init.el':
File error: make client process failed, connection timed out, :name, tromey.com, :buffer, #, :host, tromey.com, :service, 80, :nowait, nil
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.The output in my Messages buffer is:
Adding d:/Emacs/EmacsW32/lisp/ to load-path
Loading c:/Documents and Settings/xxx/Application Data/.emacs.d/elpa-to-submit/nxhtml/autostart.el (source)...
Nxml/Nxhtml Autostart.el loading ...
Loading c:/Documents and Settings/xxx/Application Data/.emacs.d/elpa-to-submit/nxhtml/nxhtml-loaddefs.el (source)...done
Loading c:/Documents and Settings/xxx/Application Data/.emacs.d/elpa-to-submit/nxhtml/etc/schema/schema-path-patch.el (source)...done
xhtml-loader.rnc was ok
(No changes need to be saved) Loading c:/Documents and Settings/xxx/Application Data/.emacs.d/elpa-to-submit/nxhtml/nxhtml/nxhtml-autoload.el (source)...
majmodpri-sort-lists running ...
Loading c:/Documents and Settings/xxx/Application Data/.emacs.d/elpa-to-submit/nxhtml/nxhtml/nxhtml-autoload.el (source)...done
Loading c:/Documents and Settings/xxx/Application Data/.emacs.d/elpa-to-submit/nxhtml/autostart.el (source)...done
Contacting host: tromey.com:80
Comments
technomancy
Fri Oct 16 14:54:24 -0700 2009
| link
On the first launch, Emacs connects to the Internet to install a few packages. On other platforms, you can detect if you are not connected to the Internet and postpone the package installation, but I haven't found a way to do this on Windows yet. Suggestions are welcome.
If you launch Emacs once from a working Internet connection, future launches without a working connection will not be an issue.
-
Espresso+paredit do odd things when defining a new js function
1 comment Created 3 months ago by dgoodladI'm trying to type the following:
var foo = function(bar) {
return null; }When I open the first parenthesis, 'function (' is prettified with the fn symbol: that's fine.
When I type the closing parenthesis after bar, it highlights the left-paren briefly, then opens a newline automatically. ???
When I type the open brace, I can't indent the next line with the return statement. ???
When I type the closing brace, it automatically moves it up onto the same line as the return statement, with not even a space between it and the semicolon. ???
I've tried commenting out the code block that prettifies the 'function' keyword, which helps a little but now insists on inserting a space between 'function' and the left-paren.
Comments
-
Running into the following problem, opening up an application.js file.. than I try to type
jQuery(document).ready(function($)
then the minute I try to type { it returns "Symbols function is void: paredit-open-curly". This is the same problem I had prior to the brace -> curly change. This also happens when I try to use } but the error is then regarding paredit-close-curly-and-newline.
Comments
This can be solved. You need to comment out the 'eval-after-load' code block in starter-kit-js.el in your .emacs.d dir and it works fine later but you'll get some worse bugs like not being able to delete the flower braces etc.
so the solution is to open up the init.el file and then delete the line require('starter-kit-js.el) and delete the starter-kit-js.el file too and just create an espresso.el file and use the contents from here http://svn.savannah.gnu.org/viewvc/checkout/espresso/espresso.el?revision=210&root=espresso and restart emacs to get it working. (just use the latest espresso.el file from the svn)
P.S: Thanks to skorpan and daleharvey
-
The first time I open any ruby file I get an error. This only occurs the first time I'm opening a file.
Debugger entered--Lisp error: (void-function tramp-list-remote-buffers)
(tramp-list-remote-buffers) (subsetp (list (current-buffer)) (tramp-list-remote-buffers)) (not (subsetp (list ...) (tramp-list-remote-buffers))) (and buffer-file-name (file-writable-p (file-name-directory buffer-file-name)) (file-writable-p buffer-file-name) (not (subsetp ... ...))) (if (and buffer-file-name (file-writable-p ...) (file-writable-p buffer-file-name) (not ...)) (progn (local-set-key ... ...) (flymake-mode t))) (when (and buffer-file-name (file-writable-p ...) (file-writable-p buffer-file-name) (not ...)) (local-set-key (kbd "C-c d") (quote flymake-display-err-menu-for-current-line)) (flymake-mode t)) (lambda nil (when (and buffer-file-name ... ... ...) (local-set-key ... ...) (flymake-mode t)))() run-hooks(ruby-mode-hook) apply(run-hooks ruby-mode-hook) run-mode-hooks(ruby-mode-hook) ruby-mode() set-auto-mode-0(ruby-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/code/rm/main/spec/models/candidate_spec.rb" nil nil "~/code/rm/main/spec/models/candidate_spec.rb" (32645779 234881026)) find-file-noselect("/Users/michaelguterl/code/rm/main/spec/models/candidate_spec.rb" nil nil) ido-file-internal(raise-frame) ido-find-file() call-interactively(ido-find-file)Comments
I was receiving this error while using CarbonEmacs on OS 10.6. I just installed the emacs-app port from Macports, that is based on 23.1 and the error has gone away.
Under Emacs 23.1.50.1 (Ubuntu 9.04) I needed to do a (require 'tramp-cmds) to stop this error.
-
ido-find-file confused when cursor over C comment
1 comment Created 2 months ago by mheffnerIf a C-mode buffer contains the text:
/******************************************************************************
inserting the cursor anywhere in the comment and running ido-find-file will try to locate a file named "/******************************************************************************" and fail.
Is this a bug with ido?
Comments
technomancy
Tue Oct 20 19:42:05 -0700 2009
| link
It's a quirk of ido-mode; I've run into it myself editing JS files. I'm sure it's possible to work around, but I haven't seen a fix yet. Would love to get a patch for it.
-
html mode used for *.html.haml instead of haml mode
0 comments Created 2 months ago by tepogaWhen I open rails template something.html.haml, nxhtml-mode is used for it. The strange thing is that the first template is opened with haml mode as expected, but all others are shown as html.
Checked it on clean emacs-starter-kit setup
Thanks
Comments
-
is it just me, or does the download link load something from August 2009 for everyone? Was going to get the latest goodness, but the current stuff I'm enjoying has regressed.
Gosh, I may have to figure out installing git on Windows at this rate.Comments
-
I'm getting errors during startup. It appears to be due to osx-plist-update-environment. It's reading .MacOSX/environment.plist and attempting to parse it as XML. On my machine (Mac OS 10.5.2), that file is a binary plist, not XML.
Backtrace at http://gist.github.com/233388
Comments
-
Hi,
i had some problems with the version of nXhtml you provide, when I started typing in a <%= %> on erb.html files emacs starts to hangs.I've asked on the rinari ml and they suggested me to update nXhtml-mode to 2.01, whit this version I had no problems.
http://groups.google.it/group/emacs-on-rails/browse_thread/thread/460722fbe81585ab
Comments
lobo-tuerto
Tue Nov 17 19:27:44 -0800 2009
| link
Yeah, the same happens to me.





I don't think this is a good idea for every mode, but it would be a good candidate for a text-mode hook.
You're right, I had some code open today with the
longlines-modeon and it didn't show the line breaks anymore, which felt strange. But hooking into text-mode would be perfect, I think.Actually I realized I already have auto-fill-mode turned on in a text-mode hook... I think auto-fill-mode makes more sense for things like readmes and such, so I don't think I'm going to change the hook in my starter kit... It would be easy to change in your fork though.