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

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

Problems with rectangles and rect-mark package


From: Mickey Ferguson
Subject: Problems with rectangles and rect-mark package
Date: Tue, 11 Dec 2001 12:10:55 -0800

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.1.1 (i386-msvc-nt4.0.1381)
 of 2001-11-01 on MFERGUSON_NT
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Whenever I try to use picture-mode, leave it, and then try to work with
rectangles, I get an error message and it doesn't perform the operation.
I've broken down my .emacs to the lines that cause the problem.  (I have no
idea where they came from, probably a suggestion from someone to solve some
problem from the past...)  With no init file of any kind, and then
evaluating the code below, the problem can be recreated.

Specifically, all you have to do is start up emacs with -q, paste the code
below into a scratch buffer and evaluate the region (code).  Then set mark,
move to the next line and move one column over, hit C-x r o (to open the
rectangle.  It works fine.  Then use M-x picture-mode to enter picture mode,
hit C-c C-c to exit picture mode, and try again to open a rectangle.  You
will get the error message below.

Here's the offending code:
=====================================================================
;; One vision of a better picture mode.
(add-hook 'picture-mode-hook 'rm-example-picture-mode-bindings)
(autoload 'rm-example-picture-mode-bindings "rect-mark"
  "Example rect-mark key and mouse bindings for picture mode.")
=====================================================================

Recent input:
/ s i t SPC SPC m f SPC t SPC SPC <return> C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-SPC C-n C-n 
C-n C-n M-x e v a l - b u f SPC <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> r e 
g SPC <return> C-x C-x C-x C-x C-p C-f C-x C-x C-x 
r o C-x u M-x p i c t u r e - m o d SPC <return> C-c 
C-c C-x C-x C-x C-x C-x r o M-x r e p o r t - e m SPC 
SPC <return>

Recent messages:
Loading image...done
Mark set
Loading rect...done
Undo!
Loading picture...done

Loading rect-mark...done
Type C-c C-c in this buffer to return it to Emacs-Lisp mode.
open-rectangle-line: Wrong number of arguments: #[(column) "Â Ã]Ä\"^Å )?"
[deactivate-mark column move-to-column 0 t hscroll-point-visible] 3], 2
Loading emacsbug...done



reply via email to

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