From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Emacs on Ubuntu advice Date: Mon, 16 Oct 2017 16:15:30 +0200 Message-ID: References: <87shejur20.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c086d18c7dd6d055baaa48b" X-Trace: blaine.gmane.org 1508163371 12067 195.159.176.226 (16 Oct 2017 14:16:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 14:16:11 +0000 (UTC) Cc: Emacs developers To: Jay Kamat Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 16 16:16:04 2017 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 1e46BP-0001RQ-Mc for ged-emacs-devel@m.gmane.org; Mon, 16 Oct 2017 16:15:55 +0200 Original-Received: from localhost ([::1]:33221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e46BX-0007Ya-5l for ged-emacs-devel@m.gmane.org; Mon, 16 Oct 2017 10:16:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e46BM-0007XB-Kc for emacs-devel@gnu.org; Mon, 16 Oct 2017 10:15:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e46BL-0006bD-CE for emacs-devel@gnu.org; Mon, 16 Oct 2017 10:15:52 -0400 Original-Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:46897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e46BL-0006ay-6N for emacs-devel@gnu.org; Mon, 16 Oct 2017 10:15:51 -0400 Original-Received: by mail-qk0-x22f.google.com with SMTP id k123so12990511qke.3 for ; Mon, 16 Oct 2017 07:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7xl19xByCbX+JCx3rbT7ggfELhDg8gftE1HpcAeKbtw=; b=RM5MXqNI+uCrulXg6UOOh9Wo+gcRiSShM9fVRhbDl/2D9rcx4wkCrFbV2fHTVSzpj+ XCqylaf38L+62zCzu822MQ8+ofX10LluA3IxA/GFZXzxwAnmagSKJpknwc/Q2BNSyVKH IaBLfNLdmUj8n0nnDfrTz1bLmm7FgYbce9RyJgvFKlKKfwWCzdkgDtvlXwAuK1tWz/x+ 2Nb1zbiwTGg8jFwVGfnD99jmCLP4+idxdWWlrKZdmL2hOi4VzLhCqWn8+TFRKgCdOXe5 c3m+BBodYsH5kWRiSob2vZYV9YPvA/qBug/sc5s50+RFRaj4iNxdvoXqvqIoeGlY/whW b02g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7xl19xByCbX+JCx3rbT7ggfELhDg8gftE1HpcAeKbtw=; b=leg3VWosW4VzEE6bygRmpyzXlVhyPJNy8PNNqX+5UppM59MGIcW21cXt/Hl5eSJike h539tRZ3FF4EyWAqibYYujtSXOObOc9RFH4lwDaJoAO8H0u0sLl1syfdpSXopy30grUe ssw4negkA5/zti/IgiOXmdaG3he+U6NBhboUsfe2wOSnM3TTe4LQdiWj+u4RG0pvVOSP WleJMxNUA20X83pOR9656rhOk1JAbKzs0z3KaWS3739YUclzmPR9aFENS5mDUkRIXCfc ZiVNCsSFLubFQb6xbthK1PHjDJklZ7ovxSY8JKA0gmIRsKh/4+N3vMFVPUEvSJmN6rPA Kb8w== X-Gm-Message-State: AMCzsaVxbUtSzOkyh5RIavL5Aq8zKjjhqNPdDDGXBDIs1+6t7LeeQZZ8 w2RNCpbLwY+P6zTG1eLBihUWSHCUM34/ZOyX5GI= X-Google-Smtp-Source: ABhQp+TSL6T1cCyCGltyFBDE6nwTYbyG6hSexuBvQCpY7t/sIK+k8FDpN65P7h8TCYERQZcErDbaOog9RA7yO4UMixM= X-Received: by 10.55.142.6 with SMTP id q6mr14359426qkd.302.1508163350681; Mon, 16 Oct 2017 07:15:50 -0700 (PDT) Original-Received: by 10.140.94.2 with HTTP; Mon, 16 Oct 2017 07:15:30 -0700 (PDT) In-Reply-To: <87shejur20.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22f 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:219578 Archived-At: --94eb2c086d18c7dd6d055baaa48b Content-Type: text/plain; charset="UTF-8" 2017-10-16 16:04 GMT+02:00 Jay Kamat : > Hi Fabrice, > > > Back to my original question, I have spent quite a time looking for > settings to > > get the same crisp rendering of the Consolas font with Emacs-w64 and the > one running from WSL > > and failed to up to now. > > I remember this distinctly from a while ago (but I can't test it now, > because I don't have a windows box anymore). > > My 2c is that: > > 1. GUI Applications aren't supported at all with WSL. Are you sure > whatever 3rd party X server you are running isn't the problem? (The one > I found seemed very questionable). > Actually, the X server was the problem. Albeit Mobaxterm seems to be a very fine product , it doesn't seem to advertise Windows that it is high-dpi compatible. This can be solved easily by checking the compatibility tab of mobaxterm, and setting that the application is responsible for any scaling. I had to do this a few years ago (Windows 8.1), but forgot about it because no application required this recently (and Mobaxterm is from august of this year, so I didn't expect a problem like this). 2. When I tried it a while back, I had this problem with all > applications (terrible, blurry font rendering), not just Emacs. > > I ended up moving back to a native windows Emacs installation (and > occasionally a cygwin one) for the times I'm stuck on windows for some > reason. I find the cygwin works much better than WSL, but I guess that's > personal preference. I think you may be able to access files in WSL from > the native windows port of emacs (and it has better integration to the > rest of the system too, such as putty). > Actually, I use both MSYS2/Mingw64 and WSL much more recently. I have stopped with Cygwin long ago because of some options they took that I didn't find very user friendly. WSL seems stable these days and the ability to share files transparently is great. (I am on the slow insider ring however, so Windows 10 is 1709 16299.19) Emacs works perfectly with minor parts of my single init.el file depending on the system. All of my Org directory is avalaible to both versions and render perfectly. Fabrice --94eb2c086d18c7dd6d055baaa48b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-10-16 16:04 GMT+02:00 Jay Kamat <jaygkamat@gmail.com>:
Hi Fabrice,

