From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: Return to Marker Date: Thu, 30 Jan 2003 14:35:49 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F5045D24ED@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1043958967 6837 80.91.224.249 (30 Jan 2003 20:36:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2003 20:36:07 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18eLPn-0001m1-00 for ; Thu, 30 Jan 2003 21:36:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eLPp-0006Pq-07 for gnu-help-gnu-emacs@m.gmane.org; Thu, 30 Jan 2003 15:36:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18eLPe-0006N6-00 for help-gnu-emacs@gnu.org; Thu, 30 Jan 2003 15:35:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18eLPd-0006MR-00 for help-gnu-emacs@gnu.org; Thu, 30 Jan 2003 15:35:53 -0500 Original-Received: from zcamail05.zca.compaq.com ([161.114.32.105]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eLPc-0006Ln-00 for help-gnu-emacs@gnu.org; Thu, 30 Jan 2003 15:35:52 -0500 Original-Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.105.250.119]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id 90306650A for ; Thu, 30 Jan 2003 12:35:50 -0800 (PST) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Thu, 30 Jan 2003 12:35:50 -0800 content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Return to Marker Thread-Index: AcLImTor4bWaKq3PSMa/ZK1odp72OQAA/yOg Original-To: X-OriginalArrivalTime: 30 Jan 2003 20:35:50.0296 (UTC) FILETIME=[2D2B4180:01C2C89F] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6126 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6126 On Thursday, January 30, 2003 1:49 PM CarlC wrote: >"Jesper Harder" wrote in message >news:m3d6mea441.fsf@defun.localdomain... >> "CarlC" writes: >> >> Don't use `beginning-of-buffer' in Lisp code, it'll cause the type of >> problem you describe. Use (goto-char (point-min)) instead. The same >> applies to `end-of-buffer'. >> > >Thanks, Jesper. Problem solved. Seems like this is something that should be >"fixed". Why do you want to fix something that is not broken? The elisp manual specifically and clearly states that beginning-of-buffer and end-of-buffer were designed for interactive use and that the goto-char construct is the proper way to move to the ends of the buffer in elsip programs. The reason for this is that the of-buffer functions "set the mark and display messages in the echo area." You can read all about it in the "Motion to an End of the Buffer" section of the elisp manual at: http://www.gnu.org/manual/elisp-manual-21-2.8/html_mono/elisp.html. Regards, -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software Quality Assurance . Austin, TX . "Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire." -Dr. George W. Crane-