From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Eure Newsgroups: gmane.emacs.help Subject: Re: Vi-like end of buffer in emacs? Date: Sat, 3 Jan 2009 03:07:55 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230980914 22896 80.91.229.12 (3 Jan 2009 11:08:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2009 11:08:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: wlcna Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 12:09:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LJ4Nx-0005x7-Nx for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2009 12:09:42 +0100 Original-Received: from localhost ([127.0.0.1]:35562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJ4Mi-0005ZH-L8 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2009 06:08:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJ4MR-0005ZB-Ds for help-gnu-emacs@gnu.org; Sat, 03 Jan 2009 06:08:07 -0500 Original-Received: from [199.232.76.173] (port=52058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJ4MR-0005Z3-4V for help-gnu-emacs@gnu.org; Sat, 03 Jan 2009 06:08:07 -0500 Original-Received: from mail.digg.com ([64.191.203.36]:54463) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LJ4MQ-0000Ui-Ni for help-gnu-emacs@gnu.org; Sat, 03 Jan 2009 06:08:06 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 1520DA84FDF; Sat, 3 Jan 2009 03:08:06 -0800 (PST) X-Virus-Scanned: amavisd-new at X-Spam-Score: 0.646 Original-Received: from mail.digg.com ([127.0.0.1]) by localhost (mail.digg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MI0ZvANMdWUZ; Sat, 3 Jan 2009 03:08:04 -0800 (PST) Original-Received: from [192.168.1.100] (adsl-68-125-160-3.dsl.pltn13.pacbell.net [68.125.160.3]) by mail.digg.com (Postfix) with ESMTP id 1F40DA8500D; Sat, 3 Jan 2009 03:08:04 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-Priority: 3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61034 Archived-At: On Jan 3, 2009, at 1:22 AM, wlcna wrote: > "Ian Eure" wrote... >> You want fringe-mode. M-x customize-group RET fringe RET. >> >> It doesn't show actual characters in the buffer like vi does, but >> has a graphic on the edge. >> > > Thanks! I figured someone probably had an easy fix for this. I > tried it out a bit. Not as nice as vim, but it's OK. Not sure why > it shows the little marks on the last line of the file when you can > type on that line, but it's OK. > > I noticed though that I have to have this customize group thing > instead of more straightforwardly using lisp to set this in my init > file code... (fringe-mode) can be put in my init file, but the only > argument is the size of the fringe and no args for fact that I want > to show empty lines. > > But anyway, customize works, though I avoid that customize stuff, > just coming back to emacs now - it irks me and seems opposed to the > idea of all the lisp integration... > Anything you set via customize can be done with elisp. Open fringe.el and look for (defcustom). Alternately, you can pull the definitions out of the (custom-set-variables) block and make them regular (setq) calls. Nothing wrong with customize, in my opinion. - Ian