gecko-dev/browser/metro/components
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
..
AboutRedirector.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
AlertsService.js Bug 919929 - AlertsService for Metro should send alertshow and alertfinished observer. r=jimm 2013-10-09 11:15:41 +09:00
BrowserCLH.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
BrowserStartup.js Bug 961587: Only create Windows 8 Touch smart bookmark once a user has intialized their Metro bookmark list. r=mbrubeck, r=mak77 2014-03-10 12:53:19 -04:00
components.manifest Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
ContentDispatchChooser.js
ContentPermissionPrompt.js Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
DirectoryProvider.js Bug 794937 - Make updates work from the Metro front end, add handling for 1 instance handling updates. r=rstrong 2013-05-22 10:16:53 -04:00
DownloadManagerUI.js Bug 883951: Part 4: Remove DownloadsView and Related Code. r=mbrubeck 2013-07-17 18:19:27 -04:00
HelperAppDialog.js Bug 961177 (followup) - Add missing 'let' to variable declaration [r=mbrubeck] 2014-02-07 09:41:10 -08:00
LoginManagerPrompter.js Bug 856757 - Remove unused/broken code from metro LoginManagerPrompter [r=bbondy] 2013-04-02 08:20:24 -07:00
moz.build Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
PromptService.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
SafeBrowsing.js Bug 971240 - Move phishing/malware test pages to their own domain. r=mmc 2014-03-07 19:12:23 +01:00
SessionStore.idl
SessionStore.js Bug 950174: Part 2: Form data and scroll position save and restore. r=mbrubeck 2014-02-19 11:28:04 -05:00
Sidebar.js Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00