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

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

Re: backward-delete-word?


From: David Kastrup
Subject: Re: backward-delete-word?
Date: 12 Dec 2002 16:49:33 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Timur Aydin <tayd@bicom-inc.com> writes:

> Barry Margolin <barmar@genuity.net> writes:
> 
> > In article <un0nckwrq.fsf@superonline.com>,
> > 
> > >C-Backspace invokes backward-kill-word. I guess the problem is the
> > >"kill", which saves the data in the kill ring. I probably need a
> > >"backward-delete-word". Does this thing exist or does it have to be
> > >written?
> > 
> > What I usually do is paste first, and then delete.  I position the cursor
> > at the beginning of the word and type C-y M-d.
> > 
> 
> Yes, that works for one paste, but when I position to another string
> that I want to paste over, the C-y now pastes the word that was
> previously killed. Because the killed data goes to the kill-ring,
> whenever I operate on a new word, I have to hit C-y M-y and the number
> of M-y's is going to be one more than before. So, if I want to operate
> on 4 strings, I will have to hit C-y M-y M-y M-y on the fourth
> string...

Ok, so instead of C-y M-y just use M-2 C-y since that will also
rotate the kill ring so that after every deletion M-2 C-y again puts
the old kill back on top.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 12 11:00:23 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!skynet.be!skynet.be!bnewspeer01.bru.ops.eu.uu.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed1.sbs.de!news.mch.sbs.de!not-for-mail
From: Bernd Wolter <mathae.wolter@gmx.de>
Newsgroups: gnu.emacs.help
Date: 12 Dec 2002 16:55:19 +0100
Organization: Not much
Lines: 23
Sender: WOLTER_85041@M33773PP
Message-ID: <u65tz2pw8.fsf@gmx.de>
References: <un0nckwrq.fsf@superonline.com>
        <ztPJ9.30$NO.686@paloalto-snr1.gtei.net> <ubs3rl3hs.fsf@bicom-inc.com>
NNTP-Posting-Host: m33773pp.mchp.siemens.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.mch.sbs.de 1039708716 18432 139.23.242.230 (12 Dec 2002 15:58:36
        GMT)
X-Complaints-To: abuse@siemens.de
NNTP-Posting-Date: Thu, 12 Dec 2002 15:58:36 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
Xref: shelby.stanford.edu gnu.emacs.help:108039
To: help-gnu-emacs@gnu.org
Subject: Re: backward-delete-word?
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, 12 Dec 2002 16:00:23 -0000

Timur Aydin <tayd@bicom-inc.com> writes:


[...]

> 
> Yes, that works for one paste, but when I position to another string
> that I want to paste over, the C-y now pastes the word that was
> previously killed. Because the killed data goes to the kill-ring,
> whenever I operate on a new word, I have to hit C-y M-y and the number
> of M-y's is going to be one more than before. So, if I want to operate
> on 4 strings, I will have to hit C-y M-y M-y M-y on the fourth
> string...
> 
> --
> Timur.
> 
Why not use registers for that. Look up the documentation for "C-x rs"
and "C-x ri" or read about registers in the info file.

HTH

Bernd
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 12 11:30:16 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail
Sender: bijan@hurd.crasseux.com
Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help
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>
        <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>
From: Bijan Soleymani <bijan@psq.com>
Message-ID: <87u1hjdwta.fsf@hurd.crasseux.com>
Lines: 23
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Date: 12 Dec 2002 11:30:25 -0500
NNTP-Posting-Host: 24.203.44.117
X-Complaints-To: abuse@videotron.ca
X-Trace: weber.videotron.net 1039710547 24.203.44.117 (Thu, 12 Dec 2002
        11:29:07 EST)
NNTP-Posting-Date: Thu, 12 Dec 2002 11:29:07 EST
Xref: shelby.stanford.edu comp.sys.mac.apps:348716
        comp.sys.mac.advocacy:917516 comp.text.tex:237992 gnu.emacs.help:108040
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, 12 Dec 2002 16:30:16 -0000

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> At our site, we have a directory for software with subdirs for each
> program, and subsubdirs for each version.  For example, 
> 
>     ./configure --prefix=/usr/sw/emacs/21.2
> 
> is sufficient to configure Emacs in such a way that subsequent `make'
> and `make install' can be undone easily by just removing the
> directory /usr/sw/emacs/21.2.  This works because Emacs is the only
> program in that directory.
> 
> It's a very simple approach, but it works well enough for us.
> 
> -- 

In that case you might want to check out GNU stow. You put all your
software in a stow directory /usr/local/stow/ or /usr/sw/ one program
per subdirectory. Then when you run stow it makes symlinks in
/usr/local/. This way you can even do this sort of thing with
libraries or  programs you would like to have in your path.

