gecko-dev/toolkit/modules
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
..
docs Bug 985655 - Sphinx documentation for AsyncShutdown. r=ted, r=froydnj 2014-05-12 13:01:00 -04:00
sessionstore Bug 950174: Part 1: Move required session store files from browser/ to toolkit/modules. r=gps, ttaubert 2014-02-19 11:28:00 -05:00
tests Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel 2014-06-20 13:09:00 -04:00
AsyncShutdown.jsm Bug 1027033 - AsyncShutdown errors should cause test failures but should not break AsyncShutdown. r=froydnj 2014-06-18 05:40:00 -04:00
BinarySearch.jsm Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 2, front-end patch). r=ttaubert 2014-03-28 23:31:05 -07:00
BrowserUtils.jsm Bug 917681 - [e10s] Make context menu work for selected text (r=felipe) 2014-03-14 11:47:46 -07:00
CertUtils.jsm
CharsetMenu.jsm Bug 956657 Followup tweak r=Unfocused 2014-02-25 00:19:36 +00:00
debug.js Bug 932419. Stop NS_ASSERT's from popping up a modal dialog in non-release builds, and fix aurora builds to be considered non-release builds for such purposes. r=dao 2013-11-01 22:47:22 -05:00
DeferredTask.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
Deprecated.jsm Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj 2014-05-05 06:53:00 -04:00
Dict.jsm
DirectoryLinksProvider.jsm Bug 975235 - Send click pings for Directory Tiles (including which link, tile, other metadata) [r=adw] 2014-06-09 22:03:23 -07:00
FileUtils.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
Finder.jsm Bug 1008450 - Bail on _findIterator when we lack a body node. r=mikedeboer 2014-05-14 15:16:03 -05:00
Geometry.jsm
Http.jsm Backed out changeset 2f67ed3d7d6c (bug 451283) failures in mochitest and marionette 2013-10-12 10:51:43 +02:00
InlineSpellChecker.jsm Bug 752474 - Sort names of languages in the spelling checker context menu. r=ehsan 2014-02-06 09:46:28 -05:00
LightweightThemeConsumer.jsm Bug 1016419 - implement showing lwt in customization mode, r=mconley,jaws 2014-06-02 21:59:38 +01:00
LoadContextInfo.jsm
Log.jsm Bug 997364 - Make fileAppender chain promises on file creation.; r=irving 2014-05-16 19:45:04 -04:00
moz.build Bug 985655 - Sphinx documentation for AsyncShutdown. r=ted, r=froydnj 2014-05-12 13:01:00 -04:00
NewTabUtils.jsm Bug 1013051 - Fix "Comparable link missing required property: frecency" error. r=ttaubert 2014-06-10 10:34:20 -07:00
PageMenu.jsm Bug 1016582 - pin new back/fwd/refresh/stop/star group at the top of the context menu, r=jaws 2014-05-29 12:08:32 +01:00
PermissionsUtils.jsm Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
PopupNotifications.jsm Merge m-c to mozilla-inbound 2014-04-08 15:39:46 +02:00
Preferences.jsm Bug 981689 - Show a notice to beta users when we turn telemetry on by default on the beta channel - Firefox Desktop (very final fix). r=bsmedberg. 2014-05-06 10:15:20 +03:00
PrivateBrowsingUtils.jsm
Promise-backend.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
Promise.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
PropertyListUtils.jsm Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
RemoteAddonsChild.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
RemoteAddonsParent.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
RemoteController.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
RemoteFinder.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
RemoteSecurityUI.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
RemoteWebNavigation.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
RemoteWebProgress.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
ResetProfile.jsm
SelectContentHelper.jsm Bug 976772 - [e10s] Make sure <select> element appears at the right place, even in a subframe (r=felipe) 2014-02-28 17:00:17 -08:00
SelectParentHelper.jsm Bug 976772 - [e10s] Make sure <select> element appears at the right place, even in a subframe (r=felipe) 2014-02-28 17:00:17 -08:00
Services.jsm Bug 972075 - Add profile markers from browser element event synthesis. r=BenWa, r=vingtetun 2014-05-05 16:41:00 -04:00
ShortcutUtils.jsm Bug 947344: add more shortcut tooltip and label helpers where possible. r=mconley. 2014-05-08 11:14:20 +02:00
Sntp.jsm
SpatialNavigation.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
Sqlite.jsm Bug 939072: Auto-close Sqlite connections on finalization; r=Yoric 2014-06-11 23:40:17 +02:00
Task.jsm Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
TelemetryTimestamps.jsm Bug 977013 - Follow-up because of undefined constant Cu r=bustage 2014-02-26 15:29:34 +01:00
Timer.jsm
Troubleshoot.jsm Bug 804430 - Add list of whitelisted locked prefs to about:support. r=Unfocused 2014-06-10 10:49:00 -04:00
UpdateChannel.jsm Bug 981689 (Show a notice to beta users when we turn telemetry on by default on the beta channel) - For the new channel-override preference, use UpdateChannel.jsm rather than nsIXULRuntime so that it's easier to QA the feature by hacking install.js. As part of that, add a new argument to UpdateChannel.js for excluding partners. r=bsmbedberg. 2014-04-28 17:04:51 +03:00
WindowDraggingUtils.jsm Bug 983843 - Use toolkit drag & drop functions for Gtk3 too. r=karlt 2014-04-16 10:29:39 -04:00
WindowsPrefSync.jsm bug 959399. Make metroFx honor the "show my tabs from last time" startup option. r=mbrubeck. r=jimm. 2014-01-16 15:38:12 -08:00
WindowsRegistry.jsm Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
ZipUtils.jsm Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00