From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3312: 23.0.93; Use punctuation syntax for apostrophe in Info Date: Sun, 17 May 2009 08:50:50 -0600 Message-ID: References: <000001c9d672$0f3f1ce0$0200a8c0@us.oracle.com> Reply-To: Kevin Rodgers , 3312@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242573137 18140 80.91.229.12 (17 May 2009 15:12:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 May 2009 15:12:17 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 17 17:12:10 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M5i25-00062t-VF for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 May 2009 17:12:10 +0200 Original-Received: from localhost ([127.0.0.1]:51074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5i24-0007BP-Ry for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 May 2009 11:12:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5i20-0007B3-4V for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 11:12:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5i1v-0007A7-Bf for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 11:12:03 -0400 Original-Received: from [199.232.76.173] (port=36531 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5i1v-00079z-7I for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 11:11:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33866) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5i1u-0001kg-PI for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 11:11:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4HFBunE032380; Sun, 17 May 2009 08:11:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4HEt6HE026519; Sun, 17 May 2009 07:55:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kevin Rodgers Original-Sender: news Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 17 May 2009 14:55:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3312 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124257188626142 (code B ref -1); Sun, 17 May 2009 14:55:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 May 2009 14:51:26 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4HEpKmE026133 for ; Sun, 17 May 2009 07:51:23 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5hhw-0004oo-J2 for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 10:51:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5hhq-0004nX-9m for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 10:51:18 -0400 Original-Received: from [199.232.76.173] (port=51809 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5hhq-0004nU-48 for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 10:51:14 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:38950 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5hhp-00065Y-II for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 10:51:13 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M5hhm-0003kK-SV for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 14:51:10 +0000 Original-Received: from c-67-190-36-32.hsd1.co.comcast.net ([67.190.36.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 May 2009 14:51:10 +0000 Original-Received: from kevin.d.rodgers by c-67-190-36-32.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 May 2009 14:51:10 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-190-36-32.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) In-Reply-To: <000001c9d672$0f3f1ce0$0200a8c0@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 17 May 2009 11:12:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27919 gmane.emacs.pretest.bugs:24435 Archived-At: Drew Adams wrote: > I don't know much about text-mode, but I wonder if even there it might > make sense for ' to have syntax class `punctuation' instead of > `word'. Probably the answer is "no", or that would already be the > case. ;-) > > I see this in `text-mode.el': > ;; We add `p' so that M-c on 'hello' leads to 'Hello' > ;; rather than 'hello'. > (modify-syntax-entry ?' "w p" st) > > That explains why p was added, but not why ' should have syntax class > w at all. Again, there probably is a good reason, but I don't know > what it is. After changing the syntax to punctuation, M-c still seems > to act as desired on 'hello'. FWIW, I've got this in my ~/.emacs: (add-hook 'text-mode-hook (defun text-mode-punctuation-syntax () ;; Change non-letter characters from word syntax to punctuation: (modify-syntax-entry ?\240 ".") ; NO-BREAK SPACE (modify-syntax-entry ?' "."))) ; APOSTROPHE -- Kevin Rodgers Denver, Colorado, USA