From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daimrod Newsgroups: gmane.emacs.help Subject: Re: view-mode keymap Date: Thu, 03 Jan 2013 16:44:57 +0100 Organization: les newsgroups par Orange Message-ID: <87hamyfeyu.fsf@casa.home> References: <87sj6mi7p5.fsf@casa.home> <87mwwr8qcw.fsf@casa.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357228818 15702 80.91.229.3 (3 Jan 2013 16:00:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2013 16:00:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 03 17:00:35 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TqnDd-0002pZ-EC for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 17:00:33 +0100 Original-Received: from localhost ([::1]:60689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqnDK-0005FY-RT for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 11:00:14 -0500 X-Received: by 10.180.24.130 with SMTP id u2mr11533132wif.6.1357228702055; Thu, 03 Jan 2013 07:58:22 -0800 (PST) Original-Path: usenet.stanford.edu!m3no5393132wim.1!news-out.google.com!l12ni281529wiv.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:NxhSef7Ef/+OJkRSzYfndGiW2eY= Original-Lines: 34 Original-NNTP-Posting-Date: 03 Jan 2013 16:58:21 CET Original-NNTP-Posting-Host: 109.211.53.138 Original-X-Trace: 1357228701 reader.news.orange.fr 1179 109.211.53.138:3348 Original-X-Complaints-To: abuse@orange.fr Original-Xref: usenet.stanford.edu gnu.emacs.help:196100 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88409 Archived-At: William Xu writes: > Daimrod writes: > >> Michael Heerdegen writes: >> >>> Daimrod writes: >>> >>>> I like `view-mode' but it conflicts with others minor mode map (paredit >>>> in my case). >>> >>> Why do you need to use `paredit-mode', a mode for editing, and >>> `view-mode' that makes the buffer read-only, at the same time? >> >> Well, I was playing with `view-mode', trying to integrate it with some >> other minor modes to read a text without too much visual noise (hiding >> the header-line, the mode-line and centering the content). And I tried >> it on the current buffer which was the source of those modes, it didn't >> work as I expected, I tried to understand, and so here I am. > > Maybe you can try this minor mode: > > ;; View file like a simple `less'. Provide limited less keys, mainly j, > ;; k, f, b, g, G, etc. > > https://github.com/xwl/less/blob/master/less.el > > I bind `C-c v' to enable it, type `e' to exit. Thanks, but I think I'll keep `view-mode' now that I've found a workaround. -- Daimrod/Greg