GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
;; Installation instructions
;; Put visual-basic-mode.el somewhere in your path, compile it, and add
;; the following to your init file:
;; (autoload 'visual-basic-mode "visual-basic-mode" "Visual Basic mode." t)
;; (setq auto-mode-alist (append '(("\\.\\(frm\\|bas\\|cls\\)$" .
;; visual-basic-mode)) auto-mode-alist))
Moved: This thread is more suitable in <GENERAL> as it is about Emacs on Windows, and has been moved accordingly to help your thread/question get the exposure it deserves.
;; Installation instructions
;; Put visual-basic-mode.el somewhere in your path, compile it, and add
;; the following to your init file:
Compile it??? I thought all of the emacs config was plain text. So I Google this, and find a couple of vague references to compiling "big" .el files because they take a long time to load. What is "big" or "too big"? I don't know. Is visual-basic-mode "too big"? I don't know. Why is something that's supposed to be "built in" to Emacs this long, cumbersome, drawn-out process that is only hinted at on weird web pages full of old, bad links and guesses? I don't know that either.
Need more info than that: please post your .emacs file. Also you said you downloaded to H:\emacs.d, but you actually meant H:\.emacs.d, right?
Quote:
Compile it??? I thought all of the emacs config was plain text.
Emacs config is Lisp code which can be represented by plain text.
Quote:
So I Google this, and find a couple of vague references to compiling "big" .el files because they take a long time to load. What is "big" or "too big"? I don't know. Is visual-basic-mode "too big"? I don't know.
You don't need to compile it, see CompiledFile for more info if you are interested.
Quote:
Why is something that's supposed to be "built in" to Emacs this long, cumbersome, drawn-out process that is only hinted at on weird web pages full of old, bad links and guesses? I don't know that either.
I imagine that Visual Basic isn't a language used by many Emacs users. Doesn't it come with its own IDE, being "visual" and all?
I imagine that Visual Basic isn't a language used by many Emacs users. Doesn't it come with its own IDE, being "visual" and all?
Well, there's at least one! :P
Part of why emacs was requested was as a replacement for another editor (UltraEdit?) that costs $$ The customer tries to keep the number of deployed apps down. And the individual who brought up the whole color coding thing probably wants to use one tool for as many things as possible.
I just replicated all of this on a standalone VM, so I took out the network, H: drive, etc. Just emacs, run it, use the .emacs and .emacs.d\ that it creates, copied in the above .emacs and copied in the visual-basic-mode.el... and it doesn't work. So it seems like there's a syntax issue, either in the .el file (maybe an incompatibility with the current version of emacs, since it looks like that file's been around for a while?) or maybe a typo or something in my .emacs file
BTW, thanks for all of your help with this, ntubski. I really appreciate it.
I'm not sure why I would have to specify that, since .emacs.d/ is where Emacs is supposed to look for stuff by default (and it can find it to write the auto-save-list folder, but I'm certainly not going to argue with success!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.