From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: [Announce] The new Emacs homepage is online! Date: Wed, 30 Mar 2016 00:02:31 +0200 Message-ID: <56FAFB77.6090104@gmail.com> References: <878u11fde5.fsf@petton.fr> <87a8lh2dxl.fsf@dustycloud.org> <7de76737-d674-489c-b754-cc0b7e9ede05@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bfSxvsIigum2Ij4Xju1jrH5F00GLuWkNR" X-Trace: ger.gmane.org 1459288973 13135 80.91.229.3 (29 Mar 2016 22:02:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2016 22:02:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 30 00:02:41 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1al1ij-0002C1-EW for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2016 00:02:41 +0200 Original-Received: from localhost ([::1]:50214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1al1ii-0003fq-Nk for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2016 18:02:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1al1ie-0003cg-P4 for emacs-devel@gnu.org; Tue, 29 Mar 2016 18:02:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1al1ib-0000sL-H4 for emacs-devel@gnu.org; Tue, 29 Mar 2016 18:02:36 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.13]:59478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1al1ib-0000s2-7O for emacs-devel@gnu.org; Tue, 29 Mar 2016 18:02:33 -0400 Original-Received: from [192.168.1.82] ([109.24.225.43]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0MZDZc-1aSFqW029M-00KzeK for ; Wed, 30 Mar 2016 00:02:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <7de76737-d674-489c-b754-cc0b7e9ede05@default> X-Provags-ID: V03:K0:o0b0obNRukSGFkxdBHZyPEhZ42GruQ2zysSoaNvxWb081bGYNer Jpn7JW9h/aehO29nRtPjYkBhR56/vbQvUwjsjp025eIyUshY/RfpKjZLUtB5K/u+awStzVJ sHo1duxg5zlQWdIsSbBBxmfiovhEmDVNrlVViSCJKTd/ZN/RlAfBpnrl+Q2sgEfpLAGRnoX 8ClbJM3p0Zd4VFVsp8mJw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Wp/yvt7fMtQ=:Hh0se6opAUtNSBcyzhNdB3 E5df/q8lApZnv/xwf6czj2XXLl5GeVctHkn4AOY+Wruk0qLoe+G8LYjx9MykfgR3u9j8mqYLi c1OPcff6q1cNRGMlchheJA80JEHytuOSccAd3ts5S6BYkK3mFOKGKg3FBcYpgGhnXSoq8AeIn crFoskhvf/4UD2FUE3ZLqmB8RZaxzq4xbkdmPowhHP2pFIWaFu8u+AnLNQcergYHMDCXqWN5T EORQ3uFaJZVHEDu541p4jrWmiIwYu0/mHKw3Pbz6ysms0DxayhfxgH+Jv2THpVsnICCu5DdPg eZdrzatzg4lN6edxu0M05W87YnFwoEdS6Fx7XmtuHAYKOteVDMBbIeVE5+hJ394PZKiaMWwVq 6M9wKLq394yXuFoKpCfsGxgmQnJwYwH5cps8AQxsjaWmvYusW1Cqu5ON9zexappOdMwNgG2TE QlRkMDuExpDX/c6rrDJONs+E3rZd3WfQvLwuOQIIsuOwNh3GCTao8CCJS8e/JHHKxg3FdOrdI YElVVCFJyACd2F89YYOdEDsYYEMmrpZA6VUk+4PWjpXMKHUhb3xGhSH7LVeaX3GjrTJS+5v26 vYhSN/pzQETfREMlfoe5TvL+jzDD+MezSqCZepePwOqeLeyr1XAhRXVzMhxL84ISd5yG4K8cE 6Wqouxo0IDRnbQj39GUOaY7+ZB4L+I64Aa/gj75TAANyk5APtOpzqSmK7ZU5N6dYDekQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.13 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202419 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bfSxvsIigum2Ij4Xju1jrH5F00GLuWkNR Content-Type: multipart/mixed; boundary="vQfDnCJw8Pa6CMc0CagBT9F01Cqep6JWu" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <56FAFB77.6090104@gmail.com> Subject: Re: [Announce] The new Emacs homepage is online! References: <878u11fde5.fsf@petton.fr> <87a8lh2dxl.fsf@dustycloud.org> <7de76737-d674-489c-b754-cc0b7e9ede05@default> In-Reply-To: <7de76737-d674-489c-b754-cc0b7e9ede05@default> --vQfDnCJw8Pa6CMc0CagBT9F01Cqep6JWu Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/29/2016 11:20 PM, Drew Adams wrote: >> Even just inverting to white-on-black would look much better. > > Seriously? Beauty, and eye-strain, are apparently in the eye of the=20 > beholder - at least in part. >=20 > http://lmgtfy.com/?q=3Deye+strain+reading+online+light+dark+background+= screen > http://lmgtfy.com/?q=3Dbest+background+color+for+reading+on+computer Drew, sending a let-me-google-that-for-you link feels insulting. I'm sure= you meant it as a joke, but it looks rude from here. Besides, here's a quote from the first result of the first link: > Therefore, you want a background with about the intensity of a dark=20 > grey, with something about the intensity of a light grey. However,=20 > to get the high contrast I discussed above, you need to use color. I don't necessarily agree, but I think your reply highlights the importan= ce of showing that Emacs's looks can be customized to the taste of the us= er. I'll also note that: * vim is traditionally used in white-on-black terminals * Atom uses a dark theme by default * Spacemacs uses a dark theme by default * Visual Studio provides both options, and asks you at installation time On the other hand, Eclipse and jEdit do default to black on white. Drew, what would you think of adding a carousel showing the default theme= s? Maybe it would help make sure that everyone does get a "phew, Emacs ca= n be made pretty" moment (though more people would also get a "eww, who w= ould want Emacs to look like that" moment too). Nicolas, do you think it = would be a good idea? Would we want to also show more heavily customized = copies of Emacs? Ideally, this could even come with the script used to ge= nerate the screenshots, so users can copy the styles if they want (in the= fashion of what matplotlib does at http://matplotlib.org/gallery.html, f= or example). I'm sure Chris would be happy to provide details about the c= onfiguration that he used. Nicolas, maybe the following could be a useful starting point? It prepare= s Emacs as shown in https://raw.githubusercontent.com/cpitclaudel/biblio.= el/master/etc/screenshots/biblio.el.png , and takes a screenshot automati= cally. (defconst biblio-screenshots--fringe-width 8) (defun biblio-screenshots--make-emacs-pretty () "Prettify Emacs." (redisplay t) (load-theme 'tango t) (set-face-attribute 'default nil :height 105) (set-face-attribute 'default nil :foreground "black") (set-face-attribute 'mode-line nil :foreground "gray60" :background "bl= ack") (set-face-attribute 'mode-line-inactive nil :foreground "gray60" :backg= round "#404045") (set-face-attribute 'mode-line-buffer-id nil :foreground "#eab700") (set-fontset-font t 'unicode "Ubuntu Mono") (set-fontset-font t 'unicode "Symbola Monospacified for Ubuntu Mono" ni= l 'append) (tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1) (column-number-mode) (fringe-mode (cons biblio-screenshots--fringe-width biblio-screenshots-= -fringe-width)) (blink-cursor-mode -1) (setq-default cursor-type nil split-width-threshold 100 mode-line-format '(" " mode-line-buffer-identification " = " mode-name)) (set-frame-size (selected-frame) 128 30)) (defun biblio-screenshots--save-screenshot () "Save screenshot of current frame." (let ((fname (expand-file-name "biblio.el.png" biblio-screenshots--scri= pt-dir))) (process-lines "import" "-window" (frame-parameter nil 'outer-window-= id) fname) (process-lines "mogrify" "-strip" "-matte" "-bordercolor" (face-attribute 'fringe :background) "-border" (format "0x%d" biblio-screenshots--fringe-wi= dth) fname) (process-lines "optipng" "-o3" fname)) (kill-emacs)) (defun biblio-screenshots--prepare () "Prepare a screenshot." (biblio-screenshots--make-emacs-pretty) (delete-other-windows) (Some setup code here to show the right window configuration)) (defun biblio-screenshots--do () "Prepare and take screenshot." (biblio-screenshots--prepare) (force-window-update) (redisplay t) (run-with-timer 1 nil #'biblio-screenshots--save-screenshot)) I use a similar process to generate the (many) screenshots at https://git= hub.com/cpitclaudel/company-coq/#screenshots . I don't claim that they ar= e particularly pretty; just that that script might be useful :) Cheers, Cl=E9ment. --vQfDnCJw8Pa6CMc0CagBT9F01Cqep6JWu-- --bfSxvsIigum2Ij4Xju1jrH5F00GLuWkNR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJW+vt3AAoJEPqg+cTm90wjOPsP/3Qs78SSfC510C20MuHxZQcD k7NUNjWf5p6M6h7wpzo2RxndgKnTDxS5IAvCHWhJy7EkHYCBr7h//J4HLMoAA5ap bk4TTnUZoFE75Dfg+nbUCAxGN34b04r60Nhe9d/Au7YDUCrwaePL3vWY4Nn06Rvi Nr1rmyt3T7ktAMipwHCin8dxy8rj2rHj5HfZAVi0FZkG4Cs8a5hidr9EvPqcg4xv V0vjXpnJl51Gs5wK5z83YrOCIQAbpnhJkLqEUiMijfihmPwDLoSX89AgJ0WGuy7r zgZmrRkcY7TRE79lAb1IenZIM4pnlDBsLvBjf89gRIbX+rkKRcfSlUqhJIMMo/Mr 7CAbt70dxaJNViIygsiyiOEwSgk+/lEuHhxwz10uzgebt81kkOII87qcWJdAVO2r VD2KnR/5Vpj58JxKwOubLyPzsFpej1YTB87vXT1vGgPaF+x/G1hhFCMjYFnhQMPP PNWv/EVGtAlIBUOgSKkUKUlS9MBerq+1K4VzmbUIRtCq6rt3CBq0Hgi0OJ4bWews kfvJ4nWlw7pnCOLiLVUaEEKVceOM8X3pzmLoLlXyH8EhyF0aXXRLiLN8MskdJvgw XP9Tx4h8tY3gJw4dCw3Qx5Iwi4uh8/ZU2/HFqeHiujc9oMZitZk4TTpGA0btQO+C c38ksQBOCEx56fKbaNfF =F6Pp -----END PGP SIGNATURE----- --bfSxvsIigum2Ij4Xju1jrH5F00GLuWkNR--