help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs pager?


From: Lowell Gilbert
Subject: Re: Emacs pager?
Date: Sun, 22 Dec 2002 19:42:10 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Da Witch <address@hidden> writes:

> Many of the commands to move around a buffer viewed with less are the 
> same as vi commands.  It would be nice to have a less-like pager that
> felt like Emacs.  Is there such a thing?

less(1) provides a mechanism for redefining the key maps.
I wouldn't be surprised if somebody had done one for emacs
style commands.

> (Of course, one *could* just use Emacs as a pager, but Emacs takes too
> long to load up to be convenient.)

emacsclient (or gnuclient) would solve that problem.
>From address@hidden  Sun Dec 22 14:50:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!teaser.fr!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!pd951fa7a.dip.t-dialin.NET!not-for-mail
From: address@hidden (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Sun, 22 Dec 2002 20:49:24 +0100
Organization: University of Dortmund, Germany
Lines: 11
Message-ID: <address@hidden>
References: <address@hidden> <address@hidden>
NNTP-Posting-Host: pd951fa7a.dip.t-dialin.net (217.81.250.122)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1040586565 4745575 217.81.250.122 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:sHeWnufHuX9juP6jH4qlJSgFZIk=
Xref: shelby.stanford.edu gnu.emacs.help:108424
To: address@hidden
Subject: Re: Emacs pager?
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Sun, 22 Dec 2002 19:50:09 -0000

Lowell Gilbert <address@hidden> writes:

> less(1) provides a mechanism for redefining the key maps.
> I wouldn't be surprised if somebody had done one for emacs
> style commands.

My less groks C-n, C-p, C-v and M-v.  I haven't configured it.  I'm
surprised it doesn't work this way for others.

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)
>From address@hidden  Sun Dec 22 17:45:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!newsread.com!newsprint.netaxs.com!207.8.186.126.MISMATCH!POSTED.newshog.newsread.com!not-for-mail
Newsgroups: gnu.emacs.help
References: <address@hidden>
        <address@hidden>
X-Newsreader: Gnus v5.8.8/Emacs 20.7.2 [Linux 2.2.16]
X-Home-Page: http://www.trollope.org
From: Michael Powe <address@hidden>
Message-ID: <address@hidden>
Organization: The Hospice of the Mind
Lines: 29
Cache-Post-Path: address@hidden
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
Date: Sun, 22 Dec 2002 22:40:57 GMT
NNTP-Posting-Host: 207.173.200.229
X-Complaints-To: Abuse Role <address@hidden>, We Care
        <address@hidden>
X-Trace: newshog.newsread.com 1040596857 207.173.200.229 (Sun, 22 Dec 2002
        17:40:57 EST)
NNTP-Posting-Date: Sun, 22 Dec 2002 17:40:57 EST
Xref: shelby.stanford.edu gnu.emacs.help:108425
To: address@hidden
Subject: Re: multi-line conditionals in elisp
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Sun, 22 Dec 2002 22:45:10 -0000

