From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 02 17:43:58 2010 Received: (at submit) by debbugs.gnu.org; 2 Jun 2010 21:43:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJvjB-0006NB-NE for submit@debbugs.gnu.org; Wed, 02 Jun 2010 17:43:57 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJvj9-0006N6-Pi for submit@debbugs.gnu.org; Wed, 02 Jun 2010 17:43:56 -0400 Received: from lists.gnu.org ([199.232.76.165]:47717) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OJvj5-0003hT-Pu for submit@debbugs.gnu.org; Wed, 02 Jun 2010 17:43:51 -0400 Received: from [140.186.70.92] (port=40728 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJvj4-0002L6-6B for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 17:43:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJvj2-0007Z1-Qp for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 17:43:50 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:47423) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJvj2-0007Yl-Lj for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 17:43:48 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o52LhhDU011332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Jun 2010 21:43:45 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o52DY3lC012046 for ; Wed, 2 Jun 2010 21:43:43 GMT Received: from abhmt001.oracle.com by acsmt355.oracle.com with ESMTP id 317446771275514962; Wed, 02 Jun 2010 14:42:42 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 02 Jun 2010 14:42:41 -0700 From: "Drew Adams" To: Subject: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error Date: Wed, 2 Jun 2010 14:42:45 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcsCnIknca5GRt4nT1+ZpSXlweHjjg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090203.4C06D091.0126:SCFMA922111,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) emacs -Q Try evaluating either of these examples from (elisp) Defining Minor Modes: (define-minor-mode hungry-mode "Toggle Hungry mode. With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. Null prefix argument turns off the mode. When Hungry mode is enabled, the control delete key gobbles all preceding whitespace except the last. See the command \\[hungry-electric-delete]." ;; The initial value. nil ;; The indicator for the mode line. " Hungry" ;; The minor mode bindings. '(("\C-\^?" . hungry-electric-delete)) :group 'hunger) (define-minor-mode hungry-mode "Toggle Hungry mode. With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. Null prefix argument turns off the mode. When Hungry mode is enabled, the control delete key gobbles all preceding whitespace except the last. See the command \\[hungry-electric-delete]." ;; The initial value. :init-value nil ;; The indicator for the mode line. :lighter " Hungry" ;; The minor mode bindings. :keymap '(("\C-\^?" . hungry-electric-delete) ("\C-\M-\^?" . (lambda () (interactive) (hungry-electric-delete t)))) :group 'hunger) Both raise this error: Debugger entered--Lisp error: (error "Invalid modifier in string") In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-05-23 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 21:38:49 2010 Received: (at 6334-done) by debbugs.gnu.org; 27 Jul 2010 01:38:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdZ84-000051-7O for submit@debbugs.gnu.org; Mon, 26 Jul 2010 21:38:48 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdZ82-00004s-E5 for 6334-done@debbugs.gnu.org; Mon, 26 Jul 2010 21:38:46 -0400 Received: by bwz7 with SMTP id 7so3374218bwz.3 for <6334-done@debbugs.gnu.org>; Mon, 26 Jul 2010 18:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=dnhLU8pXIx9IQszFxFcZ9t8U+Cswp/ZFVxf/zJ0ROTw=; b=QqN3NN4GHr0xHO8G8bE1aA7orsTuH0KggrAu5Gi5vAFzTnfIPIs1MmcOICv26jhW3r pqdGbILkUA0TrPyqUiOteapfhsPmquHL4CVbcbOj/KrqhiuiHui/XqgTNyZbfYHc3waH YOlUAI0VQEx7FTcEjBoQ09K2P1SKLzZbBuyZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=P3Vrfbv0+foPzVORCeIuuNZ8FTp2VMc8uaocEdkQ0mE0sd25S3SCOWN/bKlFjdEhfM y3VS6esluJO3O23Qq0/C74BNPU1UxOu7D1Suzwe8yKAZPjyH6/p4v75WE1SVLtOq2kSt XD/7DrdQDHFnqHSw3BZ7tKpSJzzZ/riLzWwv0= Received: by 10.204.53.211 with SMTP id n19mr6087335bkg.66.1280194732188; Mon, 26 Jul 2010 18:38:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.180.136 with HTTP; Mon, 26 Jul 2010 18:38:32 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Tue, 27 Jul 2010 03:38:32 +0200 Message-ID: Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error To: Drew Adams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6334-done Cc: 6334-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Wed, Jun 2, 2010 at 23:42, Drew Adams wrote: > Debugger entered--Lisp error: (error "Invalid modifier in string") I've fixed it using C-delete and C-M-delete (which are clearer anyway) in the examples. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 00:44:52 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 04:44:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odc28-0001RW-FU for submit@debbugs.gnu.org; Tue, 27 Jul 2010 00:44:52 -0400 Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Odc26-0001RQ-BB for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 00:44:51 -0400 Received: (qmail invoked by alias); 27 Jul 2010 04:44:56 -0000 Received: from p548626BC.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.38.188] by mail.gmx.net (mp055) with SMTP; 27 Jul 2010 06:44:56 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX189m+d5x+49Izvuh1StYI9e48KNiBUUZoOXSwNk51 frvFZjJkS7XV4Y Received: by turtle.gmx.de (Postfix, from userid 1000) id 1D41E3F45A; Tue, 27 Jul 2010 06:44:54 +0200 (CEST) From: Sven Joachim To: Juanma Barranquero Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error References: Date: Tue, 27 Jul 2010 06:44:53 +0200 In-Reply-To: (Juanma Barranquero's message of "Tue, 27 Jul 2010 03:38:32 +0200") Message-ID: <877hkhfs8q.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6334 Cc: 6334@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 2010-07-27 03:38 +0200, Juanma Barranquero wrote: > On Wed, Jun 2, 2010 at 23:42, Drew Adams wrote: > >> Debugger entered--Lisp error: (error "Invalid modifier in string") > > I've fixed it using C-delete and C-M-delete (which are clearer anyway) > in the examples. C-M-delete is not the most fortunate choice since it can induce a reboot on some systems (e.g. on the GNU/Linux console or on MS-DOS). On Windows, it invokes the task manager IIRC. Sven From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 07:27:26 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 11:27:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdiJh-00045M-Cx for submit@debbugs.gnu.org; Tue, 27 Jul 2010 07:27:25 -0400 Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdiJf-00045E-SK for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 07:27:24 -0400 Received: by pwj1 with SMTP id 1so381195pwj.3 for <6334@debbugs.gnu.org>; Tue, 27 Jul 2010 04:27:31 -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=DwKg5/fhYdD8Y4ZCI2nSkpfTvm4DqewWaY/L7nN8gcg=; b=h6GFwQTDlyHjs58KX6dSF0c2WK9oYFUfCWjXNzp00J/AIrkTvQHDGiA3vbPHWhcG9Z O/cAqqNlGQ7bwnH/54KnJdGBLIjsqWSc+J6RERhChZKhStANt/dZIsyYd4HmI9buvS1Y eRPa/HjRbWp9zpBgaGwqtlUw/0Ddu721S5Cj8= 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=pIdI/aDisyOQxufxhZ0eOX3zWL+aJKxhbWSt7H67viaeFk5m5rsD8+y4qaHinQw5xA 0kE9zU2eetyM13eWnOqHukhTGmOOHhKRUcDsKRb4Bu7mbcsteOAC1LJt6n0f1Od+Zgvy jsNc0c1aVukFkkPkIFbPmTVy8ncP0ek2GHGqY= Received: by 10.114.158.3 with SMTP id g3mr13159560wae.160.1280230050925; Tue, 27 Jul 2010 04:27:30 -0700 (PDT) Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id d35sm8653718waa.21.2010.07.27.04.27.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 04:27:29 -0700 (PDT) From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: 6334@debbugs.gnu.org Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error In-Reply-To: (Juanma Barranquero's message of "Tue, 27 Jul 2010 03:38:32 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Date: Tue, 27 Jul 2010 13:26:16 +0200 Message-ID: <876301dv3b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 6334 Cc: lekktu@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) Juanma Barranquero writes: > On Wed, Jun 2, 2010 at 23:42, Drew Adams wrote: > >> Debugger entered--Lisp error: (error "Invalid modifier in string") > > I've fixed it using C-delete and C-M-delete (which are clearer anyway) > in the examples. 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. =C5=A0t=C4=9Bp=C3=A1n From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 12:16:00 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 16:16:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odmox-0007FB-Lf for submit@debbugs.gnu.org; Tue, 27 Jul 2010 12:15:59 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odmov-0007F4-KF for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 12:15:58 -0400 Received: by bwz7 with SMTP id 7so3762447bwz.3 for <6334@debbugs.gnu.org>; Tue, 27 Jul 2010 09:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=7z4YmPScczhUAukb0K6fWQ/Eu2xZxoEhozlnXlWU5jU=; b=UGzKQcF9sLyy/RbcOT4LyX6wrCvj6DMkkj/7ilA8i8CuIjzQVohXhj+Jan0Gz2Ufs5 JXw+1quYgCy+mdED11p/HJFX9CMzV1HIqzca1Y0hyDku7p/fkIae5SyDW9hBEd3acbEm 4kw+O2y7tqOLvdNQOYhb6F2SThOVJlnRdR5vc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=wQWhREcYrGayEHrqls39j9oOdBKH1t3qp2K/G6Ae3/q/f1i0OLrtmWE1oxHAyQxOtn 4g1eUBKEfeQ25mkWXPWQWkEU55Sg1C91zWfswJClgqIkP8Ntyh9w9iFWWVBLTN/kM26d gQiJ7tnsAT7H6aUu75WiUZH+5mK/plrf9z43c= Received: by 10.204.35.5 with SMTP id n5mr6808957bkd.155.1280247365238; Tue, 27 Jul 2010 09:16:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.180.136 with HTTP; Tue, 27 Jul 2010 09:15:45 -0700 (PDT) In-Reply-To: <877hkhfs8q.fsf@turtle.gmx.de> References: <877hkhfs8q.fsf@turtle.gmx.de> From: Juanma Barranquero Date: Tue, 27 Jul 2010 18:15:45 +0200 Message-ID: Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error To: Sven Joachim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6334 Cc: 6334@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Tue, Jul 27, 2010 at 06:44, Sven Joachim wrote: > C-M-delete is not the most fortunate choice since it can induce a reboot > on some systems (e.g. on the GNU/Linux console or on MS-DOS). =C2=A0On > Windows, it invokes the task manager IIRC. I agree. I didn't want to change the documentation, just fix the bug. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 12:18:20 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 16:18:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdmrE-0007GN-3I for submit@debbugs.gnu.org; Tue, 27 Jul 2010 12:18:20 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdmrB-0007GI-HY for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 12:18:17 -0400 Received: by bwz7 with SMTP id 7so3764081bwz.3 for <6334@debbugs.gnu.org>; Tue, 27 Jul 2010 09:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=+JQENSw/VOQjTI//FG52nraN+Tcof68r50OBmCX7KWY=; b=CtPJN8nL1IK7dlqMjKGjoQpYjydulcgp7J8KucxDJaUwNGb24n9dqYfw2Wscn+9ECO MKtiFTtE/AwW3Gr3WNo5yMb8BIZpySH+RXstl8c2fx1seKlRdAeFd7xF/CMgF1g2SyKb C49VuwcdpwuNPBbut83al1O3DvLo+x2nFVpTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Gbbg99OcHKp46dWOXG44jIFbUly33UHIap8y3wHbQ8QSD3XFMXItOL0derfvfO6uJM LHlDPkESYeMBDnpeBdRowA2QgnS7rfO/IGSX6n4OOxYKhfyyXqzonac7I37OxwzZiYS9 o0iBSFf41KMxbxjNVtKRdrEt+X3MCVEO3jfDE= Received: by 10.204.126.223 with SMTP id d31mr6800609bks.146.1280247504948; Tue, 27 Jul 2010 09:18:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.180.136 with HTTP; Tue, 27 Jul 2010 09:18:04 -0700 (PDT) In-Reply-To: <876301dv3b.fsf@gmail.com> References: <876301dv3b.fsf@gmail.com> From: Juanma Barranquero Date: Tue, 27 Jul 2010 18:18:04 +0200 Message-ID: Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error To: =?UTF-8?B?xaB0xJtww6FuIE7Em21lYw==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6334 Cc: 6334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) 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. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 13:01:34 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 17:01:34 +0000 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 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 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= Received: by 10.114.15.18 with SMTP id 18mr6281285wao.182.1280250095266; Tue, 27 Jul 2010 10:01:35 -0700 (PDT) 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) From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: Juanma Barranquero Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error In-Reply-To: (Juanma Barranquero's message of "Tue, 27 Jul 2010 18:18:04 +0200") References: <876301dv3b.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Date: Tue, 27 Jul 2010 19:00:15 +0200 Message-ID: <87iq40dfmo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 6334 Cc: 6334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 13:08:35 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 17:08:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odndp-0007dN-KH for submit@debbugs.gnu.org; Tue, 27 Jul 2010 13:08:34 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odndn-0007dG-M4 for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 13:08:32 -0400 Received: by bwz7 with SMTP id 7so3796166bwz.3 for <6334@debbugs.gnu.org>; Tue, 27 Jul 2010 10:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=zWtGv8EWMltqXMhLd90hcXKCjvHxWyQZ5gaQF+0updk=; b=vDlqlUBtsEFAIZZf1+OELiFt/LTU9iR1iEQJ85DSE+yTL8lRiLlL1N/UGPpCa6n+/4 N1UIgiKcTGDBaWddmXz2SOfCGtdmgLp1Ts2ITqi/cjOYZrnmHPKVgN81WPL8r0zakM7d KXSBUWAjesny2Kb98dqTLRuzFFjqykcePmvDk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=YLaaHveaF6AnHGrJcxz6RGeAFVs+/Z352t/HJ3pwQL8COi4vDH/i+hp3EhSCFsaBWD EXEr7lNHELlrouc2NUt7TX5/C7PlNE159+gPAMfYWd5otqZBA7e15qdTn6slTqgYtBs3 eWwZs3dcFXB5r5K3tiNKWiDjcleh1YW2VxvFk= Received: by 10.204.140.219 with SMTP id j27mr6925356bku.153.1280250519225; Tue, 27 Jul 2010 10:08:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.180.136 with HTTP; Tue, 27 Jul 2010 10:08:19 -0700 (PDT) In-Reply-To: <87iq40dfmo.fsf@gmail.com> References: <876301dv3b.fsf@gmail.com> <87iq40dfmo.fsf@gmail.com> From: Juanma Barranquero Date: Tue, 27 Jul 2010 19:08:19 +0200 Message-ID: Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error To: =?UTF-8?B?xaB0xJtww6FuIE7Em21lYw==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6334 Cc: 6334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Tue, Jul 27, 2010 at 19:00, =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: > Note we're > talking about the DEL _character_, not the key labeled Del(ete). The "control delete" bit on the docstring makes me think of pressing the keys labeled Ctrl and Del, not Ctrl + Backspace... > (also note that > the example speaks about deleting all _preceding_ whitespace). ...but I suspect you're right. I'll change it to C-backspace / C-M-backspace, if everybody thinks these are the right keybindings. > 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. No, thanks for bringing this up. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 16:22:55 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 20:22:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odqfu-0000Yz-Ho for submit@debbugs.gnu.org; Tue, 27 Jul 2010 16:22:54 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odqfr-0000Ys-8W for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 16:22:51 -0400 Received: from [87.198.55.208] (87-198-55-208.ptr.magnet.ie [87.198.55.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 8BADE68436; Tue, 27 Jul 2010 21:22:56 +0100 (IST) Message-ID: <4C4F401C.1090704@harpegolden.net> Date: Tue, 27 Jul 2010 21:22:52 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: Juanma Barranquero Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error References: <876301dv3b.fsf@gmail.com> <87iq40dfmo.fsf@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 6334 Cc: 6334@debbugs.gnu.org, =?UTF-8?B?xaB0xJtww6FuIE7Em21lYw==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 27/07/10 18:08, Juanma Barranquero wrote: > ...but I suspect you're right. I'll change it to C-backspace / > C-M-backspace, if everybody thinks these are the right keybindings. > Just noting: C-M-backspace traditionally kills an x11 server, usually dumping you back at a login screen when the login manager (x/g/k)dm respawns the server. Sometimes it's disabled these days. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 18:41:51 2010 Received: (at 6334) by debbugs.gnu.org; 27 Jul 2010 22:41:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdsqN-0001X8-59 for submit@debbugs.gnu.org; Tue, 27 Jul 2010 18:41:51 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdsqL-0001X3-Iy for 6334@debbugs.gnu.org; Tue, 27 Jul 2010 18:41:50 -0400 Received: by bwz7 with SMTP id 7so3962887bwz.3 for <6334@debbugs.gnu.org>; Tue, 27 Jul 2010 15:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=LsGq4vU4KFifOoNuq/gFbfX4EVY92YCGxqGkqw7EoCM=; b=X2wz2ZwWQBL3x0GKE5czEpVL99kRMzBNLH7theXabBpyi9ZnFIl0W3aghIH9PogPYd 7GdJggXD1RZbIVuOGtuYKdAYrIzMSQBWfeRvknf26jDlJYNvJRuQqoDS8pIVWUoTrbFn sr5IJrBOnUDyAYA/EW5E9vGRYbEs5vPzqY34w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=H3FUbQsyuYZ8Vo8wydYJc6MdItJKwN2fAs6zRmf0VmktisWeymoIkvuzhOCt+cV7DR LtjBCIED8HLzu9Q/LBFv7kt+toKuPwwFtYgPrUISfKOaHibJiiq6GnxMAVpckznhdPe6 KxDw5LzNBaSu2ZpdJQSoCMRrV5UeLOyoY4HJM= Received: by 10.204.21.135 with SMTP id j7mr6790337bkb.198.1280270517965; Tue, 27 Jul 2010 15:41:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.180.136 with HTTP; Tue, 27 Jul 2010 15:41:37 -0700 (PDT) In-Reply-To: <4C4F401C.1090704@harpegolden.net> References: <876301dv3b.fsf@gmail.com> <87iq40dfmo.fsf@gmail.com> <4C4F401C.1090704@harpegolden.net> From: Juanma Barranquero Date: Wed, 28 Jul 2010 00:41:37 +0200 Message-ID: Subject: Re: bug#6334: 24.0.50; both examples in (elisp) Defining Minor Modes raise an error To: David De La Harpe Golden Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6334 Cc: 6334@debbugs.gnu.org, =?UTF-8?B?xaB0xJtww6FuIE7Em21lYw==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Tue, Jul 27, 2010 at 22:22, David De La Harpe Golden wrote: > Just noting: C-M-backspace traditionally kills an x11 server, "\C-\M-\^?" is what the original example used. =C2=A0 =C2=A0 Juanma From unknown Sun Sep 07 01:05:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 25 Aug 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator