Commit graph

24 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
Andres Hernandez
41c0955363 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
dietrich@mozilla.com
c9d5644c22 Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (r=mano) 2008-03-13 12:25:49 -07:00
reed@reedloden.com
31a6ba0278 Bug 385062 - "Search field in bookmarks sidebar gets the focus when opening a new window" [p=asqueella@gmail.com (Nickolay Ponomarev) r=gavin a=blocking-firefox3+] 2008-03-12 15:47:59 -07:00
dietrich@mozilla.com
8d6ce95d83 Backing out test of bug 384370 2008-03-10 10:49:31 -07:00
dietrich@mozilla.com
188566b7bf Bug 384370 - test perf run (r=mano) 2008-03-10 09:41:52 -07:00
dietrich@mozilla.com
afe04b3027 backing out test checkin of bug 384370 2008-03-04 14:12:27 -08:00
dietrich@mozilla.com
ee6f5ace1d TESTING - temp checkin of bug 384370 (r=mconnor) 2008-03-04 13:23:04 -08:00
dietrich@mozilla.com
b0a4177e66 backing out test patch for bug 384370 2008-03-04 12:04:14 -08:00
dietrich@mozilla.com
baff8051e9 Bug 384370 ? use JSON as the on disk, lossless format for our bookmark backup - TESTING (r=mconnor) 2008-03-04 11:50:18 -08:00
dietrich@mozilla.com
e49a6df6f9 backing out, broke when unrotting 2008-03-04 11:43:35 -08:00
dietrich@mozilla.com
2c23e82cf1 Bug 384370 ? use JSON as the on disk, lossless format for our bookmark backup - TESTING PERF (r=mconnor) 2008-03-04 11:41:52 -08:00
dietrich@mozilla.com
369fd460d9 backing out bug 384370 for hosation of Ts 2008-02-29 09:29:58 -08:00
dietrich@mozilla.com
7ea357f31c Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (take two, r=mano, a=beltzner) 2008-02-29 08:39:13 -08:00
dietrich@mozilla.com
02b9a4ac37 backing out bug 384370, caused 25ms Ts regression on linux, and leaks on linux and mac 2008-02-27 11:05:52 -08:00
dietrich@mozilla.com
5b99177f04 Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (r=mano) 2008-02-27 10:14:13 -08:00
mozilla.mano@sent.com
b7bd297460 Bug 404446 - 'Search in Bookmarks' in the Places Organizer is broken. r=dietrich. 2007-11-20 17:35:14 -08:00
mozilla.mano@sent.com
515ad5f12b Bug 387746 - New Left Pane for Places Organizer, along with other places back-end and front-end changes; also fixes bugs 393547, 395994, 401075, 403141. r=dietrich. 2007-11-19 18:01:53 -08:00
mozilla.mano@sent.com
4fa971f081 Bug 401450 - Items from tag-containers show up in bookmark searches. r=sspitzer, a=beltzner. 2007-10-30 16:52:11 -07:00
sspitzer%mozilla.org
b8cef2d114 backing out my previous workarounds for bug #373719 and bug #373721.
instead, per Asaf's advice, fix this with setTimeout() so that we fix all views at once.

again, these bugs are fall out from bug #267833: Fire XBL constructors from EndUpdate(), not before.

r=mano
2007-03-14 20:38:12 +00:00
sspitzer%mozilla.org
36dd86a4e0 workaround for bug #373719: [places] on startup, no children of bookmarks item in the bookmarks sidebar (until I search)
workaround for bug #373721:  no children under "Bookmarks" in the left pane of the "Bookmarks Manager" dialog in places

these bugs are fall out from bug #267833: Fire XBL constructors from EndUpdate(), not before.

bug #373944 tracks backing these workarounds out.

r=dietrich
2007-03-14 17:32:25 +00:00
mozilla.mano%sent.com
5ffb8e8661 Bug 362292 - [places] implement places-based-bookmarks sidebar (NPOB). patch from Dan Mills <thunder@mozilla.com>, r=me. 2007-02-08 13:33:04 +00:00