unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15179: describe-variable vs. aliases
@ 2013-08-24 13:02 jidanni
  2019-10-14  5:30 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2013-08-24 13:02 UTC (permalink / raw)
  To: 15179

emacs-snapshot:
  Installed: 2:20130821-1

      inhibit-startup-screen is a variable defined in `startup.el'.
      Its value is t
      Original value was nil

      Documentation:
      Non-nil inhibits the startup screen.

      This is for use in your personal init file (but NOT site-start.el),
      once you are familiar with the contents of the startup screen.

      You can customize this variable.

OK but where did I change it? After an hour of looking in all my files I
gave up.


      inhibit-splash-screen is a variable defined in `startup.el'.
      Its value is t

        This variable is an alias for `inhibit-startup-screen'.

      Documentation:
      Non-nil inhibits the startup screen.

      This is for use in your personal init file (but NOT site-start.el),
      once you are familiar with the contents of the startup screen.

      You can customize this variable.


Oh!

Better would be if checking either revealed the whole picture, and also
mention where the latter was changed (.emacs).





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

* bug#15179: describe-variable vs. aliases
  2013-08-24 13:02 bug#15179: describe-variable vs. aliases jidanni
@ 2019-10-14  5:30 ` Lars Ingebrigtsen
  2019-10-14  5:47   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14  5:30 UTC (permalink / raw)
  To: jidanni; +Cc: 15179

jidanni@jidanni.org writes:

>       inhibit-startup-screen is a variable defined in `startup.el'.
>       Its value is t
>       Original value was nil

[...]

>       inhibit-splash-screen is a variable defined in `startup.el'.
>       Its value is t
>
>         This variable is an alias for `inhibit-startup-screen'.

[...]

> Better would be if checking either revealed the whole picture, and also
> mention where the latter was changed (.emacs).

So the request is to have `C-h v' list all variables that are aliases of
the one we want to have described.  And that does seem useful.

But is that information available?  We have the chain going the other
way in Findirect_variable...  I guess we could loop over obarray and run
that function on all the symbols and create a reverse map?

Is there an easier way?

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





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

* bug#15179: describe-variable vs. aliases
  2019-10-14  5:30 ` Lars Ingebrigtsen
@ 2019-10-14  5:47   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14  5:47 UTC (permalink / raw)
  To: jidanni; +Cc: 15179

Lars Ingebrigtsen <larsi@gnus.org> writes:

> But is that information available?  We have the chain going the other
> way in Findirect_variable...  I guess we could loop over obarray and run
> that function on all the symbols and create a reverse map?
>
> Is there an easier way?

Well, looping over obarray is easy and fast enough, I guess, so I just
added that to Emacs 27.

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





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

end of thread, other threads:[~2019-10-14  5:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-24 13:02 bug#15179: describe-variable vs. aliases jidanni
2019-10-14  5:30 ` Lars Ingebrigtsen
2019-10-14  5:47   ` 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).