From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6411: Ispell string or comment Date: Sat, 12 Jun 2010 19:57:43 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016e68deb903ca2340488d8ffb7 X-Trace: dough.gmane.org 1276367313 18179 80.91.229.12 (12 Jun 2010 18:28:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Jun 2010 18:28:33 +0000 (UTC) To: 6411@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 12 20:28:31 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1ONVRW-0008Cz-Rb for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jun 2010 20:28:31 +0200 Original-Received: from localhost ([127.0.0.1]:51198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONVRW-0003L6-7e for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jun 2010 14:28:30 -0400 Original-Received: from [140.186.70.92] (port=38545 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONVRP-0003Ix-RI for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 14:28:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONVRO-0004M2-Mh for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 14:28:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47708) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONVRO-0004Ly-Jg for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 14:28:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ONUz0-0004DK-00; Sat, 12 Jun 2010 13:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Jun 2010 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6411 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Emacs Bugs Original-Received: via spool by submit@debbugs.gnu.org id=B.127636549316184 (code B ref -1); Sat, 12 Jun 2010 17:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2010 17:58:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONUyD-0004Cz-27 for submit@debbugs.gnu.org; Sat, 12 Jun 2010 13:58:13 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONUyB-0004Ct-HJ for submit@debbugs.gnu.org; Sat, 12 Jun 2010 13:58:12 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:50792) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ONUy6-0005tx-SI for submit@debbugs.gnu.org; Sat, 12 Jun 2010 13:58:06 -0400 Original-Received: from [140.186.70.92] (port=52172 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONUy5-0005YN-HA for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 13:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONUy4-0008CS-0D for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 13:58:05 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:38112) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONUy3-0008CE-UB for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 13:58:03 -0400 Original-Received: by yxf34 with SMTP id 34so179155yxf.0 for ; Sat, 12 Jun 2010 10:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=8DE85/mWqS6TvoLnJv9Z9oGoCtMZyb+oPCSgPRr3ioU=; b=A07+iSyZUXJ8qXHLM7QFc+ORTBddHLVH12GkSXP7EfA7nGwcicKv0DJ2cs/+r5ttW1 jcg2nys++jhcSxkxsQ0EV4A3PVgy3BI7TZ3K4So7MumY/0bu59evzZOHxaa5gOD37Y0w 78r3kLz8mjwzDwI3B8Zi80eR2g9n9QnjuOLi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=RZp/5EWKpZzHBaU++0TxrI3zCwxEgOcCyqWLjYIvZUjKYWUbMzFu6c9ZB/M/pWlfWp Cb7cJjtfsYjEUlAFKl3Nl8yrlvxQsbLRQCDjZYRBjuhlRAgbxWx61oFHcW7iPA39xUwA 1QllZe5KmPlvpwXmMEmVshGvzgOm5XX9ExAZE= Original-Received: by 10.101.143.19 with SMTP id v19mr2948256ann.125.1276365483319; Sat, 12 Jun 2010 10:58:03 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sat, 12 Jun 2010 10:57:43 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 12 Jun 2010 13:59:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:37731 Archived-At: --0016e68deb903ca2340488d8ffb7 Content-Type: text/plain; charset=UTF-8 Here is a suggestion for a function ispell-comment-or-string for spell checking of current comment or string, see attachement. --0016e68deb903ca2340488d8ffb7 Content-Type: text/x-patch; charset=US-ASCII; name="ispell-comment-0.diff" Content-Disposition: attachment; filename="ispell-comment-0.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gacr0fxd0 PT09IG1vZGlmaWVkIGZpbGUgJ2xpc3AvdGV4dG1vZGVzL2lzcGVsbC5lbCcNCi0tLSB0cnVuay9s aXNwL3RleHRtb2Rlcy9pc3BlbGwuZWwJMjAxMC0wNS0xMyAxMDozNjowMyArMDAwMA0KKysrIHBh dGNoZWQvbGlzcC90ZXh0bW9kZXMvaXNwZWxsLmVsCTIwMTAtMDYtMTIgMTc6NTM6MzggKzAwMDAN CkBAIC0zMjY2LDExICszMjY2LDIxIEBADQogDQogDQogOzs7IyMjYXV0b2xvYWQNCi0oZGVmdW4g aXNwZWxsLWNvbW1lbnRzLWFuZC1zdHJpbmdzICgpDQorKGRlZnVuIGlzcGVsbC1jb21tZW50cy1h bmQtc3RyaW5ncyAob25seS1jdXJyZW50KQ0KICAgIkNoZWNrIGNvbW1lbnRzIGFuZCBzdHJpbmdz IGluIHRoZSBjdXJyZW50IGJ1ZmZlciBmb3Igc3BlbGxpbmcgZXJyb3JzLiINCi0gIChpbnRlcmFj dGl2ZSkNCisgIChpbnRlcmFjdGl2ZSAobGlzdCBuaWwpKQ0KKyAgKGxldCAoc3RhdGUgZG9uZSkN CisgICAgKGlmIChub3Qgb25seS1jdXJyZW50KQ0KICAgKGdvdG8tY2hhciAocG9pbnQtbWluKSkN Ci0gIChsZXQgKHN0YXRlIGRvbmUpDQorICAgICAgKGxldCogKChoZXJlIChwb2ludCkpDQorICAg ICAgICAgICAgIChzdGF0ZSAocGFyc2UtcGFydGlhbC1zZXhwIChwb2ludC1taW4pIChwb2ludCkp KQ0KKyAgICAgICAgICAgICAoaW5zaWRlIChvciAobnRoIDMgc3RhdGUpIChudGggNCBzdGF0ZSkp KQ0KKyAgICAgICAgICAgICAoc3RhcnQgKHdoZW4gaW5zaWRlIChudGggOCBzdGF0ZSkpKSkNCisg ICAgICAgIChpZiBzdGFydA0KKyAgICAgICAgICAgIChnb3RvLWNoYXIgc3RhcnQpDQorICAgICAg ICAgIChzZXRxIGRvbmUgdCkNCisgICAgICAgICAgKGdvdG8tY2hhciBoZXJlKQ0KKyAgICAgICAg ICAobWVzc2FnZSAiTm90IGluc2lkZSBhIHN0cmluZyBvciBjb21tZW50IikpKSkNCiAgICAgKHdo aWxlIChub3QgZG9uZSkNCiAgICAgICAoc2V0cSBkb25lIHQpDQogICAgICAgKHNldHEgc3RhdGUg KHBhcnNlLXBhcnRpYWwtc2V4cCAocG9pbnQpIChwb2ludC1tYXgpDQpAQCAtMzI4Miw4ICszMjky LDE0IEBADQogCSAgICAoaWYgKG9yIChudGggMyBzdGF0ZSkgKG50aCA0IHN0YXRlKSkNCiAJCShl cnJvciAiVW50ZXJtaW5hdGVkIHN0cmluZyBvciBjb21tZW50IikpDQogCSAgICAoc2F2ZS1leGN1 cnNpb24NCi0JICAgICAgKHNldHEgZG9uZSAobm90IChpc3BlbGwtcmVnaW9uIHN0YXJ0IChwb2lu dCkpKSkpKSkpKSkNCisJICAgICAgKHNldHEgZG9uZSAobm90IChpc3BlbGwtcmVnaW9uIHN0YXJ0 IChwb2ludCkpKSkpKSkNCisgICAgICAod2hlbiBvbmx5LWN1cnJlbnQgKHNldHEgZG9uZSB0KSkp KSkNCiANCis7OzsjIyNhdXRvbG9hZA0KKyhkZWZ1biBpc3BlbGwtY29tbWVudC1vci1zdHJpbmcg KCkNCisgICJDaGVjayBjb21tZW50cyBvciBzdHJpbmdzIGF0IHBvaW50IGZvciBzcGVsbGluZyBl cnJvcnMuIg0KKyAgKGludGVyYWN0aXZlKQ0KKyAgKGlzcGVsbC1jb21tZW50cy1hbmQtc3RyaW5n cyB0KSkNCiANCiA7OzsjIyNhdXRvbG9hZA0KIChkZWZ1biBpc3BlbGwtYnVmZmVyICgpDQoNCg== --0016e68deb903ca2340488d8ffb7--