From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
Cc: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>,
emacs-devel@gnu.org
Subject: Re: No doc strings from DOC
Date: Wed, 03 Apr 2002 12:32:35 -0500 [thread overview]
Message-ID: <200204031732.g33HWZB12533@rum.cs.yale.edu> (raw)
In-Reply-To: 20020403190611.3944.LEKTU@terra.es
>
> On Wed, 03 Apr 2002 12:04:57 -0500, "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu> wrote:
>
> > Still with the code I just committed ?
>
> Are you talking of
>
> ! if (EQ (tem, make_number (0))
> ! tem = Qnil;
> ! if (INTEGERP (doc) || CONSP (doc))
>
> and
>
> ! if (EQ (tem, make_number (0))
> ! tem = Qnil;
> ! if (INTEGERP (tem) || (CONSP (tem) && INTEGERP (XCDR (tem))))
>
> I suppose? Then, the answer is yes.
Huh!
> Without that patch I got an error when doing C-h f set-fill-column, for
> example. With it I just get the error if I do C-h f set-fill-column and
> answer "no" to the reloading question. If I answer "yes", the help for
The question is "why do you get a reloading question" ?
> the function is displayed, but it says "not documented".
But you don't get "Wrong type argument: stringp, 0" any more, right ?
And you did say earlier that you already got "not documented" before
my changes to doc.c, right ?
So the only change left is that you get prompted for reload.
Do I understand it right?
> > If so, can you give me a recipe ?
> No, I don't know what's happening.
You might be right that the problem has to do with EOL.
If you get a reloading question that means that Emacs has a proper
file-offset to the docstring but that when it looks it up it
decides that the offset is bogus.
Could you try to put a breakpoint on get_doc_string and see what's
happening there ?
You could for example see the value of `filepos' and then
look up the DOC-X file to see where that points to and maybe
you'll get some idea about what's wrong.
Stefan
next prev parent reply other threads:[~2002-04-03 17:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-03 11:10 No doc strings from DOC Juanma Barranquero
2002-04-03 15:45 ` Juanma Barranquero
2002-04-03 19:14 ` Stefan Monnier
2002-04-03 16:18 ` Stefan Monnier
2002-04-03 16:58 ` Juanma Barranquero
2002-04-03 17:04 ` Stefan Monnier
2002-04-03 17:11 ` Juanma Barranquero
2002-04-03 17:32 ` Stefan Monnier [this message]
2002-04-04 8:27 ` Juanma Barranquero
2002-04-04 14:51 ` Juanma Barranquero
2002-04-04 18:09 ` Jason Rumney
2002-04-04 18:13 ` Stefan Monnier
2002-04-10 11:21 ` Juanma Barranquero
2002-04-10 16:36 ` Stefan Monnier
2002-04-10 20:19 ` Jason Rumney
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200204031732.g33HWZB12533@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.