>>>>> "Peter" == Peter S Galbraith <address@hidden> writes:

    Peter> Michael Powe <address@hidden> wrote:
    >> this is trivial in other languages, but not, it seems, in
    >> elisp.  (i think it's just a case of, i don't really understand
    >> the language.)

    Peter> The latter.

    >> (if (locate-library "python-mode") (cond((autoload 'python-mode
    >> "python-mode" "Python editing mode" t) (setq auto-mode-alist
    >> (cons '("\\.py$" . python-mode) auto-mode-alist)))) (message
    >> "python library not found"))

    Peter> (if (locate-library "python-mode") (progn (autoload
    Peter> 'python-mode "python-mode" "Python editing mode" t) (setq
    Peter> auto-mode-alist (cons '("\\.py$" . python-mode)
    Peter> auto-mode-alist))) (message "python library not found"))

thanks, i will look into that more closely.

mp

-- 
Michael Powe                                    Waterbury, CT
-------------------------------------------------------------
"The most likely way for the world to be destroyed, most experts
agree, is by accident.  That's where we come in.  We're computer
professionals.  We cause accidents."  -- Nathaniel Borenstein
>From address@hidden  Sun Dec 22 17:50:12 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!newsprint.netaxs.com!207.8.186.126.MISMATCH!POSTED.newshog.newsread.com!not-for-mail
Newsgroups: gnu.emacs.help
References: <address@hidden> <address@hidden>
X-Newsreader: Gnus v5.8.8/Emacs 20.7.2 [Linux 2.2.16]
X-Home-Page: http://www.trollope.org
From: Michael Powe <address@hidden>
Message-ID: <address@hidden>
Organization: The Hospice of the Mind
Lines: 50
Cache-Post-Path: address@hidden
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
Date: Sun, 22 Dec 2002 22:48:26 GMT
NNTP-Posting-Host: 207.173.200.229
X-Complaints-To: Abuse Role <address@hidden>, We Care
        <address@hidden>
X-Trace: newshog.newsread.com 1040597306 207.173.200.229 (Sun, 22 Dec 2002
        17:48:26 EST)
NNTP-Posting-Date: Sun, 22 Dec 2002 17:48:26 EST
Xref: shelby.stanford.edu gnu.emacs.help:108426
To: address@hidden
Subject: Re: multi-line conditionals in elisp
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Sun, 22 Dec 2002 22:50:12 -0000

>>>>> "David" == David Kastrup <address@hidden> writes:

    David> Michael Powe <address@hidden> writes:
    >> sorry for the dumb question, but i'm sure of the best way to do
    >> this. i have emacs installed on several machines and would like
    >> to use a single .emacs.  it's annoying to have to maintain
    >> different ones, and i forget sometimes that one library is
    >> installed on one machine but not on another.
    >> 
    >> my solution was to put a conditional in the .emacs to test for
    >> the existence of a library before following its loading
    >> instructions.  what i'm having a problem with, is conditionals
    >> of this format:
    >> 
    >> if (true) do item one do item two do item three ...  else do
    >> item four
    >> 
    >> this is trivial in other languages, but not, it seems, in
    >> elisp.  (i think it's just a case of, i don't really understand
    >> the language.)  here's what i did:
    >> 
    >> (if (locate-library "python-mode") (cond((autoload 'python-mode
    >> "python-mode" "Python editing mode" t) (setq auto-mode-alist
    >> (cons '("\\.py$" . python-mode) auto-mode-alist)))) (message
    >> "python library not found"))

    David> That is junk.  I recommend you look up progn.

    >> nb. trivial note: on my main workstation, i maintain my
    >> dot-files in rcs.  i noted yesterday that my oldest entry in
    >> the .emacs is from january 30, 1998.  so, in a little over a
    >> month, it will be 5 years old.  that's a lot of bits & bytes
    >> through the pipe.

    David> 5 years and you don't know progn.  That certainly _is_
    David> impressive.

well, i'm ignorant and you are a jerk.  which one of us is worse off?
hint: i don't think it's me.  i can learn what i don't know, but you
can never change your character.  thank you very little for taking
time out of your busy day to ridicule me.

mp

-- 
Michael Powe                                    Waterbury, CT
-------------------------------------------------------------
"The most likely way for the world to be destroyed, most experts
agree, is by accident.  That's where we come in.  We're computer
professionals.  We cause accidents."  -- Nathaniel Borenstein
>From address@hidden  Sun Dec 22 18:10:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: David Kastrup <address@hidden>
Newsgroups: gnu.emacs.help
Date: 23 Dec 2002 00:05:05 +0100
Organization: T-Online
Lines: 39
Sender: address@hidden
Message-ID: <address@hidden>
References: <address@hidden> <address@hidden>
        <address@hidden>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.t-online.com 1040598305 05 13656 FollEYFbTXAgXE 021222 23:05:05
X-Complaints-To: address@hidden
X-Sender: address@hidden
X-Face: 
2FEFf>]>q>2iw=B6,xrUubRI>pR&address@hidden@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl
        \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i";
        /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^
        address@hidden('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
Xref: shelby.stanford.edu gnu.emacs.help:108427
To: address@hidden
Subject: Re: multi-line conditionals in elisp
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Sun, 22 Dec 2002 23:10:09 -0000

Michael Powe <address@hidden> writes:

> >>>>> "David" == David Kastrup <address@hidden> writes:
> 
>     >> nb. trivial note: on my main workstation, i maintain my
>     >> dot-files in rcs.  i noted yesterday that my oldest entry in
>     >> the .emacs is from january 30, 1998.  so, in a little over a
>     >> month, it will be 5 years old.  that's a lot of bits & bytes
>     >> through the pipe.
> 
>     David> 5 years and you don't know progn.  That certainly _is_
>     David> impressive.
> 
> well, i'm ignorant and you are a jerk.  which one of us is worse off?
> hint: i don't think it's me.  i can learn what i don't know,

Not if you piss off the people that could teach you.  Score adjusted.

> but you can never change your character.  thank you very little for
> taking time out of your busy day to ridicule me.

In case you haven't noticed, I also gave you the answer.  Should not
happen again.

My busy day has been spent working on supporting people's problems
with AUCTeX (of which I am maintainer), fixing configuration problems
for various users of preview-latex (of which I am main author and
maintainer) and smashing my head in order to figure out a good way to
implement data structures in LaTeX making multiple footnote apparatus
and marginal notes maintainable easibly, so that there will in due
time be a freely available solution for literary scientists.

Yes, I am worse off than you, definitely, since I am concerned with
the problems of many more people, rather than just tiny personal
little problems that could easily be looked up in readily available
material like the free Elisp tutorial.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
>From MAILER-DAEMON Sun Dec 22 21:18:35 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
        id 18QIAf-0005YV-00
        for address@hidden; Sun, 22 Dec 2002 21:18:21 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18QIAY-0005Ke-00
        for address@hidden; Sun, 22 Dec 2002 21:18:16 -0500
Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
        by monty-python.gnu.org with esmtp (Exim 4.10.13)
        id 18QIAR-00058M-00
        for address@hidden; Sun, 22 Dec 2002 21:18:07 -0500
From: "SmartList" <address@hidden>
Date: Sun, 22 Dec 2002 21:18:07 -0500 (EST)
Message-ID: <address@hidden>
References: <address@hidden>
In-Reply-To: <address@hidden>
To: address@hidden
Precedence: bulk
X-Delivery-Agent: TMDA/0.59
Subject: Please confirm your message
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Reply-To: address@hidden
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Mon, 23 Dec 2002 02:18:36 -0000

Your e-mail message with the subject of "=?GB2312?B?yfHG5sjtvP4=?="
is being held because your address was not recognized.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's "Reply" feature.

   address@hidden

This confirmation verifies that your message is legitimate and not
junk-mail.

[ This notice was generated by TMDA/0.59 (http://tmda.net/),
  an automated junk-mail reduction system. ]

--- Enclosed is a copy of your message.

>From address@hidden Sun Dec 22 21:18:06 2002
Return-path: <address@hidden>
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18QI9i-0004f9-00
        for address@hidden; Sun, 22 Dec 2002 21:17:23 -0500
Received: from gnudist.gnu.org ([199.232.41.7])
        by monty-python.gnu.org with esmtp (Exim 4.10.13)
        id 18QI9M-0004JE-00
        for address@hidden; Sun, 22 Dec 2002 21:17:00 -0500
Received: from [61.141.197.1] (helo=gnu.org)
        by gnudist.gnu.org with esmtp (Exim 4.10.13)
        id 18QI9K-00009R-00
        for address@hidden; Sun, 22 Dec 2002 21:16:59 -0500
From: address@hidden
Subject: =?GB2312?B?yfHG5sjtvP4=?=
To: address@hidden
Content-Type: text/html;charset="GB2312"
Reply-To: address@hidden
Date: Mon, 23 Dec 2002 10:16:00 +0800
X-Priority: 3
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Message-Id: <address@hidden>
X-Spam-Status: Yes, hits=7.7 required=5.0
        tests=CTYPE_JUST_HTML,MAILTO_LINK,MAILTO_TO_SPAM_ADDR,
              NO_REAL_NAME,RCVD_IN_RFCI,SPAM_PHRASE_00_01,
              SUBJ_FULL_OF_8BITS,USER_AGENT_OE
        version=2.41
X-Spam-Flag: YES
X-Spam-Level: *******
X-Spam-Checker-Version: SpamAssassin 2.41 (1.115.2.8-2002-09-05-exp)
X-Spam-Report:   7.70 hits, 5 required;
  * -0.3 -- From: does not include a real name
  * -0.3 -- X-Mailer header indicates a non-spam MUA (Outlook Express)
  *  0.6 -- BODY: Spam phrases score is 00 to 01 (low)
  * -0.6 -- BODY: Includes a URL link to send an email
  *  1.0 -- URI: Includes a link to a likely spammer email address
  *  4.3 -- Subject is full of 8-bit characters
  *  2.3 -- RBL: Received via a relay in ipwhois.rfc-ignorant.org
            [RBL check: found 1.197.141.61.ipwhois.rfc-ignorant.org., type: 
127.0.0.6]
  *  0.7 -- HTML-only mail, with no text version

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>

<P>Ò»¸öÄã²»Äܲ»ÓõÄ<a 
href="http://www.webpost.com.cn/download/webpost.exe";>ÉñÆæÈí¼þ!
</a>
µÇ½Õ˺ţºss-tugang
ÃÜÂ룺ss-tugang
£¨¸ÃÕ˺ÅÈýÌìÄÚÓÐЧ)
ÈçÓÐÒÉÎÊ£¬Çë»Ýº¯ÖÁ<A href="mailto:address@hidden";>address@hidden</A>¡£
»¶Ó­À´º¯Ë÷È¡ÄúÐÐÒµµÄ¿Í»§Ãûµ¥¡£
µç»°£º0755-26530145£¬Í¿ÏÈÉú
£¨Èç¹ûÄúÈÏΪ´ËÓʼþ¶ÔÄúÎÞÒâÒ壬ÄÇÎÒΪÄú¸Ðµ½Òź¶²¢ÏòÄú±íʾ³ÏÖ¿µÄǸÒ⣡£©

</BODY>
</HTML>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]