Giter VIP home page Giter VIP logo

emacs-starter-kit's Introduction

Emacs Starter Kit

Version 3 of the Emacs Starter Kit is implemented as a prose guide to various packages and settings which can greatly improve the Emacs experience.

History

Older versions of the Starter Kit attempted to be one-size-fits-all codebase intended to be dropped into your ~/.emacs.d directory wholesale. While this proved very popular, taking a big bundle of unrelated functionality leads to simply adopting things without developing any real understanding. When something goes wrong or even just behaves differently from what you'd like, you don't know where to look to fix it.

I've since come to realize users are better suited by small, focused packages which provide specific pieces of new functionality. So rather than putting up a big pile of code, the Starter Kit has shifted to become merely a guide. As an Emacs user, you're going to have to get comfortable seeking out new pieces of elisp, bringing them in, configuring them, and eventually writing your own. The Starter Kit can help this process by giving hints as to where to start and what to look for, but constructing a solid configuration is ultimately a personal journey for which you must take the first steps.

Getting Started

I strongly recommend keeping your dotfiles under version control and installing Emacs packages inside it using git subtree.

This avoids many common problems with package.el, and it allows you to seamlessly roll back upgrades which introduce breaking changes as well as guaranteeing that all machines you work on share the same versions.

(defun pnh-reinit-libs ()
  (interactive)
  (let ((generated-autoload-file (concat user-emacs-directory "my-autoload.el")))
    (dolist (d (directory-files (concat user-emacs-directory "lib") t "^[^\.]"))
      (dolist (f (directory-files d t "\\.el$"))
        (byte-compile-file f))
      (update-directory-autoloads d))))

