[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax-table for info
From: |
Kim F. Storm |
Subject: |
Re: syntax-table for info |
Date: |
Wed, 07 Mar 2007 11:27:18 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
Nick Roberts <address@hidden> writes:
> > Frequently when I want to search for a another occurrence of a word I
> > type C-s C-s but this picks up the apostrophe (') at the end of the
> > word. It would make things easier if the syntax table in Info was
> > modified so that the apostrophe was regarded as punctuation rather than
> > word.
> >
> > The reason ' is treated as part of a word is for the sake of M-f.
> > I don't think we should change that.
> >
> > I do not understand what you mean by "picks up the apostrophe at the
> > end of the word".
>
> I mean if you're looking at:
>
> `C-k'
> Kill to the end of the line (`kill-line').
>
> and you want to see if the manual says anything else about kill-line. Then
> putting the cursor on the last k and doing C-s C-s makes i-search search for
> kill-line'.
> ^
Likewise, if you position the cursor there, and does M-x lgrep to grep for
all occurrence of kill-line, the default grep pattern also includes the
terminating '. I've been annoyed by that many times.
> I guess I never use M-f, but I notice that the help buffer treats apostrophes
> as punctuation.
I can see that this is useful to skip words like "don't" .. but in the
special case of `...' it is clearly the wrong thing to do.
But this is not the time to fix this.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- syntax-table for info, Nick Roberts, 2007/03/06
- Re: syntax-table for info, Richard Stallman, 2007/03/06
- Re: syntax-table for info, Nick Roberts, 2007/03/06
- Re: syntax-table for info,
Kim F. Storm <=
- Re: syntax-table for info, Richard Stallman, 2007/03/07
- Re: syntax-table for info, Stefan Monnier, 2007/03/07
- Re: syntax-table for info, Nick Roberts, 2007/03/07
- Re: syntax-table for info, Kim F. Storm, 2007/03/08
- Re: syntax-table for info, martin rudalics, 2007/03/08
- Re: syntax-table for info, Richard Stallman, 2007/03/08