unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22243: eieio-opt: not quite (?) optional functions
@ 2015-12-26 13:00 Ivan Shmakov
  2019-08-01 17:09 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Ivan Shmakov @ 2015-12-26 13:00 UTC (permalink / raw)
  To: 22243

Package:  emacs
Severity: wishlist

	eieio.el currently (1dcf9a5d2a72; 2015-12-22 17:02:30 UTC)
	reads:

   943	;; Hook ourselves into help system for describing classes and methods.
   944	;; FIXME: This is not actually needed any more since we can click on the
   945	;; hyperlink from the constructor's docstring to see the type definition.
   946	(add-hook 'help-fns-describe-function-functions 'eieio-help-constructor)

	This results that with -Q, 'eieio-opt gets loaded immediately
	once the user tries to use the Emacs help system (say, C-h f),
	making the file’s description (below) somewhat misleading, as
	the library which is hooked into such a basic Emacs facility
	could hardly be called “optional”.

;;; eieio-opt.el -- eieio optional functions (debug, printing, speedbar)

	I don’t think I deal much with EIEIO objects, but I’ve removed
	the function from the hook (below) quite some time ago and seen
	no adverse effects so far.  Hence, I guess the add-hook above
	may be reconsidered (per its own FIXME notice.)

(remove-hook 'help-fns-describe-function-functions
             'eieio-help-constructor)

	As an aside, I’ve spotted this issue because eieio-opt depends
	on 'speedbar, which I’ve become aware of a decade ago, and still
	have found no use for; thus anything dependent on it immediately
	raises my suspicion.

-- 
FSF associate member #7257  http://am-1.org/~ivan/      … 3013 B6A0 230E 334A





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

* bug#22243: eieio-opt: not quite (?) optional functions
  2015-12-26 13:00 bug#22243: eieio-opt: not quite (?) optional functions Ivan Shmakov
@ 2019-08-01 17:09 ` Lars Ingebrigtsen
  2019-08-01 17:33   ` Noam Postavsky
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-01 17:09 UTC (permalink / raw)
  To: Ivan Shmakov; +Cc: 22243

Ivan Shmakov <ivan@siamics.net> writes:

> 	eieio.el currently (1dcf9a5d2a72; 2015-12-22 17:02:30 UTC)
> 	reads:
>
>    943	;; Hook ourselves into help system for describing classes and methods.
>    944	;; FIXME: This is not actually needed any more since we can click on the
>    945	;; hyperlink from the constructor's docstring to see the type definition.
>    946	(add-hook 'help-fns-describe-function-functions 'eieio-help-constructor)
>
> 	This results that with -Q, 'eieio-opt gets loaded immediately
> 	once the user tries to use the Emacs help system (say, C-h f),
> 	making the file’s description (below) somewhat misleading, as
> 	the library which is hooked into such a basic Emacs facility
> 	could hardly be called “optional”.

If comment about this not being needed was added in 2015 by Stefan.  But
it says that it's "actually" not needed, and "actually not" in common
usage means "absolutely is", so that's quite confusing.

But if it's not needed, then it sounds like we should remove it?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#22243: eieio-opt: not quite (?) optional functions
  2019-08-01 17:09 ` Lars Ingebrigtsen
@ 2019-08-01 17:33   ` Noam Postavsky
  2019-08-01 17:37     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Noam Postavsky @ 2019-08-01 17:33 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Ivan Shmakov, 22243

Lars Ingebrigtsen <larsi@gnus.org> writes:

> "actually not" in common usage means "absolutely is"

Does it really?  I don't think I've ever seen it used that way.

>    944	;; FIXME: This is not actually needed any more

I interpret this as meaning "this could be removed, but doing so might
also require adjusting some other things".





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

* bug#22243: eieio-opt: not quite (?) optional functions
  2019-08-01 17:33   ` Noam Postavsky
@ 2019-08-01 17:37     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-01 17:37 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Ivan Shmakov, 22243

Noam Postavsky <npostavs@gmail.com> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> "actually not" in common usage means "absolutely is"
>
> Does it really?  I don't think I've ever seen it used that way.

You haven't noticed that when somebody says "This is actually ..." then
it's usually not "..."?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2019-08-01 17:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-26 13:00 bug#22243: eieio-opt: not quite (?) optional functions Ivan Shmakov
2019-08-01 17:09 ` Lars Ingebrigtsen
2019-08-01 17:33   ` Noam Postavsky
2019-08-01 17:37     ` Lars Ingebrigtsen

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