emacs kill-ring-save question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers emacs kill-ring-save question
# 1  
Old 10-06-2011
emacs kill-ring-save question

Hello,

We've just upgraded to a newer version of emacs (21.3.1) and I've noticed something pretty annoying... Whenever you do a kill-ring-save, the cursor pops to where the mark was set, pauses a second, then pops back again.

This obviously doesn't sound like very much, but it really slows things down if you're running inside a macro. A second pause per iteration of the macro will make running the macro 1000 times take 1000 seconds!

Has anyone ever seen this and more to the point, know how to prevent it?

Cheers
Iain
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. SCO

Emacs Question; Control-G Not Working

Hi! I am using Emacs 22.3.1 and the Control-G command will not work to cancel. I took my init.el file out of the mix and it stills does not work. I am not sure when I upgraded from 20.4 to 22.3.1, if it worked, but it certainly does not now. Any thoughts... (6 Replies)
Discussion started by: trolley
6 Replies

2. Shell Programming and Scripting

Save value from output of Corestat and save in a list for each core

I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below: Core Utilization CoreId %Usr %Sys %Total ------ ----- ----- ------ 5 4.91 0.01 4.92 6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies

3. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

4. Shell Programming and Scripting

Kill an specific process ID using the KILL and GREP commands

Good afternoon I need to KILL a process in a single command sentence, for example: kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'` That sentence Kills the process ID corresponding to the program CAL255.4ge. However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies

5. Shell Programming and Scripting

How to ring the system bell many times without pause?

I am writing a ksh script in cygwin though it could just as easily be bash and am trying to make an alert for myself where the bell rings many times like print '\a'or echo '^G'except I want it to ping me many times not just once. For some reason doing print '\a\a\a\a\a\a\a\a\a\a'or similar... (7 Replies)
Discussion started by: benalt
7 Replies

6. AIX

Urgent: Error log about TOKEN ring

Hi Everyone: Last Thursday my system come up those error log and haven't show up any details. Does anyone know what it mean? I need help :confused: 9359F226 0424184208 N U LVDD 00D2B9FE 0424183208 N U tok0 D0775966 0424182908 N U tok0 A9428A1A 0424170108 N U tok0 71B416E1 ... (0 Replies)
Discussion started by: fla22
0 Replies

7. Red Hat

Rebuilding C++ Libraries to save Linux install (purely academic question)

The crisis is over. I am just doing postmortem on how we handled it. So this is just an exercise in academics. We have a mission critical system running on RED Hat Linux. It is a turnkey system "managed 100% by the vendor". I put this is quotes because we had an event last night that... (0 Replies)
Discussion started by: Skyybugg
0 Replies

8. Shell Programming and Scripting

Tar-ring a directory

Hello I am trying to tar a whole directory. My problem is that I have to omitt a special subdirectory. Can you tell my how I am supposed to do that? Unfortunately I am not very good in regular expressions and in programming. :( Thanks for any help. Greetings Marcus (1 Reply)
Discussion started by: Fwurm
1 Replies
Login or Register to Ask a Question
MONGOCLIENT.KILLCURSOR(3)						 1						 MONGOCLIENT.KILLCURSOR(3)

MongoClient::killCursor - Kills a specific cursor on the server

SYNOPSIS
public bool MongoClient::killCursor (string $server_hash, int|MongoInt64 $id) DESCRIPTION
In certain situations it might be needed to kill a cursor on the server. Usually cursors time out after 10 minutes of inactivity, but it is possible to create an immortal cursor with MongoCursor::immortal that never times out. In order to be able to kill such an immortal cur- sor, you can call this method with the information supplied by MongoCursor::info. PARAMETERS
o $server_hash - The server hash that has the cursor. This can be obtained through MongoCursor::info. o $id - The ID of the cursor to kill. You can either supply an int containing the 64 bit cursor ID, or an object of the MongoInt64 class. The latter is necessary on 32 bit platforms (and Windows). RETURN VALUES
Returns TRUE if the method attempted to kill a cursor, and FALSE if there was something wrong with the arguments (such as a wrong $server_hash). The return status does not reflect where the cursor was actually killed as the server does not provide that information. ERRORS
/EXCEPTIONS This method displays a warning if the supplied $server_hash does not match up with an existing connection. No attempt to kill a cursor is attempted in that case either. EXAMPLES
Example #1 MongoClient.killCursor(3) example This example shows how to connect, do a query, obtain the cursor information and then kill the cursor. <?php $m = new MongoClient(); $c = $m->testdb->collection; $cursor = $c->find(); $result = $cursor->next(); // Now the cursor is valid, so we can get the hash and ID out: $info = $cursor->info(); // Kill the cursor MongoClient::killCursor( $info['server'], $info['id'] ); ?> PHP Documentation Group MONGOCLIENT.KILLCURSOR(3)