NEW 67441
Emacs enhancements for working on WebKit.
https://bugs.webkit.org/show_bug.cgi?id=67441
Summary Emacs enhancements for working on WebKit.
Scott Byer
Reported 2011-09-01 14:57:52 PDT
Emacs enhancements for working on WebKit.
Attachments
Patch (7.65 KB, patch)
2011-09-07 14:43 PDT, Scott Byer
no flags
Patch (10.64 KB, patch)
2011-12-15 11:23 PST, Scott Byer
no flags
Patch (10.70 KB, patch)
2011-12-15 13:47 PST, Scott Byer
eric: review+
Scott Byer
Comment 1 2011-09-07 14:43:08 PDT
Scott Byer
Comment 2 2011-12-15 11:23:50 PST
Andy Wingo
Comment 3 2011-12-15 12:17:51 PST
I don't understand all of it, but in general LGTM. (Note that I am not a reviewer.) One note, if I M-x c-adaptive-wrap-mode to toggle off and then back on, I get an error: progn: Symbol's value as variable is void: whitespace-mode Also, one message says "Perquisites" when it should probably say "Prerequisites". But the no-indentation-in-namespaces thing alone is worth it :)
Scott Byer
Comment 4 2011-12-15 13:47:20 PST
Eric Seidel (no email)
Comment 5 2011-12-19 10:46:06 PST
I'm not an emacs user, but I know a bunch of the Safari team are. I suspect some common emacs settings would be a welcome addition to the project. :)
Hayato Ito
Comment 6 2012-03-16 00:55:03 PDT
Comment on attachment 119496 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=119496&action=review We don't have to have '.dir-local.el' at top-level since it forces every emacs users to use this settings. I prefer 'opt-in' to 'opt-out'. I am afraid that some settings conflicts personal settings. Could you move this file to Tools/emacs as 'sample-dir-local.el'? If we have top-level '.dir-local.el', it should contain only minimum settings which can be widely accepted and which never conflicts settings of every emacs users. > Tools/emacs/webkit.el:1 > +; Copyright (c) 2011, Google Inc. All rights reserved. It should be 2012. > Tools/emacs/webkit.el:118 > +(defun c-mode-adaptive-indent (beg end) You should use 'webkit-' prefix in all functions on this file. We don't have elisp style guide for WebKit, but it might be better to follow general elisp's convention. At least, I don't want to eval this file since it might conflict my own functions.
Eric Seidel (no email)
Comment 7 2012-05-21 14:34:57 PDT
Comment on attachment 119496 [details] Patch rs=me.
Note You need to log in before you can comment on or make changes to this bug.