From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Another neat Eclipse'ism Date: Sat, 21 Jun 2008 09:03:32 -0700 Message-ID: <004201c8d3b8$5ab120a0$0200a8c0@us.oracle.com> References: <485A11A1.6070209@pajato.com><87y7517pky.fsf@localhorst.mine.nu> <485BBA78.1080100@pajato.com><001601c8d2f4$e87c42d0$0200a8c0@us.oracle.com> <485CE7BD.3080009@pajato.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214064899 20933 80.91.229.12 (21 Jun 2008 16:14:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2008 16:14:59 +0000 (UTC) To: "'Paul Michael Reilly'" , "'emacs-devel'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 21 18:15:44 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 1KA5kd-0005CS-9z for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2008 18:15:43 +0200 Original-Received: from localhost ([127.0.0.1]:59713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KA5jo-0007i9-B0 for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2008 12:14:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KA5Z3-0002ue-HZ for emacs-devel@gnu.org; Sat, 21 Jun 2008 12:03:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KA5Z1-0002rb-CS for emacs-devel@gnu.org; Sat, 21 Jun 2008 12:03:44 -0400 Original-Received: from [199.232.76.173] (port=42743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KA5Z0-0002rO-4W for emacs-devel@gnu.org; Sat, 21 Jun 2008 12:03:42 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:22686) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KA5Yz-00006l-NZ for emacs-devel@gnu.org; Sat, 21 Jun 2008 12:03:41 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m5LG3ch7007066; Sat, 21 Jun 2008 10:03:38 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m5LDoH0G029574; Sat, 21 Jun 2008 10:03:37 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3697385491214064209; Sat, 21 Jun 2008 09:03:29 -0700 Original-Received: from dradamslap1 (/24.5.171.3) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 21 Jun 2008 09:03:29 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <485CE7BD.3080009@pajato.com> Thread-Index: AcjTlEcClUxpBp2dS62Ma17jXzP0sAAIJLDw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:99609 Archived-At: > > Again: > > http://www.emacswiki.org/cgi-bin/wiki/HighlightCurrentColumn > > > > Some of the other aids are less in-your-face than > > col-highlight.el. Some are "barely noticeable". > > Agreed. In particular, vline mode with a suitable face is a > reasonable solution. 1. col-highlight.el *uses* vline.el. (It used to use column-marker.el.) What applies to the face for vline.el applies also to the face for col-highlight.el. See option `col-highlight-vline-face-flag', which lets you choose between `col-highlight-face' and `vline-face'. 2. FWIW, http://www.emacswiki.org/cgi-bin/wiki/ModeLinePosition is perhaps even less noticeable. It highlights the column in the mode line when greater than some limit. BTW, a year ago, Richard asked that this be installed in Emacs, but I can't see that it was. If it was, what is the user-definable column limit variable? [2007-06-24: Thread "mode line: 1) indicate region size, if active; 2) highlight column # if > limit".] 3. If you are trying to shorten particularly long lines in code, you might also be interested in this: http://www.emacswiki.org/cgi-bin/wiki/FindLongLines#goto-longest-line This is particularly handy to use with Isearch. isearch+.el binds `goto-longest-line' to `C-end': `C-s C-end C-end C-end...' http://www.emacswiki.org/cgi-bin/wiki/IsearchPlus