Commit Graph

3 Commits

Author SHA1 Message Date
Collin J. Doering 187a6b1509 Deprecate w3m in preference for eww in emacs
- setup a default external browser add a function for accessing the last
- url before point (this is useful all over the place but namely in
  rcirc)

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:44 -05:00
Collin J. Doering ca0ffdc4d5 Allow X emacs frames to be scratchpads in xmonad
Cannot have X11 emacs/emacsclient window as scratchpad in xmonad
- State "KNOWNCAUSE" from "BUG"        [2014-11-07 Fri 02:53] \\
  This is due to the fact that in xmonad I am unable to locate a particular emacs frame (X11
  window). This is because emacs' frames change there names dynamically and all have the same
  resource name, thus there's no way to locate them.
- State "BUG"        from "REPORT"     [2014-11-07 Fri 02:52] \\
  This is an issue. Emacs in terminal is nice but it's preferred to use a X11 instance when possible.

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:44 -05:00
Collin J. Doering a8582a7d4e Modularize emacs config
Approximately coincides with the release of emacs 24.4, Though some
changes for the emacs 24.4 upgrade are not yet completed; specifically:
 * replace w3m with the now built in eww
 * no need to enable electric-indent-mode since it is now enabled by
   default
 * other things that I don't know about yet ...

Now the main changes are as follows:
 * Use .emacs.d/init.el for emacs start-up file instead of .emacs; this
   new init file is much shorter in summary does the following:
    - auto-loads packages installed using package.el using the
      package-initialize function
    - adds .emacs.d/site-lisp-extra to the load-path
    - sets a few variables and functions and then recursively loads all
      .el files in .emacs.d/config
    - contains all variables set by customize at the end of the file
 * All other configuration is written to files with appropriate names in
   .emacs.d/config; currently the concatenation of these files is the same
   as the .emacs in the last commit not including the sexp's that went
   into .emacs.d/init.el

Things that remain the same but are no less important to mention in
regards to the setup of this emacs configuration:
 * custom themes are stored in .emacs.d/themes
 * custom yasnippets are stored in .emacs.d/snippets
 * templates (used by .emacs.d/config/insert-templates.el to insert a
   comment at the beginning of certain files using auto-insert-mode) are
   located at .emacs.d/templates
   Note: I've been considering depreciating the use of auto-insert-mode
         to insert content into new files and instead use yasnippets.
         Further though is required.

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:44 -05:00