From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 17:50:42 2010 Received: (at submit) by debbugs.gnu.org; 16 Dec 2010 22:50:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTMen-0006Nx-OW for submit@debbugs.gnu.org; Thu, 16 Dec 2010 17:50:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTMZD-0006Ff-6t for submit@debbugs.gnu.org; Thu, 16 Dec 2010 17:45:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTMfK-00025R-Es for submit@debbugs.gnu.org; Thu, 16 Dec 2010 17:51:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTMfK-00025M-Cw for submit@debbugs.gnu.org; Thu, 16 Dec 2010 17:51:14 -0500 Received: from [140.186.70.92] (port=53450 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTMfJ-00029h-3L for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 17:51:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTMfH-00024O-Uk for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 17:51:12 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:41046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTMfH-00024G-SN for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 17:51:11 -0500 Received: by qwa26 with SMTP id 26so78580qwa.0 for ; Thu, 16 Dec 2010 14:51:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=6Nr4nHf5bJrL8a0c7MxaZXWaGID3cGu2mqyw8xOAgIs=; b=MpuUjQbHQhO8XUY8oMPdgl2mKm9QQPPDtvF+wLiou9UhEU6kc1ppuhWBE63IlnfOLA DfFd2mZA300cvBfLjVAXuxqXTMlAWuzOogDBbZ7GOSstFz5suF/8Uengd/3LBhPDmmKV 0ataiLgKB++UjK+Q6brO960rlg2UC/Nk291Ho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=txjtju+FkWuouzKgjMuuA+d0Y91Ucedo4Hl1eGcivPIy7VwaYo02YmqRVvFcysb//u 9tp+ym+YQ+C5Pl3ixJfmOcs2rr5rDjpbGzyWf79GBuxfwDvUxwUJA9GWcT//LJcRT6u2 xDUWsZFcNWCtNr8UvvS02cuucV4zMHu3Ef3kA= Received: by 10.229.91.15 with SMTP id k15mr118528qcm.92.1292539871307; Thu, 16 Dec 2010 14:51:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.98.79 with HTTP; Thu, 16 Dec 2010 14:50:51 -0800 (PST) From: Anoj Perera Date: Thu, 16 Dec 2010 22:50:51 +0000 Message-ID: Subject: emacs - c mode tab space different between windows and linux To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 16 Dec 2010 17:50:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) Hi wonder if some one can shed some light on my issue below, don't know if this is a bug or a config problem. I use emacs 23.1 for pretty much every thing from coding to organising the day. Unfortunately I have to use windows at work and linux (Ubuntu 10.04) at home. The source files I create at home in my linux box are formatted quite horribly when viewed in emacs on my Windows machine. The tab spacing seems to have a mind of its own. I made sure tab spacing is the same on both machines from my .emacs file. Many thanks if some could point me in the right direction. Thanks, pyrus From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 03:09:00 2010 Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 08:09:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTVN5-0001n7-Vd for submit@debbugs.gnu.org; Fri, 17 Dec 2010 03:09:00 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTVN2-0001mt-Gn for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 03:08:57 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LDK00300C4EWT00@a-mtaout23.012.net.il> for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 10:15:16 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.167.122]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LDK003QMC9DUN50@a-mtaout23.012.net.il>; Fri, 17 Dec 2010 10:15:16 +0200 (IST) Date: Fri, 17 Dec 2010 10:15:20 +0200 From: Eli Zaretskii Subject: Re: bug#7659: emacs - c mode tab space different between windows and linux In-reply-to: X-012-Sender: halo1@inter.net.il To: Anoj Perera Message-id: <83ei9ghl2f.fsf@gnu.org> References: X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 7659 Cc: 7659@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: Anoj Perera > Date: Thu, 16 Dec 2010 22:50:51 +0000 > Cc: > > Hi wonder if some one can shed some light on my issue below, don't > know if this is a bug or a config problem. I use emacs 23.1 for pretty > much every thing from coding to organising the day. Unfortunately I > have to use windows at work and linux (Ubuntu 10.04) at home. The > source files I create at home in my linux box are formatted quite > horribly when viewed in emacs on my Windows machine. The tab spacing > seems to have a mind of its own. I made sure tab spacing is the same > on both machines from my .emacs file. Two questions: . does this happen in "emacs -Q" on both platforms (i.e., do the source files look the same then)? . how exactly did you set tab spacing in your .emacs, on each platform? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 05:54:26 2010 Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 10:54:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTXxC-0005gJ-1J for submit@debbugs.gnu.org; Fri, 17 Dec 2010 05:54:26 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTXx8-0005g2-UF for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 05:54:24 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LDK00100JWGJ500@a-mtaout20.012.net.il> for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 13:00:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.167.122]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LDK000X3JX4BIE0@a-mtaout20.012.net.il>; Fri, 17 Dec 2010 13:00:41 +0200 (IST) Date: Fri, 17 Dec 2010 13:00:46 +0200 From: Eli Zaretskii Subject: Re: bug#7659: emacs - c mode tab space different between windows and linux In-reply-to: X-012-Sender: halo1@inter.net.il To: Anoj Perera Message-id: <83aak4hdep.fsf@gnu.org> References: <83ei9ghl2f.fsf@gnu.org> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 7659 Cc: 7659@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 06:21:41 2010 Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 11:21:41 +0000 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 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 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= Received: by 10.229.246.136 with SMTP id ly8mr674118qcb.244.1292585279549; Fri, 17 Dec 2010 03:27:59 -0800 (PST) References: <83ei9ghl2f.fsf@gnu.org> <83aak4hdep.fsf@gnu.org> From: Anoj Perera In-Reply-To: <83aak4hdep.fsf@gnu.org> Mime-Version: 1.0 (iPhone Mail 8C148a) Date: Fri, 17 Dec 2010 11:30:41 +0000 Message-ID: <391507097642106932@unknownmsgid> Subject: Re: bug#7659: emacs - c mode tab space different between windows and linux To: Eli Zaretskii Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 7659 Cc: "7659@debbugs.gnu.org" <7659@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 12:39:46 2010 Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 17:39:47 +0000 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 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 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= Received: by 10.229.228.79 with SMTP id jd15mr1003695qcb.130.1292607966070; Fri, 17 Dec 2010 09:46:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.98.79 with HTTP; Fri, 17 Dec 2010 09:45:45 -0800 (PST) In-Reply-To: <391507097642106932@unknownmsgid> References: <83ei9ghl2f.fsf@gnu.org> <83aak4hdep.fsf@gnu.org> <391507097642106932@unknownmsgid> From: Anoj Perera Date: Fri, 17 Dec 2010 17:45:45 +0000 Message-ID: Subject: Re: bug#7659: emacs - c mode tab space different between windows and linux To: Eli Zaretskii Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7659 Cc: "7659@debbugs.gnu.org" <7659@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) 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. > From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 13:17:19 2010 Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 18:17:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTern-0003Bf-LI for submit@debbugs.gnu.org; Fri, 17 Dec 2010 13:17:19 -0500 Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTerl-0003BS-Rs for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 13:17:18 -0500 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 18674EA635 for <7659@debbugs.gnu.org>; Fri, 17 Dec 2010 19:23:38 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsxAAc6C01V4S1kPGdsb2JhbACIMZt/DAEBAQE1L8FYhUoEjhc X-IronPort-AV: E=Sophos;i="4.60,189,1291590000"; d="scan'208";a="1700775743" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 17 Dec 2010 19:23:26 +0100 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id C74297FA05A; Fri, 17 Dec 2010 19:23:25 +0100 (CET) Message-ID: <4D0BAA9C.5010506@swipnet.se> Date: Fri, 17 Dec 2010 19:23:24 +0100 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.13) Gecko/20101129 Thunderbird/3.1.7 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#7659: emacs - c mode tab space different between windows and linux References: <83ei9ghl2f.fsf@gnu.org> <83aak4hdep.fsf@gnu.org> In-Reply-To: <83aak4hdep.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 7659 Cc: Anoj Perera , 7659@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Eli Zaretskii skrev 2010-12-17 12.00: > > 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. > Ubuntu puts stuff in /etc/emacs, mostly junk. Look there. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 16:42:37 2010 Received: (at 7659) by debbugs.gnu.org; 17 Dec 2010 21:42:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTi4T-0007y9-4q for submit@debbugs.gnu.org; Fri, 17 Dec 2010 16:42:37 -0500 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTi4S-0007xy-0V for 7659@debbugs.gnu.org; Fri, 17 Dec 2010 16:42:36 -0500 Received: by qwg5 with SMTP id 5so1148812qwg.3 for <7659@debbugs.gnu.org>; Fri, 17 Dec 2010 13:48:58 -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 :content-transfer-encoding; bh=W4DGndQjt+dQqcIFI31AFQFv79atx8lTp5CgumlDtdA=; b=ms+gylKNenyqvPiJ514X2bfuchNAwmfIykDsLDixd32aOsbraJ7eSvkK55gfWQbB5Q PmFyR4kZNJ0BQJXTM5Diu7lzzaFGxG83C5DhnXjnHM15XgaILmJyPo+svQ7joqiB0vgD 1rkXugZGvQ7N39Ks8ZGHsG9Hrkkys4dWDCATA= 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:content-transfer-encoding; b=Eiq51R4gQjT1cJsdt0kZqa9H+1tc/9EbBEaRjJhZ0iQO27EgQIPExUFpniO29tiJ3p 8i2lgY6psv+ms4YgkCDgXH+SF5HI6EJLfD/oDFpDqrk8DvZxhTcX4p6dUSgwZ2GkyxKb wqrLSsxrd5Dd7h4yQz+CMiXq7qZqJ2pOC9nEM= Received: by 10.229.189.66 with SMTP id dd2mr1247715qcb.168.1292622537977; Fri, 17 Dec 2010 13:48:57 -0800 (PST) References: <83ei9ghl2f.fsf@gnu.org> <83aak4hdep.fsf@gnu.org> <4D0BAA9C.5010506@swipnet.se> From: Anoj Perera In-Reply-To: <4D0BAA9C.5010506@swipnet.se> Mime-Version: 1.0 (iPhone Mail 8C148a) Date: Fri, 17 Dec 2010 21:51:49 +0000 Message-ID: <-554975631357222420@unknownmsgid> Subject: Re: bug#7659: emacs - c mode tab space different between windows and linux To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7659 Cc: Eli Zaretskii , "7659@debbugs.gnu.org" <7659@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) Thanks it's solved now. It was the config file. I did notice there are many .emacs.d type folders all over /usr/share and /etc/emacs etc/emacs23. Regards, Anoj On 17 Dec 2010, at 18:23, "Jan Dj=E4rv" wrote: > > > Eli Zaretskii skrev 2010-12-17 12.00: >> >> 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. >> > > Ubuntu puts stuff in /etc/emacs, mostly junk. Look there. > > Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 17:46:41 2010 Received: (at 7659-done) by debbugs.gnu.org; 17 Dec 2010 22:46:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTj4T-0000vn-JB for submit@debbugs.gnu.org; Fri, 17 Dec 2010 17:46:41 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTj4R-0000vX-1o for 7659-done@debbugs.gnu.org; Fri, 17 Dec 2010 17:46:40 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LDL00700GA5NF00@a-mtaout23.012.net.il> for 7659-done@debbugs.gnu.org; Sat, 18 Dec 2010 00:53:00 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.167.122]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LDL0079DGWA9SA0@a-mtaout23.012.net.il>; Sat, 18 Dec 2010 00:53:00 +0200 (IST) Date: Sat, 18 Dec 2010 00:53:06 +0200 From: Eli Zaretskii Subject: Re: bug#7659: emacs - c mode tab space different between windows and linux In-reply-to: <-554975631357222420@unknownmsgid> X-012-Sender: halo1@inter.net.il To: Anoj Perera Message-id: <83tyicf1v1.fsf@gnu.org> References: <83ei9ghl2f.fsf@gnu.org> <83aak4hdep.fsf@gnu.org> <4D0BAA9C.5010506@swipnet.se> <-554975631357222420@unknownmsgid> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 7659-done Cc: 7659-done@debbugs.gnu.org, jan.h.d@swipnet.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Anoj Perera > Date: Fri, 17 Dec 2010 21:51:49 +0000 > Cc: Eli Zaretskii , "7659@debbugs.gnu.org" <7659@debbugs.gnu.org> > > Thanks it's solved now. It was the config file. Great, closing the bug. From unknown Thu Jun 19 13:57:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Jan 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator