From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export. Date: Tue, 01 Aug 2017 20:59:11 +0000 Message-ID: References: <71359491574f233bd37d0804042fb701@wilkesley.net> <87ini7d3aj.fsf@gmx.us> <87efsvcz9m.fsf@gmx.us> <87o9rzaubb.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114205e4ec30700555b76b30" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dceGC-0008R0-Tg for emacs-orgmode@gnu.org; Tue, 01 Aug 2017 16:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dceGB-00017d-Ev for emacs-orgmode@gnu.org; Tue, 01 Aug 2017 16:59:24 -0400 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:37399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dceGB-00016p-3U for emacs-orgmode@gnu.org; Tue, 01 Aug 2017 16:59:23 -0400 Received: by mail-lf0-x22f.google.com with SMTP id m86so11976142lfi.4 for ; Tue, 01 Aug 2017 13:59:22 -0700 (PDT) In-Reply-To: <87o9rzaubb.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Rasmus Cc: emacs-orgmode@gnu.org --001a114205e4ec30700555b76b30 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Aug 1, 2017 at 4:48 PM Rasmus wrote: > Thanks for looking into this. That hack really leaves the title on the > tabs completely blank! That was the idea.. If someone sets "#+TITLE:", they expect *no* title :) > I=E2=80=99ve never seen anything like it. It=E2=80=99s in line > with other exporters, so on that front it=E2=80=99s fine. I do wonder if= it=E2=80=99s the > right thing to do. When the title is blank Firefox (and I assume other > browsers) show the path. With &lrm it=E2=80=99s completely blank. > I liked seeing that was possible. > Perhaps this would be simpler? > > (or (org-string-nw-p (org-export-data (plist-get info :title) info)) > "‎") > Of course. I thought I was missing out on something. Thanks. > > > Credit: > > > https://stackoverflow.com/questions/23556255/how-can-i-have-a-blank-title= -page#comment67991763_23558385 > > > > With above, a "blank" title will also result in a valid HTML, correct? > > It is indeed valid according to the validator. > Thanks for checking. The validator (the default one in org-html-postamble) never worked for me, probably because of something being blocked at work.. I get this when I click the validator link: =3D=3D=3D=3D=3D Sorry! This document cannot be checked. No Referer header found! You have requested we check the referring page, but your browser did not send the HTTP "Referer" header field. This can be for several reasons, but most commonly it is because your browser does not know about this header, has been configured not to send one, transferred the referring document over a secure protocol such as https but is accessing the validator over ordinary non-secure http, or is behind a proxy or firewall that strips it out of the request before it reaches us. This is not an error in the referring page! =3D=3D=3D=3D=3D Being able to set the title to blank is really cool. I have never needed to do that. But if someone (OP? OP's list email bounces back, so assuming they are subscribed to this ML) wants that, we now know how. --=20 Kaushal Modi --001a114205e4ec30700555b76b30 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Aug 1,= 2017 at 4:48 PM Rasmus <rasmus@gmx.us<= /a>> wrote:
Thanks for looking i= nto this.=C2=A0 That hack really leaves the title on the
tabs completely blank!=C2=A0

That was the = idea.. If someone sets "#+TITLE:", they expect *no* title :)
=C2=A0
I=E2=80=99ve never seen an= ything like it.=C2=A0 It=E2=80=99s in line
with other exporters, so on that front it=E2=80=99s fine.=C2=A0 I do wonder= if it=E2=80=99s the
right thing to do.=C2=A0 When the title is blank Firefox (and I assume othe= r
browsers) show the path.=C2=A0 With &lrm it=E2=80=99s completely blank.=

I liked seeing that was possible.
=C2=A0
Perhaps this would be simp= ler?

=C2=A0 =C2=A0 (or (org-string-nw-p (org-export-data (plist-get info :title)= info)) "&lrm;")

Of cours= e. I thought I was missing out on something. Thanks.
=C2=A0
=

> Credit:
>
https://stackoverflow.com/questions/23556255/how-can-i-have-a-blank= -title-page#comment67991763_23558385
>
> With above, a "blank" title will also result in a valid HTML= , correct?

It is indeed valid according to the validator.

Thanks for checking. The validator (the default one in org-html-pos= tamble) never worked for me, probably because of something being blocked at= work.. I get this when I click the validator link:

=3D=3D=3D=3D=3D
Sorry! This document cannot be checked.
No Referer header found!

You have requeste= d we check the referring page, but your browser did not send the HTTP "= ;Referer" header field. This can be for several reasons, but most comm= only it is because your browser does not know about this header, has been c= onfigured not to send one, transferred the referring document over a secure= protocol such as https but is accessing the validator over ordinary non-se= cure http, or is behind a proxy or firewall that strips it out of the reque= st before it reaches us.

This is not an error in t= he referring page!
=3D=3D=3D=3D=3D

Being able to set the title to blank is really cool. I have never needed t= o do that. But if someone (OP? OP's list email bounces back, so assumin= g they are subscribed to this ML) wants that, we now know how.
<= /div>
--

Kaushal Modi

--001a114205e4ec30700555b76b30--