Commit Graph

16 Commits

Author SHA1 Message Date
Jim Blandy
39dc0c6097 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
Bill McCloskey
578b539a0e Bug 970276 - Don't respect <link rel=""> elements from subframes (r=felipe) 2014-02-10 16:42:18 -08:00
Bill McCloskey
8c6a821222 Bug 961529 - Run DOMLinkHandler in a content script (r=felipe) 2014-02-08 17:41:34 -08:00
Dão Gottwald
b6553e8346 Bug 946395 - [Australis] Back out bug 881937 (panel menu keyboard access). r=Gijs ui-r=phlsa 2014-01-24 15:44:08 +01:00
Mike de Boer
175e0cd27a [Australis] Bug 963085: add header to Subscribe menu. r=Gijs 2014-01-23 17:04:27 +01:00
Mike de Boer
9ff3520ce5 [Australis] Bug 878546: refresh the styling of sub-views. r=Gijs 2014-01-23 14:06:17 +01:00
Gijs Kruitbosch
fdcf8ce914 Bug 941226 - feed button disabled when in Australis menu panel, r=mikedeboer 2013-11-27 16:09:21 +01:00
Gijs Kruitbosch
150f3dc53a Bug 881937 - tabindex all the things, r=mconley 2013-07-19 17:58:21 +02:00
Gijs Kruitbosch
11e8af9b78 Bug 882306 - Use CSS to make buttons look enabled when customizing; don't change buttons' disabled states, r=dao 2013-06-13 13:40:41 +02:00
Gijs Kruitbosch
ec9c240e5d Bug 879980 - Subscribe button appears disabled when in the palette, r=mconley 2013-06-10 23:28:07 +02:00
Gijs Kruitbosch
85b91bdd36 Bug 870452 - Migrate feed button to new API, r=mconley 2013-06-03 20:59:31 +02:00
Yosy
3982ffb3e1 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Benjamin Peterson
d81426815e Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
9fd06803cc Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 16:48:23 +02:00
Ian Moody
3e05c975c6 Bug 737792 - Use for..of loops in browser.js. r=dao 2012-08-21 18:56:07 +02:00
Justin Dolske
79585cb747 Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Feeds). r=gavin 2012-05-31 23:26:00 -07:00