From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Feature request: "Figure #:" in labels of listings Date: Mon, 22 Aug 2016 22:27:42 +0200 Message-ID: <8737lwwnup.fsf@saiph.selenimh> References: <092e6a31-51b1-8bb8-d8bc-3e1da66764da@gmail.com> <87bn0uujfg.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbvpE-0007Qq-5v for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 16:28:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbvoy-0001eg-0M for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 16:28:03 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:46561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbvox-0001eM-Qj for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 16:27:47 -0400 In-Reply-To: (=?utf-8?Q?=22Cl=C3=A9ment?= Pit--Claudel"'s message of "Mon, 22 Aug 2016 09:33:42 -0400") 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: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Cc: emacs-orgmode@gnu.org Hello, Cl=C3=A9ment Pit--Claudel writes: >> What class do you suggest for the listing number, "> class=3D\"listing-number\">"?=20 > > Sounds good :)=20 > >> If so, should `org-html-style-default' be modified? > > Maybe? It currently doesn't mention the related "figure-number" class, so= it doesn't really need to mention "listing-number" class IMO; for backward= s compatibility, though, we could consider adding=20 > > .listing-number { display: none; } > > to it. I don't like this option too much, since it might create > confusion in the future (I'd wonder why such a default =E2=80=94 visible > figure numbers, but hidden listing numbers =E2=80=94 was chosen). It migh= t be > better to add this snippet to the NEWS file if users want to revert to > the old behaviour. Done. Thank you. Regards, --=20 Nicolas Goaziou