unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Arash <pbqbqp@gmail.com>
Cc: 23705@debbugs.gnu.org
Subject: bug#23705: 25.0.94; Upper-case abbrev expansion doesn't work with subword-mode enabled
Date: Tue, 07 Jun 2016 17:51:35 -0400	[thread overview]
Message-ID: <jdporsr7ko.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <86ziqyn5u9.fsf@gmail.com> (Arash's message of "Mon, 06 Jun 2016 11:48:06 +0430")

Arash wrote:

> If I evalulate this in `emacs -Q' with subword-mode enabled, 8G won't expand:
>
> (define-abbrev-table 'c++-mode-abbrev-table
>   '(("8g" "struct" nil 0)
>     ("8G" "class" nil 0)))

Ref http://debbugs.gnu.org/17558#25

"Someone" needs to change instances of -word in abbrev.el to -word-strictly.
Perhaps just abbrev--before-point is enough. But who knows.





  reply	other threads:[~2016-06-07 21:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06  7:18 bug#23705: 25.0.94; Upper-case abbrev expansion doesn't work with subword-mode enabled Arash
2016-06-07 21:51 ` Glenn Morris [this message]
2016-06-08  2:40   ` Eli Zaretskii
2016-06-09 15:01     ` Arash
2016-06-09 15:06       ` Eli Zaretskii
2016-06-18 18:22         ` Eli Zaretskii
2016-06-23 17:17           ` Glenn Morris
2016-07-06  8:01             ` Arash
2016-07-06 14:56               ` Eli Zaretskii
2016-07-07  1:14                 ` Arash
2016-07-07 19:58                   ` Eli Zaretskii

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=jdporsr7ko.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=23705@debbugs.gnu.org \
    --cc=pbqbqp@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 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).