all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Budi <budikusasi@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: The rectangle selected region question is replaced with " symbol's function definition is void : t " error
Date: Tue, 07 May 2019 12:41:15 +0200	[thread overview]
Message-ID: <8736lq7dis.fsf@web.de> (raw)
In-Reply-To: <CAH0GyZBMGAKZWkoDa1LDZkKYecxAFq+LTMPMxK9D+tfhTNiBeQ@mail.gmail.com> (Budi's message of "Mon, 6 May 2019 16:07:01 +0700")

Budi <budikusasi@gmail.com> writes:

> The rectangle selected region question is replaced with " symbol's
> function definition is void : t " error problem as calling a function
>
> the copy into clipboard function is meant to save to kill-ring with or
> without a selected region, if it exist then save that region otherwise
> make up a full line region and save that
> but got symbol's function definition is void : t  error above

> (defun copy (b e)
>   (interactive "r")
>   (if (use-region-p) (call-interactively 'kill-ring-save)
>   (beginning-of-line)
>   (push-mark (line-end-position))
>   (activate-mark)
>   (call-interactively 'kill-ring-save)
>   (deactivate-mark)
>   (pop-mark)))
> (global-set-key (kbd "C-c") 'copy)

I still don't understand when the error occurs.  Can you maybe post a
step by step recipe?


Michael.




      reply	other threads:[~2019-05-07 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-06  9:07 The rectangle selected region question is replaced with " symbol's function definition is void : t " error Budi
2019-05-07 10:41 ` Michael Heerdegen [this message]

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=8736lq7dis.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=budikusasi@gmail.com \
    --cc=help-gnu-emacs@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.