From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: feature request: view part of file Date: Fri, 20 Jul 2012 04:38:07 +0900 Message-ID: <87r4s735k0.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87lijrszn0.fsf@gnu.org> <87y5npeg4p.fsf@gnu.org> <87r4tcjr4k.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342726710 5125 80.91.229.3 (19 Jul 2012 19:38:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2012 19:38:30 +0000 (UTC) Cc: sds@gnu.org, =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= , emacs-devel@gnu.org To: Samuel Bronson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 19 21:38:28 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SrwYL-0000lA-CO for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2012 21:38:25 +0200 Original-Received: from localhost ([::1]:59227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYK-0007x5-OD for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2012 15:38:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYI-0007wS-0T for emacs-devel@gnu.org; Thu, 19 Jul 2012 15:38:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrwYG-0004Af-Rl for emacs-devel@gnu.org; Thu, 19 Jul 2012 15:38:21 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:51104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYG-00049G-Hm for emacs-devel@gnu.org; Thu, 19 Jul 2012 15:38:20 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 7C7733FA0874; Fri, 20 Jul 2012 04:38:07 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 42E2011EECA; Fri, 20 Jul 2012 04:38:07 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta31) "ginger" b4715fcbe001 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.223 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151765 Archived-At: Samuel Bronson writes: > On Jun 18, 2012, at 4:34 PM, =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: >=20 > > (kbd "C-+") ; =3D> [67108907] > > > > [?\C-+] is the way to put it more readably in vector notation (i.e.,= =20=20 > > the > > issue here is that [C-+] tries to bind a symbol `C-+' ("" in=20=20 > > `kbd' > > speak), whereas you want the character, hence the ?\ prefix; it's > > documented somewhere in the elisp manual I think). >=20 > You know, this would be easier with a character type... Not really. XEmacs *has* a character type, but that doesn't help us with this kind of thing, because this is about syntax for describing keystrokes in Lisp, not about managing characters. And it's not just backward compatibility. Our preferred approach is to use the array of chords of keysyms. (Eg the above would be expressed `[(control +)]'.