unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13915: 24.3.50; `font-lock-syntactic-keywords' - really obsolete?
@ 2013-03-10 15:26 Drew Adams
  2013-03-11  1:22 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2013-03-10 15:26 UTC (permalink / raw)
  To: 13915


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'
 






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-12  5:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-10 15:26 bug#13915: 24.3.50; `font-lock-syntactic-keywords' - really obsolete? Drew Adams
2013-03-11  1:22 ` 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

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).