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: Longlines mode in menu Date: Fri, 20 Jun 2008 15:47:08 -0400 Message-ID: References: <87wsl41lq0.fsf@stupidchicken.com> <87bq2666dd.fsf@stupidchicken.com> <516DD869-4D41-4EDD-B2A3-57787DF374D7@gmail.com> <4858B5B4.2070604@gmail.com> <66259172-038D-4367-BEAC-211FE9981637@gmail.com> <48593500.1030003@gmail.com> <48597529.1000400@gmail.com> <485BFBE7.30304@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213991250 5256 80.91.229.12 (20 Jun 2008 19:47:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 19:47:30 +0000 (UTC) Cc: David Reitter , Emacs-Devel devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 20 21:48:14 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 1K9mah-0005RC-UE for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 21:48:12 +0200 Original-Received: from localhost ([127.0.0.1]:37060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9mZr-0006ov-Qw for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 15:47:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9mZl-0006nD-VB for emacs-devel@gnu.org; Fri, 20 Jun 2008 15:47:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9mZi-0006lv-I6 for emacs-devel@gnu.org; Fri, 20 Jun 2008 15:47:12 -0400 Original-Received: from [199.232.76.173] (port=49987 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9mZi-0006ls-BC for emacs-devel@gnu.org; Fri, 20 Jun 2008 15:47:10 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:57773 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9mZh-00031K-Tp for emacs-devel@gnu.org; Fri, 20 Jun 2008 15:47:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0FANilW0jO+KWv/2dsb2JhbACBW64b X-IronPort-AV: E=Sophos;i="4.27,681,1204520400"; d="scan'208";a="23035678" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 20 Jun 2008 15:47:09 -0400 Original-Received: from pastel.home ([206.248.165.175]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id AZP13209; Fri, 20 Jun 2008 15:47:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B9E5B7F05; Fri, 20 Jun 2008 15:47:08 -0400 (EDT) In-Reply-To: <485BFBE7.30304@gmail.com> (Lennart Borgman's message of "Fri, 20 Jun 2008 20:50:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: 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:99552 Archived-At: >>>>> Thanks. What key bindings do you suggest? Maybe this could be >>>>> a minor mode? >> It should be either a global minor mode which adds `remap' bindings to >> the global map, or a buffer-local minor mode which adds the same remap >> bindings but via a minor-mode map. > Maybe something like this? I think it is essential to be able to use the > original move and kill commands too. Why do you find it essential? What about something like (define-key map [remap forward-paragraph] 'forward-line) -- Stefan