From: "J K" <artlogic@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: .emacs - minor mode behavior
Date: 13 Feb 2007 13:54:53 -0800 [thread overview]
Message-ID: <1171403693.631853.279610@m58g2000cwm.googlegroups.com> (raw)
I'm just learning Emacs and have recently started working on a .emacs
file for myself. I was hoping someone could answer what I think is
probably a simple question:
During customization of the mode line, I was able to turn on column-
number-mode with the following line in .emacs:
(setq column-number-mode t)
I understand that this line is setting 'column-number-mode to t
(true). I also understand that this variable is created along with
the column-number-mode function by the define-minor-mode macro in
simple.el.
I then proceeded to attempt to add the time to the mode line with the
line:
(setq display-time-mode t)
This doesn't work. I have seen that you can instead call the function
with a positive argument like so:
(display-time-mode 1)
But I don't understand why the first method doesn't work. I think the
problem is that I don't know how emacs goes from variables being set
to t/nil to actually drawing the screen, but I was hoping to avoid
digging that deep as I still am learning. Could someone please help
me to understand?
Also - I've read quite a few posts in this group, and it seems like
most folks lean toward using customize as opposed to hand
editing .emacs. Am I making things harder on myself?
Thanks for the information.
next reply other threads:[~2007-02-13 21:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-13 21:54 J K [this message]
2007-02-14 3:24 ` .emacs - minor mode behavior Kevin Rodgers
2007-02-14 17:04 ` Stefan Monnier
2007-02-15 13:13 ` Robert Thorpe
-- strict thread matches above, loose matches on Subject: below --
2007-02-14 21:48 A Soare
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1171403693.631853.279610@m58g2000cwm.googlegroups.com \
--to=artlogic@gmail.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).