* Query for modifying .emac file to support e language mode
@ 2005-10-24 6:01 jaichandra
2005-10-24 8:44 ` Peter Dyballa
0 siblings, 1 reply; 3+ messages in thread
From: jaichandra @ 2005-10-24 6:01 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1001 bytes --]
Hello,
I am user of emacs. I am working for samsung electronics
co ltd India software operations. I have a problem in modifying my
.emacs file to support the specman .e files. I downloaded the
specman-mode.el file into my lisp directory and add the following
code into my .emac file.
;;(require 'specman-mode)
(autoload 'specman-mode "specman-mode" "Specman code editing mode" t)
(setq auto-mode-alist
(append (list
(cons "\\.e\\'" 'specman-mode)
(cons "\\.e3\\'" 'specman-mode)
(cons "\\.load\\'" 'specman-mode)
(cons "\\.ecom\\'" 'specman-mode)
(cons "\\.etst\\'" 'specman-mode))
auto-mode-alist))
When ever i open the .e extention files in emacs i am getting the
following error.
File mode specification error: (file-error "can not open load file "
"specman-mode" )
I request you to help in modifing my .emacs file to support the
specman files.
- thanks and regards
jayachandra
[-- Attachment #1.2: Type: text/html, Size: 2428 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Query for modifying .emac file to support e language mode
2005-10-24 6:01 Query for modifying .emac file to support e language mode jaichandra
@ 2005-10-24 8:44 ` Peter Dyballa
2005-10-25 18:06 ` Kevin Rodgers
0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2005-10-24 8:44 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 24.10.2005 um 08:01 schrieb jaichandra:
>
> File mode specification error: (file-error "can not open load file "
> "specman-mode" )
>
I think you should check whether specman-mode.el is in load-path. If
it's not, then GNU Emacs won't find it. Another check is to invoke M-x
load-library <RET> specman-mode <RET>.
So the advice is to put specman-mode.el into one of the directories
containend in load-path. load-path can be modified in .emacs ...
--
Greetings
Pete
Make it simple, as simple as possible but no simpler. (Albert Einstein)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Query for modifying .emac file to support e language mode
2005-10-24 8:44 ` Peter Dyballa
@ 2005-10-25 18:06 ` Kevin Rodgers
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-10-25 18:06 UTC (permalink / raw)
Peter Dyballa wrote:
> Am 24.10.2005 um 08:01 schrieb jaichandra:
>
>> File mode specification error: (file-error "can not open load file "
>> "specman-mode" )
>
> I think you should check whether specman-mode.el is in load-path. If
> it's not, then GNU Emacs won't find it. Another check is to invoke M-x
> load-library <RET> specman-mode <RET>.
>
> So the advice is to put specman-mode.el into one of the directories
> containend in load-path. load-path can be modified in .emacs ...
You will also enjoy much better performace if you compile the .el file
into a .elc file with `M-x byte-compile-file'.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-25 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-24 6:01 Query for modifying .emac file to support e language mode jaichandra
2005-10-24 8:44 ` Peter Dyballa
2005-10-25 18:06 ` Kevin Rodgers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).