From: Emanuel Berg <emanuel.berg.8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: turning line mode on/off with defun not working
Date: Sat, 07 Dec 2013 00:16:48 +0100 [thread overview]
Message-ID: <87haalr2me.fsf@nl106-137-194.student.uu.se> (raw)
In-Reply-To: <CAFjCMHvTiBN1Ge=udH4sA+a3v8zow_stiMTaqgQdWAU+wm1yog@mail.gmail.com> (Wes James's message of "Fri, 6 Dec 2013 16:05:06 -0700")
Wes James <comptekki@gmail.com> writes:
> (global-linum-mode)
So there is a third way to do it. But like I said, I
don't like the idea of having it global. If you want it
global, I guess you could put that line in your .emacs
(just the line) and be done with it.
> (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.)
--
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united: http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2013-12-06 23:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.8198.1386264536.10748.help-gnu-emacs@gnu.org>
2013-12-06 18:35 ` turning line mode on/off with defun not working Emanuel Berg
2013-12-06 19:21 ` Wes James
[not found] ` <mailman.8418.1386360511.10748.help-gnu-emacs@gnu.org>
2013-12-06 21:35 ` Emanuel Berg
2013-12-06 21:42 ` Emanuel Berg
2013-12-06 22:35 ` Emanuel Berg
2013-12-06 23:05 ` Wes James
2013-12-06 23:16 ` Emanuel Berg [this message]
2013-12-07 9:06 ` PJ Weisberg
[not found] ` <mailman.8440.1386407185.10748.help-gnu-emacs@gnu.org>
2013-12-07 13:28 ` Emanuel Berg
2013-12-05 18:42 Wes James
2013-12-05 18:48 ` Drew Adams
2013-12-05 19:00 ` Wes James
-- strict thread matches above, loose matches on Subject: below --
2013-12-05 17:28 Wes James
2013-12-05 17:31 ` Drew Adams
2013-12-05 17:54 ` Wes James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87haalr2me.fsf@nl106-137-194.student.uu.se \
--to=emanuel.berg.8573@student.uu.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.