> Back to my original question, I have spent quite a time looking for se= ttings to
> get the same crisp rendering of the Consolas font with Emacs-w64 and t= he one running from WSL
> and failed to up to now.

I remember this distinctly from a while ago (but I can't test it= now,
because I don't have a windows box anymore).

My 2c is that:

1. GUI Applications aren't supported at all with WSL. Are you sure
whatever 3rd party X server you are running isn't the problem? (The one=
I found seemed very questionable).

Actu= ally, the X server was the problem.
Albeit Mobaxterm seems to be = a very fine product , it doesn't seem to advertise=C2=A0
Wind= ows that it is high-dpi compatible.
This can be solved easily by = checking the compatibility tab of mobaxterm, and setting
that the= application is responsible for any scaling.

I had= to do this a few years ago (Windows 8.1), but forgot about it because no a= pplication required
this recently (and Mobaxterm is from august o= f this year, so I didn't expect a problem like this).


2. When I tried it a while back, I had this problem with all
applications (terrible, blurry font rendering), not just Emacs.

I ended up moving back to a native windows Emacs installation (and
occasionally a cygwin one) for the times I'm stuck on windows for some<= br> reason. I find the cygwin works much better than WSL, but I guess that'= s
personal preference. I think you may be able to access files in WSL from the native windows port of emacs (and it has better integration to the
rest of the system too, such as putty).
=C2=A0
Actually, I use both MSYS2/Mingw64 and WSL much more recently.
I have stopped with Cygwin long ago because of some options they took
that I didn't find very user friendly.

W= SL seems stable these days and the ability to share files transparently is = great.
=C2=A0(I am on the slow insider ring however, so Windows 1= 0 is 1709 16299.19)

Emacs works perfectly with= minor parts of my single init.el file depending on the system.
A= ll of my Org directory is avalaible to both versions and render perfectly.<= /div>


Fabrice

<= /div>
--94eb2c086d18c7dd6d055baaa48b--