From: David Hansen <david.hansen@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: I knew&forgot: .el allowing eg more, less (vi? top?) in *shell*
Date: Thu, 17 Apr 2008 22:53:36 +0200 [thread overview]
Message-ID: <87bq48gq3z.fsf@localhorst.mine.nu> (raw)
In-Reply-To: fu7kev$iva$1@panix2.panix.com
On 17 Apr 2008 09:48:15 -0400 David Combs wrote:
> 1: What's the name of that .../lisp/xxx.el that allows you
> to run eg more, less, and other cursor-jumping programs
> within *shell*?
How about
viewfile ()
{
emacsclient -e "(view-file \"$1\")"
}
alias less=viewfile
in your .bashrc? Don't forget to (server-start).
David
prev parent reply other threads:[~2008-04-17 20:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 13:48 I knew&forgot: .el allowing eg more, less (vi? top?) in *shell* David Combs
2008-04-17 16:09 ` Rebecca Breu
2008-04-17 20:53 ` David Hansen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bq48gq3z.fsf@localhorst.mine.nu \
--to=david.hansen@gmx.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.