all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Renaming old version of cc-mode to cc-old-mode
@ 2008-08-22 17:11 TheLonelyStar
  2008-08-23 12:42 ` Nikolaj Schumacher
  0 siblings, 1 reply; 2+ messages in thread
From: TheLonelyStar @ 2008-08-22 17:11 UTC (permalink / raw)
  To: Help-gnu-emacs


Hello together,

I want to get actionscript-mode working, which depends on an old version of
cc-mode.
Here  http://blog.pettomato.com/?p=22 http://blog.pettomato.com/?p=22  a
solution is proposed.
The solution involves having a copy of the old cc-mode version and changing
the load path to it when actionscript-mode loads.
The problem with this is, that after I edited a actionscript file and want
to edit a C++ file, I edit it in the old cc-mode.

I do not know much about elisp, but I wonder:
Would it be possible to edit the old cc-mode files renaming it to
cc-old-mode and make actionscrip-mode depend on that?
What would have to be done for that?

Thanks!
Nathan
-- 
View this message in context: http://www.nabble.com/Renaming-old-version-of-cc-mode-to-cc-old-mode-tp19111612p19111612.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





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

* Re: Renaming old version of cc-mode to cc-old-mode
  2008-08-22 17:11 Renaming old version of cc-mode to cc-old-mode TheLonelyStar
@ 2008-08-23 12:42 ` Nikolaj Schumacher
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolaj Schumacher @ 2008-08-23 12:42 UTC (permalink / raw)
  To: TheLonelyStar; +Cc: Help-gnu-emacs

TheLonelyStar <nabble@lonely-star.org> wrote:

> I do not know much about elisp, but I wonder:
> Would it be possible to edit the old cc-mode files renaming it to
> cc-old-mode and make actionscrip-mode depend on that?
> What would have to be done for that?

Renaming is not enough, because the symbol names will clash.
You'd have to rename the file and all symbol names in both (old) CC and
correspondingly in actionscript-mode.

regards,
Nikolaj Schumacher




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

end of thread, other threads:[~2008-08-23 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 17:11 Renaming old version of cc-mode to cc-old-mode TheLonelyStar
2008-08-23 12:42 ` Nikolaj Schumacher

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.