From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: making curly apostrophe part of a word Date: Fri, 06 Sep 2013 10:47:49 +0800 Message-ID: <877geud5t6.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1378435655 26150 80.91.229.3 (6 Sep 2013 02:47:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2013 02:47:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 06 04:47:37 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 1VHm5A-00050A-Kp for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Sep 2013 04:47:36 +0200 Original-Received: from localhost ([::1]:34801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHm5A-0001bi-Ai for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 22:47:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHm4t-0001Xb-QT for help-gnu-emacs@gnu.org; Thu, 05 Sep 2013 22:47:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHm4m-00072h-H5 for help-gnu-emacs@gnu.org; Thu, 05 Sep 2013 22:47:19 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:35633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHm4m-00072d-AA for help-gnu-emacs@gnu.org; Thu, 05 Sep 2013 22:47:12 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VHm4k-0004rR-5T for help-gnu-emacs@gnu.org; Fri, 06 Sep 2013 04:47:10 +0200 Original-Received: from 114.252.245.6 ([114.252.245.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Sep 2013 04:47:10 +0200 Original-Received: from eric by 114.252.245.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Sep 2013 04:47:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.252.245.6 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:R5NdYNiG+z3y4D8uO9yQjwTPfho= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:93276 Archived-At: In certain modes (actually just certain files) I'd like the `’' character to be treated the same as a `'' character with respect to word movement: ie I'd like M-f to skip over the entirety of both "don't" and "don’t". I'm editing externally-created files, and don't have the liberty of changing this. I thought this would do it: (modify-syntax-entry ?’ "w") To give the quote character word syntax, but word-level commands still treat it as a word boundary. Looking at describe-syntax, it appears to have the same status as regular old `'' (apart from the "p" flag, which I don't think is relevant). What am I doing wrong? Thanks! E