From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error Date: Tue, 27 Jul 2010 19:00:15 +0200 Message-ID: <87iq40dfmo.fsf@gmail.com> References: <876301dv3b.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280250786 30135 80.91.229.12 (27 Jul 2010 17:13:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2010 17:13:06 +0000 (UTC) Cc: 6334@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 27 19:13:04 2010 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 1OdniA-0002Sg-G8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 19:13:02 +0200 Original-Received: from localhost ([127.0.0.1]:38317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Odni9-0001cQ-OU for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 13:13:01 -0400 Original-Received: from [140.186.70.92] (port=41060 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Odnd8-0005Sb-Km for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 13:12:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Odncy-0002A6-1y for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 13:07:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47683) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odncy-00029v-0b for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 13:07:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdnXV-0007aC-U8; Tue, 27 Jul 2010 13:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2010 17:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6334-submit@debbugs.gnu.org id=B6334.128025009429137 (code B ref 6334); Tue, 27 Jul 2010 17:02:01 +0000 Original-Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 17:01:34 +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 1OdnX2-0007Zu-P8 for submit@debbugs.gnu.org; Tue, 27 Jul 2010 13:01:33 -0400 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdnX0-0007Zn-E7 for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 13:01:31 -0400 Original-Received: by pvd12 with SMTP id 12so522517pvd.3 for <6334@debbugs.gnu.org>; Tue, 27 Jul 2010 10:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=aSv3yTHEORON8vZJKUtf0AhnE1QcnGRhRdoVbkKygmI=; b=sAUy26rXhaR3/SPcp4mP59HSEPzowYquf/jMb+XrH2fnMdXyXKdgL1PFaj026UIp1V LELcsUcVsznRXsXsffGCvwMxP8JgPor2JTgWTpQzu/LHz+CDjyLUGB0KKkM7JoFuA90n 7L3ZyMQ8rhbkDklDaEispg7fJzuQfT8bldj4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=k/luBqK8J7cFduifX3/V3HcDkZXFvsc/k8HMVcgNA3egoUOv+P8379j8OiPldTqyKe 5lLrS6WRkrl+uSNPtT8Al2akEn9wzaIx8JucUjhAwwdaYqU8vt/1ZlOobxB1VtNyzt9n rhXvIdwMyq/1YXIQzQDThfdfsKM7l9XVsXbVw= Original-Received: by 10.114.15.18 with SMTP id 18mr6281285wao.182.1280250095266; Tue, 27 Jul 2010 10:01:35 -0700 (PDT) Original-Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id c24sm9188514wam.19.2010.07.27.10.01.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 10:01:34 -0700 (PDT) In-Reply-To: (Juanma Barranquero's message of "Tue, 27 Jul 2010 18:18:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Jul 2010 13:02:01 -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:38986 Archived-At: Juanma Barranquero writes: > On Tue, Jul 27, 2010 at 13:26, =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: > >> I'm not sure if you intended to preserve the key binding, let me just >> point out that ^? (which was in the original example) is (ASCII) DEL, >> i.e. usually [backspace], not [delete] on (modern?) text terminals. > > The docstring for the sample minor mode says "the control delete key", > and my DEL key returns delete. If there's a more apropriate key > binding that does not reproduce the bug, it's fine by me. That'd be [C-backspace], if you're using the vector notation. Note we're talking about the DEL _character_, not the key labeled Del(ete). It's the Backspace key that usually sends DEL in the terminal (also note that the example speaks about deleting all _preceding_ whitespace). I suspect "the control delete key" wording comes from times when the keyboards were somewhat different from those of today. But it's only an example, so all this perhaps doesn't matter. I just thought I'd mention the semantic shift introduced by the change, sorry. =C5=A0t=C4=9Bp=C3=A1n