From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ben Forbes" Newsgroups: gmane.emacs.help Subject: Running .emacs style commands within emacs Date: Tue, 20 May 2008 09:51:55 +1000 Message-ID: <206a409a0805191651r226e0c02m281af22f37567713@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14338_26198737.1211241115128" X-Trace: ger.gmane.org 1211251071 31633 80.91.229.12 (20 May 2008 02:37:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2008 02:37:51 +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 May 20 04:38:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JyHk9-0000rA-SI for geh-help-gnu-emacs@m.gmane.org; Tue, 20 May 2008 04:38:26 +0200 Original-Received: from localhost ([127.0.0.1]:47994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyHjP-0005vk-Sw for geh-help-gnu-emacs@m.gmane.org; Mon, 19 May 2008 22:37:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyF92-0005XF-Vh for help-gnu-emacs@gnu.org; Mon, 19 May 2008 19:51:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyF92-0005WP-E3 for help-gnu-emacs@gnu.org; Mon, 19 May 2008 19:51:56 -0400 Original-Received: from [199.232.76.173] (port=39261 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyF92-0005WG-6p for help-gnu-emacs@gnu.org; Mon, 19 May 2008 19:51:56 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.158]:44914) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JyF92-0006IZ-03 for help-gnu-emacs@gnu.org; Mon, 19 May 2008 19:51:56 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so1259847ywk.66 for ; Mon, 19 May 2008 16:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=9w2Nb9DJYF2Qz0sN2kSlhsnlIOgzkk7BrGO282Hxi8U=; b=UZveN35Nkyqv7nc3Ypw8XJmWhqzLOT7flWHwmymj6rFpYd8DU+Q8VqmNfKjc61NhH1jjInda1XMYttn8GGXI+jTct7iveD8qrrimoP6FFV02JPqG74Kil5GjP9JCKgcpnEXGhaqgAaeg7Wr+dwm+F1iDs8XuzJUuoia8C8vDJLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=wULyxlfmfQFBFI3UQNwh5kWVCJNTxw23JvtifhjxtnQTS1ByPEQeo6F5RVhcnsEc7g2n8gUHjC3QbdbJUmAwC3607eERf9jAJdjl90wAVZpjpDkYIzP7btZTRa+IqOH6al3wQ4fflaZjFvpc79DIU18M2tYvmoVRWFXHmV1bJaU= Original-Received: by 10.150.68.2 with SMTP id q2mr7000590yba.88.1211241115106; Mon, 19 May 2008 16:51:55 -0700 (PDT) Original-Received: by 10.150.181.5 with HTTP; Mon, 19 May 2008 16:51:55 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 19 May 2008 22:32:36 -0400 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:54149 Archived-At: ------=_Part_14338_26198737.1211241115128 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In my .emacs init file I have commands like (fset 'delete-whole-line "\C-a\C-k\C-k") How can I run a command like this from within emacs? It doesn't seem to be recognized when I try "M-x fset". ------=_Part_14338_26198737.1211241115128 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In my .emacs init file I have commands like

(fset 'delete-whole-line "\C-a\C-k\C-k")


How can I run a command like this from within emacs? It doesn't seem to be recognized when I try "M-x fset".
------=_Part_14338_26198737.1211241115128--