Bijan
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 12 11:40:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail
Sender: bijan@hurd.crasseux.com
Newsgroups: gnu.emacs.help
References: <d3f86b28.0212120620.78350af6@posting.google.com>
From: Bijan Soleymani <bijan@psq.com>
Message-ID: <87pts7dwem.fsf@hurd.crasseux.com>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: 12 Dec 2002 11:39:13 -0500
NNTP-Posting-Host: 24.203.44.117
X-Complaints-To: abuse@videotron.ca
X-Trace: weber.videotron.net 1039711062 24.203.44.117 (Thu, 12 Dec 2002
        11:37:42 EST)
NNTP-Posting-Date: Thu, 12 Dec 2002 11:37:42 EST
Xref: shelby.stanford.edu gnu.emacs.help:108041
To: help-gnu-emacs@gnu.org
Subject: Re: GNU Emacs under Windows 2000: .emacs file
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, 12 Dec 2002 16:40:09 -0000

jaime.suarez@crossmatch.net (jaime suarez) writes:

> I installed the Win2K version of GNU Emacs and
> it runs fine.  However I cannot find the file
> .emacs or _emacs.  Where is this file supposed
> to be?  Do I have to create it?

The .emacs is the file that contains your customizations.
You're supposed to create it in your home directory.
 
> In Windows 2000, what is the equivalent of
> the UNIX "Home" directory?  

On windows emacs uses c:\ as your home directory by default.  If you
would like to use another directory you can set the environment
variable HOME to whatever directory you want.  In windows 2000,
environment variables can be set by going in the control-panel, then
opening system, then clicking on the advanced tab, then choosing
environment variables.

Bijan
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 12 12:25:11 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 12 Dec 2002 11:22:35 -0600
Sender: tayd@BICOM-NT-TR-1
Newsgroups: gnu.emacs.help
References: <d3f86b28.0212120620.78350af6@posting.google.com>
        <uwumf9sub.fsf@standardandpoors.com>
From: Timur Aydin <tayd@bicom-inc.com>
Date: 12 Dec 2002 19:25:44 +0200
Message-ID: <u7kefkv3b.fsf@bicom-inc.com>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 27
X-Trace: 
sv3-KtOQV74OVgI/m7hrZ+vmYE4I0DxTxeD4zlC3X09+frSbk6y3TS0QAqdcdHyoqgYTPoJ1V2389EJJVeY!tTnm/0oMsMHnpIWU5hzRQZmtVn2Xb72YOyf3qedEigiiFtBdP6qV
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
        properly
X-Postfilter: 1.1
Xref: shelby.stanford.edu gnu.emacs.help:108042
To: help-gnu-emacs@gnu.org
Subject: Re: GNU Emacs under Windows 2000: .emacs file
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, 12 Dec 2002 17:25:11 -0000

Galen Boyer <galenboyer@hotpop.com> writes:

> On 12 Dec 2002, jaime.suarez@crossmatch.net wrote:
> > I installed the Win2K version of GNU Emacs and
> > it runs fine.  However I cannot find the file
> > .emacs or _emacs.  Where is this file supposed
> > to be?  Do I have to create it?
> 
> Type C-x C-f ~/.emacs
> 
> You are now in that file.  (The point is that Emacs either finds
> a file that exists or makes a buffer that, when saved, will be
> that file)
> 
> > In Windows 2000, what is the equivalent of
> > the UNIX "Home" directory?  
> 
> The HOME environmental variable.
> 

I don't know about the HOME environment variable, but on my system I
have HOMEDRIVE=C: and HOMEPATH=\cygwin\home\tayd.

The .emacs file is in c:\cygwin\home\tayd

--
Timur.
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 12 12:30:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!newshub.sdsu.edu!news-xfer.cox.net!p01!news1.central.cox.net.POSTED!53ab2750!not-for-mail
From: "jfbusby" <busbyjf@cox.net>
Newsgroups: gnu.emacs.help
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <YC3K9.57525$JE.11405@news1.central.cox.net>
Date: Thu, 12 Dec 2002 17:24:08 GMT
NNTP-Posting-Host: 68.98.253.200
X-Complaints-To: abuse@cox.net
X-Trace: news1.central.cox.net 1039713848 68.98.253.200 (Thu, 12 Dec 2002
        12:24:08 EST)
NNTP-Posting-Date: Thu, 12 Dec 2002 12:24:08 EST
Organization: Cox Communications
Xref: shelby.stanford.edu gnu.emacs.help:108043
To: help-gnu-emacs@gnu.org
Subject: Setting display sixe
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, 12 Dec 2002 17:30:09 -0000

I am using emacs on a 15 in monito and need to have the entire emacs screen
show within the boundary of the display. What do I need to do.
Thanks
John




reply via email to

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