unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95
@ 2009-07-02 18:24 MON KEY
  2009-07-03  2:40 ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: MON KEY @ 2009-07-02 18:24 UTC (permalink / raw)
  To: emacs-pretest-bug

pretests 23.0.92.1 thru 23.0.95

documentation of args to `documentation-property' differ info<-->help&src

C-h f documentation-property
=> "(documentation-property symbol prop &optional raw)"

(info "(elisp)Accessing Documentation")
=>  "-- Function: documentation-property symbol property &optional verbatim"

-----------------------------------------------
../emacs-23.0.95/info/elisp-5  @lines 2258-2261

"24.2 Access to Documentation Strings
====================================

 -- Function: documentation-property symbol property &optional verbatim"

------------------------------------------
../emacs-23.0.95/src/doc.c  @lines 475-476

"  (symbol, prop, raw)
     Lisp_Object symbol, prop, raw;"





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

* bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95
  2009-07-02 18:24 bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95 MON KEY
@ 2009-07-03  2:40 ` Glenn Morris
  2009-07-03  4:35   ` MON KEY
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2009-07-03  2:40 UTC (permalink / raw)
  To: MON KEY; +Cc: 3740

MON KEY wrote:

> documentation of args to `documentation-property' differ info<-->help&src
>
> C-h f documentation-property
> => "(documentation-property symbol prop &optional raw)"
>
> (info "(elisp)Accessing Documentation")
> =>  "-- Function: documentation-property symbol property &optional verbatim"

If your point is, they use different names for some of the arguments,
this is of no importance.





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

* bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95
  2009-07-03  2:40 ` Glenn Morris
@ 2009-07-03  4:35   ` MON KEY
  2009-07-03  6:46     ` martin rudalics
  2009-07-04 23:16     ` Glenn Morris
  0 siblings, 2 replies; 7+ messages in thread
From: MON KEY @ 2009-07-03  4:35 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 3740

On Thu, Jul 2, 2009 at 10:40 PM, Glenn Morris<rgm@gnu.org> wrote:
>
> If your point is, they use different names for some of the arguments,
> this is of no importance.
>

Blech.

 I have no point other than to indicate that there is a discrepancy.

It is *important* enough that I noticed the discrepancy when trying to
_understand_ what the function does!

The discrepancy - however trivial it  may be to _you_ - is none the
less a discrepancy.

Surely you don't hold this view for _all_ functions.

Should one assume that consistent indication of the args to a function
is of no importance across the board - or does this apply only for
this particular inconsistency?

Some pigs are more equal than others i guess...

s_P





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

* bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95
  2009-07-03  4:35   ` MON KEY
@ 2009-07-03  6:46     ` martin rudalics
  2009-07-03 23:42       ` MON KEY
  2009-07-04 23:16     ` Glenn Morris
  1 sibling, 1 reply; 7+ messages in thread
From: martin rudalics @ 2009-07-03  6:46 UTC (permalink / raw)
  To: MON KEY, 3740

 > The discrepancy - however trivial it  may be to _you_ - is none the
 > less a discrepancy.
 >
 > Surely you don't hold this view for _all_ functions.
 >
 > Should one assume that consistent indication of the args to a function
 > is of no importance across the board - or does this apply only for
 > this particular inconsistency?

The current Elisp reference manual features more than 500 such
discrepancies.  Most of them would have to be fixed by changing the
specification, not the manual.  Changing the specification means check
for name clashes, reindent code, refill doc-strings and comments,
recompile, rebuild.  Doing this manually would get people busy for quite
some time.

martin





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

* bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95
  2009-07-03  6:46     ` martin rudalics
@ 2009-07-03 23:42       ` MON KEY
  0 siblings, 0 replies; 7+ messages in thread
From: MON KEY @ 2009-07-03 23:42 UTC (permalink / raw)
  To: martin rudalics; +Cc: 3740

On Fri, Jul 3, 2009 at 2:46 AM, martin rudalics<rudalics@gmx.at> wrote:
> The current Elisp reference manual features more than 500 such
> {...}
> recompile, rebuild.  Doing this manually would get people busy for quite
> some time.

Sure, but this particular case is significant in a way that other +/-
499 might not be;
`documentation-property' relates to the documentation of documentation.

Me: "How shall I get at a symbol's documentation?"
Me to myself: "RTFM!"
Me: "Manual doesn't agree with source..."
Me to myself: "Hrmmm... well, FTFM!"

Getting to discrepancies like this one is _kinda_ important.

Again, in this _particular_ situation this is not simply a discrepancy
but a fundamental inconsistency w/re to Emacs.

I understand that this particular situation may pose a bootstrapping
issue. However, if that is the case then it certainly doesn't hold
that the 'discrepancy'  is of "no importance".

What exactly does it say that the one true self documenting editor
can't/won't correctly self document the very documentation of how it
self documents?

Actually - on second thought - disregard the previous rhetorical
question its not of any importance...

> martin
s_P





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

* bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95
  2009-07-03  4:35   ` MON KEY
  2009-07-03  6:46     ` martin rudalics
@ 2009-07-04 23:16     ` Glenn Morris
  2009-07-04 23:20       ` Processed: " Emacs bug Tracking System
  1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2009-07-04 23:16 UTC (permalink / raw)
  To: MON KEY; +Cc: 3740, control

severity 3740 minor
tags 3740 wontfix
stop

MON KEY wrote:

> Surely you don't hold this view for _all_ functions.

Yep. When one writes a function, one tends to use short variable names
(`prop'), when one documents it in a manual, one might want to use
more descriptive argument names (`properties'). They're just dummy
variables, it doesn't matter to me what they are called.





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

* Processed: Re: bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95
  2009-07-04 23:16     ` Glenn Morris
@ 2009-07-04 23:20       ` Emacs bug Tracking System
  0 siblings, 0 replies; 7+ messages in thread
From: Emacs bug Tracking System @ 2009-07-04 23:20 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs Bugs

Processing commands for control@emacsbugs.donarmstrong.com:

> severity 3740 minor
bug#3740: documentation of args to `documentation-property' differ  info<-->docstring on 23.0.92.1 thru 23.0.95
Severity set to `minor' from `normal'

> tags 3740 wontfix
bug#3740: documentation of args to `documentation-property' differ  info<-->docstring on 23.0.92.1 thru 23.0.95
There were no tags set.
Tags added: wontfix

> stop
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




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

end of thread, other threads:[~2009-07-04 23:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 18:24 bug#3740: documentation of args to `documentation-property' differ info<-->docstring on 23.0.92.1 thru 23.0.95 MON KEY
2009-07-03  2:40 ` Glenn Morris
2009-07-03  4:35   ` MON KEY
2009-07-03  6:46     ` martin rudalics
2009-07-03 23:42       ` MON KEY
2009-07-04 23:16     ` Glenn Morris
2009-07-04 23:20       ` Processed: " Emacs bug Tracking System

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