all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Loading .el file
@ 2013-03-25  7:23 Dennis Stello
  2013-03-25 15:04 ` Doug Lewan
  2013-03-25 15:12 ` Andreas Röhler
  0 siblings, 2 replies; 4+ messages in thread
From: Dennis Stello @ 2013-03-25  7:23 UTC (permalink / raw
  To: help-gnu-emacs

[-- Attachment #1: Type: TEXT/PLAIN, Size: 8950 bytes --]

Hi,

I have been trying to load a custom .el file in emacs to add some personal 
functionalities when I run emacs.
The file is called mesa-minor-mode.el and is attach here for 
completeness.  I have saved it in my ~/emacslisp/ and after a few 
unsuccesful attempts to get it working I also saved it in ~/.emacs.d/ 
just to be sure emacs was not being sensitive to where the file was.

I run emacs version: GNU 21.4.1 x86_64-redhat-linux-gnu.

From various online help and colleagues I have ended up trying (without 
luck) lots of permutations in my .emacs of the suggestions I received. 
These incl (after each permutation I include here the error message when 
starting emacs):

;; (1)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(require 'mesa-minor-mode)
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode"
;; (2)
(add-to-list 'load-path "~/emacslisp/")
(require 'mesa-minor-mode)
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (3)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode.el"
;; (4)
(add-to-list 'load-path "~/emacslisp/")
(load "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (5)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode"
;; (6)
(add-to-list 'load-path "~/emacslisp/")
(load "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (7)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
;; (8)
(add-to-list 'load-path "~/emacslisp/")
(load "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
;; (9)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
;; (10)
(add-to-list 'load-path "~/emacslisp/")
(load "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (11)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load-file "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode.el"
;; (12)
(add-to-list 'load-path "~/emacslisp/")
(load-file "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode.el"
;; (13)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load-file "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
;; (14)
(add-to-list 'load-path "~/emacslisp/")
(load-file "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
;; (15)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load-file "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (16)
(add-to-list 'load-path "~/emacslisp/")
(load-file "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (17)
(add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
(load-file "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", 
"/suphys/stello/emacslisp/mesa-minor-mode"
;; (18)
(add-to-list 'load-path "~/emacslisp/")
(load-file "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", 
"/suphys/stello/emacslisp/mesa-minor-mode"

;; (19)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(require 'mesa-minor-mode)
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode"
;; (20)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(require 'mesa-minor-mode)
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode"
;; (21)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode.el"
;; (22)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode.el"
;; (23)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode"
;; (24)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "mesa-minor-mode"
;; (25)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
:; (26)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
;; (27)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
;; (28)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
;; (29)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode.el"
;; (30)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode.el"
;; (31)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
;; (32)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
;; (33)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (34)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "emacslisp/mesa-minor-mode.el")
;An error has occurred while loading `/suphys/stello/.emacs':
;Symbol's value as variable is void: <!DOCTYPE
;; (35)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-minor-mode"
;; (36)
(setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
(load-file "emacslisp/mesa-minor-mode")
;An error has occurred while loading `/suphys/stello/.emacs':
;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-minor-mode"


I also tried to replace tilde in the above attempts with the full path but 
still no luck.  Also replacing emacslisp with .emacs.d, as well as incl 
and removing '/' at the end of paths was tested.

Any help with this would be greatly appreciated.


Thanks
-- 
Dennis Stello

[-- Attachment #2: Type: APPLICATION/OCTET-STREAM, Size: 35929 bytes --]

  


<!DOCTYPE html>
<html>
  <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#">
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>mesa-minor-mode/mesa-minor-mode.el at master · jschwab/mesa-minor-mode · GitHub</title>
    <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
    <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
    <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png" />
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png" />
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png" />
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png" />
    <link rel="logo" type="image/svg" href="http://github-media-downloads.s3.amazonaws.com/github-logo.svg" />
    <meta name="msapplication-TileImage" content="/windows-tile.png">
    <meta name="msapplication-TileColor" content="#ffffff">

    
    
    <link rel="icon" type="image/x-icon" href="/favicon.ico" />

    <meta content="authenticity_token" name="csrf-param" />
<meta content="V4pBg1xwly6GJ3w+4NrVslyFdSTbzknzcdwtAq33TFs=" name="csrf-token" />

    <link href="https://a248.e.akamai.net/assets.github.com/assets/github-8c237cc402e3d4bc024750691ccce4fd5eddee2e.css" media="all" rel="stylesheet" type="text/css" />
    <link href="https://a248.e.akamai.net/assets.github.com/assets/github2-9b6eed4e9a41cc2dd85690cc19abdc063bd87d9a.css" media="all" rel="stylesheet" type="text/css" />
    


      <script src="https://a248.e.akamai.net/assets.github.com/assets/frameworks-d76b58e749b52bc47a4c46620bf2c320fabe5248.js" type="text/javascript"></script>
      <script src="https://a248.e.akamai.net/assets.github.com/assets/github-80a3b7f6948ed4122df090b89e975d21a9c88297.js" type="text/javascript"></script>
      
      <meta http-equiv="x-pjax-version" content="581859cfff990c09f7c9d19575e3e6f4">

        <link data-pjax-transient rel='permalink' href='/jschwab/mesa-minor-mode/blob/049af3480d9b802cfbc2093ab5a00764b563226f/mesa-minor-mode.el'>
    <meta property="og:title" content="mesa-minor-mode"/>
    <meta property="og:type" content="githubog:gitrepository"/>
    <meta property="og:url" content="https://github.com/jschwab/mesa-minor-mode"/>
    <meta property="og:image" content="https://secure.gravatar.com/avatar/40349428f21c2ba534d5116c8c5efb44?s=420&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png"/>
    <meta property="og:site_name" content="GitHub"/>
    <meta property="og:description" content="Contribute to mesa-minor-mode development by creating an account on GitHub."/>
    <meta property="twitter:card" content="summary"/>
    <meta property="twitter:site" content="@GitHub">
    <meta property="twitter:title" content="jschwab/mesa-minor-mode"/>

    <meta name="description" content="Contribute to mesa-minor-mode development by creating an account on GitHub." />

  <link href="https://github.com/jschwab/mesa-minor-mode/commits/master.atom" rel="alternate" title="Recent Commits to mesa-minor-mode:master" type="application/atom+xml" />

  </head>


  <body class="logged_out page-blob linux vis-public env-production  ">
    <div id="wrapper">

      

      

      

      


        <div class="header header-logged-out">
          <div class="container clearfix">

            <a class="header-logo-wordmark" href="https://github.com/">
              <img alt="GitHub" class="github-logo-4x" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x.png?1340659511" />
              <img alt="GitHub" class="github-logo-4x-hover" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x-hover.png?1340659511" />
            </a>

              
<ul class="top-nav">
    <li class="explore"><a href="https://github.com/explore">Explore GitHub</a></li>
  <li class="search"><a href="https://github.com/search">Search</a></li>
  <li class="features"><a href="https://github.com/features">Features</a></li>
    <li class="blog"><a href="https://github.com/blog">Blog</a></li>
</ul>


            <div class="header-actions">
                <a class="button primary" href="https://github.com/signup">Sign up for free</a>
              <a class="button" href="https://github.com/login?return_to=%2Fjschwab%2Fmesa-minor-mode%2Fblob%2Fmaster%2Fmesa-minor-mode.el">Sign in</a>
            </div>

          </div>
        </div>


      

      


            <div class="site hfeed" itemscope itemtype="http://schema.org/WebPage">
      <div class="hentry">
        
        <div class="pagehead repohead instapaper_ignore readability-menu ">
          <div class="container">
            <div class="title-actions-bar">
              


<ul class="pagehead-actions">



    <li>
      <a href="/login?return_to=%2Fjschwab%2Fmesa-minor-mode"
        class="minibutton js-toggler-target star-button entice tooltipped upwards"
        title="You must be signed in to use this feature" rel="nofollow">
        <span class="mini-icon mini-icon-star"></span>Star
      </a>
      <a class="social-count js-social-count" href="/jschwab/mesa-minor-mode/stargazers">
        0
      </a>
    </li>
    <li>
      <a href="/login?return_to=%2Fjschwab%2Fmesa-minor-mode"
        class="minibutton js-toggler-target fork-button entice tooltipped upwards"
        title="You must be signed in to fork a repository" rel="nofollow">
        <span class="mini-icon mini-icon-fork"></span>Fork
      </a>
      <a href="/jschwab/mesa-minor-mode/network" class="social-count">
        1
      </a>
    </li>
</ul>

              <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
                <span class="repo-label"><span>public</span></span>
                <span class="mega-icon mega-icon-public-repo"></span>
                <span class="author vcard">
                  <a href="/jschwab" class="url fn" itemprop="url" rel="author">
                  <span itemprop="title">jschwab</span>
                  </a></span> /
                <strong><a href="/jschwab/mesa-minor-mode" class="js-current-repository">mesa-minor-mode</a></strong>
              </h1>
            </div>

            
  <ul class="tabs">
    <li><a href="/jschwab/mesa-minor-mode" class="selected" highlight="repo_source repo_downloads repo_commits repo_tags repo_branches">Code</a></li>
    <li><a href="/jschwab/mesa-minor-mode/network" highlight="repo_network">Network</a></li>
    <li><a href="/jschwab/mesa-minor-mode/pulls" highlight="repo_pulls">Pull Requests <span class='counter'>0</span></a></li>

      <li><a href="/jschwab/mesa-minor-mode/issues" highlight="repo_issues">Issues <span class='counter'>0</span></a></li>



    <li><a href="/jschwab/mesa-minor-mode/graphs" highlight="repo_graphs repo_contributors">Graphs</a></li>


  </ul>
  
<div class="tabnav">

  <span class="tabnav-right">
    <ul class="tabnav-tabs">
          <li><a href="/jschwab/mesa-minor-mode/tags" class="tabnav-tab" highlight="repo_tags">Tags <span class="counter blank">0</span></a></li>
    </ul>
    
  </span>

  <div class="tabnav-widget scope">


    <div class="select-menu js-menu-container js-select-menu js-branch-menu">
      <a class="minibutton select-menu-button js-menu-target" data-hotkey="w" data-ref="master">
        <span class="mini-icon mini-icon-branch"></span>
        <i>branch:</i>
        <span class="js-select-button">master</span>
      </a>

      <div class="select-menu-modal-holder js-menu-content js-navigation-container">

        <div class="select-menu-modal">
          <div class="select-menu-header">
            <span class="select-menu-title">Switch branches/tags</span>
            <span class="mini-icon mini-icon-remove-close js-menu-close"></span>
          </div> <!-- /.select-menu-header -->

          <div class="select-menu-filters">
            <div class="select-menu-text-filter">
              <input type="text" id="commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
            </div>
            <div class="select-menu-tabs">
              <ul>
                <li class="select-menu-tab">
                  <a href="#" data-tab-filter="branches" class="js-select-menu-tab">Branches</a>
                </li>
                <li class="select-menu-tab">
                  <a href="#" data-tab-filter="tags" class="js-select-menu-tab">Tags</a>
                </li>
              </ul>
            </div><!-- /.select-menu-tabs -->
          </div><!-- /.select-menu-filters -->

          <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket css-truncate" data-tab-filter="branches">

            <div data-filterable-for="commitish-filter-field" data-filterable-type="substring">

                <div class="select-menu-item js-navigation-item js-navigation-target selected">
                  <span class="select-menu-item-icon mini-icon mini-icon-confirm"></span>
                  <a href="/jschwab/mesa-minor-mode/blob/master/mesa-minor-mode.el" class="js-navigation-open select-menu-item-text js-select-button-text css-truncate-target" data-name="master" rel="nofollow" title="master">master</a>
                </div> <!-- /.select-menu-item -->
            </div>

              <div class="select-menu-no-results">Nothing to show</div>
          </div> <!-- /.select-menu-list -->


          <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket css-truncate" data-tab-filter="tags">
            <div data-filterable-for="commitish-filter-field" data-filterable-type="substring">

            </div>

            <div class="select-menu-no-results">Nothing to show</div>

          </div> <!-- /.select-menu-list -->

        </div> <!-- /.select-menu-modal -->
      </div> <!-- /.select-menu-modal-holder -->
    </div> <!-- /.select-menu -->

  </div> <!-- /.scope -->

  <ul class="tabnav-tabs">
    <li><a href="/jschwab/mesa-minor-mode" class="selected tabnav-tab" highlight="repo_source">Files</a></li>
    <li><a href="/jschwab/mesa-minor-mode/commits/master" class="tabnav-tab" highlight="repo_commits">Commits</a></li>
    <li><a href="/jschwab/mesa-minor-mode/branches" class="tabnav-tab" highlight="repo_branches" rel="nofollow">Branches <span class="counter ">1</span></a></li>
  </ul>

</div>

  
  
  


            
          </div>
        </div><!-- /.repohead -->

        <div id="js-repo-pjax-container" class="container context-loader-container" data-pjax-container>
          


<!-- blob contrib key: blob_contributors:v21:38e2116eb7d6a1411bdb2ef4c6f8d5b9 -->
<!-- blob contrib frag key: views10/v8/blob_contributors:v21:38e2116eb7d6a1411bdb2ef4c6f8d5b9 -->


<div id="slider">
    <div class="frame-meta">

      <p title="This is a placeholder element" class="js-history-link-replace hidden"></p>

        <div class="breadcrumb">
          <span class='bold'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/jschwab/mesa-minor-mode" class="js-slide-to" data-branch="master" data-direction="back" itemscope="url"><span itemprop="title">mesa-minor-mode</span></a></span></span><span class="separator"> / </span><strong class="final-path">mesa-minor-mode.el</strong> <span class="js-zeroclipboard zeroclipboard-button" data-clipboard-text="mesa-minor-mode.el" data-copied-hint="copied!" title="copy to clipboard"><span class="mini-icon mini-icon-clipboard"></span></span>
        </div>

      <a href="/jschwab/mesa-minor-mode/find/master" class="js-slide-to" data-hotkey="t" style="display:none">Show File Finder</a>


        
  <div class="commit file-history-tease">
    <img class="main-avatar" height="24" src="https://secure.gravatar.com/avatar/40349428f21c2ba534d5116c8c5efb44?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
    <span class="author"><a href="/jschwab" rel="author">jschwab</a></span>
    <time class="js-relative-date" datetime="2013-02-06T22:07:50-08:00" title="2013-02-06 22:07:50">February 06, 2013</time>
    <div class="commit-title">
        <a href="/jschwab/mesa-minor-mode/commit/4743f2149537f2aab35c4dd4f00b07c0f1203c37" class="message">fixed confusing comment</a>
    </div>

    <div class="participation">
      <p class="quickstat"><a href="#blob_contributors_box" rel="facebox"><strong>1</strong> contributor</a></p>
      
    </div>
    <div id="blob_contributors_box" style="display:none">
      <h2>Users on GitHub who have contributed to this file</h2>
      <ul class="facebox-user-list">
        <li>
          <img height="24" src="https://secure.gravatar.com/avatar/40349428f21c2ba534d5116c8c5efb44?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="24" />
          <a href="/jschwab">jschwab</a>
        </li>
      </ul>
    </div>
  </div>


    </div><!-- ./.frame-meta -->

    <div class="frames">
      <div class="frame" data-permalink-url="/jschwab/mesa-minor-mode/blob/049af3480d9b802cfbc2093ab5a00764b563226f/mesa-minor-mode.el" data-title="mesa-minor-mode/mesa-minor-mode.el at master · jschwab/mesa-minor-mode · GitHub" data-type="blob">

        <div id="files" class="bubble">
          <div class="file">
            <div class="meta">
              <div class="info">
                <span class="icon"><b class="mini-icon mini-icon-text-file"></b></span>
                <span class="mode" title="File Mode">file</span>
                  <span>88 lines (73 sloc)</span>
                <span>2.557 kb</span>
              </div>
              <div class="actions">
                <div class="button-group">
                      <a class="minibutton js-entice" href=""
                         data-entice="You must be signed in and on a branch to make or propose changes">Edit</a>
                  <a href="/jschwab/mesa-minor-mode/raw/master/mesa-minor-mode.el" class="button minibutton " id="raw-url">Raw</a>
                    <a href="/jschwab/mesa-minor-mode/blame/master/mesa-minor-mode.el" class="button minibutton ">Blame</a>
                  <a href="/jschwab/mesa-minor-mode/commits/master/mesa-minor-mode.el" class="button minibutton " rel="nofollow">History</a>
                </div><!-- /.button-group -->
              </div><!-- /.actions -->

            </div>
                <div class="data type-emacs-lisp js-blob-data">
      <table cellpadding="0" cellspacing="0" class="lines">
        <tr>
          <td>
            <pre class="line_numbers"><span id="L1" rel="#L1">1</span>
<span id="L2" rel="#L2">2</span>
<span id="L3" rel="#L3">3</span>
<span id="L4" rel="#L4">4</span>
<span id="L5" rel="#L5">5</span>
<span id="L6" rel="#L6">6</span>
<span id="L7" rel="#L7">7</span>
<span id="L8" rel="#L8">8</span>
<span id="L9" rel="#L9">9</span>
<span id="L10" rel="#L10">10</span>
<span id="L11" rel="#L11">11</span>
<span id="L12" rel="#L12">12</span>
<span id="L13" rel="#L13">13</span>
<span id="L14" rel="#L14">14</span>
<span id="L15" rel="#L15">15</span>
<span id="L16" rel="#L16">16</span>
<span id="L17" rel="#L17">17</span>
<span id="L18" rel="#L18">18</span>
<span id="L19" rel="#L19">19</span>
<span id="L20" rel="#L20">20</span>
<span id="L21" rel="#L21">21</span>
<span id="L22" rel="#L22">22</span>
<span id="L23" rel="#L23">23</span>
<span id="L24" rel="#L24">24</span>
<span id="L25" rel="#L25">25</span>
<span id="L26" rel="#L26">26</span>
<span id="L27" rel="#L27">27</span>
<span id="L28" rel="#L28">28</span>
<span id="L29" rel="#L29">29</span>
<span id="L30" rel="#L30">30</span>
<span id="L31" rel="#L31">31</span>
<span id="L32" rel="#L32">32</span>
<span id="L33" rel="#L33">33</span>
<span id="L34" rel="#L34">34</span>
<span id="L35" rel="#L35">35</span>
<span id="L36" rel="#L36">36</span>
<span id="L37" rel="#L37">37</span>
<span id="L38" rel="#L38">38</span>
<span id="L39" rel="#L39">39</span>
<span id="L40" rel="#L40">40</span>
<span id="L41" rel="#L41">41</span>
<span id="L42" rel="#L42">42</span>
<span id="L43" rel="#L43">43</span>
<span id="L44" rel="#L44">44</span>
<span id="L45" rel="#L45">45</span>
<span id="L46" rel="#L46">46</span>
<span id="L47" rel="#L47">47</span>
<span id="L48" rel="#L48">48</span>
<span id="L49" rel="#L49">49</span>
<span id="L50" rel="#L50">50</span>
<span id="L51" rel="#L51">51</span>
<span id="L52" rel="#L52">52</span>
<span id="L53" rel="#L53">53</span>
<span id="L54" rel="#L54">54</span>
<span id="L55" rel="#L55">55</span>
<span id="L56" rel="#L56">56</span>
<span id="L57" rel="#L57">57</span>
<span id="L58" rel="#L58">58</span>
<span id="L59" rel="#L59">59</span>
<span id="L60" rel="#L60">60</span>
<span id="L61" rel="#L61">61</span>
<span id="L62" rel="#L62">62</span>
<span id="L63" rel="#L63">63</span>
<span id="L64" rel="#L64">64</span>
<span id="L65" rel="#L65">65</span>
<span id="L66" rel="#L66">66</span>
<span id="L67" rel="#L67">67</span>
<span id="L68" rel="#L68">68</span>
<span id="L69" rel="#L69">69</span>
<span id="L70" rel="#L70">70</span>
<span id="L71" rel="#L71">71</span>
<span id="L72" rel="#L72">72</span>
<span id="L73" rel="#L73">73</span>
<span id="L74" rel="#L74">74</span>
<span id="L75" rel="#L75">75</span>
<span id="L76" rel="#L76">76</span>
<span id="L77" rel="#L77">77</span>
<span id="L78" rel="#L78">78</span>
<span id="L79" rel="#L79">79</span>
<span id="L80" rel="#L80">80</span>
<span id="L81" rel="#L81">81</span>
<span id="L82" rel="#L82">82</span>
<span id="L83" rel="#L83">83</span>
<span id="L84" rel="#L84">84</span>
<span id="L85" rel="#L85">85</span>
<span id="L86" rel="#L86">86</span>
<span id="L87" rel="#L87">87</span>
</pre>
          </td>
          <td width="100%">
                  <div class="highlight"><pre><div class='line' id='LC1'><span class="p">(</span><span class="nf">defgroup</span> <span class="nv">mesa</span> <span class="nv">nil</span></div><div class='line' id='LC2'>&nbsp;&nbsp;<span class="s">&quot;mesa customizations.&quot;</span></div><div class='line' id='LC3'>&nbsp;&nbsp;<span class="nv">:prefix</span> <span class="s">&quot;mesa-&quot;</span></div><div class='line' id='LC4'>&nbsp;&nbsp;<span class="nv">:group</span> <span class="ss">&#39;mesa</span><span class="p">)</span></div><div class='line' id='LC5'><br/></div><div class='line' id='LC6'><span class="p">(</span><span class="nf">defcustom</span> <span class="nv">mesa-tags-file-name</span></div><div class='line' id='LC7'>&nbsp;&nbsp;<span class="s">&quot;TAGS&quot;</span></div><div class='line' id='LC8'>&nbsp;&nbsp;<span class="s">&quot;Name of the TAGS file inside of your MESA project&quot;</span></div><div class='line' id='LC9'>&nbsp;&nbsp;<span class="nv">:group</span> <span class="ss">&#39;mesa</span><span class="p">)</span></div><div class='line' id='LC10'><br/></div><div class='line' id='LC11'><span class="p">(</span><span class="nf">defcustom</span> <span class="nv">mesa-tags-file-path</span></div><div class='line' id='LC12'>&nbsp;&nbsp;<span class="p">(</span><span class="nf">concat</span> <span class="p">(</span><span class="nf">getenv</span> <span class="s">&quot;MESA_DIR&quot;</span><span class="p">)</span> <span class="s">&quot;/star/defaults/&quot;</span><span class="p">)</span></div><div class='line' id='LC13'>&nbsp;&nbsp;<span class="s">&quot;Path to your TAGS file inside of your MESA project&quot;</span></div><div class='line' id='LC14'>&nbsp;&nbsp;<span class="nv">:group</span> <span class="ss">&#39;mesa</span><span class="p">)</span></div><div class='line' id='LC15'><br/></div><div class='line' id='LC16'><span class="p">(</span><span class="nf">defcustom</span> <span class="nv">mesa-tags-regexp</span></div><div class='line' id='LC17'>&nbsp;&nbsp;<span class="s">&quot;&#39;/[ \\t]+\\([^ \\t]+\\)[ \\t]*=/\\1/&#39;&quot;</span></div><div class='line' id='LC18'>&nbsp;&nbsp;<span class="s">&quot;Regexp to recognize tags in defaults files&quot;</span></div><div class='line' id='LC19'>&nbsp;&nbsp;<span class="nv">:group</span> <span class="ss">&#39;mesa</span></div><div class='line' id='LC20'><span class="p">)</span></div><div class='line' id='LC21'><br/></div><div class='line' id='LC22'><span class="p">(</span><span class="nf">defun</span> <span class="nv">mesa-regen-tags</span> <span class="p">()</span></div><div class='line' id='LC23'>&nbsp;&nbsp;<span class="s">&quot;Regenerate the tags file for the MESA defaults directory&quot;</span></div><div class='line' id='LC24'>&nbsp;&nbsp;<span class="p">(</span><span class="nf">interactive</span><span class="p">)</span></div><div class='line' id='LC25'>&nbsp;&nbsp;<span class="p">(</span><span class="nf">shell-command</span> <span class="p">(</span><span class="nf">format</span> <span class="s">&quot;etags --language=none --regex=%s -o %s/%s %s*.defaults&quot;</span></div><div class='line' id='LC26'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nv">mesa-tags-regexp</span></div><div class='line' id='LC27'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nv">mesa-tags-file-path</span></div><div class='line' id='LC28'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nv">mesa-tags-file-name</span></div><div class='line' id='LC29'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nv">mesa-tags-file-path</span><span class="p">)))</span></div><div class='line' id='LC30'><br/></div><div class='line' id='LC31'><span class="p">(</span><span class="nf">defun</span> <span class="nv">mesa-toggle-boolean</span> <span class="p">()</span></div><div class='line' id='LC32'>&nbsp;&nbsp;<span class="s">&quot;Toggle an inlist flag between .true. &lt;--&gt; .false.&quot;</span></div><div class='line' id='LC33'>&nbsp;&nbsp;<span class="p">(</span><span class="nf">interactive</span><span class="p">)</span></div><div class='line' id='LC34'>&nbsp;&nbsp;<span class="p">(</span><span class="nf">save-excursion</span></div><div class='line' id='LC35'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">beginning-of-line</span><span class="p">)</span></div><div class='line' id='LC36'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="k">if </span><span class="p">(</span><span class="nf">re-search-forward</span> <span class="s">&quot;.true.\\|.false.&quot;</span> <span class="p">(</span><span class="nf">line-end-position</span><span class="p">)</span> <span class="nv">t</span><span class="p">)</span></div><div class='line' id='LC37'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">replace-match</span> <span class="p">(</span><span class="k">if </span><span class="p">(</span><span class="nf">string-equal</span> <span class="p">(</span><span class="nf">match-string</span> <span class="mi">0</span><span class="p">)</span> <span class="s">&quot;.true.&quot;</span><span class="p">)</span></div><div class='line' id='LC38'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="s">&quot;.false.&quot;</span> <span class="s">&quot;.true.&quot;</span><span class="p">)</span> <span class="nv">nil</span> <span class="nv">nil</span><span class="p">))))</span></div><div class='line' id='LC39'><br/></div><div class='line' id='LC40'><span class="c1">;; borrowed from http://www.emacswiki.org/emacs/CommentingCode</span></div><div class='line' id='LC41'><span class="p">(</span><span class="nf">defun</span> <span class="nv">mesa-comment-dwim</span> <span class="p">(</span><span class="nf">&amp;optional</span> <span class="nv">arg</span><span class="p">)</span></div><div class='line' id='LC42'>&nbsp;&nbsp;<span class="s">&quot;Replaces default behavior of comment-dwim, when it inserts</span></div><div class='line' id='LC43'><span class="s">comment at the end of the line.&quot;</span></div><div class='line' id='LC44'>&nbsp;&nbsp;<span class="p">(</span><span class="nf">interactive</span> <span class="s">&quot;*P&quot;</span><span class="p">)</span></div><div class='line' id='LC45'>&nbsp;&nbsp;<span class="p">(</span><span class="nf">comment-normalize-vars</span><span class="p">)</span></div><div class='line' id='LC46'>&nbsp;&nbsp;<span class="p">(</span><span class="k">if </span><span class="p">(</span><span class="k">and </span><span class="p">(</span><span class="nb">not </span><span class="p">(</span><span class="nf">region-active-p</span><span class="p">))</span> <span class="p">(</span><span class="nb">not </span><span class="p">(</span><span class="nf">looking-at</span> <span class="s">&quot;[ \t]*$&quot;</span><span class="p">)))</span></div><div class='line' id='LC47'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">comment-or-uncomment-region</span></div><div class='line' id='LC48'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">line-beginning-position</span><span class="p">)</span> <span class="p">(</span><span class="nf">line-end-position</span><span class="p">))</span></div><div class='line' id='LC49'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">comment-dwim</span> <span class="nv">arg</span><span class="p">)))</span></div><div class='line' id='LC50'><br/></div><div class='line' id='LC51'><span class="p">(</span><span class="nf">define-minor-mode</span> <span class="nv">mesa-minor-mode</span></div><div class='line' id='LC52'>&nbsp;&nbsp;<span class="s">&quot;Toggle MESA minor mode in the usual way.&quot;</span></div><div class='line' id='LC53'>&nbsp;&nbsp;<span class="nv">:init-value</span> <span class="nv">nil</span></div><div class='line' id='LC54'>&nbsp;&nbsp;<span class="c1">;; The indicator for the mode line.</span></div><div class='line' id='LC55'>&nbsp;&nbsp;<span class="nv">:lighter</span> <span class="s">&quot; MESA&quot;</span></div><div class='line' id='LC56'>&nbsp;&nbsp;<span class="c1">;; The minor mode bindings.</span></div><div class='line' id='LC57'>&nbsp;&nbsp;<span class="nv">:keymap</span></div><div class='line' id='LC58'>&nbsp;&nbsp;<span class="o">&#39;</span><span class="p">(</span></div><div class='line' id='LC59'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="s">&quot;\C-c\C-t&quot;</span> <span class="o">.</span> <span class="nv">mesa-toggle-boolean</span><span class="p">)</span></div><div class='line' id='LC60'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="s">&quot;\C-c\C-c&quot;</span> <span class="o">.</span> <span class="nv">mesa-comment-dwim</span><span class="p">)</span></div><div class='line' id='LC61'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">)</span></div><div class='line' id='LC62'>&nbsp;&nbsp;<span class="c1">;; the body</span></div><div class='line' id='LC63'>&nbsp;&nbsp;<span class="p">(</span><span class="k">if </span><span class="nv">mesa-minor-mode</span></div><div class='line' id='LC64'><br/></div><div class='line' id='LC65'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c1">;; turn mesa-minor-mode on</span></div><div class='line' id='LC66'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">progn</span></div><div class='line' id='LC67'><br/></div><div class='line' id='LC68'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="k">let </span><span class="p">((</span><span class="nf">mesa-tags-file</span> <span class="p">(</span><span class="nf">concat</span> <span class="nv">mesa-tags-file-path</span></div><div class='line' id='LC69'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="nv">mesa-tags-file-name</span><span class="p">)))</span></div><div class='line' id='LC70'><br/></div><div class='line' id='LC71'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c1">;; if TAGS file doesn&#39;t exist, generate it</span></div><div class='line' id='LC72'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="k">if </span><span class="p">(</span><span class="nb">not </span><span class="p">(</span><span class="nf">file-exists-p</span> <span class="nv">mesa-tags-file</span><span class="p">))</span></div><div class='line' id='LC73'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">mesa-regen-tags</span><span class="p">))</span></div><div class='line' id='LC74'><br/></div><div class='line' id='LC75'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c1">;; set the buffer-local tags file to the MESA file</span></div><div class='line' id='LC76'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">visit-tags-table</span> <span class="nv">mesa-tags-file</span><span class="p">)))</span></div><div class='line' id='LC77'><br/></div><div class='line' id='LC78'>&nbsp;&nbsp;<span class="c1">;; turn mesa-minor-mode off</span></div><div class='line' id='LC79'>&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">progn</span></div><div class='line' id='LC80'><br/></div><div class='line' id='LC81'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c1">;; take MESA out of the global tags table list</span></div><div class='line' id='LC82'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">(</span><span class="nf">delete</span> <span class="nv">mesa-tags-file-name</span> <span class="nv">tags-table-list</span><span class="p">)))</span></div><div class='line' id='LC83'>&nbsp;&nbsp;<span class="c1">;; the group</span></div><div class='line' id='LC84'>&nbsp;&nbsp;<span class="nv">:group</span> <span class="ss">&#39;mesa</span></div><div class='line' id='LC85'><span class="p">)</span></div><div class='line' id='LC86'><br/></div><div class='line' id='LC87'><span class="p">(</span><span class="nf">provide</span> <span class="ss">&#39;mesa-minor-mode</span><span class="p">)</span></div></pre></div>
          </td>
        </tr>
      </table>
  </div>

          </div>
        </div>

        <a href="#jump-to-line" rel="facebox" data-hotkey="l" class="js-jump-to-line" style="display:none">Jump to Line</a>
        <div id="jump-to-line" style="display:none">
          <h2>Jump to Line</h2>
          <form accept-charset="UTF-8" class="js-jump-to-line-form">
            <input class="textfield js-jump-to-line-field" type="text">
            <div class="full-button">
              <button type="submit" class="button">Go</button>
            </div>
          </form>
        </div>

      </div>
    </div>
</div>

<div id="js-frame-loading-template" class="frame frame-loading large-loading-area" style="display:none;">
  <img class="js-frame-loading-spinner" src="https://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-128.gif?1347543527" height="64" width="64">
</div>


        </div>
      </div>
      <div class="context-overlay"></div>
    </div>

      <div id="footer-push"></div><!-- hack for sticky footer -->
    </div><!-- end of wrapper - hack for sticky footer -->

      <!-- footer -->
      <div id="footer">
  <div class="container clearfix">

      <dl class="footer_nav">
        <dt>GitHub</dt>
        <dd><a href="https://github.com/about">About us</a></dd>
        <dd><a href="https://github.com/blog">Blog</a></dd>
        <dd><a href="https://github.com/contact">Contact &amp; support</a></dd>
        <dd><a href="http://enterprise.github.com/">GitHub Enterprise</a></dd>
        <dd><a href="http://status.github.com/">Site status</a></dd>
      </dl>

      <dl class="footer_nav">
        <dt>Applications</dt>
        <dd><a href="http://mac.github.com/">GitHub for Mac</a></dd>
        <dd><a href="http://windows.github.com/">GitHub for Windows</a></dd>
        <dd><a href="http://eclipse.github.com/">GitHub for Eclipse</a></dd>
        <dd><a href="http://mobile.github.com/">GitHub mobile apps</a></dd>
      </dl>

      <dl class="footer_nav">
        <dt>Services</dt>
        <dd><a href="http://get.gaug.es/">Gauges: Web analytics</a></dd>
        <dd><a href="http://speakerdeck.com">Speaker Deck: Presentations</a></dd>
        <dd><a href="https://gist.github.com">Gist: Code snippets</a></dd>
        <dd><a href="http://jobs.github.com/">Job board</a></dd>
      </dl>

      <dl class="footer_nav">
        <dt>Documentation</dt>
        <dd><a href="http://help.github.com/">GitHub Help</a></dd>
        <dd><a href="http://developer.github.com/">Developer API</a></dd>
        <dd><a href="http://github.github.com/github-flavored-markdown/">GitHub Flavored Markdown</a></dd>
        <dd><a href="http://pages.github.com/">GitHub Pages</a></dd>
      </dl>

      <dl class="footer_nav">
        <dt>More</dt>
        <dd><a href="http://training.github.com/">Training</a></dd>
        <dd><a href="https://github.com/edu">Students &amp; teachers</a></dd>
        <dd><a href="http://shop.github.com">The Shop</a></dd>
        <dd><a href="/plans">Plans &amp; pricing</a></dd>
        <dd><a href="http://octodex.github.com/">The Octodex</a></dd>
      </dl>

      <hr class="footer-divider">


    <p class="right">&copy; 2013 <span title="0.03975s from fe16.rs.github.com">GitHub</span>, Inc. All rights reserved.</p>
    <a class="left" href="https://github.com/">
      <span class="mega-icon mega-icon-invertocat"></span>
    </a>
    <ul id="legal">
        <li><a href="https://github.com/site/terms">Terms of Service</a></li>
        <li><a href="https://github.com/site/privacy">Privacy</a></li>
        <li><a href="https://github.com/security">Security</a></li>
    </ul>

  </div><!-- /.container -->

</div><!-- /.#footer -->


    <div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
  <div class="fullscreen-container js-fullscreen-container">
    <div class="textarea-wrap">
      <textarea name="fullscreen-contents" id="fullscreen-contents" class="js-fullscreen-contents" placeholder="" data-suggester="fullscreen_suggester"></textarea>
          <div class="suggester-container">
              <div class="suggester fullscreen-suggester js-navigation-container" id="fullscreen_suggester"
                 data-url="/jschwab/mesa-minor-mode/suggestions/commit">
              </div>
          </div>
    </div>
  </div>
  <div class="fullscreen-sidebar">
    <a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped leftwards" title="Exit Zen Mode">
      <span class="mega-icon mega-icon-normalscreen"></span>
    </a>
    <a href="#" class="theme-switcher js-theme-switcher tooltipped leftwards"
      title="Switch themes">
      <span class="mini-icon mini-icon-brightness"></span>
    </a>
  </div>
</div>



    <div id="ajax-error-message" class="flash flash-error">
      <span class="mini-icon mini-icon-exclamation"></span>
      Something went wrong with that request. Please try again.
      <a href="#" class="mini-icon mini-icon-remove-close ajax-error-dismiss"></a>
    </div>

    
    
    <span id='server_response_time' data-time='0.04019' data-host='fe16'></span>
    
  </body>
</html>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Loading .el file
  2013-03-25  7:23 Loading .el file Dennis Stello
@ 2013-03-25 15:04 ` Doug Lewan
  2013-03-25 22:54   ` Dennis Stello
  2013-03-25 15:12 ` Andreas Röhler
  1 sibling, 1 reply; 4+ messages in thread
From: Doug Lewan @ 2013-03-25 15:04 UTC (permalink / raw
  To: Dennis Stello, help-gnu-emacs@gnu.org

Dennis,

The file you attached is an HTML file, not an emacs lisp file.

I bet if you find the true .el file that you're looking for, things will go much more easily. A more-circuitous-than-I'd-have-liked search led me to this URL: https://raw.github.com/jschwab/mesa-minor-mode/master/mesa-minor-mode.el.

I make no guarantees, but it satisfies all of your requirements that a layperson could understand.

I hope this helps.

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

Journalism is printing what someone else does not want printed. Everything else is public relations. - George Orwell


> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Dennis Stello
> Sent: Monday, 2013 March 25 03:23
> To: help-gnu-emacs@gnu.org
> Subject: Loading .el file
> 
> Hi,
> 
> I have been trying to load a custom .el file in emacs to add some
> personal
> functionalities when I run emacs.
> The file is called mesa-minor-mode.el and is attach here for
> completeness.  I have saved it in my ~/emacslisp/ and after a few
> unsuccesful attempts to get it working I also saved it in ~/.emacs.d/
> just to be sure emacs was not being sensitive to where the file was.
> 
> I run emacs version: GNU 21.4.1 x86_64-redhat-linux-gnu.
> 
> From various online help and colleagues I have ended up trying (without
> luck) lots of permutations in my .emacs of the suggestions I received.
> These incl (after each permutation I include here the error message
> when
> starting emacs):
> 
> ;; (1)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (2)
> (add-to-list 'load-path "~/emacslisp/")
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (3)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode.el"
> ;; (4)
> (add-to-list 'load-path "~/emacslisp/")
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (5)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (6)
> (add-to-list 'load-path "~/emacslisp/")
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (7)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> ;; (8)
> (add-to-list 'load-path "~/emacslisp/")
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> ;; (9)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
> ;; (10)
> (add-to-list 'load-path "~/emacslisp/")
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (11)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (12)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (13)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (14)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (15)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (16)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (17)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file",
> "/suphys/stello/emacslisp/mesa-minor-mode"
> ;; (18)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file",
> "/suphys/stello/emacslisp/mesa-minor-mode"
> 
> ;; (19)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (20)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (21)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode.el"
> ;; (22)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode.el"
> ;; (23)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (24)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (25)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> :; (26)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> ;; (27)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
> ;; (28)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
> ;; (29)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (30)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (31)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (32)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (33)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (34)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (35)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-
> minor-mode"
> ;; (36)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-
> minor-mode"
> 
> 
> I also tried to replace tilde in the above attempts with the full path
> but
> still no luck.  Also replacing emacslisp with .emacs.d, as well as incl
> and removing '/' at the end of paths was tested.
> 
> Any help with this would be greatly appreciated.
> 
> 
> Thanks
> --
> Dennis Stello



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Loading .el file
  2013-03-25  7:23 Loading .el file Dennis Stello
  2013-03-25 15:04 ` Doug Lewan
@ 2013-03-25 15:12 ` Andreas Röhler
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Röhler @ 2013-03-25 15:12 UTC (permalink / raw
  To: help-gnu-emacs

Am 25.03.2013 08:23, schrieb Dennis Stello:
> Hi,
>
> I have been trying to load a custom .el file in emacs to add some personal functionalities when I run emacs.
> The file is called mesa-minor-mode.el and is attach here for completeness.  I have saved it in my ~/emacslisp/ and after a few unsuccesful attempts to get it working I also
> saved it in ~/.emacs.d/ just to be sure emacs was not being sensitive to where the file was.
>
> I run emacs version: GNU 21.4.1 x86_64-redhat-linux-gnu.
[ ... ]
> I also tried to replace tilde in the above attempts with the full path but still no luck.  Also replacing emacslisp with .emacs.d, as well as incl and removing '/' at the
> end of paths was tested.
>
> Any help with this would be greatly appreciated.
>
>
> Thanks



Hi Dennis,

seems something went wrong fundamentally.

A file-format with ending "el." for Emacs Lisp  is not a XML-File as attached.

Your XML-attachement points at the net, at github.

The minor mode you are looking for seems to exist at

https://github.com/jschwab/mesa-minor-mode/blob/master/mesa-minor-mode.el

Remains to download it at your machine and write into you .emacs for example something like

(load "MY_LOCAL_PATH_/mesa-minor-mode.el")

Certainly it should be possible to fetch code from the net on the fly if needed.

HTH,

Andreas




^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Loading .el file
  2013-03-25 15:04 ` Doug Lewan
@ 2013-03-25 22:54   ` Dennis Stello
  0 siblings, 0 replies; 4+ messages in thread
From: Dennis Stello @ 2013-03-25 22:54 UTC (permalink / raw
  To: Doug Lewan; +Cc: help-gnu-emacs@gnu.org

Thanks a lot for that...works!

My browwer tricked me in believing that when I chose Save Link As... and 
it suggested mesa-minor-mode.el as file name that this actually was the file 
and not some html associated w the link.

Dennis

On Mon, 25 Mar 2013, Doug Lewan wrote:

> Dennis,
>
> The file you attached is an HTML file, not an emacs lisp file.
>
> I bet if you find the true .el file that you're looking for, things will go much more easily. A more-circuitous-than-I'd-have-liked search led me to this URL: https://raw.github.com/jschwab/mesa-minor-mode/master/mesa-minor-mode.el.
>
> I make no guarantees, but it satisfies all of your requirements that a layperson could understand.
>
> I hope this helps.
>
> ,Douglas
> Douglas Lewan
> Shubert Ticketing
> (201) 489-8600 ext 224
>
> Journalism is printing what someone else does not want printed. Everything else is public relations. - George Orwell
>
>
>> -----Original Message-----
>> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
>> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
>> Behalf Of Dennis Stello
>> Sent: Monday, 2013 March 25 03:23
>> To: help-gnu-emacs@gnu.org
>> Subject: Loading .el file
>>
>> Hi,
>>
>> I have been trying to load a custom .el file in emacs to add some
>> personal
>> functionalities when I run emacs.
>> The file is called mesa-minor-mode.el and is attach here for
>> completeness.  I have saved it in my ~/emacslisp/ and after a few
>> unsuccesful attempts to get it working I also saved it in ~/.emacs.d/
>> just to be sure emacs was not being sensitive to where the file was.
>>
>> I run emacs version: GNU 21.4.1 x86_64-redhat-linux-gnu.
>>
>> From various online help and colleagues I have ended up trying (without
>> luck) lots of permutations in my .emacs of the suggestions I received.
>> These incl (after each permutation I include here the error message
>> when
>> starting emacs):
>>
>> ;; (1)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (require 'mesa-minor-mode)
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode"
>> ;; (2)
>> (add-to-list 'load-path "~/emacslisp/")
>> (require 'mesa-minor-mode)
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (3)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode.el"
>> ;; (4)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (5)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode"
>> ;; (6)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (7)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
>> ;; (8)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
>> ;; (9)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
>> ;; (10)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (11)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load-file "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
>> mode.el"
>> ;; (12)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load-file "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
>> mode.el"
>> ;; (13)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load-file "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
>> ;; (14)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load-file "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
>> ;; (15)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load-file "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (16)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load-file "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (17)
>> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
>> (load-file "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file",
>> "/suphys/stello/emacslisp/mesa-minor-mode"
>> ;; (18)
>> (add-to-list 'load-path "~/emacslisp/")
>> (load-file "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file",
>> "/suphys/stello/emacslisp/mesa-minor-mode"
>>
>> ;; (19)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (require 'mesa-minor-mode)
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode"
>> ;; (20)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (require 'mesa-minor-mode)
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode"
>> ;; (21)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode.el"
>> ;; (22)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode.el"
>> ;; (23)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode"
>> ;; (24)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "mesa-minor-mode"
>> ;; (25)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
>> :; (26)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
>> ;; (27)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
>> ;; (28)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
>> ;; (29)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
>> mode.el"
>> ;; (30)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
>> mode.el"
>> ;; (31)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
>> ;; (32)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
>> ;; (33)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (34)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "emacslisp/mesa-minor-mode.el")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;Symbol's value as variable is void: <!DOCTYPE
>> ;; (35)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-
>> minor-mode"
>> ;; (36)
>> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
>> (load-file "emacslisp/mesa-minor-mode")
>> ;An error has occurred while loading `/suphys/stello/.emacs':
>> ;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-
>> minor-mode"
>>
>>
>> I also tried to replace tilde in the above attempts with the full path
>> but
>> still no luck.  Also replacing emacslisp with .emacs.d, as well as incl
>> and removing '/' at the end of paths was tested.
>>
>> Any help with this would be greatly appreciated.
>>
>>
>> Thanks
>> --
>> Dennis Stello
>
>

-- 
Dennis Stello



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-25 22:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-25  7:23 Loading .el file Dennis Stello
2013-03-25 15:04 ` Doug Lewan
2013-03-25 22:54   ` Dennis Stello
2013-03-25 15:12 ` Andreas Röhler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.