From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Wed, 12 Sep 2018 22:51:49 +0700 Message-ID: References: <83k1nxvm5j.fsf@gnu.org> <87sh2ih0bp.fsf@fastmail.fm> <770f48a8-664a-40ae-8e03-19f6aad248b6@default> <20180910181615.GA4829@ACM> <874lev3bq4.fsf@toy.adminart.net> <20180912131602.GA5582@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536767438 27626 195.159.176.226 (12 Sep 2018 15:50:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 15:50:38 +0000 (UTC) Cc: hw@adminart.net, spacibba@aol.com, Joost Kremers , Noam Postavsky , Emacs developers , Eli Zaretskii , Drew Adams , Phillip Lord To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 12 17:50:33 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g07PV-00073E-0U for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 17:50:33 +0200 Original-Received: from localhost ([::1]:36857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g07Rb-0003vN-Il for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 11:52:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g07Qx-0003v6-6I for emacs-devel@gnu.org; Wed, 12 Sep 2018 11:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g07Qw-00085l-Gt for emacs-devel@gnu.org; Wed, 12 Sep 2018 11:52:03 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:34541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g07Qw-00085f-BX; Wed, 12 Sep 2018 11:52:02 -0400 Original-Received: by mail-oi0-x22e.google.com with SMTP id 13-v6so4737124ois.1; Wed, 12 Sep 2018 08:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=gCHQgd0zjAIcwsh4ZEWdEGXqmpZabwm9gBnBvMoc5DE=; b=CdOaJxbLEDQf+3cQApKt0L8zjJgBANyOvMcbj8LGZdcCFuadPT/8U+MB3GstXohS2+ 4+ST8q1qnA8U2Km0g0HkMNsaDjSklOd1OS2WHWRQGlQTj71p+V8vhVwAxauT6LnOBXPq mNm1KuAMHGDC4+6yCdt5FCvstSK55n+8/jGIciqovIAjbo/bC0XJenIDr86m054zrerd /S8cu8A1r220oT6JtDjb/r1y/uutF3tAkNv0wrIomH4UwFGxLRRgeNizdZHFVAIuNQUH vEPNeLTUrB5tspxaK3OKOtlTeC2Pont0U2oyTNyYngEfQlkk7vfyNJQIBYeCYsmPJkvG i79Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=gCHQgd0zjAIcwsh4ZEWdEGXqmpZabwm9gBnBvMoc5DE=; b=AmLoltnxK7DtUgMdRefUFDROZpvzOiPPupFRDiHUXK2b4psFK7HschwPtNBYuK+1q/ KSFVa+Uvkaphpn1BWOMCgilFvhQISqvZor/elQXiMH4nCYOcD6RWdVjqGGGbyML0FbOH Z+0kKxoCPsdqE2fj15YENpLdeRXyozgRUlKLZM7JENe2VrMkfobfiQWZ4q62idfKnwpc U+4Nh1fNM6cM6oxhqAJy4F74Ud1Zj6zygeo5IP3g3vjsOyQgFpc7i3IsOzL6XQo4rcqw J/wCXKpRGywaoUCWixsx6elShOBldASQHhHaJKzeNtVSy4YHzdHrgIVM4ffxxyKde26d c6RQ== X-Gm-Message-State: APzg51B/GQgWUIEmRsvveCyuozQ6QY+kxj0XwD1O6AEtWml3otNMpshm HC4mQcBrBA3YjlMORHLMb2zrlPuGgng+xtJm9aA= X-Google-Smtp-Source: ANB0VdZt21ddj28mdMgtbKlRoF7KX/IQC/OQVKOg0EXJLeLfGvTvrIh7pmzuq9SPs1MHuPEO4wL5C7y59SUXgLSFytE= X-Received: by 2002:a54:4505:: with SMTP id l5-v6mr2768235oil.179.1536767521731; Wed, 12 Sep 2018 08:52:01 -0700 (PDT) In-Reply-To: <20180912131602.GA5582@ACM> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229712 Archived-At: On Wed, Sep 12, 2018 at 8:19 PM Alan Mackenzie wrote: > And I'm not happy having my font-locking > splatted by the region's highlighting. It=E2=80=99s not splatted with careful face customization. Namely, customiz= e the =E2=80=98region=E2=80=99 face to not specify :foreground but only :back= ground, a shade or tint very close to but distinct from your normal background. May also need to set :distant-foreground to 'unspecified. Example: my =E2=80=98default=E2=80=99 face is :foreground "#b3b3b4" :backgr= ound "#414042" (light gray on dark gray), and my =E2=80=98region=E2=80=99 is :ba= ckground "#4d4d4f" (slightly lighter but still fairly dark gray). All syntax highlighting faces are still visible against this background. I avoid changing background color alone for syntax highlighting.