From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: prefix arg when mouse clicking on header Date: Mon, 15 Dec 2008 15:13:11 -0500 Message-ID: References: <18757.39394.481444.293571@tfkp04.physik.uni-erlangen.de> <18758.41738.236091.808436@tfkp04.physik.uni-erlangen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229372012 21018 80.91.229.12 (15 Dec 2008 20:13:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2008 20:13:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Roland Winkler" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 15 21:14:37 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCJpr-0001p3-MZ for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2008 21:14:35 +0100 Original-Received: from localhost ([127.0.0.1]:60234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCJof-0004me-Du for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2008 15:13:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCJoZ-0004ki-Ls for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:13:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCJoY-0004iY-6a for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:13:15 -0500 Original-Received: from [199.232.76.173] (port=33018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCJoX-0004hx-B5 for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:13:13 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:21989 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCJoW-0005mm-0e for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:13:12 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AroEALNIRknO+J7J/2dsb2JhbACBbMt1gn6BMQ X-IronPort-AV: E=Sophos;i="4.36,226,1228107600"; d="scan'208";a="31083973" Original-Received: from 206-248-158-201.dsl.teksavvy.com (HELO pastel.home) ([206.248.158.201]) by ironport2-out.teksavvy.com with ESMTP; 15 Dec 2008 15:13:10 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 1440B7F41; Mon, 15 Dec 2008 15:13:11 -0500 (EST) In-Reply-To: <18758.41738.236091.808436@tfkp04.physik.uni-erlangen.de> (Roland Winkler's message of "Mon, 15 Dec 2008 19:33:46 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106944 Archived-At: >> > (interactive (list last-input-event (or last-prefix-arg 'no-arg))) >> > seems to work. But is this the right thing? Why last-prefix-arg >> > instead of current-prefix-arg? Certainly, this is consistent with >> > the code letter P being ignored by interactive. >> >> Not sure why that is. Maybe some code somewhere catches the click, does >> some processing and pushes events back on unread-command-events, so the >> real code is only run on the second round? > This sounds very reasonable, but fixing this goes much beyond my > knowledge of emacs. Should I submit a bug report so that this topic > is properly entered into the system? Yes. Stefan