From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anoj Perera Newsgroups: gmane.emacs.bugs Subject: bug#7659: emacs - c mode tab space different between windows and linux Date: Fri, 17 Dec 2010 17:45:45 +0000 Message-ID: References: <83ei9ghl2f.fsf@gnu.org> <83aak4hdep.fsf@gnu.org> <391507097642106932@unknownmsgid> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292611540 22167 80.91.229.12 (17 Dec 2010 18:45:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 18:45:40 +0000 (UTC) Cc: "7659@debbugs.gnu.org" <7659@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 17 19:45:35 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTfH5-00065e-Jy for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Dec 2010 19:45:30 +0100 Original-Received: from localhost ([127.0.0.1]:57777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTfGz-0002Wv-2l for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Dec 2010 13:43:21 -0500 Original-Received: from [140.186.70.92] (port=52450 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTeUN-0006pN-AH for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 12:53:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTeTz-00058p-W0 for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 12:52:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTeTz-00058k-St for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 12:52:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PTeHi-0002Ia-8O; Fri, 17 Dec 2010 12:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anoj Perera Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Dec 2010 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7659 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7659-submit@debbugs.gnu.org id=B7659.12926075878813 (code B ref 7659); Fri, 17 Dec 2010 17:40:02 +0000 Original-Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 17:39:47 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTeHS-0002I6-CF for submit@debbugs.gnu.org; Fri, 17 Dec 2010 12:39:46 -0500 Original-Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTeHQ-0002Hv-JL for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 12:39:45 -0500 Original-Received: by qwg5 with SMTP id 5so917050qwg.3 for <7659@debbugs.gnu.org>; Fri, 17 Dec 2010 09:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=4U2lfLfxrUN2g/ynSVbDO201ebQV0oW21Q6RQvxdgWo=; b=PRofU1AQSmgWI6coGPA3FWl3kTq2gXCxkhb2/nN3ShPgExUxXhRzLn+5Qc3qe3BieF HWSPuIZzqjuNPvrzgVwD0ncDKCNhpruWq0zZOp1OVtlKWUDgytrEGNN5XbUV+Ppa1rG8 YVw4xT1yIC2yUknxfXC+9M7vGcr4IUgLcIOeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=m/HAr6PdSLEHoEC7JqWH8GTtJunjYWBUyni3SRRKR6sW7xp7vXJVBXEngRUTFQgpIs NNg1Kf95fGPf1XeZJTmQZZ9uqUymVv2YMISIFqNluaQn2RNf8M9pkyW1/PZSDiAccZcB 749Jl2Z1IiALx3qcMSxE2LeE76VbmPdqbvOOo= Original-Received: by 10.229.228.79 with SMTP id jd15mr1003695qcb.130.1292607966070; Fri, 17 Dec 2010 09:46:06 -0800 (PST) Original-Received: by 10.229.98.79 with HTTP; Fri, 17 Dec 2010 09:45:45 -0800 (PST) In-Reply-To: <391507097642106932@unknownmsgid> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Dec 2010 12:40:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42600 Archived-At: Hi I tried running emacs with -Q option and it seems to read source files from Windows machine as it meant to read. I will try and bottom out the configuration file issue. Thanks Anoj On 17 December 2010 11:30, Anoj Perera wrote: > Ok thanks, I will try that out. > > Regards, > Anoj > > On 17 Dec 2010, at 11:01, Eli Zaretskii wrote: > >>> From: Anoj Perera >>> Date: Fri, 17 Dec 2010 09:59:37 +0000 >>> >>> Hi many thanks for your reply. Haven't tried the -Q option (without >>> loading the .emacs file?). >> >> Please do. =A0I think you will discover that the display on Ubuntu will >> then look exactly like that on Windows. >> >> And please keep 7659@debbugs.gnu.org on the list of addressees, so >> this whole discussion gets recorded in the history of your bug report. >> >>> I've attached a source file coded with >>> emacs in linux (Ubuntu 10.04) and a screenshot same file viewed in >>> emacs in Windows. You can note the diference, function name and >>> arguments are indented little too much. >> >> I see your file exactly like in the screenshot, both on Windows and on >> GNU/Linux. =A0So I think you have some site init file on Ubuntu that >> sets certain options related to C indentation. =A0"emacs -Q" will bypass >> the customizations on that file, so you will know this for sure. >> >> If this is indeed the case, you should look at your site init file, >> and do the same on Windows. >> >>> I am guessing this is a character encoding issue. >> >> No, character encoding doesn't (and cannot) have anything with >> indentation. =A0It's just that (if my guess is right) on Ubuntu you have >> some customizations that you need to have on your Windows .emacs, and >> then you will see the same display. >