all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Kevin Ryde <user42@zip.com.au>
Cc: 6206-done@debbugs.gnu.org, Andreas Schwab <schwab@linux-m68k.org>
Subject: bug#6206: 23.1; docstring info node links with newlines
Date: Fri, 21 May 2010 02:57:52 +0300	[thread overview]
Message-ID: <87hbm22ld9.fsf@mail.jurta.org> (raw)
In-Reply-To: <871vd7wk35.fsf@blah.blah> (Kevin Ryde's message of "Thu, 20 May 2010 09:25:02 +1000")

>> Should this also handle indentation?  (Info generally does.)
>
> I suppose indentation would be unusual in a docstring, but it could be
> worth letting anything help-xref-info-regexp matches work.  Perhaps runs
> of whitespace,
>
>     (replace-regexp-in-string "\\s-+" " " data t t)

This doesn't work because `help-make-xrefs' uses
`emacs-lisp-mode-syntax-table' where \n is not whitespace.

You can try to eval in a buffer with emacs-lisp-mode:

  (replace-regexp-in-string "\\s-+" " " "(gnus)Group\nLevels" t t)
  => "(gnus)Group\nLevels"

So I installed your patch with "[ \t\n]+".

-- 
Juri Linkov
http://www.jurta.org/emacs/





      reply	other threads:[~2010-05-20 23:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  0:46 bug#6206: 23.1; docstring info node links with newlines Kevin Ryde
2010-05-18  9:01 ` Andreas Schwab
2010-05-19 23:25   ` Kevin Ryde
2010-05-20 23:57     ` Juri Linkov [this message]

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=87hbm22ld9.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=6206-done@debbugs.gnu.org \
    --cc=schwab@linux-m68k.org \
    --cc=user42@zip.com.au \
    /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.