From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "f33ldead@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: a beginner's emacs troubles Date: Mon, 30 Jul 2007 06:18:53 -0000 Organization: http://groups.google.com Message-ID: <1185776333.365434.277200@q75g2000hsh.googlegroups.com> References: <1185749317.489626.226270@22g2000hsm.googlegroups.com> <87fy36oe4l.fsf@zeus.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1185778376 19428 80.91.229.12 (30 Jul 2007 06:52:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2007 06:52:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 08:52:50 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 1IFP7X-0006la-Pg for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2007 08:52:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFP7X-0003Qo-FC for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2007 02:52:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!q75g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: 193.140.7.169 Original-X-Trace: posting.google.com 1185776333 16335 127.0.0.1 (30 Jul 2007 06:18:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 30 Jul 2007 06:18:53 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070608 Firefox/2.0.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: q75g2000hsh.googlegroups.com; posting-host=193.140.7.169; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150595 X-Mailman-Approved-At: Mon, 30 Jul 2007 02:52:01 -0400 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:46174 Archived-At: On Jul 30, 7:10 am, Tyler Smith wrote: > > I have (setq scroll-step 1) in my .emacs. > > And if you read back over the documentation you've just quoted, you'll > see that you should probably also have something like > > (scroll-conservatively 50) > > in your .emacs as well, if you want to scroll one line at a time ;) > > Tyler Thanks for the replies! I've added following to my .emacs and it's working just fine! (setq scroll-step 1) (setq scroll-conservatively 50) > I'm not sure how basic of a question you're asking. > > I'm wondering if you're typing in the scratch buffer. You'll need to > switch to a text or programming mode that fits what you're trying to > do. > > Need a little more information to be of help. > > --Rod Ups. I'm sorry, it was indeed scratch buffer. I can type tabs freely in text mode, but not in C mode. What happens in C mode is really weird. I type the following line: int main() I move the cursor on a character in this line, then press tab, and... nothing happens. By the way, I've solved the auto-indent problem by adding this to my .emacs (global-set-key (kbd "\r") 'newline-and-indent)