all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Highlighting the region
@ 2010-03-31 20:51 Rancier, Jeff
  2010-03-31 22:03 ` Peter Dyballa
  2010-04-01  5:45 ` tomas
  0 siblings, 2 replies; 5+ messages in thread
From: Rancier, Jeff @ 2010-03-31 20:51 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Hi,

 

I just moved from Windows to Linux and I'm using the following:

 

GNU Emacs 21.4.1 (i686-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2008-05-24 on builder16.centos.org

 

When I mark a region, the region should be yellow, correct?  Based on
the settings below?  I don't see anything when I hit C-space to mark the
region.  I'm I missing something here?  query-replace-regexp highlights
OK.

 

(set-face-foreground 'highlight "black")

(set-face-background 'highlight "yellow")

(set-face-background 'region   "yellow")

(set-face-background 'secondary-selection "lightskyblue1")

 

Thanks,

Jeff


[-- Attachment #2: Type: text/html, Size: 3572 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Highlighting the region
  2010-03-31 20:51 Highlighting the region Rancier, Jeff
@ 2010-03-31 22:03 ` Peter Dyballa
  2010-04-01  5:45 ` tomas
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2010-03-31 22:03 UTC (permalink / raw)
  To: Rancier, Jeff; +Cc: help-gnu-emacs


Am 31.03.2010 um 22:51 schrieb Rancier, Jeff:

> I don't see anything when I hit C-space to mark the region.


Did you set transient-mark-mode to non-nil? Are you extending the  
marked region? The point were you started does not change its colour.


There also newer Emacsen. 23.1 or 23.2 are the up-to-date versions.

--
Greetings

   Pete

Life is the only flaw in an otherwise perfect nonexistence
				– Schopenhauer





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Highlighting the region
  2010-03-31 20:51 Highlighting the region Rancier, Jeff
  2010-03-31 22:03 ` Peter Dyballa
@ 2010-04-01  5:45 ` tomas
  2010-04-01  8:09   ` Richard Riley
  1 sibling, 1 reply; 5+ messages in thread
From: tomas @ 2010-04-01  5:45 UTC (permalink / raw)
  To: Rancier, Jeff; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Mar 31, 2010 at 04:51:43PM -0400, Rancier, Jeff wrote:
> Hi,

> [...] I don't see anything when I hit C-space to mark the
> region.  I'm I missing something here?  query-replace-regexp highlights
> OK.

Hmm. I don't know whether I interpret you correctly, but if I do:

when you typee C-space, you *anchor* the region (i.e. you set the
beginning of it). Its end is at  "point" (that is, the cursor) -- so it
now most-probably has zero width. Once you start moving point, you
should "see" a region, spanning the buffer portion between "mark"
(that's where you hit C-space) and "point" thats where you moved (the
cursor) to).

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLtDL9Bcgs9XrR2kYRAiRFAJ9jDvBHPNt3wu1nBQ+A1fWv0T9AAACcDF/3
BgylFAWpZlgsbI8Hj2f43cY=
=OX3d
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Highlighting the region
  2010-04-01  5:45 ` tomas
@ 2010-04-01  8:09   ` Richard Riley
  2010-04-02  6:34     ` tomas
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Riley @ 2010-04-01  8:09 UTC (permalink / raw)
  To: help-gnu-emacs

tomas@tuxteam.de writes:

> On Wed, Mar 31, 2010 at 04:51:43PM -0400, Rancier, Jeff wrote:
>> Hi,
>
>> [...] I don't see anything when I hit C-space to mark the
>> region.  I'm I missing something here?  query-replace-regexp highlights
>> OK.
>
> Hmm. I don't know whether I interpret you correctly, but if I do:
>
> when you typee C-space, you *anchor* the region (i.e. you set the
> beginning of it). Its end is at  "point" (that is, the cursor) -- so it
> now most-probably has zero width. Once you start moving point, you
> should "see" a region, spanning the buffer portion between "mark"
> (that's where you hit C-space) and "point" thats where you moved (the
> cursor) to).
>
> Regards
> -- tomás
>

Emacs 21? 

Transient mark mode is not default in emacs 21. Seems rather old version
to be using.


http://www.gnu.org/software/emacs/manual/html_node/emacs/Mark.html





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Highlighting the region
  2010-04-01  8:09   ` Richard Riley
@ 2010-04-02  6:34     ` tomas
  0 siblings, 0 replies; 5+ messages in thread
From: tomas @ 2010-04-02  6:34 UTC (permalink / raw)
  To: Richard Riley; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Apr 01, 2010 at 10:09:40AM +0200, Richard Riley wrote:

[...]

> Emacs 21? 
>
> Transient mark mode is not default in emacs 21. Seems rather old version
> to be using.

Oops, yes. I missed that bit.

Thanks
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLtZAPBcgs9XrR2kYRApzbAJ926Gaxxg7lN22ef665M4aywrpvDACfeku4
GUhCOUYVU41IDNR0nw1Qrxo=
=HhML
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-02  6:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 20:51 Highlighting the region Rancier, Jeff
2010-03-31 22:03 ` Peter Dyballa
2010-04-01  5:45 ` tomas
2010-04-01  8:09   ` Richard Riley
2010-04-02  6:34     ` tomas

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.