Commit Graph

16 Commits

Author SHA1 Message Date
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
Bill McCloskey
d3a1beb428 Bug 970276 - Don't respect <link rel=""> elements from subframes (r=felipe) 2014-02-10 16:42:18 -08:00
Bill McCloskey
751a8e2340 Bug 961529 - Run DOMLinkHandler in a content script (r=felipe) 2014-02-08 17:41:34 -08:00
Dão Gottwald
1ac2011e89 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
a734f87591 [Australis] Bug 963085: add header to Subscribe menu. r=Gijs 2014-01-23 17:04:27 +01:00
Mike de Boer
52e29b881d [Australis] Bug 878546: refresh the styling of sub-views. r=Gijs 2014-01-23 14:06:17 +01:00
Gijs Kruitbosch
a183bbd07c Bug 941226 - feed button disabled when in Australis menu panel, r=mikedeboer 2013-11-27 16:09:21 +01:00
Gijs Kruitbosch
f9a0645e44 Bug 881937 - tabindex all the things, r=mconley 2013-07-19 17:58:21 +02:00
Gijs Kruitbosch
65c26e866f 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
b14eba2036 Bug 879980 - Subscribe button appears disabled when in the palette, r=mconley 2013-06-10 23:28:07 +02:00
Gijs Kruitbosch
e43023925b Bug 870452 - Migrate feed button to new API, r=mconley 2013-06-03 20:59:31 +02:00
Yosy
ef3be55d08 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
ade089d9d0 Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
9cd25eead2 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
d5b97b473c Bug 737792 - Use for..of loops in browser.js. r=dao
--HG--
extra : rebase_source : df980b6310daecb9e80793ca900ba983aadb12c6
2012-08-21 18:56:07 +02:00
Justin Dolske
5c1a39d776 Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Feeds). r=gavin 2012-05-31 23:26:00 -07:00