From: Jambunathan K <kjambunathan@gmail.com>
To: Raffaele Ricciardi <rfflrccrd@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Symbols as words?
Date: Sun, 26 Aug 2012 21:24:49 +0530 [thread overview]
Message-ID: <87harpabsm.fsf@gmail.com> (raw)
In-Reply-To: <503A36E5.1040005@gmail.com> (Raffaele Ricciardi's message of "Sun, 26 Aug 2012 15:47:01 +0100")
Raffaele Ricciardi <rfflrccrd@gmail.com> writes:
> On 26/08/12 15:35, Jude DaShiell wrote:
>> abbrev-mode might work in this case once a dictionary of abbreviations
>> is built or downloaded if available.
>
> Thank you for your help, but that is not what I'm looking for. I'm looking
> for a way to make commands that work on words - e.g. `forward-word',
> `backward-word', `kill-word', etc. - work on symbols instead.
(add-hook 'c-mode-hook
(lambda ()
(modify-syntax-entry ?_ "w")))
,---- From (info "(elisp) Syntax Class Table")
| Symbol constituents: `_'
| Extra characters used in variable and command names along with word
| constituents. Examples include the characters `$&*+-_<>' in Lisp
| mode, which may be part of a symbol name even though they are not
| part of English words. In standard C, the only
| non-word-constituent character that is valid in symbols is
| underscore (`_').
`----
>
>
--
next prev parent reply other threads:[~2012-08-26 15:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-26 14:16 Symbols as words? Raffaele Ricciardi
2012-08-26 14:35 ` Jude DaShiell
2012-08-26 14:47 ` Raffaele Ricciardi
2012-08-26 15:54 ` Jambunathan K [this message]
2012-08-26 18:12 ` Pascal J. Bourguignon
2012-08-27 13:57 ` Raffaele Ricciardi
2012-08-27 14:53 ` Pascal J. Bourguignon
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=87harpabsm.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=rfflrccrd@gmail.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 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.