unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: wohler@newt.com, emacs-devel@gnu.org
Subject: Re: Support find-tag in Info-mode
Date: Sat, 05 Nov 2005 11:45:34 +0200	[thread overview]
Message-ID: <87k6fns9do.fsf@jurta.org> (raw)
In-Reply-To: <E1EY5Lf-0006nd-NV@fencepost.gnu.org> (Richard M. Stallman's message of "Fri, 04 Nov 2005 12:27:31 -0500")

>     Try to use M-. on `foo' in Info-mode and you get the error,
>     "Can't find tag foo'.
>
>     I have little experience with syntax entries, but the following
>     fixes find-tag at the expense of losing the ability to consider
>     a contraction as part of the same word:
>
> 	(add-hook 'Info-mode-hook
> 		  '(lambda ()
> 		     (modify-syntax-entry ?' "'   ")))
>
> This would make M-f and M-b work badly, so it certainly is not a good
> idea.

It makes M-f and M-b work badly only for contractions like "it's", "don't".
But in Info manuals apostrophes are no less frequently used as a right
single quotation mark.  Since contractions are rare on word boundaries
in English, then what about treating ' as part of the same word only
when both its adjacent characters have word syntax?

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

  reply	other threads:[~2005-11-05  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-03 19:06 Support find-tag in Info-mode Bill Wohler
2005-11-04 17:27 ` Richard M. Stallman
2005-11-05  9:45   ` Juri Linkov [this message]
2005-11-05 23:43     ` Richard M. Stallman

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=87k6fns9do.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=wohler@newt.com \
    /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).