(dolist (l (directory-files (concat user-emacs-directory "lib") nil "^[^\.]"))
  (add-to-list 'load-path (concat user-emacs-directory "lib/" l))
  (autoload (intern l) (concat l ".el")))

(when (not (file-exists-p (concat user-emacs-directory "my-autoload.el")))
  (pnh-reinit-libs))

(load (concat user-emacs-directory "my-autoload.el"))

If you liked ... you might also like

These are all libraries that focus on doing one thing and do it consistently well.

Copyright

Copyright © 2008-2017 Phil Hagelberg and contributors

Files are licensed under the same license as Emacs unless otherwise specified. See the file COPYING for details.

emacs-starter-kit's People

Contributors

bleything avatar cjlarose avatar darwinawardwinner avatar demonbane avatar dgoodlad avatar dgutov avatar drothlis avatar dysinger avatar eschulte avatar ferrous26 avatar genehack avatar indrajitr avatar jadeforrest avatar jmhodges avatar jonatkinson avatar kylpo avatar memleaks avatar mjc- avatar nonsequitur avatar pedrodelgallego avatar scgilardi avatar sethtrain avatar singletoned avatar smerritt avatar technomancy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emacs-starter-kit's Issues

Magit is now part of elpa

Minor change this, but magit.el is still placed in the elpa-to-submit directory while it is available through elpa today.

Would be trivial to just remove it from elpa-to-submit and add it as a default starter-kit package in starter-kit-elpa.el

Carbon emacs stutters with *.erb files

When editing *.erb files, emacs hangs for a little bit, and then goes again, then repeats. This usually happens when I've been editing for a while. It's a terrible hamper on productivity. This only happens with *.erb files.

I'm not sure where to look to debug the problem. Where do I find the emacs mode that syntax highlights the .erb? And how do I turn it off? Are there other substitutes for *.erb/.rhtml highlighters?

Debugger entered--Lisp error: (void-function yaml-mode)

Did a clean download of Emacs Starter Kit on an Ubuntu 9.10 machine with Emacs 23. yaml-mode was correctly auto-installed in ELPA, but I'm getting an error any time I try to open a YAML file. My old Emacs Starter Kit (downloaded on February 18th) worked fine with YAML. I plan to just go back to that for the time being, but thought I should post this issue here. Error follows below:

Debugger entered--Lisp error: (void-function yaml-mode)
yaml-mode()
set-auto-mode-0(yaml-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(# "/path/to/config/locales/en.yml" nil nil "/path/to/config/locales/en.yml" (1442241 21))
find-file-noselect("/home/daniel/path/to/config/locales/en.yml" nil nil)
ido-file-internal(raise-frame)
ido-find-file()
call-interactively(ido-find-file nil nil)

html mode used for *.html.haml instead of haml mode

When 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

disable idle-highlight

Quick question, how do I disable idle highlight mode? I realize I can remove/comment out the offending lines in the modes where I don't desire it but I'd like to not edit files that are part of the starter kit to enable easy updating.

Is there a command I can add to my .el file that will disable idle-highlight globally?

Thanks!

Void variable: paredit-space-for-delimiter-predicates

I receive the following backtrace when starting emacs after a recent pull:
debug(error (void-variable paredit-space-for-delimiter-predicates))
add-to-list(paredit-space-for-delimiter-predicates esk-space-for-delimiter?)
provide(paredit)
byte-code("\300 \210\301 \210\302 \210\303\304!\207" [paredit-define-keys paredit-annotate-mode-with-examples paredit-annotate-functions-with-examples provide paredit] 2)
(paredit-mode t)
turn-on-paredit()
run-hooks(emacs-lisp-mode-hook)
apply(run-hooks emacs-lisp-mode-hook)
run-mode-hooks(emacs-lisp-mode-hook)
emacs-lisp-mode()
set-auto-mode-0(emacs-lisp-mode nil)
set-auto-mode()
normal-mode(t)

Aquamacs 2.1 (emacs 23.2.50.1) on Mac OS X 10.6.5

starter-kit-misc.el tries to set a face that no longer exists

I'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.

Cannot get to work on OSX

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!

Much simplified version of ido-imenu

 (defun flatten-assoc-tree (tree pred)
   "Returns an alist of only (key . leaf) pairs in TREE. PRED
 determines whether a value is a sub-alist or a leaf."
   (flet ((inner (lst)
                 (mapcan (lambda (elt)
                           (cond ((atom elt) nil)
                                 ((funcall pred elt) (inner elt))
                                 (t (list elt))))
                         lst)))
     (inner tree)))

 (defun ido-imenu ()
   "Queries with `ido-completing-read' a symbol in the buffer's
 imenu index, then jumps to that symbol's location."
   (interactive)
   (goto-char
    (let ((lst (nreverse (flatten-assoc-tree (imenu--make-index-alist) 'imenu--subalist-p))))
      (cdr (assoc (ido-completing-read "Symbol: " (mapcar 'car lst)) lst)))))

Can't find rng-auto.el

"Can't find rng-auto.el" thrown while starting Emacs 22 on Ubuntu 9.04 with a new installation of Emacs Starter Kit (downloaded a few minutes ago).

Solved on this setup by using ELPA to install nxml-mode.

ido-find-file confused when cursor over C comment

If 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?

emacs starter kit problem in emacs 23.1 or 23.2

Hi,

I found that the starter kit has some problem with emacs 23+. It works
fine in emacs 22.
I am using Ubuntu 9.04 and the kernel version is 2.6.28.7.
The problem is that the file content is not rendered correctly on
screen.
I usually open C files and some syntax is obviously wrong(I didn't modify anything)!! And I can see broken words all over the file.
After I moved the cursor to the wrong words or paragraph, then it
started to refresh and showed the words which should be there. It was
weird enough and I am pretty sure there must be something wrong with
the starter kit. The file rendered correctly after I stopped using the
starter kit. Does anyone have the similar issue? Any hint?
Thanks.

paredit-mode

fresh install of emacs and emacs-starter-kit. upon loading I get turn-on-paredit: Symbol's function definition is void: paredit-mode

OrgMode and WindMove keybindings conflict

When using OrgMode and WindMove together, shift+arrows keybindings conflict. OrgMode seems to take over then, and jumping from window to window doesn't work as usual, which is quite irritating. What's the policy with emacs-starter-kit -- should it be "fixed out of the box" as suggested at http://www.emacswiki.org/emacs/OrgMode#toc8, or are things like this left to the user?

suggestion: change key binding for 'menu-bar-mode

the 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)

More general way to load startup files

Currently, there are a bunch of mode-specific configuration files like starter-kit-eshell, starter-kit-lisp, starter-kit-ruby, etc. As the number of supported modes increases, this setup becomes increasingly unruly.

The solution I used for my .emacs.d before migrating to Emacs Starter Kit was to use the function debian-run-directories to automatically load all of the files in a given directory, which I had set to ~/.emacs.d/startup. debian-run-directories works by looking for files named XXfile.el(c), where XX is a pair of digits. It then loads the files in ascending order, giving you control over the order of file loads without having to manually specify each file.

This allows these startup files to be added and removed without having to keep the require statements in sync. I have started to port this change over to ESK (in my fork, on the dhackney branch), and was wondering if this is something that seems merge-worthy. It's in a very rough state in my repository right now, so don't take that as representative of what the finished product would look like.

Espresso+paredit do odd things when defining a new js function

I'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.

color themes not working

The only color themes available are color-theme-zenburn, color-theme-twilight, color-theme-standard, color-theme-blackboard. Other color themes that are installed on my system cannot be used and color-theme-select does not produce a list of themes.

installation problems

on a mac, I moved my previous .emacs.d to .emacs.d.save and fired up emacs 24.0.50 in iTerm. Emacs came up completely vanilla. I pasted the addition of the technomancy archive into the scratch buffer and executed each line. Then I tried M-x package-install RET starter-kit RET and got a beep and an indication there is no such package. Then I tried M-x package-list-packages and elk v2.0 was there. I installed it, but at the end of the compilation got the message "Symbol's value as variable is void: esk-system-name". Now when I start up emacs I get that same message.

find-file-in-project is broken on emacs 23.2

After brew install emacs and moving emacs-starter-kit into place:

Compiling file /Users/wolverian/.emacs.d/elpa/find-file-in-project-2.0/find-file-in-project.el at Mon Jul 12 18:36:43 2010
find-file-in-project.el:70:1:Error: Cannot open load file: project-local-variables

void-function idle-highlight

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.

gist.el autoloading broken?

Running the latest emacs-starter-kit with with emacs 23 on Arch Linux, with gist.el installed from elpa (automatically installed).

When trying to use M-x gist-region, I get the following error:
gist-region: Symbol's value as variable is void: login.
gist-region doesn't even ask for my github login credentials before failing.

However, if i do M-x load-file path/to/gist.el, gist-region starts working properly.

Can I specify my own cperl-mode?

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

Unable to "git clone" project using git 1.6.0.4

Hi, here is the error I receive when attempting to "git clone" this project:

Getting pack 2f483ef
which contains 94a9ed0 got fd66aab
got ad92aba
got 8de3d05
got f7d17ed
got 4e64e69
got 4ab0d92
got d9f5744
got ac47c3d
got 854a057
got 1b07a62
got aae3250
got ada2ac9
error: Unable to get pack file http://github.com/technomancy/emacs-starter-kit.git/objects/pack/pack-2f483ef284a8154ca75f1308508e881fdb4ddcaa.pack
transfer closed with 1337627 bytes remaining to read
error: Unable to find 94a9ed0 under http://github.com/technomancy/emacs-starter-kit.git
Cannot obtain needed blob 94a9ed0
while processing commit 6b38e16.
fatal: Fetch failed.

Does anyone else see this issue? Should I be using a newer git?

flymake mode in javascript

Flymake for js doesn't work out of the box. There's some hardcoded Windows paths in there.

I have a script that runs jslint, so I hooked that up. The regexes need to be updated for jslint as well....

diff --git a/elpa-to-submit/nxhtml/related/flymake-js.el b/elpa-to-submit/nxhtml/related/flymake-js.el
index 56aa571..73f5feb 100644
--- a/elpa-to-submit/nxhtml/related/flymake-js.el
+++ b/elpa-to-submit/nxhtml/related/flymake-js.el
@@ -87,6 +87,8 @@
;; These pattern are probably for Rhino:
("^js: "(.+)", line ([0-9]+): (.+)$" 1 2 nil 3)
("^js: uncaught JavaScript (.+)$" nil nil nil 1)
+ ;; jslint
+ ("^Lint at line ([[:digit:]]+) character ([[:digit:]]+): (.+)$" nil 1 2 3)
;; These pattern are probably for SpiderMonkey:
("^(.+):([0-9]+): (SyntaxError:.+):$" 1 2 nil 3)
("^(.+):([0-9]+): (strict warning: trailing comma.+):$" 1 2 nil 3)
@@ -130,11 +132,14 @@ not figure out what buffers and processes to kill."
(lwarn 't :warning "Can't find rhino.js: %s" flymake-js-rhino-js))
(cond
((eq flymake-js-engine 'rhino)
- (list "java" (list "-jar" flymake-js-rhino-jar flymake-js-rhino-js local-file)))
- ((eq flymake-js-engine 'spidermonkey)
+ ;; (list "java" (list "-jar" flymake-js-rhino-jar flymake-js-rhino-js local-file)))
+ (list "flymakejs.sh" (list local-file)))
+ ((eq flymake-js-engine 'spidermonkey)
(list "js" (list "-s" local-file)))
(t
- (error "Bad value: %s" flymake-js-engine)))))
+ (error "Bad value: %s" flymake-js-engine)))
+ ))
+

 (defun flymake-js-load ()
   (dolist (rec flymake-allowed-js-file-name-masks)

What would be the process for resolving this? I'm assuming we just need to package/include os neutral jslint.

Let me know what I can do to help.

cheers

Binary plist on Mac OSX

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

Create php-mode

Is there anyone planning to create a starter-kit-php.el

It would be cool to work together.

TLS issues with proxy

At my employer's network everything goes through proxies, which usually cause some issues. And, no surprise, the proxy seems to have screwed up starter kit setup as well.

I use Ubuntu and Emacs23. The proxies work fine for other apps, like firefox, thunderbird etc. I have proxy set up in both the Ubuntu's preferences dialog and also in the environment variable http_proxy. It seems that the TLS connections are the problem with starter kit, and I quess ELPA is the subsystem which tries to use them unsuccessfully.

When I start emacs I get this message at the bottom of the Emacs window:

Opening TLS connection to foo.bar.net ...done

However, Emacs is not responsive for about ten minutes. I cannot do anything, I just see the message. After that ten minutes, Emacs starts to work, but it doesn't seem to have everything from the starter kit installed. For example Ido is not on by default like it was after I installed the starter kit at home.

When I start emacs with --debug-init I see this in Messages after the long lockup

Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/20apel.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Package autoconf removed but not purged.  Skipping setup.
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50devhelp.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50flim.el (source)...done
Loading /etc/emacs/site-start.d/50git-core.el (source)...done
Loading /etc/emacs/site-start.d/50global.el (source)...done
Loading /etc/emacs/site-start.d/50mit-scheme.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50pylint.el (source)...
Loading pylint...done
Loading /etc/emacs/site-start.d/50pylint.el (source)...done
Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done
Loading /etc/emacs/site-start.d/50ruby1.8-elisp.el (source)...done
Loading /etc/emacs/site-start.d/51semi.el (source)...done
Loading /etc/emacs/site-start.d/65wl.el (source)...done
Using a proxy for http...
Contacting host: 1.2.3.4:88
Reading [text/html; charset=utf-8]... 634 bytes of 624 bytes (102%)
Opening TLS connection to 'foo.bar.net'...
Opening TLS connection with `gnutls-cli -p 10001 foo.bar.net'...failed
Opening TLS connection with `gnutls-cli -p 10001 foo.bar.net --protocols ssl3'...failed
Opening TLS connection with `openssl s_client -connect foo.bar.net:10001 -no_ssl2 -ign_eof'...done
Opening TLS connection to `foo.bar.net'...done
Reading 6k...
For information about GNU Emacs and the GNU system, type C-h C-a.
byte-code: Beginning of buffer [7 times]
byte-code: Beginning of buffer

(I changed the IP addresses and domain names above for security reasons)

There is no clear error there (if you don't count the fact that TLS connection fails totally with other means except openssl), but nothing seems to happen.

So I'm wondering is this TLS stuff the ELPA system trying to connect to it's server? At least I get the same messages when I run command package-list-packages, and I never get the list in the end (no error either). Why does it use TLS? Can I override it to use plain HTTP instead somehow?

My ELPA directory also remains empty, and I get this same long TLS-lockup every timeI start Emacs, not just the first time.

Regards,
Perttu

lambda in Clojure is "fn", NOT "lambda"

Hello people,

the subjects says it all. In clojure the word "lambda" is shown as a, well, lambda greek letter. But while that's appropriate in Elisp and I think in Lisp and Scheme, it is NOT in Clojure.

In Clojure the intended expression to be shown as the greek letter is "fn"

I found that in "starter-kit-lisp.el" there's a call to "run-coding-hooks" (row 59)

"run-coding-hooks" is in "starter-kit-defuns.el" and one of the hooks taht get run is "pretty-lambdas"

I think that pretty-lambdas should differentiate the case it's in Clojure mode and do accordingly

And I'm eager to see your code to fix this thing, since I'm an Emacs (and Lisp like languages) novice.

Thanks
humanitiesNerd

starter kit killed my meta key osx 10.6.2

The 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
russ

old downloads?

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.

Symbols function is void: paredit-open-curly

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.

Weird issue with pinging. Pinging position.id (Indonesia)

When working in a Rails ERB template, when my cursor is on the "." in the middle of @position.id and I press C-x-f it starts "Pinging position.id (Indonesia)" and locks up emacs until it times out.

Any ideas how to stop this behavior?

Strange tramp related errors

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)

vertical-border color settings

starter-kit-misc.el sets vertical-border to white. This may or may not work out with someone's theme. Is there a way to refactor settings like these? I load my color theme in $USER.el then this overrides it.

cheers

Enable Longlines Mode

What do you think, couldn't an enabled longlines-mode be 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…

find-recursive broken

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.

Setting proxy on EmacsW32 when using emacs-starter-kit

I'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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.