From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: suggestion for tab keybinding in hideshow minor mode. Date: Fri, 03 Dec 2010 00:42:25 +0100 Message-ID: <87tyiv3foe.fsf@ambire.localdomain> References: <87ipzcqe1z.fsf@fastmail.fm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291333647 21681 80.91.229.12 (2 Dec 2010 23:47:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2010 23:47:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 03 00:47:22 2010 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.69) (envelope-from ) id 1POIrx-0006QU-O7 for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 00:47:21 +0100 Original-Received: from localhost ([127.0.0.1]:60093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POIrx-0004Ot-Aq for ged-emacs-devel@m.gmane.org; Thu, 02 Dec 2010 18:47:21 -0500 Original-Received: from [140.186.70.92] (port=55025 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POIrs-0004Oo-Eg for emacs-devel@gnu.org; Thu, 02 Dec 2010 18:47:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POIrr-0007RQ-Am for emacs-devel@gnu.org; Thu, 02 Dec 2010 18:47:16 -0500 Original-Received: from smtp206.alice.it ([82.57.200.102]:38883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POIrr-0007RM-46 for emacs-devel@gnu.org; Thu, 02 Dec 2010 18:47:15 -0500 Original-Received: from ambire.localdomain (95.244.66.230) by smtp206.alice.it (8.5.124.08) id 4C1A268C0B97426B; Fri, 3 Dec 2010 00:47:11 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1POInB-0005Mp-JP; Fri, 03 Dec 2010 00:42:25 +0100 In-Reply-To: <87ipzcqe1z.fsf@fastmail.fm> (Tassilo Horn's message of "Thu, 02 Dec 2010 18:28:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.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:133330 Archived-At: () Tassilo Horn () Thu, 02 Dec 2010 18:28:56 +0100 (let ((obj (car (overlays-in (save-excursion (move-beginning-of-line nil) (point)) (save-excursion (move-end-of-line nil) (point)))))) ...) See also =E2=80=98line-beginning-position=E2=80=99, =E2=80=98line-end-posit= ion=E2=80=99, =E2=80=98hs-already-hidden-p=E2=80=99, =E2=80=98hs-overlay-at=E2=80=99.