unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Re: html manual +css
Date: Thu, 26 Dec 2019 09:08:34 +0900	[thread overview]
Message-ID: <D1A4BDE2-C939-4EE9-91E5-676C2C3735D6@traduction-libre.org> (raw)
In-Reply-To: <jwvk16k8458.fsf-monnier+emacs@gnu.org>



> On Dec 26, 2019, at 7:03, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> 
>> Ok, so I have something that works both ways:
>> 
>> 1) when the display is wide enough to have the full horizontal menu, the
>> menu is displayed horizontally and follows the scrolling.
>> 
>> 2) when the display is not wide enough to have the full horizontal menu, the
>> menu is displayed on the right side of the screen, as a list of links, with
>> "icons" before the link names to hint at their use, and the menu sticks to
>> its original position.
> 
> Looks great on my desktop, thanks,
> 
>> Would you mind checking if that works as you intended ?
> 
> It does.  I just now tried to look at the page from a phone and it looks
> identical,

Well that was not intended. The result was good when looking at the page from a "phone" developer mode in Firefox/Safari but on a real phone it was not the intended result.

You can see what I intended to do by reducing the width of your desktop browser window until you see the modification.

> which I guess is good (indeed in pixels, my desktop's browser
> and my phone's browser (when the phone is in portrait position) have
> about the same number of pixels), but it makes the site difficult to
> read on my phone (I have to zoom on the various parts to read them ;-)
> It's definitely no worse than what we currently have on gnu.org, tho!

Indeed.

> It's more readable when I put my phone in landscape, but then this first
> line menu ends up using a large fraction of my screen real estate so
> I wouldn't want it to always stay on-screen.

:) And that's what I tried to avoid.

> [ I guess this is the only part which I could consider a regression
>  compared to what we currently have on gnu.org.  And it's a result of
>  what I asked for (and like) when reading on a desktop.  Oh well!  ]

But that is something we can achieve. I'm just brushing up the CSS skills that I had 20 years ago and the technology has evolved a huge lot to answer the needs of mobile browsers. Maybe you've heard the term already, it is called "responsive design" and it aims at making a page flow better when the form is constrained by smaller displays.

> To clarify: it's never occurred to me to look at such docs on my phone,
> so it's probably not an important use case.

No, it is. Especially when you want to *read* the manual/reference.

I'll get back to the list with a useable proposal. Sorry for the noise.

>        Stefan "whose phone's browser has more pixels than his desktop's"

Same here. It's my first mobile phone in about 10 years. I'm shocked at how fast things have changed. Although I was just thinking that the maximum 1kb offset of the charset declaration from the beginning of an HTML file is the same amount of useable memory my ZX81 had when I bought it about 40 years ago...

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





  reply	other threads:[~2019-12-26  0:08 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02 13:49 html manual +css Jean-Christophe Helary
2017-06-02 14:28 ` Paul Eggert
2017-06-02 14:45   ` Jean-Christophe Helary
2017-06-02 14:56     ` Jean-Christophe Helary
2017-06-02 15:14     ` Yuri Khan
2017-06-02 15:22       ` Eli Zaretskii
2017-06-02 15:29         ` Jean-Christophe Helary
2017-06-05 14:44           ` Jean-Christophe Helary
2017-06-06 22:41             ` Richard Stallman
2017-06-06 23:47               ` Jean-Christophe Helary
2017-06-07 14:27                 ` Jean-Christophe Helary
2019-12-23 16:54                   ` Jean-Christophe Helary
     [not found]                     ` <jwvr20v6jug.fsf-monnier+emacs@gnu.org>
2019-12-24  9:06                       ` Jean-Christophe Helary
2019-12-24 14:37                       ` Jean-Christophe Helary
2019-12-24 14:43                         ` Jean-Christophe Helary
2019-12-25 22:03                         ` Stefan Monnier
2019-12-26  0:08                           ` Jean-Christophe Helary [this message]
2019-12-26 14:09                             ` Jean-Christophe Helary
2019-12-26 14:45                               ` Stefan Monnier
2019-12-26 15:08                                 ` Jean-Christophe Helary
2019-12-26 15:22                                   ` Jean-Christophe Helary
2019-12-26 15:50                                     ` Stefan Monnier
2019-12-26 16:27                                       ` Yuri Khan
2019-12-26 18:17                                         ` Stefan Monnier
2019-12-26 16:53                                       ` Jean-Christophe Helary
2019-12-30 11:53                                       ` Jean-Christophe Helary
2020-01-15 11:20                     ` Gavin Smith
2020-01-15 12:12                       ` Jean-Christophe Helary
2020-01-15 13:43                         ` Patrice Dumas
2020-01-15 13:52                           ` Jean-Christophe Helary
2020-01-15 14:18                             ` Patrice Dumas

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D1A4BDE2-C939-4EE9-91E5-676C2C3735D6@traduction-libre.org \
    --to=jean.christophe.helary@traduction-libre.org \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).