Closed Bug 729979 Opened 13 years ago Closed 6 years ago

MXR doesn't honor the Emacs tab-width setting in source files

Categories

(Webtools Graveyard :: MXR, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wtc, Unassigned)

Details

(Keywords: regression)

Many NSPR and NSS source files use tab characters with a tab width of 8. MXR displays these files with a tab width of 2, so the indentation looks wrong. I was able to correct this problem by adding an Emacs "Mode" line with "tab-width: 8" to the beginning of source files. But this no longer works now. Is this a regression? Here are two examples: http://mxr.mozilla.org/nspr/source/nsprpub/pr/src/md/windows/ntmisc.c See NowCalibrate in this file. http://mxr.mozilla.org/security/source/security/nss/lib/ssl/ssl3con.c See ssl3_CompressMACEncryptRecord in this file. Thank you for your help with this problem.

mxr is gone, mass closing.
https://searchfox.org/ is a much better alternative.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.