all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* lpc-mode under emacs 22
@ 2009-01-24 13:28 DanL
  2009-01-24 17:22 ` DanL
  0 siblings, 1 reply; 3+ messages in thread
From: DanL @ 2009-01-24 13:28 UTC (permalink / raw)
  To: help-gnu-emacs

Hello!

Has anyone a version of lpc-mode that runs under emacs 22, or maybe
some other mode which supports editing LPC code?

dhl


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

* Re: lpc-mode under emacs 22
  2009-01-24 13:28 lpc-mode under emacs 22 DanL
@ 2009-01-24 17:22 ` DanL
  2009-01-26  0:40   ` DanL
  0 siblings, 1 reply; 3+ messages in thread
From: DanL @ 2009-01-24 17:22 UTC (permalink / raw)
  To: help-gnu-emacs

Or, as an alternative: How could I get c-mode to ignore single quotes?
In general, c-mode works fine for LPC, but (similar to Lisps) a '
means quotation and #' denotes closures.

Sorry for double-posting.

Any help is appreciated.

dhl


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

* Re: lpc-mode under emacs 22
  2009-01-24 17:22 ` DanL
@ 2009-01-26  0:40   ` DanL
  0 siblings, 0 replies; 3+ messages in thread
From: DanL @ 2009-01-26  0:40 UTC (permalink / raw)
  To: help-gnu-emacs

Ok, I know: tripple posts are really evil, but if anyone has the same
problem, and google points him here, I now have a working solution for
using c-mode for editing LPC in Emacs 22:

(modify-syntax-entry ?' "'" c-mode-syntax-table)

does the trick, in that it treats ' as a prefix.

dhl


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

end of thread, other threads:[~2009-01-26  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-24 13:28 lpc-mode under emacs 22 DanL
2009-01-24 17:22 ` DanL
2009-01-26  0:40   ` DanL

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.