unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23071: 25.0.90; doc string of `global-eldoc-mode'
@ 2016-03-20 19:45 Drew Adams
  2016-04-30 23:08 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2016-03-20 19:45 UTC (permalink / raw)
  To: 23071

This is surely incorrect, according to the code:

 "Enable 'eldoc-mode' in all buffers where it's applicable."

The command `global-eldoc-mode' is a toggle.  It does not _enable_
`eldoc-mode' in all "applicable" buffers; it toggles whether they are
enabled.

Also, the doc string should say what it means by "applicable" buffers
for Eldoc mode.  So far, the doc string is less than helpful - actually
harmful.


In GNU Emacs 25.0.90.3 (i686-w64-mingw32)
 of 2016-03-19
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --host=i686-w64-mingw32 --without-dbus 'CFLAGS=-static
 -static-libgcc' LDFLAGS=-static-libgcc'





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

* bug#23071: 25.0.90; doc string of `global-eldoc-mode'
  2016-03-20 19:45 bug#23071: 25.0.90; doc string of `global-eldoc-mode' Drew Adams
@ 2016-04-30 23:08 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 23:08 UTC (permalink / raw)
  To: Drew Adams; +Cc: 23071

Drew Adams <drew.adams@oracle.com> writes:

> This is surely incorrect, according to the code:
>
>  "Enable 'eldoc-mode' in all buffers where it's applicable."
>
> The command `global-eldoc-mode' is a toggle.  It does not _enable_
> `eldoc-mode' in all "applicable" buffers; it toggles whether they are
> enabled.
>
> Also, the doc string should say what it means by "applicable" buffers
> for Eldoc mode.  So far, the doc string is less than helpful - actually
> harmful.

I've now fixed these two things.

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





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

end of thread, other threads:[~2016-04-30 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-20 19:45 bug#23071: 25.0.90; doc string of `global-eldoc-mode' Drew Adams
2016-04-30 23:08 ` 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).