From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9356: `event-modifiers' documentation Date: Wed, 24 Aug 2011 10:27:40 -0400 Message-ID: References: <4E549021.50203@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314196134 7561 80.91.229.12 (24 Aug 2011 14:28:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Aug 2011 14:28:54 +0000 (UTC) Cc: 9356@debbugs.gnu.org To: Jonathan Ganc Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 24 16:28:45 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QwERf-0002pn-Fj for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Aug 2011 16:28:43 +0200 Original-Received: from localhost ([::1]:33652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwERe-0002vl-JM for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Aug 2011 10:28:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwERX-0002uK-6v for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2011 10:28:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwERR-00028A-BJ for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2011 10:28:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwERR-000283-7K for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2011 10:28:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QwETu-0001LS-4t; Wed, 24 Aug 2011 10:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Aug 2011 14:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9356 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9356-submit@debbugs.gnu.org id=B9356.13141962173981 (code B ref 9356); Wed, 24 Aug 2011 14:31:01 +0000 Original-Received: (at 9356) by debbugs.gnu.org; 24 Aug 2011 14:30:17 +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 1QwETB-00011e-73 for submit@debbugs.gnu.org; Wed, 24 Aug 2011 10:30:17 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwET9-0000y0-BU for 9356@debbugs.gnu.org; Wed, 24 Aug 2011 10:30:15 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EACMKVU5MCpTr/2dsb2JhbABCp3Z4gUABAQQBViMFCwsOJhIUGA0kiAS8cIZJBJ94hDg X-IronPort-AV: E=Sophos;i="4.68,275,1312171200"; d="scan'208";a="132552600" Original-Received: from 76-10-148-235.dsl.teksavvy.com (HELO ceviche.home) ([76.10.148.235]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 24 Aug 2011 10:27:40 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B21926610A; Wed, 24 Aug 2011 10:27:40 -0400 (EDT) In-Reply-To: <4E549021.50203@gmail.com> (Jonathan Ganc's message of "Wed, 24 Aug 2011 00:46:09 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 24 Aug 2011 10:31:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50283 Archived-At: > The documentation for `event-modifiers' states: > "If EVENT is a symbol that has never been used in an event that has been > read as input in the current Emacs session, then this function can return > nil, even when EVENT actually has modifiers." However, looking in the > event-modifier' definition, the function > internal-event-symbol-parse-modifiers' seems to deal with this (potential) > issue. Can someone give me an example where `event-modifier' would > inappropriately return nil? (event-modifiers 'mouse-1) => (click) (event-modifiers 'mouse-10) => nil Not sure if other modifiers than `click' can be missing. Stefan