unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cperl-mode: Eliminating references to obsolete packages
@ 2020-09-23 18:37 Harald Jörg
  2020-09-23 19:16 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Harald Jörg @ 2020-09-23 18:37 UTC (permalink / raw)
  To: emacs-devel

Hello Emacs,

My history with Emacs development is rather short, so I'd like to
check some assumptions. cperl-mode.el has quite some conditionals
checking for features of which I assume that they are now either
completely dead, or always available:

 - (featurep 'choose-color): choose-color.el used to be downloadable
   from Ilya Zakharevich's web page in the 20th century, but it is
   gone now.  I suggest it is safe to assume the value is always nil.

 - (featurep 'font-lock-extra): I failed to find any reference where
   this came from and suggest also to assume the value is always nil.

 - (featurep 'mode-compile): It seems that mode-compile.el was never
   part of GNU Emacs, and it seems to be abandoned by now.  I suggest
   it should be eliminated.

 - (boundp 'font-lock-constant-face): - also for other faces.  I guess
   it is safe to assume this is always true, and the current list of
   available faces as visible in the info page "Faces for Font Lock"
   hasn't changed (much) since Emacs 26.  I'd be grateful for a
   pointer to recent changes in this face list!

I'd like to prepare a patch which removes all conditionals querying
these functions, the associate code branches, and related
customization variables.  But before I do so, I'd like to check with
people who have been contributing to Emacs longer than I have.

Are there any opinions or objections?
--
Cheers,
haj



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

end of thread, other threads:[~2020-09-24 22:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 18:37 cperl-mode: Eliminating references to obsolete packages Harald Jörg
2020-09-23 19:16 ` Stefan Monnier
2020-09-23 19:38   ` Harald Jörg
2020-09-23 19:50     ` Stefan Monnier
2020-09-24 15:34       ` Harald Jörg
2020-09-24 17:09         ` Stefan Monnier
2020-09-24 18:43           ` Harald Jörg
2020-09-24 22:20             ` Stefan Monnier

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