unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 13915@debbugs.gnu.org
Subject: bug#13915: 24.3.50; `font-lock-syntactic-keywords' - really obsolete?
Date: Sun, 10 Mar 2013 08:26:44 -0700	[thread overview]
Message-ID: <C8BCB87AFFDE4988A89C47B58AA344A9@us.oracle.com> (raw)


NEWS says that the variable is obsolete, and font-lock.el says that this
is so since 24.1:
 
(make-obsolete-variable 'font-lock-syntactic-keywords
                        'syntax-propertize-function "24.1")
 
But font-lock.el uses it, with no apparent attempt to do without it.
 
If the very file that declares it obsolete cannot be updated to reflect
that, why tell users they should consider it obsolete?
 
The description in NEWS does not make clear, to me at least, how use of
the variable should be replaced.  If I see how that gets done in
font-lock.el then perhaps I will understand better.  If not, it sounds
like not practicing what you preach.  Or perhaps making the change is
not so simple?
 
There are only a few lines in font-lock.el that involve
`font-lock-syntactic-keywords'.  If these were not changed when it was
declared obsolete, and still have not been, 2 or 3 releases later, is
that a sign that something is not quite right?
 
Seems like those few lines would have been fixed immediately.  Now,
presumably some of them are there for backward compatibility.  But I
don't get the impression that they all are, or even that most of them
are.  Seems like the switchover to the new was simply not finished.
 
It would be helpful too if the NEWS description provided more guidance
wrt replacing use of the obsolete variable with use of the new.
 
 
 
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2013-03-04 on ODIEONE
Bzr revision: 111935 yamaoka@jpl.org-20130304102733-4qy111z41qwoh2as
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
 






             reply	other threads:[~2013-03-10 15:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10 15:26 Drew Adams [this message]
2013-03-11  1:22 ` bug#13915: 24.3.50; `font-lock-syntactic-keywords' - really obsolete? Stefan Monnier
2013-03-11  3:47   ` Drew Adams
2013-03-11 20:43     ` Stefan Monnier
2013-03-11 21:04       ` Drew Adams
2013-03-12  2:49         ` Stefan Monnier
2013-03-12  5:36           ` Drew Adams

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=C8BCB87AFFDE4988A89C47B58AA344A9@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=13915@debbugs.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).