unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Replace Ubuntu-supplied matlab.el
@ 2010-05-06  7:56 Thomas Arildsen
  2010-05-06  8:31 ` Andreas Politz
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Arildsen @ 2010-05-06  7:56 UTC (permalink / raw)
  To: help-gnu-emacs

I would like to download and install the newest Matlab mode for Emacs 
from here: http://matlab-emacs.sourceforge.net/.
My Emacs already has Matlab mode, apparently provided på the Ubuntu 
package emacs-goodies-el. What would be the "correct" way of disabling 
matlab.el from emacs-goodies-el and installing the newer version in stead?

Thomas Arildsen

-- 
All email to sender address is lost.
My real adress is at es dot aau dot dk for user tha.


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

* Re: Replace Ubuntu-supplied matlab.el
  2010-05-06  7:56 Replace Ubuntu-supplied matlab.el Thomas Arildsen
@ 2010-05-06  8:31 ` Andreas Politz
  2010-05-06  9:06   ` Thomas Arildsen
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Politz @ 2010-05-06  8:31 UTC (permalink / raw)
  To: help-gnu-emacs

Thomas Arildsen <tha.es-aau-dk@spamgourmet.com> writes:

> I would like to download and install the newest Matlab mode for Emacs 
> from here: http://matlab-emacs.sourceforge.net/.
> My Emacs already has Matlab mode, apparently provided på the Ubuntu 
> package emacs-goodies-el. What would be the "correct" way of disabling 
> matlab.el from emacs-goodies-el and installing the newer version in stead?
>
> Thomas Arildsen

I think adding the new package earlier in your `load-path' would suffice.

-ap


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

* Re: Replace Ubuntu-supplied matlab.el
  2010-05-06  8:31 ` Andreas Politz
@ 2010-05-06  9:06   ` Thomas Arildsen
  2010-05-06 21:52     ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Arildsen @ 2010-05-06  9:06 UTC (permalink / raw)
  To: help-gnu-emacs

On Thu, 06 May 2010 10:31:55 +0200, Andreas Politz wrote:

> Thomas Arildsen <tha.es-aau-dk@spamgourmet.com> writes:
> 
>> I would like to download and install the newest Matlab mode for Emacs
>> from here: http://matlab-emacs.sourceforge.net/. My Emacs already has
>> Matlab mode, apparently provided på the Ubuntu package
>> emacs-goodies-el. What would be the "correct" way of disabling
>> matlab.el from emacs-goodies-el and installing the newer version in
>> stead?
>>
>> Thomas Arildsen
> 
> I think adding the new package earlier in your `load-path' would
> suffice.
> 
> -ap

Will that cause emacs-goodies-el not to load matlab.el when it sees that 
it has already been loaded?

Thomas Arildsen
-- 
All email to sender address is lost.
My real adress is at es dot aau dot dk for user tha.


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

* Re: Replace Ubuntu-supplied matlab.el
  2010-05-06  9:06   ` Thomas Arildsen
@ 2010-05-06 21:52     ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2010-05-06 21:52 UTC (permalink / raw)
  To: help-gnu-emacs

Thomas Arildsen wrote:
> On Thu, 06 May 2010 10:31:55 +0200, Andreas Politz wrote:
> 
>> Thomas Arildsen <tha.es-aau-dk@spamgourmet.com> writes:
>>
>>> I would like to download and install the newest Matlab mode for Emacs
>>> from here: http://matlab-emacs.sourceforge.net/. My Emacs already has
>>> Matlab mode, apparently provided på the Ubuntu package
>>> emacs-goodies-el. What would be the "correct" way of disabling
>>> matlab.el from emacs-goodies-el and installing the newer version in
>>> stead?
>>>
>>> Thomas Arildsen
>> I think adding the new package earlier in your `load-path' would
>> suffice.
>>
>> -ap
> 
> Will that cause emacs-goodies-el not to load matlab.el when it sees that 
> it has already been loaded?

Assuming emacs-goodies-el uses `require', yes.

But you don't even need to actually load the newer matlab.el, you just
need to install it in a directory that's in your `load-path' ahead of
the ubuntu version.

P.S. Don't forget to byte-compile matlab.el to matlab.elc

-- 
Kevin Rodgers
Denver, Colorado, USA





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

end of thread, other threads:[~2010-05-06 21:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06  7:56 Replace Ubuntu-supplied matlab.el Thomas Arildsen
2010-05-06  8:31 ` Andreas Politz
2010-05-06  9:06   ` Thomas Arildsen
2010-05-06 21:52     ` 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).