unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Samuel Bronson <naesten@gmail.com>
Cc: sds@gnu.org, "Štěpán Němec" <stepnem@gmail.com>, emacs-devel@gnu.org
Subject: Re: feature request: view part of file
Date: Fri, 20 Jul 2012 04:38:07 +0900	[thread overview]
Message-ID: <87r4s735k0.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <DC70E37B-16EE-432E-BACA-46B1DEB1121C@gmail.com>

Samuel Bronson writes:
 > On Jun 18, 2012, at 4:34 PM, Štěpán Němec wrote:
 > 
 > > (kbd "C-+") ; => [67108907]
 > >
 > > [?\C-+] is the way to put it more readably in vector notation (i.e.,  
 > > the
 > > issue here is that [C-+] tries to bind a symbol `C-+' ("<C-+>" in  
 > > `kbd'
 > > speak), whereas you want the character, hence the ?\ prefix; it's
 > > documented somewhere in the elisp manual I think).
 > 
 > 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 +)]'.



  reply	other threads:[~2012-07-19 19:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 20:52 feature request: view part of file Sam Steingold
2012-06-13 23:16 ` Stefan Monnier
2012-06-14 16:20   ` Sam Steingold
2012-06-14 16:53     ` Mathias Dahl
2012-06-14 17:32     ` Stephen J. Turnbull
2012-06-14 18:21       ` Paul Eggert
     [not found]     ` <jwvd3517qww.fsf-monnier+emacs@gnu.org>
     [not found]       ` <CABrcCQ5zDfB2tw9DRrwpCZmDqHPc+BB6W5w9ULNU95e_v4yyJw@mail.gmail.com>
     [not found]         ` <87395xu768.fsf@gnu.org>
     [not found]           ` <CABrcCQ6rpG9qhsCO+ZEpTiNqbQRtg-PBeb=q_B5F8YgrGxoWKA@mail.gmail.com>
     [not found]             ` <jwvvcit67sc.fsf-monnier+emacs@gnu.org>
2012-06-14 19:34               ` Sam Steingold
2012-06-14 21:29 ` Sam Steingold
2012-06-18 20:34   ` Štěpán Němec
2012-07-19 17:58     ` Samuel Bronson
2012-07-19 19:38       ` Stephen J. Turnbull [this message]
2012-08-04 11:58   ` Andrey Kotlarski
2013-01-18 23:30   ` Vitalie Spinu
2013-01-18 23:52     ` Vitalie Spinu
2013-01-19  6:54       ` Eli Zaretskii
2013-01-19 10:18         ` Paul Eggert
2013-01-19 10:51           ` Eli Zaretskii
2013-01-19 12:47             ` Paul Eggert
2013-01-19 13:47               ` Eli Zaretskii
2013-01-19 19:00                 ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4s735k0.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=naesten@gmail.com \
    --cc=sds@gnu.org \
    --cc=stepnem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).