From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10387: CODE wishlist: search-prop.el Date: Sun, 24 Nov 2013 19:04:10 +0200 Message-ID: <83wqjxbuk5.fsf@gnu.org> References: <87wr9h2kju.fsf@cante.cante.net> <4e9dd7b9-9109-4f67-a9a2-d3c13635c566@default> <87eh664rrr.fsf@mail.jurta.org> <878uwe62ae.fsf@igel.home> <7b510b39-00e7-49f6-a1ee-114652fd701c@default> <87vbzi3ubn.fsf@igel.home> <98707a01-802f-4ba7-83f5-592a1fc5af8c@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1385312719 8468 80.91.229.3 (24 Nov 2013 17:05:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Nov 2013 17:05:19 +0000 (UTC) Cc: 10387@debbugs.gnu.org, schwab@linux-m68k.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 24 18:05:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Vkd7a-0000ge-6H for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Nov 2013 18:05:22 +0100 Original-Received: from localhost ([::1]:47945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkd7Z-0007Td-Jn for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Nov 2013 12:05:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkd7R-0007QE-Gd for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2013 12:05:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vkd7M-0007Kn-Ly for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2013 12:05:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkd7M-0007Kj-Jg for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2013 12:05:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vkd7G-0005kr-Cn for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2013 12:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Nov 2013 17:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10387 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 10387-submit@debbugs.gnu.org id=B10387.138531265122053 (code B ref 10387); Sun, 24 Nov 2013 17:05:02 +0000 Original-Received: (at 10387) by debbugs.gnu.org; 24 Nov 2013 17:04:11 +0000 Original-Received: from localhost ([127.0.0.1]:42367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vkd6R-0005jd-1x for submit@debbugs.gnu.org; Sun, 24 Nov 2013 12:04:11 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:55420) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vkd6N-0005j4-DR for 10387@debbugs.gnu.org; Sun, 24 Nov 2013 12:04:08 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MWS005001ZPNU00@a-mtaout21.012.net.il> for 10387@debbugs.gnu.org; Sun, 24 Nov 2013 19:04:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MWS005FP22NNJ10@a-mtaout21.012.net.il>; Sun, 24 Nov 2013 19:04:00 +0200 (IST) In-reply-to: <98707a01-802f-4ba7-83f5-592a1fc5af8c@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80911 Archived-At: > Date: Sun, 24 Nov 2013 08:51:26 -0800 (PST) > From: Drew Adams > Cc: 10387@debbugs.gnu.org > > > > M-x global-set-key C-~ forward-char > > > > That binds C-^ in -nw. C-~ isn't a character. > > (characterp ?\C-~) => nil > > What's your point? > > The claim (from Juri) was that `C-M-~' "cannot be typed on tty". > > But it can be typed. No, it can't, not on a Unix text terminal. > And it can be bound to a command. And typing it invokes the > command. And Emacs recognizes it as a binding of that command. I'm guessing that you tried this on MS-Windows, where C-M-~ and C-~ are indeed usable in a -nw session. But not on a Unix TTY. (The MS-Windows build of Emacs uses Windows-specific method for reading the keyboard that is very different from character input on a Posix TTY, and which supports almost every key combination that the GUI session does.) > In `emacs -Q -nw', `C-down' is bound to `forward-paragraph'. > Yet (characterp [(control down)]) is nil. So what? Did those > who defined that default binding for Emacs out of the box make > a mistake? Was that a no-no? I think Unix TTYs can only read those combinations that are characters. MS-Windows is different.