From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: turning line mode on/off with defun not working Date: Sat, 7 Dec 2013 01:06:19 -0800 Message-ID: References: <87iov1vnd2.fsf@nl106-137-194.student.uu.se> <87ppp93bnv.fsf@nl106-137-194.student.uu.se> <87lhzxodu5.fsf@nl106-137-194.student.uu.se> <8738m5sj39.fsf@nl106-137-194.student.uu.se> <87haalr2me.fsf@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1386407188 14173 80.91.229.3 (7 Dec 2013 09:06:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2013 09:06:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 07 10:06:34 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 1VpDqL-0000Ei-OR for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Dec 2013 10:06:33 +0100 Original-Received: from localhost ([::1]:35065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpDqL-0008BH-1t for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Dec 2013 04:06:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpDqA-0008B3-Tz for help-gnu-emacs@gnu.org; Sat, 07 Dec 2013 04:06:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpDq9-00020W-P5 for help-gnu-emacs@gnu.org; Sat, 07 Dec 2013 04:06:22 -0500 Original-Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:51134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpDq9-00020S-Gx for help-gnu-emacs@gnu.org; Sat, 07 Dec 2013 04:06:21 -0500 Original-Received: by mail-pd0-f178.google.com with SMTP id y10so2328698pdj.37 for ; Sat, 07 Dec 2013 01:06:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=n9OGYVuDGx93LNSxkiNluBjaiXR8GDw66Qke2w+TqJU=; b=WVa/Gi6lf9YtFI+HZBqd3gXPp77obRRpSakY+N9W7UGqVnZKFQ9i6BS19H8v/frghL n6wXrsbdiJfBGF6EsYiQ68QT0i5pOQd7zAuZ5weAi4LtVK8twYhlsrNrdOhz8hWq99jt h+6FxRaG4tyZjkcHwtSOc18Wx3MNVI8hsb2ZVCem1KfuO554gtcnIeTFAw67dO8fo8Lr O8UB/VNhlzkSrEG+jmdIJzIGKoblcWvqoeHCJswVXoJFsMpzkRRc1luvwb9tipxrUjSL HEQzieDp20rOXF9VgntSxj5xfR0GAPgFF+qch3001AfuWwGAa56wUezgrjAPk5Th/i5R XD/g== X-Received: by 10.66.7.68 with SMTP id h4mr9160446paa.0.1386407179969; Sat, 07 Dec 2013 01:06:19 -0800 (PST) Original-Received: by 10.68.96.35 with HTTP; Sat, 7 Dec 2013 01:06:19 -0800 (PST) Original-Received: by 10.68.96.35 with HTTP; Sat, 7 Dec 2013 01:06:19 -0800 (PST) In-Reply-To: <87haalr2me.fsf@nl106-137-194.student.uu.se> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::232 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:94868 Archived-At: On Dec 6, 2013 3:48 PM, "Emanuel Berg" wrote: > > Wes James writes: > > > (defun name ()...) or (defun name()...) > > Both works but I like the whitespace there. Because > that is actually an empty list (or nil), and not a > place where you put parameters (like it is in C) - or, > it is both in Lisp. > > Try it yourself with nil instead of the empty > parenthesis pair. (Then, obviously you need the > whitespace.) You *can* do that, but that doesn't mean you should. Sure, () and nil are always interchangeable, but only one of them *looks* like an empty list of parameters. It always takes my brain an extra moment to process when I see nil somewhere where I'm expecting to see a list.