From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.help Subject: Re: Using punctuation in abbrev Date: Sun, 2 Jun 2013 19:00:43 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1370192468 2719 80.91.229.3 (2 Jun 2013 17:01:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2013 17:01:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 02 19:01:08 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjBeW-0000BL-0u for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jun 2013 19:01:08 +0200 Original-Received: from localhost ([::1]:54529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjBeV-0000iu-Kk for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jun 2013 13:01:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjBe9-0000hv-NA for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 13:00:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjBe8-0002Ii-Rt for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 13:00:45 -0400 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:55231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjBe8-0002IT-Jh for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 13:00:44 -0400 Original-Received: by mail-lb0-f169.google.com with SMTP id 10so3082712lbf.14 for ; Sun, 02 Jun 2013 10:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=IITZ7HjKrP4OV0kxmBHr2h5kXl9qx+I+W4TZW+ha9gk=; b=beVWeb/i8+QK4Hr3y7IW1FIBhaQgjottmCg9v7vemgUTmPtY/Nh0i7ckgKIENgWBYK aOK4GD7k8cGCrWrIsLWM8UOjQMew5VGepnpDfa5eip8xorpc9Mu9lVY+sl7BZjuepOII RDbxnJyPHdHjCa2dlkQUv6etfAykmRY1rEkQAguhYS+f0hUrGiqVrVwJk9BhPT3QGK2R D15/F+WZOl1qNaeTyQ0cF9ZI5RxNbNJt0gO+P+32qIGCfJM8AbiG2rmm4qcsVFGhwGfw ozZ/iPHfKH9NL5ffvd1wx7uNZnLqtofb8JJVVe5JKQRh3ap77XMG01LX4dU5wUZVfagc E2IA== X-Received: by 10.112.60.195 with SMTP id j3mr9147582lbr.37.1370192443417; Sun, 02 Jun 2013 10:00:43 -0700 (PDT) Original-Received: by 10.114.91.201 with HTTP; Sun, 2 Jun 2013 10:00:43 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: oRnfEzazihYBM5Zl27yoakvw0Ic X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91232 Archived-At: On Sun, Jun 2, 2013 at 4:24 PM, Stefan Monnier wrote: > Actually, if you call M-x expand-abbrev RET explicitly, you'll see they > all work. What doesn't work for the first two is the "press space after > it to cause expansion", because this is only performed right after > a word char (hence it works for "$foo" because the last char is a word > char). I see, thanks. I've just looked at it: it's done in src/cmds.c:434 so behavior can't be changed from Lisp, too bad.