From: Mat Smiglarski <penthief@SDF.ORG>
To: 17877@debbugs.gnu.org
Subject: bug#17877: 24.3.92; Errors from cua-rectangle-mark-mode
Date: Sun, 06 Jul 2014 15:25:00 +0100 [thread overview]
Message-ID: <c5f6e09c16fdea077789705c67e76cd2@SDF.ORG> (raw)
In-Reply-To: <l638ennv62.fsf@fencepost.gnu.org>
On 2014-06-30 00:38, Glenn Morris wrote:
> penthief wrote:
>
>> cua--activate-rectangle: Wrong type argument: arrayp, nil
>
> With almost no testing, this seems to fix it:
Yes, your patch seems to work perfectly.
>
> *** lisp/emulation/cua-rect.el 2014-01-01 07:43:34 +0000
> --- lisp/emulation/cua-rect.el 2014-06-29 23:36:26 +0000
> ***************
> *** 726,735 ****
> ;; Set cua--rectangle to indicate we're marking a rectangle.
> ;; Be careful if we are already marking a rectangle.
> (setq cua--rectangle
> ! (if (and cua--last-rectangle
> (eq (car cua--last-rectangle) (current-buffer))
> ! (eq (car (cdr cua--last-rectangle)) (point)))
> ! (cdr (cdr cua--last-rectangle))
> (cua--rectangle-get-corners))
> cua--status-string (if (cua--rectangle-virtual-edges) " [R]"
> "")
> cua--last-rectangle nil)
> --- 726,735 ----
> ;; Set cua--rectangle to indicate we're marking a rectangle.
> ;; Be careful if we are already marking a rectangle.
> (setq cua--rectangle
> ! (or (and cua--last-rectangle
> (eq (car cua--last-rectangle) (current-buffer))
> ! (eq (car (cdr cua--last-rectangle)) (point))
> ! (cdr (cdr cua--last-rectangle)))
> (cua--rectangle-get-corners))
> cua--status-string (if (cua--rectangle-virtual-edges) " [R]"
> "")
> cua--last-rectangle nil)
next prev parent reply other threads:[~2014-07-06 14:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 15:36 bug#17877: 24.3.92; Errors from cua-rectangle-mark-mode penthief
2014-06-29 23:38 ` Glenn Morris
2014-07-06 14:25 ` Mat Smiglarski [this message]
2014-07-06 23:59 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5f6e09c16fdea077789705c67e76cd2@SDF.ORG \
--to=penthief@sdf.org \
--cc=17877@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.