From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: filcab@gmail.com Newsgroups: gmane.emacs.help Subject: problems with save-excursion Date: 8 Mar 2006 14:36:37 -0800 Organization: http://groups.google.com Message-ID: <1141857397.880352.44860@u72g2000cwu.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1141857666 27951 80.91.229.2 (8 Mar 2006 22:41:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2006 22:41:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 08 23:41:04 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FH7KP-00013E-KT for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Mar 2006 23:40:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH7KO-0006jH-Ui for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Mar 2006 17:40:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 81.193.5.164 Original-X-Trace: posting.google.com 1141857403 23992 127.0.0.1 (8 Mar 2006 22:36:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 8 Mar 2006 22:36:43 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: u72g2000cwu.googlegroups.com; posting-host=81.193.5.164; posting-account=3kYcQw0AAAAdeKHyQOcS-hKKRrDNFHd5 Original-Xref: shelby.stanford.edu gnu.emacs.help:138044 Original-To: help-gnu-emacs@gnu.org 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:33660 Archived-At: I have the following function: (defun copy-line () (interactive) (save-excursion (beginning-of-line) (set-mark-command) (end-of-line) (copy-region-as-kill))) But it's not working... It says: save-excursion: Wrong number of arguments: #[(arg) ... (some trash) Any clues?