From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov 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 21:59:59 +0300 Organization: JURTA Message-ID: <87ljovr1dp.fsf@mail.jurta.org> References: <000001c9d672$0f3f1ce0$0200a8c0@us.oracle.com> Reply-To: Juri Linkov , 3312@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242588769 28167 80.91.229.12 (17 May 2009 19:32:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 May 2009 19:32:49 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 3312@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 17 21:32:41 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 1M5m6C-0006mK-If for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 May 2009 21:32:41 +0200 Original-Received: from localhost ([127.0.0.1]:53572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5m6C-0000pZ-22 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 May 2009 15:32:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5m5f-0000Rv-91 for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 15:32:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5m5a-0000Oc-D5 for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 15:32:06 -0400 Original-Received: from [199.232.76.173] (port=53605 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5m5Z-0000O1-0I for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 15:32:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46719) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5m5Y-0002Fm-9k for bug-gnu-emacs@gnu.org; Sun, 17 May 2009 15:32:00 -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 n4HJVuUI011865; Sun, 17 May 2009 12:31:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4HJKBV2007921; Sun, 17 May 2009 12:20:11 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 17 May 2009 19:20:11 +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 3312-submit@emacsbugs.donarmstrong.com id=B3312.12425877246928 (code B ref 3312); Sun, 17 May 2009 19:20:11 +0000 Original-Received: (at 3312) by emacsbugs.donarmstrong.com; 17 May 2009 19:15:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4HJFHVh006917 for <3312@emacsbugs.donarmstrong.com>; Sun, 17 May 2009 12:15:18 -0700 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1M5lpL-0002Ia-OG; Sun, 17 May 2009 22:15:15 +0300 In-Reply-To: <000001c9d672$0f3f1ce0$0200a8c0@us.oracle.com> (Drew Adams's message of "Sat, 16 May 2009 15:02:51 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (x86_64-pc-linux-gnu) X-Scanner-Signature: 308c5668300cb665e09cc4617523e4c8 X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 17 May 2009 15:32:06 -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:27929 gmane.emacs.pretest.bugs:24442 Archived-At: > If this makes sense for all Info manuals, then a simple fix would > presumably be to change this (in the definition of `info-mode'): > > (set-syntax-table text-mode-syntax-table) > > To this: > > (set-syntax-table > (copy-syntax-table text-mode-syntax-table)) > (modify-syntax-entry ?' ".") >From my .emacs: (add-hook 'Info-mode-hook (lambda () (let ((st (copy-syntax-table text-mode-syntax-table))) (modify-syntax-entry ?' "." st) (set-syntax-table st)))) So this is a real problem for Info manuals. > 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. ;-) AFAIK, the apostrophe has word syntax in text-mode to allow treating word contractions as one word (can't, it's, I'll). I don't know whether this is grammatically correct or not but at least the Unicode says that the category of the apostrophe is Punctuation, so perhaps we should change apostrophe syntax to punctuation in text-mode as well. -- Juri Linkov http://www.jurta.org/emacs/