From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Emacs and C programming Date: Fri, 07 Dec 2007 18:49:11 +0100 Organization: Organization?!? Message-ID: <85y7c6jsyw.fsf@lola.goethe.zz> References: <475980f3$0$36443$4fafbaef@reader5.news.tin.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197052867 26885 80.91.229.12 (7 Dec 2007 18:41:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2007 18:41:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 07 19:41:15 2007 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 1J0i89-00013F-5l for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Dec 2007 19:40:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0i7s-0001hg-6H for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Dec 2007 13:40:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1://LSxc/cyh68Ynf8fRmwtXYZOqM= Original-Lines: 18 Original-NNTP-Posting-Date: 07 Dec 2007 18:48:43 CET Original-NNTP-Posting-Host: a3fafbe2.newsspool4.arcor-online.net Original-X-Trace: DXC=lY@0P5dE^4k]BlmkiiU@Bi4IUK 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:49921 Archived-At: "Co$t@ntino" writes: > Hi, > I add this line in my .emacs file: > > (define-key c-mode-base-map "\C-m' newline-and-indent) > > To make RET (newline, C-m) equivalent to LFD (newline and indent, C-j). > > But when start Emacs says: "Symbol's value as variable is void: > c-mode-base-map". > How could I fix it? (eval-after-load 'cc-mode '(define-key c-mode-base-map "\C-n" 'newline-and-indent)) -- David Kastrup, Kriemhildstr. 15, 44793 Bochum