From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: gdba probs Date: Fri, 6 Dec 2002 22:10:00 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <20021207031000.GA24355@gnu.org> References: <15855.47556.171128.631234@nick.uklinux.net> <200212052149.gB5LnZ504967@rum.cs.yale.edu> <15857.24365.637778.876009@nick.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039231162 29522 80.91.224.249 (7 Dec 2002 03:19:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 03:19:22 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KVUt-0007g0-00 for ; Sat, 07 Dec 2002 04:19:19 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18KVdn-0006KL-00 for ; Sat, 07 Dec 2002 04:28:31 +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 18KVN1-0002Ji-00; Fri, 06 Dec 2002 22:11:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18KVLw-00007k-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 22:10:04 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18KVLu-00007T-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 22:10:03 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KVLt-00007L-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 22:10:01 -0500 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.10) id 18KVLs-0006YO-00; Fri, 06 Dec 2002 22:10:00 -0500 Original-To: Nick Roberts Content-Disposition: inline In-Reply-To: <15857.24365.637778.876009@nick.uklinux.net> User-Agent: Mutt/1.3.28i Blat: Foop Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9950 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9950 On Sat, Dec 07, 2002 at 02:38:37AM +0000, Nick Roberts wrote: > I've also used insert-buffer. C-h f gives : > > This function is meant for the user to run interactively. > Don't call it from programs! > > What should I use this time ? I think `insert-buffer-substring' should work (if you omit the START/END args, it will just insert the whole buffer). Also note `insert-buffer-substring-no-properties' if that's an issue. -Miles -- 80% of success is just showing up. --Woody Allen