From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Michael Reilly Newsgroups: gmane.emacs.devel Subject: Re: Another neat Eclipse'ism Date: Fri, 20 Jun 2008 10:11:04 -0400 Message-ID: <485BBA78.1080100@pajato.com> References: <485A11A1.6070209@pajato.com> <87y7517pky.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213971130 31601 80.91.229.12 (20 Jun 2008 14:12:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 14:12:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 20 16:12:53 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 1K9hLa-0005F3-Fz for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 16:12:14 +0200 Original-Received: from localhost ([127.0.0.1]:44674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9hKl-0007cs-JU for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 10:11:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9hKe-0007bP-GR for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:11:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9hKb-0007YU-Hm for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:11:14 -0400 Original-Received: from [199.232.76.173] (port=39542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9hKb-0007YI-9e for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:11:13 -0400 Original-Received: from 68-191-253-210.static.oxfr.ma.charter.com ([68.191.253.210]:48499 helo=copa.pajato.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K9hKa-0001UC-HH for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:11:12 -0400 Original-Received: from [127.0.0.1] (copa.pajato.com [68.191.253.210]) (authenticated bits=0) by copa.pajato.com (8.14.1/8.13.8) with ESMTP id m5KEB8cf028299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 20 Jun 2008 10:11:11 -0400 User-Agent: Thunderbird 2.0.0.14 (X11/20080501) In-Reply-To: <87y7517pky.fsf@localhorst.mine.nu> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (copa.pajato.com [68.191.253.210]); Fri, 20 Jun 2008 10:11:11 -0400 (EDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:99531 Archived-At: David Hansen wrote: > On Thu, 19 Jun 2008 03:58:25 -0400 Paul Michael Reilly wrote: > >> While I try to do most of my editing from Emacs, occasionally I will >> find myself using the Eclipse Java editor. One of the more convenient >> niceties, in the absence of auto-fill-mode, is having the print-margin >> displayed. This is a useful feature in its own right, i.e. show a 1 >> pixel background line in Emacs where the right margin is set. >> Needless to say, I have not a clue how to implement it. > > Not 100% the same but there is column-marker-mode available (search the > emacswiki). It will highlight a given column iff the line is at least > that long. FWIW, column-marker.el is pretty cool but it pales by comparison to the approach used in Eclipse. The Eclipse solution is barely noticeable whereas the Emacs highlighting solution is very much in your face. If truth be told I like the merged notion of having multiple such column indicators that can be tailored by width and face. I have a strong hunch they will need to be implemented at the C level. I wonder how to do that ... and if this is an itch I want to scratch right about now ... -pmr