[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs pager?
From: |
David Kastrup |
Subject: |
Re: Emacs pager? |
Date: |
19 Dec 2002 00:30:46 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Da Witch <heather710101@yahoo.com> 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?
>
> (Of course, one *could* just use Emacs as a pager, but Emacs takes too
> long to load up to be convenient.)
emacsclient
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
>From help-gnu-emacs-bounces@gnu.org Wed Dec 18 19:25:08 2002
Path:
shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: David Masterson <dmaster@synopsys.com>
Newsgroups: gnu.emacs.help
Date: 18 Dec 2002 16:20:19 -0800
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <ur8ceyi4c.fsf@synopsys.com>
Sender: dmaster@DMASTER-LAP
References: <041220020952400758%ajanta@no.spam>
<56cfb0e3.0212041458.5eab182a@posting.google.com>
<x5k7ipl35x.fsf@lola.goethe.zz> <061220020416350201%ajanta@no.spam>
<slrnav1ed1.ho.smullerin@esb.bbn.com> <m2hedrm4oc.fsf@owlbear.local>
<071220021155280606%ajanta@no.spam> <5ld6obj8il.fsf@rum.cs.yale.edu>
<091220021652087216%ajanta@no.spam> <vf3cp5ix2u.fsf@rpc71.cs.man.ac.uk>
<111220021101520860%ajanta@no.spam> <111220021253524057%ajanta@no.spam>
<5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam>
<87u1hjdwta.fsf@hurd.crasseux.com> <121220021324043990%ajanta@no.spam>
<m3el8iar9g.fsf@mika.informatik.uni-freiburg.de>
<171220021132381961%ajanta@no.spam>
<mailman.343.1040149880.19936.help-gnu-emacs@gnu.org>
<ulm2ocm2f.fsf@synopsys.com> <841y4f3eu2.fsf@lucy.cs.uni-dortmund.de>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@supernews.com
Lines: 36
Xref: shelby.stanford.edu gnu.emacs.help:108277
To: help-gnu-emacs@gnu.org
Subject: Re: Software/HD ecology
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 00:25:08 -0000
>>>>> Kai Großjohann writes:
> David Masterson <dmaster@synopsys.com> writes:
>> That's not a solution. For instance, if a package does not come in
>> RPM form, then the RPM package manager is not a solution for me.
> It seems that the "checkinstall" tool might help. Doing
> "checkinstall make install" will do whatever "make install" does and
> create an RPM from it. (Actually, it asks you whether you want
> *.deb or *.rpm or a Slackware package.)
Nah. That's really for the O/S distributions to do (or anyone who's
attempting to create a "package"). I'm merely suggesting two things:
1. If a program can do a "make install", it should have a "make
uninstall" to go with it.
2. To allow for source removal, "make install" should install an
uninstaller (like this: "make -n uninstall > uninstaller; install
uninstaller").
I've worked on UNIX distributions that don't use things like RPM, DEB,
and so on. That was okay as all I wanted to do was download the
program, configure it, install it, and remove the excess (source). At
some point in the future, I (or my successor) might want to remove the
installed program. That's where having an uninstaller in #2 to
unambiguously list what needs removing comes in.
This is probably more of a GNU tools (autoconf/automake) issue, but
GNU Emacs has in the past used a highly hacked configure tool (does it
still?), so it might apply here as well.
--
David Masterson David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer Synopsys, Inc.
Software Engineering Sunnyvale, CA
>From help-gnu-emacs-bounces@gnu.org Wed Dec 18 19:25:08 2002
Path:
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: David Masterson <dmaster@synopsys.com>
Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help
Date: 18 Dec 2002 16:22:51 -0800
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <un0n2yi04.fsf@synopsys.com>
Sender: dmaster@DMASTER-LAP
References: <041220020952400758%ajanta@no.spam>
<slrnav1ed1.ho.smullerin@esb.bbn.com> <m2hedrm4oc.fsf@owlbear.local>
<84bs3xsyi8.fsf@lucy.cs.uni-dortmund.de>
<071220021155280606%ajanta@no.spam>
<5ld6obj8il.fsf@rum.cs.yale.edu> <091220021652087216%ajanta@no.spam>
<101220021125583826%ajanta@no.spam> <vf3cp5ix2u.fsf@rpc71.cs.man.ac.uk>
<vf3cp4k92x.fsf@rpc71.cs.man.ac.uk> <111220021101520860%ajanta@no.spam>
<vfadjcif3n.fsf@rpc71.cs.man.ac.uk> <111220021253524057%ajanta@no.spam>
<5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam>
<84k7ifo3s2.fsf@lucy.cs.uni-dortmund.de>
<87u1hjdwta.fsf@hurd.crasseux.com>
<121220021324043990%ajanta@no.spam>
<m3el8iar9g.fsf@mika.informatik.uni-freiburg.de>
<171220021132381961%ajanta@no.spam> <3DFFA457.1020103@rcn.com>
<844r9b3exh.fsf@lucy.cs.uni-dortmund.de>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@supernews.com
Lines: 19
Xref: shelby.stanford.edu comp.sys.mac.apps:349244
comp.sys.mac.advocacy:918810 comp.text.tex:238538 gnu.emacs.help:108278
To: help-gnu-emacs@gnu.org
Subject: Re: Software/HD ecology
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 00:25:08 -0000
>>>>> Kai Großjohann writes:
> Tribhuvan <loka@rcn.com> writes:
>> Only, this is absent when installing from source. When done
>> compiling and doing "make install" according to your ./configure
>> options, the output of "make install" has scrolled off conveniently
>> to bit heaven.
> You could try "make -n uninstall > /tmp/foo" right after "make
> install". Maybe then /tmp/foo contains the necessary info.
Exactly. My contention is that /tmp/foo should be installed right
along with everything else.
--
David Masterson David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer Synopsys, Inc.
Software Engineering Sunnyvale, CA
>From help-gnu-emacs-bounces@gnu.org Wed Dec 18 20:35:09 2002
Newsgroups: comp.emacs,gnu.emacs.help
Path:
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.radix.net!uunet!ash.uu.net!xyzzy!nntp
From: "Michael P. Broida" <michael.p.broida@boeing.com>
X-Nntp-Posting-Host: ls026981.mw.nos.boeing.com
Content-Type: text/plain; charset=us-ascii
Message-ID: <3E011FBF.B3398B7E@boeing.com>
Sender: nntp@news.boeing.com (Boeing NNTP News Access)
Content-Transfer-Encoding: 7bit
Organization: The Boeing Company
X-Accept-Language: en
References: <3dff7248.1320484@news.cis.dfn.de>
<Pine.SOL.4.44.0212181702450.10411-100000@rygar.gpcc.itd.umich.edu>
Mime-Version: 1.0
Date: Thu, 19 Dec 2002 01:24:15 GMT
X-Mailer: Mozilla 4.79 [en]C-CCK-MCD Boeing Kit (Windows NT 5.0; U)
Lines: 39
Xref: shelby.stanford.edu comp.emacs:76529 gnu.emacs.help:108279
To: help-gnu-emacs@gnu.org
Subject: Re: Windows steals my 'Alt-' (was Re: M-TAB already used by KDE)
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 01:35:09 -0000
Jonathon Isaac Swiderski wrote:
>
> On Tue, 17 Dec 2002, Marcel Schmittfull wrote:
>
> > >Perhaps you could use a different key for Meta in emacs. I use the
> > >"Windows" key for windowmanager functions, and the "Alt" key as Meta in
> > >emacs. If KDE doesn't allow you to change key bindings, perhaps some
> > >jiggery-pokery in .emacs and/or with xmodmap would allow the change in
> > >emacs. (Assuming you have a such a key available).
> >
> > Yes, I have the "windows" key on my keyboard. What would I have to
> > write in my .emacs in order to use the "windows" key in the same
> > meaning as the "Alt" key ? That is I want the "alt" key and the
> > "windows" key to have both the same meaning in emacs, namely "Meta".
>
> I have a similar issue --- I'm using Emacs in Windows XP via Exceed (that
> is, Emacs is running on my login server; i'm using an XP terminal with
> Exceed generating an X session), and Windows keeps grabbing the 'Alt' key
> for the menubar, so i can't use it for a Meta.
>
> How do I either:
> a) Tell Emacs to interpret 'CapsLock' or something else as 'M-'?
> That is, I'd like to use something else as the modifier--- part of
> my problem here is that I don't know what codes Alt, [Win],
> CapsLock, etcetera, generate; but I also am not clear on how I'd use
> them once I had them.
> b) Tell Windows not to use Alt key for menu activation? (less
> preferred; I can't take my windows settings with me between
> sessions--- long story)
Must be an Exceed thingy.
I'm using Windows and running Emacs directly; no X of any kind.
The Alt goes to menus in OTHER windows, but the Emacs window
doesn't grab the Alt; it works as Emacs intended. This is only
true if the Emacs window (/frame) is SELECTED.
Exceed is probably the culprit, not letting your Alt get to
the Emacs app.
Mike
>From help-gnu-emacs-bounces@gnu.org Wed Dec 18 21:00:09 2002
Path:
shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!news.netg.se!dd.chalmers.se!not-for-mail
From: bojohan@helm.dd.chalmers.se (Johan =?iso-8859-1?q?Bockg=E5rd?=)
Newsgroups: comp.emacs,gnu.emacs.help
Date: 19 Dec 2002 02:50:20 +0100
Organization: Chalmers University of Technology, Sweden
Lines: 32
Message-ID: <yoij1y4ehj4z.fsf@helm.dd.chalmers.se>
References: <3dff7248.1320484@news.cis.dfn.de>
<Pine.SOL.4.44.0212181702450.10411-100000@rygar.gpcc.itd.umich.edu>
NNTP-Posting-Host: helm.dd.chalmers.se
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Xref: shelby.stanford.edu comp.emacs:76532 gnu.emacs.help:108280
To: help-gnu-emacs@gnu.org
Subject: Re: Windows steals my 'Alt-' (was Re: M-TAB already used by KDE)
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 02:00:09 -0000
Jonathon Isaac Swiderski <jonswid@umich.edu> writes:
> I have a similar issue --- I'm using Emacs in Windows XP via Exceed (that
> is, Emacs is running on my login server; i'm using an XP terminal with
> Exceed generating an X session), and Windows keeps grabbing the 'Alt' key
> for the menubar, so i can't use it for a Meta.
>
> How do I either:
> a) Tell Emacs to interpret 'CapsLock' or something else as 'M-'?
> That is, I'd like to use something else as the modifier--- part of
> my problem here is that I don't know what codes Alt, [Win],
> CapsLock, etcetera, generate; but I also am not clear on how I'd use
> them once I had them.
You can ask Exceed to send other keycodes.
Configuration -> Keyboard Input
There you can graphically edit your keyboard mapping. But see below.
> b) Tell Windows not to use Alt key for menu activation? (less
> preferred; I can't take my windows settings with me between
> sessions--- long story)
Configuration -> Keyboard Input
Under 'Window Modifier Behaviour', you can set
Alt Key: To X / To Windows / Left to Windows Right to X ...
Window Key: To X etc.
Note that this will only affect the programs running under Exceed. I
think this is the preferred solution.
/Johan
>From help-gnu-emacs-bounces@gnu.org Wed Dec 18 22:40:08 2002
Path:
shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
From: Ian Zimmerman <itz@speakeasy.org>
Newsgroups: gnu.emacs.help
Date: 18 Dec 2002 19:07:26 -0800
Organization: http://extra.newsguy.com
Lines: 11
Message-ID: <86ptry7lld.fsf@kronstadt.homeunix.net>
NNTP-Posting-Host: p-850.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Xref: shelby.stanford.edu gnu.emacs.help:108281
To: help-gnu-emacs@gnu.org
Subject: how to get rid of string properties
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 03:40:08 -0000
Given a propertied string, how can I clear _all_ its properties?
There's a buffer-substring-no-properties, but I can't find anything
like substring-no-properties. remove-text-properties requires that I
know the set of possible properties in advance, which I don't (or
rather, the set is infinite in my case).
--
Ian Zimmerman, Oakland, California, U.S.A.
if (sizeof(signed) > sizeof(unsigned) + 4) { delete this; }
GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087
>From p.galbraith@globetrotter.net Wed Dec 18 23:02:55 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
id 18Ortf-0003Hp-00
for help-gnu-emacs@gnu.org; Wed, 18 Dec 2002 23:02:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
id 18OrtZ-0003Aq-00
for help-gnu-emacs@gnu.org; Wed, 18 Dec 2002 23:02:52 -0500
Received: from adsl-66.110.144-250.globetrotter.net ([66.110.144.250]
helo=mixed.dyndns.org)
by monty-python.gnu.org with esmtp (Exim 4.10.13) id
18OrtY-0003Af-00
for help-gnu-emacs@gnu.org; Wed, 18 Dec 2002 23:02:48 -0500
Received: from mixed.dyndns.org (localhost [127.0.0.1])
by mixed.dyndns.org (Postfix) with ESMTP
id 7E0C1429D2; Wed, 18 Dec 2002 23:02:47 -0500 (EST)
To: Ian Zimmerman <itz@speakeasy.org>
In-Reply-To: Message from Ian Zimmerman <itz@speakeasy.org>
<86ptry7lld.fsf@kronstadt.homeunix.net>
References: <86ptry7lld.fsf@kronstadt.homeunix.net>
X-Mailer: MH-E 7.0+cvs; nmh 1.0.4+dev; Emacs 21.2
X-Face: "#bYm%*(4JuXAkouMxaLz|M2dbXUFnQ"IRX)zpsiM"(B}`#|_b548$VB}5L&VIck1F#FNc'
rsASk0?-/gFp2qzM>0]`Jc}Qd<8[l)N7{8%qMN~{|DS.ME.$
Date: Wed, 18 Dec 2002 23:02:47 -0500
From: Peter S Galbraith <p.galbraith@globetrotter.net>
Message-Id: <20021219040247.7E0C1429D2@mixed.dyndns.org>
cc: help-gnu-emacs@gnu.org
Subject: Re: how to get rid of string properties
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Dec 2002 04:02:56 -0000
Ian Zimmerman <itz@speakeasy.org> wrote:
> Given a propertied string, how can I clear _all_ its properties?
> There's a buffer-substring-no-properties, but I can't find anything
> like substring-no-properties.
You could use `string-match' followed by `match-string-no-properties' on
it.
Peter
- Re: Emacs pager?,
David Kastrup <=