From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wes James Newsgroups: gmane.emacs.help Subject: Re: turning line mode on/off with defun not working Date: Thu, 05 Dec 2013 17:54:16 +0000 (GMT) Message-ID: References: <73105f34-69f5-441e-b83f-5ead273cefc6@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386266094 5700 80.91.229.3 (5 Dec 2013 17:54:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2013 17:54:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 05 18:54:57 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vod8T-0007Ms-NR for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 18:54:49 +0100 Original-Received: from localhost ([::1]:54986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vod8T-0004no-DH for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 12:54:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vod87-0004eg-AL for help-gnu-emacs@gnu.org; Thu, 05 Dec 2013 12:54:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vod7y-0004tW-R1 for help-gnu-emacs@gnu.org; Thu, 05 Dec 2013 12:54:27 -0500 Original-Received: from nk11p00mm-asmtp003.mac.com ([17.158.161.2]:59602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vod7y-0004tC-L4 for help-gnu-emacs@gnu.org; Thu, 05 Dec 2013 12:54:18 -0500 Original-Received: from nk11p00mm-spool001.mac.com ([17.158.161.66]) by nk11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTP id <0MXC00J9DHQGD830@nk11p00mm-asmtp003.mac.com> for help-gnu-emacs@gnu.org; Thu, 05 Dec 2013 17:54:16 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.72,1.0.14,0.0.0000 definitions=2013-12-05_06:2013-12-05, 2013-12-05, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1312050103 Original-Received: from localhost ([17.158.236.222]) by nk11p00mm-spool001.mac.com (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTP id <0MXC00H7VHQGGH90@nk11p00mm-spool001.mac.com>; Thu, 05 Dec 2013 17:54:16 +0000 (GMT) X-Mailer: iCloud MailClient1U43 MailServer1U25.15099 X-Originating-IP: [129.123.87.45] In-reply-to: <73105f34-69f5-441e-b83f-5ead273cefc6@default> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 17.158.161.2 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94846 Archived-At: On Dec 05, 2013, at 10:31 AM, Drew Adams wrote:=0A= =0AWhat is the difference?=0A=0A(interactive)=0A=0ASee the Elisp manual - = use `i interactive'.=0A=0AOr use `C-h f interactive'.=0A=A0=0AThat did it.= =A0Thanks.=0A=0A(defun lnon ()=0A=A0 "Turn line numbers on"=0A=A0 (intera= ctive)=0A=A0 (global-linum-mode t)=0A)=0A=0A(defun lnoff ()=0A=A0 "Turn li= ne numbers off"=0A=A0 (interactive)=0A=A0 (global-linum-mode 0)=0A)=0A=0A-= wes=