unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Yanking with mouse click: args-out-of-range
@ 2003-09-02  4:47 Karl Eichwalder
  0 siblings, 0 replies; only message in thread
From: Karl Eichwalder @ 2003-09-02  4:47 UTC (permalink / raw)


Using the mouse for cut-and-paste actions within Emacs I often see an
args-out-of-range error as follows:

Debugger entered--Lisp error: (args-out-of-range 161682 161682)
  get-char-property(161682 field)
  comint-insert-clicked-input((mouse-2 (#<window 34 on *Backtrace*> 161682 (242 . 278) 42937896)))
  call-interactively(comint-insert-clicked-input)

I can raise this error as follows:

1. Split the window (C-x 2).

2. Start a shell in one window (M-x shell RET).

3. In the other window load a multi-line text; e.g.

    list=$(seq -f %04g.txt 601 639)
    for f in $list; do 
      mv $f $f.orig
      tr -d '\15' <$f.orig > $f
    done

   and mark it clicking mouse-1 at the start and mouse-3 at the end

4. Now, at the prompt in the shell window click mouse-2 and you should
   see the error.

It work if you first click mouse-1 and then mouse-2 (for yanking) in
the shell window.

-- 
                                                         |      ,__o
http://www.gnu.franken.de/ke/                            |    _-\_<,
ke@suse.de (work) / ke@gnu.franken.de (home)             |   (*)/'(*)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-02  4:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-02  4:47 Yanking with mouse click: args-out-of-range Karl Eichwalder

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).