From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Seberino Newsgroups: gmane.emacs.help Subject: Buffer created but why movement command of function ignored? Date: Tue, 10 Feb 2015 10:13:51 -0800 (PST) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1423592122 8134 80.91.229.3 (10 Feb 2015 18:15:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Feb 2015 18:15:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 10 19:15:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YLFLD-0001eb-TR for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Feb 2015 19:15:20 +0100 Original-Received: from localhost ([::1]:41124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLFLD-00066G-5g for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Feb 2015 13:15:19 -0500 X-Received: by 10.68.197.137 with SMTP id iu9mr21207083pbc.5.1423592031634; Tue, 10 Feb 2015 10:13:51 -0800 (PST) X-Received: by 10.182.20.238 with SMTP id q14mr16904obe.27.1423592031489; Tue, 10 Feb 2015 10:13:51 -0800 (PST) Original-Path: usenet.stanford.edu!hl2no13810152igb.0!news-out.google.com!db6ni20419igc.0!nntp.google.com!hl2no10007683igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=74.193.13.167; posting-account=VkuUtQkAAADKqMjRUmZTNs7a8uCSNNy2 Original-NNTP-Posting-Host: 74.193.13.167 User-Agent: G2/1.0 Injection-Date: Tue, 10 Feb 2015 18:13:51 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:210341 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102617 Archived-At: When I run this function the ansi-term is created but the point does NOT move to beginning of buffer. Why? (global-set-key (kbd "M-l") (lambda () (interactive) (ansi-term "ls") (beginning-of-buffer)))