From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Zimmen Gnauh Newsgroups: gmane.emacs.help Subject: delete the first few chars of each line Date: Sun, 21 Sep 2003 19:43:55 GMT Organization: Optimum Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064173655 29334 80.91.224.253 (21 Sep 2003 19:47:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2003 19:47:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 21 21:47:33 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1ABB-0004s3-00 for ; Sun, 21 Sep 2003 21:47:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1A9w-0002VZ-T0 for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Sep 2003 15:46:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news3.optonline.net!news4.srv.hcvlny.cv.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.191.25.99 Original-X-Trace: news4.srv.hcvlny.cv.net 1064173435 24.191.25.99 (Sun, 21 Sep 2003 15:43:55 EDT) Original-NNTP-Posting-Date: Sun, 21 Sep 2003 15:43:55 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:116777 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:12702 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12702 To delete the first 10 chars of a line. Is there any simpler way than the following: (let beg (progn (beginning-of-line) (point)) (delete-region beg 10))