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: Emacs completion matches selection UI Date: Mon, 06 Jan 2014 22:16:15 -0500 Message-ID: References: <87fvqtg02v.fsf@flea.lifelogs.com> <87k3f2j7xv.fsf@flea.lifelogs.com> <2518D79A-B9E4-45DF-A403-8330145DFD17@gmail.com> <87eh58j0x3.fsf@flea.lifelogs.com> <87mwjvfrfy.fsf@flea.lifelogs.com> <877gawbhp0.fsf@flea.lifelogs.com> <87vby6s3ji.fsf@gmail.com> <87fvp3xjjd.fsf@gmail.com> <87sit0ekp5.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389064590 22137 80.91.229.3 (7 Jan 2014 03:16:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2014 03:16:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 04:16:35 2014 Return-path: Envelope-to: ged-emacs-devel@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 1W0N9e-00020n-95 for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 04:16:34 +0100 Original-Received: from localhost ([::1]:38588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0N9d-00005v-RF for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2014 22:16:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0N9U-00005l-7s for emacs-devel@gnu.org; Mon, 06 Jan 2014 22:16:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0N9M-000177-V3 for emacs-devel@gnu.org; Mon, 06 Jan 2014 22:16:24 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:34810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0N9M-000173-RA for emacs-devel@gnu.org; Mon, 06 Jan 2014 22:16:16 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxKG9/2dsb2JhbABEvw4Xc4IeAQEEAVYoCws0EhQYDYhCBsEtjWFNglwDiGGcGYFegmor X-IPAS-Result: Av4EABK/CFFFxKG9/2dsb2JhbABEvw4Xc4IeAQEEAVYoCws0EhQYDYhCBsEtjWFNglwDiGGcGYFegmor X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="44323588" Original-Received: from 69-196-161-189.dsl.teksavvy.com (HELO pastel.home) ([69.196.161.189]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Jan 2014 22:16:16 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 00B4E62F04; Mon, 6 Jan 2014 22:16:15 -0500 (EST) In-Reply-To: <87sit0ekp5.fsf@flea.lifelogs.com> (Ted Zlatanov's message of "Mon, 06 Jan 2014 18:48:06 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:167562 Archived-At: SM> We could do the above fairly easily with SM> (add-function :around (lookup-key global-map [somekey]) SM> (lambda (orig &rest args) SM> (if (foop) (foo) (apply orig args)))) > Please, no. It's a real pain to debug this with a user. Not sure what you see as a debugging problem in the above. Stefan