Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use derived-mode prog-mode? #296

Closed
veripoolbot opened this issue Oct 20, 2010 · 1 comment
Closed

Use derived-mode prog-mode? #296

veripoolbot opened this issue Oct 20, 2010 · 1 comment

Comments

@veripoolbot
Copy link
Collaborator

@veripoolbot veripoolbot commented Oct 20, 2010


Author Name: Wilson Snyder (@wsnyder)
Original Redmine Issue: 296 from https://www.veripool.org
Original Date: 2010-10-20


From: Dan Nicolaescu

One thing that is happening in emacs bzr now is that the mode functions
for programming modes are being changed to use

(define-derived-mode FOO-mode 'prog-mode ... )

The intention is to make all of them inherit from `prog-mode'.

One possible use for this is that one can add to .emacs:

(add-hook 'prog-mode 'flyspell-prog-mode)

and get on the fly spell checking for strings and comments.

Just a heads-up. I don't know how you want to handle this...

@veripoolbot

This comment has been minimized.

Copy link
Collaborator Author

@veripoolbot veripoolbot commented Dec 14, 2010


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2010-12-14T21:36:09Z


Stefan Monnier fixed this for us in Emacs trunk for Emacs 24.1; merged into rev660.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.