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 <address@hidden> writes:

> Barry Margolin <address@hidden> writes:
> 
> > In article <address@hidden>,
> > 
> > >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 address@hidden  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 <address@hidden>
Newsgroups: gnu.emacs.help
Date: 12 Dec 2002 16:55:19 +0100
Organization: Not much
Lines: 23
Sender: address@hidden
Message-ID: <address@hidden>
References: <address@hidden>
        <address@hidden> <address@hidden>
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: address@hidden
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: address@hidden
Subject: Re: backward-delete-word?
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: Thu, 12 Dec 2002 16:00:23 -0000

Timur Aydin <address@hidden> 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 address@hidden  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: address@hidden
Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help
References: <address@hidden>
        <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden> <address@hidden>
        <address@hidden>
From: Bijan Soleymani <address@hidden>
Message-ID: <address@hidden>
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: address@hidden
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: address@hidden
Subject: Re: Software/HD ecology
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: Thu, 12 Dec 2002 16:30:16 -0000

address@hidden (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 address@hidden  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: address@hidden
Newsgroups: gnu.emacs.help
References: <address@hidden>
From: Bijan Soleymani <address@hidden>
Message-ID: <address@hidden>
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: address@hidden
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: address@hidden
Subject: Re: GNU Emacs under Windows 2000: .emacs file
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: Thu, 12 Dec 2002 16:40:09 -0000

address@hidden (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 address@hidden  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: address@hidden
Newsgroups: gnu.emacs.help
References: <address@hidden>
        <address@hidden>
From: Timur Aydin <address@hidden>
Date: 12 Dec 2002 19:25:44 +0200
Message-ID: <address@hidden>
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: address@hidden
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: address@hidden
Subject: Re: GNU Emacs under Windows 2000: .emacs file
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: Thu, 12 Dec 2002 17:25:11 -0000

Galen Boyer <address@hidden> writes:

> On 12 Dec 2002, address@hidden 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 address@hidden  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" <address@hidden>
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: <address@hidden>
Date: Thu, 12 Dec 2002 17:24:08 GMT
NNTP-Posting-Host: 68.98.253.200
X-Complaints-To: address@hidden
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: address@hidden
Subject: Setting display sixe
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: 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]