From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#35044: 25.2; Description of "disappearing" faces (Emacs Manual) Date: Mon, 22 Apr 2019 16:59:23 -0400 Message-ID: <87a7ghsqms.fsf@gmail.com> References: <875zr9vf90.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="139274"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 35044@debbugs.gnu.org To: Sebastian Urban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 22 23:17:49 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIgJw-000a8q-KT for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 23:17:48 +0200 Original-Received: from localhost ([127.0.0.1]:44369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIgJv-0006dE-Kv for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 17:17:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIgEI-0002UV-Kb for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 17:11:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIg2m-00053k-1g for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 17:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIg2l-00053Y-Th for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 17:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIg2k-0006FO-6k for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 17:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2019 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35044 X-GNU-PR-Package: emacs Original-Received: via spool by 35044-submit@debbugs.gnu.org id=B35044.155596677223953 (code B ref 35044); Mon, 22 Apr 2019 21:00:02 +0000 Original-Received: (at 35044) by debbugs.gnu.org; 22 Apr 2019 20:59:32 +0000 Original-Received: from localhost ([127.0.0.1]:51722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIg2G-0006EH-GQ for submit@debbugs.gnu.org; Mon, 22 Apr 2019 16:59:32 -0400 Original-Received: from mail-qk1-f173.google.com ([209.85.222.173]:40444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIg2F-0006E5-14 for 35044@debbugs.gnu.org; Mon, 22 Apr 2019 16:59:31 -0400 Original-Received: by mail-qk1-f173.google.com with SMTP id w20so7276220qka.7 for <35044@debbugs.gnu.org>; Mon, 22 Apr 2019 13:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=kUmJBF7Rq04XBnkr8tt5weAii6roTNFMG1YFSoRuj1k=; b=fAcu50XkyzGO06snsrEZtPInnxiba8VGLdU64hKek5+ad7Cq/0mr+EshWjcuBSYeoN jxmxPyA/dyjV4ycaFf+/6A9FpW2M+CE4wzt7Hc1YHcrgT/guXz2jmZkfHdodY/897E3n jOrUY/5vVQCR7M0Temqcu1mfLi8B8tdKliclj2hJ2P7FfTVwKnM+gzFw9vrCz7IrVM3Q WZQSqss0dnG99VNx8RNquqRjDHrUP+P/BMUbhErRFrC6w33Yrs7/VpX9EaAu/AlcZoaq 1HkykL4AErNix9WboY2DzYglh0XizXZGx6lS59CFZCCP4UX2iSurA8CiPaX3y+hQqhze iEXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=kUmJBF7Rq04XBnkr8tt5weAii6roTNFMG1YFSoRuj1k=; b=fVv3kAf6SmvxeGpDk4hjwT+ekCexJ6FSsIg58mRYEHnr9qJg/TqWpwNashD7xu/weS ckFKSCoBqbGTYpvOgFOhkyIwrH8DUDtj25GeoNAE9GPbY58PIMKvjx2IXx6sVMUHwGPv bZAVorjsrNL9KmUx5IMX2CH6Z0jEpQoGaUP73fAcbm4imqO1lhuVacwMayGi4ze3Zw9s ET9qFDzAAFZY6NbeLQ74uheXcWh652o/ZoTPv+IR6EprJajtbmgsZMbkmhBg79K1Jxeq tFcetX3mNlay3IjujbjPKazakd3s/b1j0ps8+x8s/76TJALZVfqI32gS7GhhblxePNyb AFmQ== X-Gm-Message-State: APjAAAUMo/fYeJqV5uZw6f7azhw1s+UI2J6Yj0Z7QTu9vMsKl4jQeIVO TGuqAvHHiF2gSlieq4So8vpK5XXB X-Google-Smtp-Source: APXvYqwySBS75AaOqLi5dNC+tBt+gBx5wFdx0JELO3rkz/3vHjFPGh1F8Rv+8x8gxGUEiZxQvKxLbw== X-Received: by 2002:a37:64ca:: with SMTP id y193mr6651510qkb.72.1555966765218; Mon, 22 Apr 2019 13:59:25 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g12sm7293670qki.76.2019.04.22.13.59.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Apr 2019 13:59:24 -0700 (PDT) In-Reply-To: (Sebastian Urban's message of "Mon, 22 Apr 2019 22:03:18 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158082 Archived-At: Sebastian Urban writes: > I would like to remind that the target is someone new to Emacs or as > I wrote before "(...) from perspective of *beginner* (...)". Now, > which Emacs beginner will look into Elisp manual? > buffer=E2=80=99s major mode tells Font Lock mode which text to fontify; f= or > instance, programming language modes fontify syntactically relevant > -constructs like comments, strings, and function names. > +constructs like comments, strings, and function names. Any faces not > +defined as font-lock-faces or by major mode will be ignored by Font > +Lock mode, i.e. these faces will not be applied. I'm unclear how this will help a beginner user. It sounds like it's describing a potential source of buggy behaviour. But we don't want the manual to excuse buggy behaviour, we rather want users to report bugs. > Maybe instead of "Any faces", "Most faces" should be used (I'm > thinking about hardcoded faces for example). Not sure what you mean by "hardcoded" faces. >> If I understand correctly, this is rather a bug in table.el: it should >> use 'font-lock-face instead of 'face, and then all this buggy >> behaviour will go away. Perhaps you'd like to send a patch? > > Wouldn't this change ('face -> 'font-lock-face) also kill main problem > of this bug(#35044) - disappearing face? Of course only for table. Yes, I think so (that's what I meant by "all"). > Because if so, in addition to manual update, maybe a code update in > table.el would be nice thing to do - kind of "2 for 1"? > > Unfortunately I'm last person who should do code updates right now - > I didn't even finish first 14 chapters of Emacs manual... yet. Jump in the deep end! You'll learn faster that way :)