From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simeon Nifos Newsgroups: gmane.emacs.help Subject: xemacs and c-basic-offset Date: Sat, 22 Aug 2009 19:43:22 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250995441 19179 80.91.229.12 (23 Aug 2009 02:44:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2009 02:44:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 23 04:43:54 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mf33h-0001Yz-KU for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Aug 2009 04:43:53 +0200 Original-Received: from localhost ([127.0.0.1]:34296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mf33g-0005QP-VO for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 22:43:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mf33J-0005Oc-Rp for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 22:43:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mf33F-0005N4-Ej for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 22:43:29 -0400 Original-Received: from [199.232.76.173] (port=51931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mf33F-0005N1-81 for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 22:43:25 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]:65027) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mf33E-0002mg-RZ for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 22:43:25 -0400 Original-Received: by ewy7 with SMTP id 7so1575767ewy.31 for ; Sat, 22 Aug 2009 19:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=IMNFdwMHM1bB27R6t1Rd3MpFXfJ70UZyo1ATZyYnmx8=; b=Y5+EokQSxxPAWDdCW+6LmLo8+zybu7ZbQOaEnz4+BnM1GpkUaVqCUQ9UOGwnVLxRlf 8cfBaWno2P+Csjtteil9xvfH+KhFGMJldNwk/tHXmJbpRgrgWC0RKf/STxE5JmNVTPlu GBotEAzem6VyWl1cFP69tv0TWegDPa3SlGA0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ZPE3WY0lhczhk2ZI3ygxw+SAuWIcYFkxH66VQHPTJJkvOpQh4oF1hIa8Zq09Zrzb9x 1IIC+X7MrH12JTc2bcHzR1+IsTji/rshrlVIEc8GFHZ4FkFxbPL3fHgZyGKcxdGtNIQH AX28NZT8aKfYhul1ZBER/rDT3U4wgmQuZJiEA= Original-Received: by 10.216.0.81 with SMTP id 59mr609943wea.77.1250995402552; Sat, 22 Aug 2009 19:43:22 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67437 Archived-At: Dear emacs users, (setq-default c-basic-offset 2) in my .emacs file works as expected. I am satisfied. However, the same command in .xemacs/init.el or .xemacs/custom.el does not do what it does in .emacs. Infact, it does nothing. If I open a c++ file with xemacs and then press: META-x (enter) , set-variable (enter), c-basic-offset (enter) 2 (enter) then this works only for the current buffer. If I open a new file in the same buffer it doesn't work for the new file and I need to repeat the process. Is there anyway to make this work as nicely as it works in emacs? You see, the only reason I am using xemacs is because it supports TABS which emacs doesn't support, as far as I know. Could you please enlight me here? By the way, I love emacs but I am really frustrated by the fact that the learning curve is so bad ... (exponential in time). Isn't there any manual-tutorial, how to set up the essential features a normal guy needs by his editor... I mean features provided by default in several IDE environments for c++ at least ... I have lost days and days to set up some subset of the features I need googling all over the web and by trial and error ... Thanks in advance, SN.