emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prefix arg when mouse clicking on header


From: Stefan Monnier
Subject: Re: prefix arg when mouse clicking on header
Date: Mon, 15 Dec 2008 15:13:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> >   (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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]