From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Jump to autoconf macro documentation
Date: Sun, 30 Jan 2011 17:03:12 +0100 [thread overview]
Message-ID: <m17hdm1irj.fsf@82-089.eduroam.rwth-aachen.de> (raw)
In-Reply-To: AANLkTinz0jQjW=Bmk_=n+wzJ9gBZ8X8PsxsVuNzuvwW+@mail.gmail.com
Le Wang <l26wang@gmail.com> writes:
> You want to change the syntax table to rexognize ?_ as a word constituent.
> see http://www.emacswiki.org/emacs/EmacsSyntaxTable
> (defvar my-wacky-syntax-table
> (modify-syntax-entry ?_ "w" (make-syntax-table)))
> (defun get-word ()
> (interactive)
> (message "%s"
> (with-syntax-table my-wacky-syntax-table
> (thing-at-point 'word))))
> I don't know much about info, but "g" is bound to `Info-goto-node'
Ah thanks a lot!
I changed to this because my-wacky-syntax-table was nil
(setq my-wacky-syntax-table (make-syntax-table))
(modify-syntax-entry ?_ "w" my-wacky-syntax-table)
(defun get-autoconf-word ()
(interactive)
(message "%s"
(with-syntax-table my-wacky-syntax-table
(thing-at-point 'word))))
But it works :)
About Info I also thought about "g", but what "g" does is just jump in
the right section, if I do
M-: RET (Info-goto-node "Autoconf")
from a info buffer where I see the entry "Autoconf"
I get:
byte-code: No such node or anchor: Autoconf
next prev parent reply other threads:[~2011-01-30 16:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-30 10:47 Jump to autoconf macro documentation Andrea Crotti
2011-01-30 15:09 ` Le Wang
2011-01-30 16:03 ` Andrea Crotti [this message]
2011-01-30 16:09 ` Thien-Thi Nguyen
2011-01-30 16:16 ` Kevin Rodgers
2011-01-30 17:31 ` Andrea Crotti
2011-01-31 0:02 ` Andrea Crotti
2011-01-31 0:46 ` Le Wang
2011-01-31 10:18 ` Andrea Crotti
2011-01-31 10:31 ` Thien-Thi Nguyen
2011-01-31 22:11 ` Kevin Rodgers
[not found] <mailman.1.1296384469.21090.help-gnu-emacs@gnu.org>
2011-01-31 16:14 ` Stefan Monnier
2011-01-31 23:19 ` Andrea Crotti
2011-02-01 15:24 ` Oleksandr Gavenko
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=m17hdm1irj.fsf@82-089.eduroam.rwth-aachen.de \
--to=andrea.crotti.0@gmail.com \
--cc=help-gnu-emacs@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.
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).