From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.devel Subject: unobstrusive way to show indentation Date: Fri, 13 Jan 2012 00:10:40 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf300fb2035a177f04b656fd61 X-Trace: dough.gmane.org 1326384653 22763 80.91.229.12 (12 Jan 2012 16:10:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2012 16:10:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 12 17:10:50 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RlNEl-0001ef-2E for ged-emacs-devel@m.gmane.org; Thu, 12 Jan 2012 17:10:47 +0100 Original-Received: from localhost ([::1]:57417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlNEj-0004sK-W4 for ged-emacs-devel@m.gmane.org; Thu, 12 Jan 2012 11:10:45 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlNEg-0004rw-JE for emacs-devel@gnu.org; Thu, 12 Jan 2012 11:10:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlNEf-0004X3-Ea for emacs-devel@gnu.org; Thu, 12 Jan 2012 11:10:42 -0500 Original-Received: from mail-qw0-f48.google.com ([209.85.216.48]:48685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlNEf-0004Wz-Be for emacs-devel@gnu.org; Thu, 12 Jan 2012 11:10:41 -0500 Original-Received: by qadz30 with SMTP id z30so422559qad.0 for ; Thu, 12 Jan 2012 08:10:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=VJf6HB1jspg2EpCWOD+BSf5tWIMmmz7allFjZa46aEI=; b=JZzz7Dms0UUBdNiYxPsrgTgnF8nzZjTCgWXiTPHb5xsDb6u6fKHeYA9Dc7B0OZDdk2 xtdBOfWJh6hgwdMHm6dBsQE90XTSRPwGQRIIf3KKnbtJYp7i+ldCxAI4zKVGnv8vsSkV ZBIEI0AevYPrfyFeLWjvdc/wXuK59Bq+OjhzE= Original-Received: by 10.224.214.201 with SMTP id hb9mr6324560qab.86.1326384640825; Thu, 12 Jan 2012 08:10:40 -0800 (PST) Original-Received: by 10.224.120.138 with HTTP; Thu, 12 Jan 2012 08:10:40 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.48 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:147616 Archived-At: --20cf300fb2035a177f04b656fd61 Content-Type: text/plain; charset=ISO-8859-1 Hi, How difficult would it be to implement some way to show indentation levels in an unobstrusive way? Sublime text and other modern editors do this by drawing a thin vertical line down from (back-to-indentation). I find it really helpful when reading code. This stackoverflow question clarifies what I'm after, although I didn't ask it. I find this really helpful when reading a piece of code with many block levels, especially since the standard indentation level for ruby is 2 spaces. I guess it can be faked by changing the face of that column, but that would be more obstrusive than a thin line. Maybe there is another solution I haven't thought of? -- Le --20cf300fb2035a177f04b656fd61 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

How difficult would it be to implement some way to show indentat= ion levels in an unobstrusive way?=A0 Sublime text and other modern editors= do this by drawing a thin vertical line down from (back-to-indentation).= =A0 I find it really helpful when reading code.=A0 This stackoverflow quest= ion clarifies what I'm after, although I didn't ask it.=A0 I find t= his really helpful when reading a piece of code with many block levels, esp= ecially since the standard indentation level for ruby is 2 spaces.

I guess it can be faked by changing the face of that column, but that w= ould be more obstrusive than a thin line.=A0 Maybe there is another solutio= n I haven't thought of?

--
Le
--20cf300fb2035a177f04b656fd61--