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 11:30:41 +0000 Message-ID: <391507097642106932@unknownmsgid> References: <83ei9ghl2f.fsf@gnu.org> <83aak4hdep.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (iPhone Mail 8C148a) Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1292591916 17011 80.91.229.12 (17 Dec 2010 13:18:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 13:18:36 +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 14:18:27 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 1PTaCY-0003U5-Ah for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Dec 2010 14:18:27 +0100 Original-Received: from localhost ([127.0.0.1]:53012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTaCX-0001Db-6z for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Dec 2010 08:18:25 -0500 Original-Received: from [140.186.70.92] (port=48262 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTYs7-0000Q2-Sn for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 06:53:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTYri-0005V7-W2 for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 06:53:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTYri-0005V3-UP for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 06:52:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PTYNu-0007pg-9B; Fri, 17 Dec 2010 06:22: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 11:22: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.129258490130076 (code B ref 7659); Fri, 17 Dec 2010 11:22:02 +0000 Original-Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 11:21:41 +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 1PTYNY-0007p3-9h for submit@debbugs.gnu.org; Fri, 17 Dec 2010 06:21:40 -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 1PTYNW-0007oo-Iw for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 06:21:39 -0500 Original-Received: by qwg5 with SMTP id 5so548725qwg.3 for <7659@debbugs.gnu.org>; Fri, 17 Dec 2010 03:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:references:from:in-reply-to :mime-version:date:message-id:subject:to:cc:content-type; bh=MdFLjp8BUiYdPSxwkPgjyuPjwBaQVO9ZqSwuvMI+uRo=; b=Bs7APuiPj/MTOCQf2Anicd7jowaxzmvDaAbOUT8ScWKbPCPo2nm9maS582fKocTh8c N7750TBHDEUJye12+GqDcIkJcLWfq6iZl9eHGKx5klg1ZBZuWTGRTqp5V7HQekzY70uq fyyY/ltmK6C1Zo78B2q65zUJf2Fo3isHuOgP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; b=ViqROwHNkEgllmNJPntVnKa5pMEngiKnyk/b9br9CbJbMQBPe5O6Q1DQN32/Ch7s1o azhcuAqcZZx5FUEniCjEHwrXbhlWkOcL3oCHGaT0fLwrsd6Eo5XEiPTNg3CSDZSTSZaq LsWaod9xGB4+XVCQpLzyRR2aKQ7OVV4NfDK3s= Original-Received: by 10.229.246.136 with SMTP id ly8mr674118qcb.244.1292585279549; Fri, 17 Dec 2010 03:27:59 -0800 (PST) In-Reply-To: <83aak4hdep.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Dec 2010 06:22: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:42584 Archived-At: 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. I 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. So I think you have some site init file on Ubuntu that > sets certain options related to C indentation. "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. It'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.