From: Noam Postavsky <npostavs@gmail.com>
To: "Braun Gábor" <braungb88@gmail.com>
Cc: 34947@debbugs.gnu.org
Subject: bug#34947: 26.1; cua-mode: wrong type argument when activating rectangle
Date: Mon, 15 Apr 2019 21:10:58 -0400 [thread overview]
Message-ID: <87bm16zrdp.fsf@gmail.com> (raw)
In-Reply-To: <11259231.O9o76ZdvQC@gabor> ("Braun \=\?utf-8\?Q\?G\=C3\=A1bor\=22's\?\= message of "Fri, 22 Mar 2019 16:11:44 +0100")
severity 34947 minor
tags 34947 + patch
quit
Braun Gábor <braungb88@gmail.com> writes:
> Suggested patch:
>
> Autoload the command mentioned in the error message.
> Library cua-base.el binds cua-toggle-rectangle-mark to a key
> in the :set function in (defcustom cua-rectangle-mark-key ...),
> so it should ensure that the command is defined.
>
> --- lisp/emulation/cua-base.el 2018-12-15 09:08:18 +0100
> +++ lisp/emulation/cua-base.el 2019-03-09 09:08:18 +0100
> @@ -592,6 +592,7 @@
>
> (autoload 'cua-set-rectangle-mark "cua-rect"
> "Start rectangle at mouse click position." t nil)
> +(autoload 'cua-toggle-rectangle-mark "cua-rect" nil t)
>
> ;; Stub definitions until it is loaded
> (defvar cua--rectangle)
Looks safe and sensible, I'll push to emacs-26 in a couple of days if
there are no objections.
next prev parent reply other threads:[~2019-04-16 1:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-22 15:11 bug#34947: 26.1; cua-mode: wrong type argument when activating rectangle Braun Gábor
2019-04-16 1:10 ` Noam Postavsky [this message]
2019-04-19 19:27 ` Noam Postavsky
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=87bm16zrdp.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=34947@debbugs.gnu.org \
--cc=braungb88@gmail.com \
/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.