all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: change cursor type
Date: Sat, 07 Dec 2013 03:42:09 +0100	[thread overview]
Message-ID: <87bo0tqt45.fsf@nl106-137-194.student.uu.se> (raw)
In-Reply-To: 87y53yt7yy.fsf@ddoherty.net

"Daniel E. Doherty" <ded-law@ddoherty.net> writes:

> Here is what I have in my init file to change cursor
> type and color based on the mode.  This is an
> org-mode init, so just the SRC blocks.

What?

None of it works for me. But never mind, I don't want
it. I don't want the cursor to be based on the mode,
because in one mode there could be (should be) many
colors, and the cursor should reflect that (depending
on what is being typed at the moment).

But I can share one interesting thing. I set faces like
this:

(custom-set-faces
 '(default ((t (:foreground "cyan" :background "black" :bold nil))))
 ;; ...

It is a clear way to setup colors, and fast (just
eval-defun, and you'll see the changes) - anyway, to
get a cyan cursor where there is no face, and no text,
that :background "black" does it. Without it, I get a
white cursor in those cases. I don't know why, but it
took me some time before I got it right (by intuition)
so I thought I'd mention it here.

-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573


      reply	other threads:[~2013-12-07  2:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f998fc25-7848-4ac4-8e47-ed4364c7c848@j27g2000vbp.googlegroups.com>
2010-05-26 15:15 ` change cursor type Lowell Gilbert
2010-05-27 14:28   ` patrol
     [not found]     ` <44ocg1dqmd.fsf@be-well.ilk.org>
2010-05-28 20:03       ` patrol
2013-11-29 10:08 ` mohamedaslam785
2013-11-29 15:50   ` Drew Adams
2013-11-29 16:43   ` Dan Espen
2013-11-29 19:30     ` Emanuel Berg
2013-12-06 13:38   ` Daniel E. Doherty
2013-12-07  2:42     ` Emanuel Berg [this message]

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=87bo0tqt45.fsf@nl106-137-194.student.uu.se \
    --to=embe8573@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.