unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Undocumented hyperlinks in doc strings.
Date: Tue, 14 Oct 2003 20:38:32 -0500 (CDT)	[thread overview]
Message-ID: <200310150138.h9F1cWg10456@raven.dms.auburn.edu> (raw)
In-Reply-To: <jwvu16bfslo.fsf-monnier+emacs/devel@vor.iro.umontreal.ca> (message from Stefan Monnier on 14 Oct 2003 17:03:45 -0400)

Stefan Monnier wrote:

   It's a fundamental problem that the convention leads to ambiguities
   that only a human being can resolve.

That could be mended by a slight change in the current standard
(which, to me, means: "as recommended in the Elisp manual") way of
commenting out code, which I proposed in an earlier message: follow
the semicolons by a single space if the line is meant to be a heading
line and by at least two spaces otherwise.  Anyway, in as far as I am
concerned, one could stay with the current standard as is, or add my
proposed modification, or change to your proposed convention, I do not
mind either way, as long as the actual chosen standard is accurately
and clearly documented in the Elisp manual.

I want to concentrate on the commented out code in `help-make-xrefs'
which according to me is should simply be deleted:

                         ((match-string 7)
! ;;; this used:
! ;;;                     #'(lambda (arg)
! ;;;                         (let ((location
! ;;;                                (find-function-noselect arg)))
! ;;;                           (pop-to-buffer (car location))
! ;;;                           (goto-char (cdr location))))
                          (help-xref-button 8 'help-function-def sym))

The "commented out code" is actually not code "commented out in
place", but the old second argument to `help-xref-button', which, at
the time, also required an extra fourth argument.  This got replaced
in revision 1.232 to help.el by the current second argument
'help-function-def.  I believe the "commented out code" has been
obsolete for more than two years by now.  Why keep it?  If we
systematically kept old code around like this and never deleted it,
source files would quickly become bloated and hard to read.

Sincerely,

Luc.

  reply	other threads:[~2003-10-15  1:38 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09  0:50 Undocumented hyperlinks in doc strings Luc Teirlinck
2003-10-09 21:16 ` Richard Stallman
2003-10-10  3:27   ` Luc Teirlinck
2003-10-10 14:14     ` Stefan Monnier
2003-10-10 15:31       ` Luc Teirlinck
2003-10-10 16:29         ` Luc Teirlinck
2003-10-10 17:23         ` Stefan Monnier
2003-10-10 18:21           ` Luc Teirlinck
2003-10-10 19:24             ` Stefan Monnier
2003-10-11 17:12       ` Richard Stallman
2003-10-14 21:03         ` Stefan Monnier
2003-10-15  1:38           ` Luc Teirlinck [this message]
2003-10-15 20:00             ` Richard Stallman
2003-10-15 23:52               ` Luc Teirlinck
2003-10-16 23:06                 ` Richard Stallman
2003-10-16 14:06             ` Richard Stallman
2003-10-17  3:32               ` Luc Teirlinck
2003-10-17 13:47                 ` Stefan Monnier
2003-10-18 23:06                   ` Richard Stallman
2003-10-19  1:14                     ` Luc Teirlinck
2003-10-20  1:48                       ` Richard Stallman
2003-10-20  2:24                         ` Luc Teirlinck
2003-10-20 14:44                           ` Stefan Monnier
2003-10-20 15:22                             ` Luc Teirlinck
2003-10-21 14:47                             ` Richard Stallman
2003-10-11  5:36     ` Richard Stallman
2003-10-12  3:34       ` Luc Teirlinck
2003-10-13  5:03         ` Richard Stallman
2003-10-14  3:23           ` Luc Teirlinck
2003-10-17 20:46             ` Richard Stallman
2003-10-17 23:30               ` Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200310150138.h9F1cWg10456@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).