From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: making curly apostrophe part of a word Date: Fri, 06 Sep 2013 12:37:26 +0200 Message-ID: <5229B066.3020105@easy-emacs.de> References: <877geud5t6.fsf@ericabrahamsen.net> <5229A58D.7080600@easy-emacs.de> <87mwnq9sq5.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1378463762 15413 80.91.229.3 (6 Sep 2013 10:36:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2013 10:36:02 +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 12:36:05 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 1VHtOW-0006HS-KP for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Sep 2013 12:36:04 +0200 Original-Received: from localhost ([::1]:36492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHtOW-00010o-0s for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Sep 2013 06:36:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHtO4-0000zp-UL for help-gnu-emacs@gnu.org; Fri, 06 Sep 2013 06:35:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHtNy-0001QC-Oo for help-gnu-emacs@gnu.org; Fri, 06 Sep 2013 06:35:36 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:63795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHtNy-0001Pu-Fl for help-gnu-emacs@gnu.org; Fri, 06 Sep 2013 06:35:30 -0400 Original-Received: from purzel.sitgens (brln-4db90e96.pool.mediaWays.net [77.185.14.150]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0Lg0Wh-1Vkb9f3nnn-00pbhD; Fri, 06 Sep 2013 12:35:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <87mwnq9sq5.fsf@ericabrahamsen.net> X-Provags-ID: V02:K0:BtabGa4pd00Zvuo7lWhesBSs53mIM9djUs3y15QrNfq eEDKjMLbXetHhXauevVn7IY20QrVVMU1Q9Hn157APYlRLyaZ/t JAF75BKa+Cj52oUNzBcbe2ThRPc63PDNvpdrBNTN5n2EnSp8W1 RScNJIMEjpbWUfKA3kurruUr3dJeCXbtUI50QQTOe+wjMH4wIe DWyaWvgmgHplic2iipDqIo2sRA/aZHf+96kmcP3JKt3MbZeTbw BjcjknHIXqMMG3hpaneaoDY7pyO8UgtUXq+AZRTrCeVPGmNIch opYWG9VCz4ghBdHJu4grvbqhzpiaGechyzAqDQytRMv82tq1Cg dSJH9O1dP+aXXQmDtO711giRxyAZOqx4R4oZ8FowJ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.10 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:93287 Archived-At: Am 06.09.2013 11:58, schrieb Eric Abrahamsen: > Andreas Röhler writes: > >> Am 06.09.2013 04:47, schrieb Eric Abrahamsen: >>> 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") >>> >> >> Works for me in current buffer. `forward-word' passes as expected. >> Which command fails for you? > > `forward-word' fails... Hang on, I'll do the emacs -Q dance and see > what's going on. This was originally in an html-mode buffer, but I don't > see why that would matter as long as no third argument was passed to > `modify-syntax-entry'. > > Thanks, > E > > > It affects the current buffer only, not the mode in other buffers when done that way - maybe that's it? Cheers